File tree 3 files changed +29
-7
lines changed
3 files changed +29
-7
lines changed Original file line number Diff line number Diff line change 1
1
. flash tool
2
- . test support for reading
3
- . writing is not working. refer to the specs, may have changed for stm32l
4
- . then test with blink_flash example
5
- . then update the documentation
2
+ . improve flash writing, still use word fast write... too slow
6
3
7
4
. documentation
8
5
. make README points to doc/tutorial
9
6
10
- . remove libsg dependency using:
11
- https://github.com/afaerber/stlink/tree/master/libstlink
12
-
13
7
. compile and test a realtime kernel, for instance:
14
8
http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:stm32l_discovery
15
9
svn checkout https://chibios.svn.sourceforge.net/svnroot/chibios/trunk ;
Original file line number Diff line number Diff line change @@ -178,6 +178,34 @@ \section{Reading and writing to flash}
178
178
\end {small }
179
179
180
180
181
+ \newpage
182
+ \section {Building and installing the CHIBIOS kernel }
183
+ \paragraph {}
184
+ CHIBIOS is an open source RTOS. More information can be found on the project website:
185
+ \begin {center }
186
+ http://www.chibios.org/dokuwiki/doku.php
187
+ \end {center }
188
+
189
+ \paragraph {}
190
+ It supports several boards, including the STM32L DISCOVERY kit:
191
+ \begin {center }
192
+ http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:stm32l\_ discovery
193
+ \end {center }
194
+
195
+ \paragraph {}
196
+ The installation procedure is detailed below:\\
197
+ \begin {small }
198
+ \ begin{lstlisting} [frame=tb]
199
+ # checkout and build CHIBIOS for STM32L DISCOVERY kits
200
+ svn checkout https://chibios.svn.sourceforge.net/svnroot/chibios/trunk
201
+ cd chibios/trunk/demos/ARMCM3-STM32L152-DISCOVERY
202
+ PATH=$TOOLCHAIN_PATH:$PATH make
203
+
204
+ # flash the image into STM32L
205
+ sudo ./flash write build/ch.bin 0x08000000
206
+ \end {lstlisting }
207
+ \end {small }
208
+
181
209
\newpage
182
210
\section {Notes }
183
211
You can’t perform that action at this time.
0 commit comments