diff options
author | Damien George <damien@micropython.org> | 2025-05-23 22:44:19 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-06-04 12:06:12 +1000 |
commit | e869dae31e19a283ff62f4a49125a9d97aacd499 (patch) | |
tree | 8c189c9efbe15910ae36154aeaabd8bd953069d0 /esp8266/scripts/neopixel.py | |
parent | 820485358d1f2a53a5fb019e571b13729ccb1158 (diff) | |
download | micropython-e869dae31e19a283ff62f4a49125a9d97aacd499.tar.gz micropython-e869dae31e19a283ff62f4a49125a9d97aacd499.zip |
mpy-cross/main: Exit with error if arch not specified with emit=native.
Currently, mpy-cross will crash if called as:
mpy-cross -X emit=native foo.py
because it tries to use the native emitter with no target architecture set.
Fix that by checking that an architecture is set when `-X emit=native` or
`-X emit=viper` is used.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'esp8266/scripts/neopixel.py')
0 files changed, 0 insertions, 0 deletions