mirror of
https://github.com/micropython/micropython.git
synced 2026-01-30 07:40:21 +01:00
stm32/mpconfigboard_common: Define TinyUSB MCU type for N6.
Allows using TinyUSB stack on N6. Note there's still an issue with TinyUSB on the N6: `pyb_usbd_init()` can't be called multiple times (on soft-reboot). Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
committed by
Damien George
parent
6b661ca3f6
commit
b087cb41e8
@@ -542,6 +542,9 @@
|
||||
#define MICROPY_HW_MAX_UART (10)
|
||||
#define MICROPY_HW_MAX_LPUART (1)
|
||||
|
||||
#define CFG_TUSB_MCU OPT_MCU_STM32N6
|
||||
#define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE | OPT_MODE_HIGH_SPEED)
|
||||
|
||||
// Configuration for STM32U5 series
|
||||
#elif defined(STM32U5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user