micropython/tools
Andrew Leech 9bb266e311 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>
2025-10-31 10:52:11 +11:00
..
autobuild tools/autobuild: Use same length Git hash abbreviation in file names. 2025-10-23 16:23:56 +11:00
mpremote tools/mpremote: Fix exception when using pts. 2025-10-24 17:31:51 +11:00
.gitattributes micropython-upip: Mark as binary file and re-commit. 2015-06-06 23:09:23 +03:00
ar_util.py tools/mpy_ld.py: Allow linking static libraries. 2025-03-17 13:03:27 +11:00
boardgen.py tools/boardgen.py: Ensure board pin locals_dict has consistent order. 2025-06-10 11:09:14 +10:00
cc1 tools: Add C middle-processor to make builtin tables proper hash tables. 2015-12-31 00:24:33 +00:00
ci.sh stm32/usb: Add support for using TinyUSB stack. 2025-10-31 10:52:11 +11:00
codeformat.py tools/codeformat.py: Print filename + linenumber when dedenting fails. 2025-08-11 13:35:34 +10:00
codestats.sh all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
dfu.py tools/dfu.py: Make tool work with python3 when parsing DFU files. 2021-11-01 15:46:59 +11:00
file2h.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
gen-changelog.sh tools/gen-changelog.sh: Exclude "-preview" tags from generated log. 2024-01-05 15:06:14 +11:00
gen-cpydiff.py docs: Label table columns as "CPython output" and "MicroPython output". 2025-10-03 23:29:11 +10:00
hci_trace_to_pcap.py extmod/modbluetooth: Make all HCI transports trace in the same format. 2023-04-26 11:37:20 +10:00
insert-usb-ids.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
makemanifest.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
manifestfile.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
metrics.py tools/metrics.py: Tersely show the commits in the size report. 2025-10-23 16:15:26 +11:00
mpy_bin2res.py tools/mpy_bin2res: Tools to convert binary resources to Python module. 2017-07-27 14:41:27 +03:00
mpy_cross_all.py all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 2021-09-16 16:04:03 +10:00
mpy_ld.py all: Go back to using default ruff quote style. 2025-07-24 12:48:18 +10:00
mpy-tool.py tools/mpy-tool.py: Add architecture flags to disassembly output. 2025-10-24 18:31:05 +02:00
pyboard.py tools/pyboard.py: Add timeout argument to Pyboard.exec_/exec. 2025-07-23 12:42:44 +10:00
pydfu.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
uf2conv.py all: Fix strings with backslash by using raw string literals. 2023-05-02 11:55:02 +10:00
uf2families.json tools/uf2conv.py: Update to latest version. 2022-02-02 23:43:58 +11:00
uncrustify.cfg all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
verifygitlog.py tools/verifygitlog.py: Allow long co-author and sign-off names. 2025-05-15 13:03:11 +10:00