blob: 8630ab2e684a572ee455eee50c125ebacdc38633 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
Intro
-----

This Project is a documentation of my journey trying to program the
STM32L432KCU6 Nucleo-32 (that would be [this
guy](https://www.digikey.com/product-detail/en/stmicroelectronics/NUCLEO-L432KC/497-16592-ND/6132763))
development board from BARE METAL. No operating system whatsoever. Not even an
RTOS. I will limit myself only to the standard C libraries and possibly future
libraries unrelated to the board itself (like maybe PCRE or OpenSSL, if such a
thing is even possible!). The point of this exercise is to learn the ins and
outs of programming for a board at the lowest possible level!
These examples were developed on Linux, and work with Linux and GNU Make.
However, since none of the code depends on a platform, it should compile
on any system with a cross compiler.
Requirements
------------
* GNU Make
* st-flash -- This can be found [here](https://github.com/texane/stlink.git)
* perl
* Cross compiler for arm -- Mine is installed with prefix `arm-unknown-eabi-`.
Resources
---------
Datasheet may be found [here](http://www.st.com/content/ccc/resource/technical/document/reference_manual/group0/b0/ac/3e/8f/6d/21/47/af/DM00151940/files/DM00151940.pdf/jcr:content/translations/en.DM00151940.pdf)
|