I am trying to compile a new espidf project, but I am encountering this error:
%USER%\.platformio\packages\framework-espidf\components\freertos\app_startup.c:30:10: fatal error: esp_gdbstub.h: No such file or directory
I deleted and reinstalled the extension, reinstalling the framework, as well as removing the .platformio folder but still no dice. I found the file inside my machine, but for some reason it claimed that the file does not exist. Inside the sdkconfig.env
file the CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME option is not set, but VSCode
LSP resolves the macro to y
which should not be possible.
here is my platformio.ini
[env]
platform = espressif32
board = esp32doit-devkit-v1
monitor_raw = yes
monitor_speed = 115200
framework = espidf
build_flags =
-DCORE_DEBUG_LEVEL=3
-DCONFIG_ESP_SYSTEM_PANIC_HALT=y
-DCONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
-DCONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME=y
debug_build_flags =
-Os
-g
-ggdb3
-DCONFIG_ESP_COREDUMP_DECODE_INFO=y
[env:server]
debug_extra_cmds =
break main
break recv_callback
break send_callback
break notify_client
board_build.cmake_extra_args =
-DCURRENT_ENV=SERVER
[env:client]
debug_extra_cmds =
break listen_table
break listen_goal
break send_packet
break recv_callback
break send_callback
board_build.cmake_extra_args =
-DCURRENT_ENV=CLIENT