diff options
| author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2025-10-28 16:20:31 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-10-31 10:52:11 +1100 |
| commit | 9bb266e31162ba80ec06a6bc9a6b94b9cbafa9b2 (patch) | |
| tree | e0260ed1414475c9d8659e831f357e079472c4dc /ports/stm32/pyb_i2c.c | |
| parent | 6b0e1c2701490260cb81bbe884f42a9c18bea020 (diff) | |
stm32/usb: Add support for using TinyUSB stack.
This commit adapts the stm32 port to allow switching from STM USB stack to
TinyUSB stack.
Using TinyUSB improves consistancy with other MicroPython ports and brings
in the ability to use the runtime USB definition support recently added to
other TinyUSB based ports.
By default the existing STM USB stack is used. TinyUSB can be enabled in a
board configuration with:
#define MICROPY_HW_TINYUSB_STACK (1)
Or, it can be enabled from the command line with:
make -C ports/stm32 CFLAGS_EXTRA='-DMICROPY_HW_TINYUSB_STACK=1'
Signed-off-by: Andrew Leech <andrew@alelec.net>
Diffstat (limited to 'ports/stm32/pyb_i2c.c')
0 files changed, 0 insertions, 0 deletions
