diff options
author | Damien George <damien@micropython.org> | 2024-08-17 00:10:40 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-09-04 16:34:01 +1000 |
commit | 6be1dbc784ba1f845a4f7525bb2ecd6b61a79405 (patch) | |
tree | ba3b78a935f6e66f89090a7d640b3133a7bb9991 /docs/esp32/quickref.rst | |
parent | 838c490eb4403885e96cbe3ded6f73a082c9399f (diff) |
tests/run-tests.py: Automatically detect native arch and mpy-cross flag.
Now that some ports support multiple architectures (eg esp32 has both
Xtensa and RISC-V CPUs) it's no longer possible to set mpy-cross flags
based on the target, eg `./run-tests.py --target esp32`. Instead this
commit makes it so the `-march=xxx` argument to mpy-cross is detected
automatically via evaluation of `sys.implementation._mpy`.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/quickref.rst')
0 files changed, 0 insertions, 0 deletions