Your demos are using zero-initializers which is not supported by your tool yet -
Issue:
- structs (and arrays?) in your demos are initialized with zero-initiliazers (C23 feature)
- ESP-IDF isn't there yet! (ESP-IDF is only C17)
Example:
Yikes! This is why I also use memset for explicit initialization, and leave the declaration explicitly uninitialized to support this -
My Pref:
Code: Select all
MyStruct example_struct;
//Init
memset(&example_struct, 0x00, sizeof(MyStruct));
Request:
- Can we update the esp-idf to valid C17 initializers, or update the ESP-IDF to C23?
Thank you guys for your time, and for this tool! Enjoying my work here
