Skip to content

Commit ae5f903

Browse files
committed
Add support for peripherals view in the debugger
1 parent 3f45a99 commit ae5f903

File tree

3 files changed

+64947
-1
lines changed

3 files changed

+64947
-1
lines changed

Doc/peripherals.png

33.4 KB
Loading

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,17 @@ following content in _%HOMEPATH%_:
125125
This tells CLion to use the .gdbinit- file in the project root.
126126

127127
As an example this project contains a .gdbinit file setting a breakpoint at main() when the executable was loaded
128-
onto the target.
128+
onto the target.
129+
130+
## Debugging support for peripherals
131+
The debugger component in CLion can show the peripheral registers of the microcontroller when provided an appropriate
132+
*.svd file describing the peripherals. The description files can be found on the website of the chip vendors, in our
133+
case [STMicroelectronics](https://www.st.com/en/microcontrollers-microprocessors/stm32l4x6.html#cad-resources)
134+
135+
The microcontroller on our demo board is from the STM32L4x6 family so the STM32L4x6.svd file is necessary. After
136+
adding this file to the project root and configuring it in the _Peripherals_ Tab on the debugger view, the actual state
137+
of the microcontroller peripherals can be examined.
138+
![alt text](Doc/peripherals.png)
139+
140+
141+

0 commit comments

Comments
 (0)