-
-
Notifications
You must be signed in to change notification settings - Fork 835
Closed
Description
What kind of issue is this?
- PlatformIO Core.
If you’ve found a bug, please provide an information below.
Configuration
Operating system:
Windows
PlatformIO Version (platformio --version
):
PlatformIO Core, version 5.1.1
Description of problem
I specipic debug_server like this
debug_server =
openocd
-f $PROJECT_PACKAGES_DIR/packages/tool-openocd/scripts/board/stm32f103zet6_warship.cfg
and get this
embedded:startup.tcl:26: Error: Can't find $PROJECT_PACKAGES_DIR/packages/tool-openocd/scripts/board/stm32f103zet6_warship.cfg
Steps to Reproduce
- add above config line
- run debug
Actual Results
embedded:startup.tcl:26: Error: Can't find $PROJECT_PACKAGES_DIR/packages/tool-openocd/scripts/board/stm32f103zet6_warship.cfg
Expected Results
successful running debug
If problems with PlatformIO Build System:
The content of platformio.ini
:
[env:genericSTM32F103ZE]
platform = ststm32
board = genericSTM32F103ZE
framework = stm32cube
lib_deps = mincrmatt12/STM32Cube Middleware-FreeRTOS@10.0.1+f2-1.9.2.2
custom_freertos_config_location = Inc/FreeRTOSConfig.h
extra_scripts = upload_offset_env.py
; Upload Configs
upload_protocol = custom
upload_command = $PROJECT_PACKAGES_DIR/tool-openocd/bin/openocd $UPLOAD_FLAGS
upload_flags =
-f
${platformio.packages_dir}/tool-openocd/scripts/board/stm32f103zet6_warship.cfg
-c
program .pio/build/genericSTM32F103ZE/firmware.bin $UPLOAD_OFFSET verify reset exit
; Debug Configs
debug_tool = custom
debug_server =
openocd
-f
${platformio.packages_dir}/tool-openocd/scripts/board/stm32f103zet6_warship.cfg
[platformio]
include_dir = Inc
src_dir = Src
Source file to reproduce issue:
it has successful built