-
Notifications
You must be signed in to change notification settings - Fork 0
Software tools
fdila edited this page Dec 1, 2019
·
8 revisions
Currently using STM32CubeIDE with default configuration.
Steps for creating a new project:
- File > new > STM32Project
- Select board
- Give a name to the project
- Click finish
- You will be asked if you want to open a new perspective, click Yes
- The STM32CubeMX interface will open, here you can configure pins, clock and various stuff
- Once you finished your configuration go on File > save, this will generate the C initialization code
Debug configuration:
- Autostart local GDB server
- Debug probe ST-LINK(ST-LINK GDB server)
- Interface SWD
- Access port 0-Cortex-M7
- Reset behaviour: Software system reset
- Enable Serial Wire viewer
- Core clock 16Mhz
- SWO Clock 2000 kHz
- Port number 61235
- Wait sync packet
- Verify flash download
- Enable live expressions
IMPORTANT: to use live expressions variables have to be global