Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
326343fe
Commit
326343fe
authored
Jan 31, 2017
by
Damien George
Browse files
stmhal/README: Add paragraph about building mpy-cross.
parent
33b8e65b
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/README.md
View file @
326343fe
...
...
@@ -17,6 +17,15 @@ to build each individual board.
Build instructions
------------------
Before building the firmware for a given board the MicroPython cross-compiler
must be built; it will be used to pre-compile some of the built-in scripts to
bytecode. The cross-compiler is built and run on the host machine, using:
```
bash
$
make
-C
mpy-cross
```
This command should be executed from the root directory of this repository.
All other commands below should be executed from the stmhal/ directory.
An ARM compiler is required for the build, along with the associated binary
utilities. The default compiler is
`arm-none-eabi-gcc`
, which is available for
Arch Linux via the package
`arm-none-eabi-gcc`
, for Ubuntu via instructions
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment