mpy-cross/README.md: Add notes about -march and -O.

pull/5403/head
Jim Mussared 2019-12-07 22:31:04 +11:00 zatwierdzone przez Damien George
rodzic 381be9a745
commit 193bc3702f
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -22,4 +22,10 @@ the unix port of MicroPython requires the following:
$ ./mpy-cross -mcache-lookup-bc foo.py
If the Python code contains `@native` or `@viper` annotations, then you must
specify `-march` to match the target architecture.
Run `./mpy-cross -h` to get a full list of options.
The optimisation level is 0 by default. Optimisation levels are detailed in
https://docs.micropython.org/en/latest/library/micropython.html#micropython.opt_level