kopia lustrzana https://github.com/stlink-org/stlink
[mv] blink source into example/blink
rodzic
a161199867
commit
52f3b4381b
Plik binarny nie jest wyświetlany.
|
@ -88,7 +88,7 @@ $> make ;
|
|||
A simple LED blinking example is provided in the example directory. It is built using:\\
|
||||
\begin{small}
|
||||
\begin{lstlisting}[frame=tb]
|
||||
cd stlink.git/example ;
|
||||
cd stlink.git/example/blink ;
|
||||
PATH=$TOOLCHAIN_PATH/bin:$PATH make ;
|
||||
\end{lstlisting}
|
||||
\end{small}
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
typedef unsigned int uint32_t;
|
||||
|
||||
|
||||
/* boot mode configuration */
|
||||
|
||||
#define CONFIG_BOOT_SRAM 1
|
||||
#define CONFIG_BOOT_FLASH 0
|
||||
|
||||
|
||||
/* hardware configuration */
|
||||
|
||||
#define CONFIG_STM32L_DISCOVERY 1
|
Ładowanie…
Reference in New Issue