File tree 3 files changed +64947
-1
lines changed
3 files changed +64947
-1
lines changed Original file line number Diff line number Diff line change @@ -125,4 +125,17 @@ following content in _%HOMEPATH%_:
125
125
This tells CLion to use the .gdbinit- file in the project root.
126
126
127
127
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
+
You can’t perform that action at this time.
0 commit comments