CompileFlags: Add: - -I$IDF_PATH/components/esp_common/include - -D__ESP_PLATFORM__ Remove: - -fno-tree-switch-conversion - -fstrict-volatile-bitfields - -mlongcalls # Add more include paths and defines as needed