Skip to content

Commit 326343f

Browse files
committed
stmhal/README: Add paragraph about building mpy-cross.
1 parent 33b8e65 commit 326343f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

stmhal/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ to build each individual board.
1717
Build instructions
1818
------------------
1919

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+
2029
An ARM compiler is required for the build, along with the associated binary
2130
utilities. The default compiler is `arm-none-eabi-gcc`, which is available for
2231
Arch Linux via the package `arm-none-eabi-gcc`, for Ubuntu via instructions

0 commit comments

Comments
 (0)