Tags: ALMNET/wifi
Tags
Support type references in config schema and add HAVE_FOO macros
It is now possible to refernce a previosuly defined config entry as a type for a new one.
This is useful when creating multiple entries with the same type.
E.g.:
```
["test.bar", "o", {}],
["test.bar.enable", "b", {}],
["test.bar.param1", "i", 111, {}],
["test.bar1", "test.bar", {}], # Object of the same type as previous.
["test.bar1.param1", 222], # Types are the same but defaults are separate.
```
Also, auto-generated header will now `#define` a macro for every config entry with the specified prefix, e.g. `MGOS_SYS_CONFIG_HAVE_TEST`, `MGOS_SYS_CONFIG_HAVE_TEST_BAR`, `MGOS_SYS_CONFIG_HAVE_TEST_BAR_ENABLE`, etc.
CL: Support type references in config schema and add HAVE_FOO macros
PUBLISHED_FROM=69fb48c8a104a5c56b06cd8bea71b836a5c96235
PreviousNext