Permalink
Browse files

[update] documentation, CHIBIOS

  • Loading branch information...
1 parent 224966f commit 81e4e8d1570b576c24ae5789260926b5bbef1425 @texane committed Oct 23, 2011
Showing with 29 additions and 7 deletions.
  1. +1 −7 TODO
  2. BIN doc/tutorial/tutorial.pdf
  3. +28 −0 doc/tutorial/tutorial.tex
View
8 TODO
@@ -1,15 +1,9 @@
. flash tool
- . test support for reading
- . writing is not working. refer to the specs, may have changed for stm32l
- . then test with blink_flash example
- . then update the documentation
+ . improve flash writing, still use word fast write... too slow
. documentation
. make README points to doc/tutorial
-. remove libsg dependency using:
-https://github.com/afaerber/stlink/tree/master/libstlink
-
. compile and test a realtime kernel, for instance:
http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:stm32l_discovery
svn checkout https://chibios.svn.sourceforge.net/svnroot/chibios/trunk ;
View
BIN doc/tutorial/tutorial.pdf
Binary file not shown.
View
28 doc/tutorial/tutorial.tex
@@ -179,6 +179,34 @@ \section{Reading and writing to flash}
\newpage
+\section{Building and installing the CHIBIOS kernel}
+\paragraph{}
+CHIBIOS is an open source RTOS. More information can be found on the project website:
+\begin{center}
+http://www.chibios.org/dokuwiki/doku.php
+\end{center}
+
+\paragraph{}
+It supports several boards, including the STM32L DISCOVERY kit:
+\begin{center}
+http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:stm32l\_discovery
+\end{center}
+
+\paragraph{}
+The installation procedure is detailed below:\\
+\begin{small}
+\begin{lstlisting}[frame=tb]
+# checkout and build CHIBIOS for STM32L DISCOVERY kits
+svn checkout https://chibios.svn.sourceforge.net/svnroot/chibios/trunk
+cd chibios/trunk/demos/ARMCM3-STM32L152-DISCOVERY
+PATH=$TOOLCHAIN_PATH:$PATH make
+
+# flash the image into STM32L
+sudo ./flash write build/ch.bin 0x08000000
+\end{lstlisting}
+\end{small}
+
+\newpage
\section{Notes}
\subsection{Disassembling THUMB code in GDB}

0 comments on commit 81e4e8d

Please sign in to comment.