From: AceVest Date: Sat, 1 Jun 2019 06:25:02 +0000 (+0800) Subject: F103HAL-compile link debug X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=48b54d136e21d7d272af442be8e9976eeeb147ab;p=acecode.git F103HAL-compile link debug --- diff --git a/.gitignore b/.gitignore index bb191ae..31f18eb 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ ish *.log dvwa build +Debug +OneNetMiniBoard diff --git a/learn/stm32/F103HAL/F103HAL.elf.cfg b/learn/stm32/F103HAL/F103HAL.elf.cfg new file mode 100644 index 0000000..f59aa59 --- /dev/null +++ b/learn/stm32/F103HAL/F103HAL.elf.cfg @@ -0,0 +1,30 @@ +# This is an genericBoard board with a single STM32F103C8Tx 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" + +set CHIPNAME STM32F103C8Tx +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 4000 + +# use software system reset +reset_config none +set CONNECT_UNDER_RESET 0 + +# BCTM CPU variables + +source [find target/stm32f1x.cfg] diff --git a/learn/stm32/F103HAL/F103HAL.elf.launch b/learn/stm32/F103HAL/F103HAL.elf.launch new file mode 100644 index 0000000..925476b --- /dev/null +++ b/learn/stm32/F103HAL/F103HAL.elf.launch @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +