X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2Ftutorial%2Ftutorial.tex;fp=doc%2Ftutorial%2Ftutorial.tex;h=6d7773f9cfaefa05a6394972ff4a6decbb8ec246;hb=81e4e8d1570b576c24ae5789260926b5bbef1425;hp=d1ba4fdbdf57cd442feb99d9c333441a9b8c37f6;hpb=224966f637a2bf043e90fa44d0765999cd6f5889;p=fw%2Fstlink diff --git a/doc/tutorial/tutorial.tex b/doc/tutorial/tutorial.tex index d1ba4fd..6d7773f 100644 --- a/doc/tutorial/tutorial.tex +++ b/doc/tutorial/tutorial.tex @@ -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}