mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5da1dbc4a6
A new blue pill variant with only 32 KiB of flash (secretly coming with 64 KiB flash) instead of the use 64 KiB flash (secretly coming with 128 KiB) is not compatible with `make flash`. This commit changes the OpenOCD config so that both variants can be flashed.
20 lines
468 B
INI
20 lines
468 B
INI
set CHIPNAME STM32F103C8Tx
|
|
|
|
# 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 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
|
|
|
|
source [find target/stm32f1x.cfg]
|
|
|
|
$_TARGETNAME configure -rtos auto
|