1 parent 33b8e65 commit 326343fCopy full SHA for 326343f
1 file changed
stmhal/README.md
@@ -17,6 +17,15 @@ to build each individual board.
17
Build instructions
18
------------------
19
20
+Before building the firmware for a given board the MicroPython cross-compiler
21
+must be built; it will be used to pre-compile some of the built-in scripts to
22
+bytecode. The cross-compiler is built and run on the host machine, using:
23
+```bash
24
+$ make -C mpy-cross
25
+```
26
+This command should be executed from the root directory of this repository.
27
+All other commands below should be executed from the stmhal/ directory.
28
+
29
An ARM compiler is required for the build, along with the associated binary
30
utilities. The default compiler is `arm-none-eabi-gcc`, which is available for
31
Arch Linux via the package `arm-none-eabi-gcc`, for Ubuntu via instructions
0 commit comments