diff options
author | robert-hh <robert@hammelrath.com> | 2023-03-18 09:08:08 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-03-20 22:33:45 +1100 |
commit | be686e634eede19f33612122d7254007a3d72bd0 (patch) | |
tree | e2b28b24682afc101345b30090d40538c04482c4 /py/pystack.c | |
parent | a2b31f968d8df46fc2e7acd224011415e6ed43a2 (diff) | |
download | micropython-be686e634eede19f33612122d7254007a3d72bd0.tar.gz micropython-be686e634eede19f33612122d7254007a3d72bd0.zip |
rp2: Allow disabling USB via MICROPY_HW_ENABLE_USBDEV config.
Previously, setting MICROPY_HW_ENABLE_USBDEV to 0 caused build errors. The
change affects the nrf and samd ports as well, so MICROPY_HW_ENABLE_USBDEV
had to be explicitly enabled there.
The configuration options MICROPY_HW_ENABLE_USBDEV and
MICROPY_HW_ENABLE_UART_REPL are independent, and can be enabled or disabled
by a board.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/pystack.c')
0 files changed, 0 insertions, 0 deletions