ConfigGenerator stuff

This commit is contained in:
2019-04-25 15:55:19 +02:00
parent e3a2edd94d
commit 04245e112c
5 changed files with 239 additions and 0 deletions

View File

@ -0,0 +1,17 @@
typedef struct {
#for $configItem in $configItems
#if $configItem.type == 'C'
char ${configItem.key}[$configItem.length];
#else if $configItem.type == 'I'
uint32_t $configItem.key;
#end if
#end for
} tConfigBlock;
extern const uint32_t MAGIC;
extern tConfigBlock configBlock;
extern const char* CONFIG_SSID;
void configServeIndex();
void configServeGetConfiguration();
void showConfiguration();