Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
If I set MGOS_ENABLE_WEB_CONFIG: 1 in cdefs then compilation fails with following error:
/home/martin/app/deps/http-server/src/mgos_http_server.c: In function 'ro_vars_handler':
/home/martin/app/deps/http-server/src/mgos_http_server.c:146:13: error: 'mgos_sys_ro_vars' undeclared (first use in this function)
send_cfg(&mgos_sys_ro_vars, mgos_ro_vars_schema(), hm, c);
If I set
MGOS_ENABLE_WEB_CONFIG: 1
incdefs
then compilation fails with following error:Reference: https://forum.mongoose-os.com/discussion/4262/compilation-fails-if-cdefs-has-mgos-enable-web-config-1