Hello,
I have updated to PlatformIO Core, version 6.1.6,
My old platformio.ini is not working now
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = espidf
debug_tool = esp-builtin
; Set optimization level and amount of debug information generated by the compiler
debug_build_flags = -O0 -ggdb3 -g3
[env:debug]
debug_server =
${platformio.packages_dir}\\toolchain-riscv32-esp\\bin
-singlerun
-if
USB
-select
JTAG
-port
localhost:3333
-device
esp32c3
debug_init_break = tbreak app_main
[env:debug_openocd]
debug_tool = esp-builtin
debug_server =
${platformio.packages_dir}/tool-openocd-esp32/bin
-s
${platformio.packages_dir}/tool-openocd-esp32/share/openocd/scripts/
-f
${platformio.packages_dir}/tool-openocd-esp32/share/openocd/scripts/interface/esp_usb_jtag.cfg
-f
${platformio.packages_dir}/tool-openocd-esp32/share/openocd/scripts/board/esp32c3-builtin.cfg
-c 'usb_vid_pid 0x303A 0x1001'
I have three task now as explained within the latest documentation.
How i can do to have only one task which launch openocd and gdb???
Thank you in advance
Best regards
Jose Miguel