1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # This is an NUCLEO-L152RE board with a single STM32L152RETx 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-dap.cfg]
-
-
- set WORKAREASIZE 0x8000
-
- transport select "dapdirect_swd"
-
- set CHIPNAME STM32L152RETx
- set BOARDNAME NUCLEO-L152RE
-
- # 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
-
- # Reset configuration
- # 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
- set CORE_RESET 0
-
- # ACCESS PORT NUMBER
- set AP_NUM 0
- # GDB PORT
- set GDB_PORT 3333
-
-
-
- # BCTM CPU variables
-
- source [find target/stm32l1x.cfg]
|