fix(freertos): enable esp32c2 runtime-gdbstub

This commit is contained in:
Alexey Lapshin
2023-07-18 00:13:31 +04:00
parent a7dadcea6c
commit 99ac68246e
4 changed files with 7 additions and 10 deletions

View File

@@ -75,7 +75,7 @@ void esp_startup_start_app(void)
// Initialize the cross-core interrupt on CPU0
esp_crosscore_int_init();
#if CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME && !CONFIG_IDF_TARGET_ESP32C2
#if CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
void esp_gdbstub_init(void);
esp_gdbstub_init();
#endif // CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME