2019-08-01 09:13 AM
Hello,
I need to manually edit the debugging configuration script (CFG) file in STM32CubeIDE. But I can't seem to make CubeIDE run with a user-generated file or make any modifications to the auto-generated file.
Is there any way to actually use custom debugger CFG files, or is this option just not functional in CubeIDE?
# This is an genericBoard board with a single STM32F415VGTx chip
#
# Generated by STM32CubeIDE
# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)
source [find interface/stlink.cfg]
set WORKAREASIZE 0x8000
transport select "hla_swd"
# TEST COMMENT
set CHIPNAME STM32F415VGTx
set BOARDNAME genericBoard
# Enable debug when in low power modes
set ENABLE_LOW_POWER 1
# Stop Watchdog counters when halt
set STOP_WATCHDOG 1
# STlink Debug clock frequency
set CLOCK_FREQ 8000
# use hardware reset, connect under reset
# connect_assert_srst needed if low power mode application running (WFI...)
reset_config srst_only srst_nogate connect_assert_srst
set CONNECT_UNDER_RESET 1
# BCTM CPU variables
source [find target/stm32f4x.cfg]