将一个在 TrueStudio V9.2.0 正常运行的项目移植到 stm32cubeide 中, 我创建了一个空白项目并复制了所有源文件,并将IDE中的一下配置项做了设置。 这是 TS 项目的 debug init 命令。 # Default GDB command file (FLASH) for SEGGER J-LINK and STMicroelectronics STM32L071RZ microcontroller. #Set RTT Addr #eval "monitor exec SetRTTAddr %p",&_SEGGER_RTT # Set character encoding set host-charset CP1252 set target-charset CP1252 # Set JTAG speed to 30 kHz monitor speed 30 # Set GDBServer to little endian monitor endian little # Reset the chip to get to a known state. monitor reset # Set auto JTAG speed monitor speed auto # Setup GDB FOR FASTER DOWNLOADS set remote memory-write-packet-size 1024 set remote memory-write-packet-size fixed # Enable flash download monitor flash download = 1 # Load the program executable 编译后出现如下提示
|