circuitpython/ports
stijn a66286f3a0 unix: Improve command line argument processing.
Per CPython everything which comes after the command, module or file
argument is not an option for the interpreter itself.  Hence the processing
of options should stop when encountering those, and the remainder be passed
as sys.argv.  Note the latter was already the case for a module or file but
not for a command.

This fixes issues like 'micropython myfile.py -h' showing the help and
exiting instead of passing '-h' as sys.argv[1], likewise for
'-X <something>' being treated as a special option no matter where it
occurs on the command line.
2021-04-07 12:41:25 +10:00
..
bare-arm bare-arm: Clean up the code, make it run on an F405, and add a README. 2021-03-19 14:20:26 +11:00
cc3200 tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
esp32 esp32: Fix multiple definition errors with mp_hal_stdout_tx functions. 2021-04-01 15:44:25 +11:00
esp8266 esp8266/modules: Fix fs_corrupted() to use start_sec not START_SEC. 2021-02-09 10:46:07 +11:00
javascript tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
mimxrt mimxrt/boards: Add MIMXRT1050_EVK board, based on MIMXRT1060_EVK. 2021-03-11 16:42:38 +11:00
minimal ports: Disable MICROPY_PY_ASSIGN_EXPR in bare-arm and minimal ports. 2020-06-16 22:06:21 +10:00
nrf nrf/drivers/usb: Add USBD_IRQHandler which calls tud_int_handler. 2021-02-13 13:52:53 +11:00
pic16bit ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default. 2021-02-04 22:39:17 +11:00
powerpc ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default. 2021-02-04 22:39:17 +11:00
qemu-arm tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
rp2 rp2: Import uarray instead of array in rp2 module. 2021-04-07 10:06:18 +10:00
samd samd/mphalport: Fix USB CDC tx handling to work reliably. 2021-02-12 14:09:01 +11:00
stm32 stm32: Include .ARM section in firmware for C++ exception handling. 2021-04-06 12:11:15 +10:00
teensy ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default. 2021-02-04 22:39:17 +11:00
unix unix: Improve command line argument processing. 2021-04-07 12:41:25 +10:00
windows tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
zephyr tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00