[update] documentation, CHIBIOS
authorFabien Le Mentec <texane@gmail.com>
Sun, 23 Oct 2011 08:26:55 +0000 (03:26 -0500)
committerFabien Le Mentec <texane@gmail.com>
Sun, 23 Oct 2011 08:26:55 +0000 (03:26 -0500)
TODO
doc/tutorial/tutorial.pdf
doc/tutorial/tutorial.tex

diff --git a/TODO b/TODO
index e3795fc327304e4ff17a55679539e48e91004fd9..2b0baf62ff70df77ce84e2716ba517513acaabcc 100644 (file)
--- a/TODO
+++ b/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 ;
index 9202ed4dc33c1bcafdcf4db30807103a22c846c8..82372df261dd622ed20cd446de3ba01935e44f7e 100644 (file)
Binary files a/doc/tutorial/tutorial.pdf and b/doc/tutorial/tutorial.pdf differ
index d1ba4fdbdf57cd442feb99d9c333441a9b8c37f6..6d7773f9cfaefa05a6394972ff4a6decbb8ec246 100644 (file)
@@ -178,6 +178,34 @@ $> ./flash write in.bin 0x8000000
 \end{small}
 
 
+\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}