enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
This commit is contained in:
@@ -138,6 +138,10 @@ void usb_device_task(void* param)
|
||||
// Otherwise it could cause kernel issue since USB IRQ handler does use RTOS queue API.
|
||||
tud_init(BOARD_TUD_RHPORT);
|
||||
|
||||
if (board_init_after_tusb) {
|
||||
board_init_after_tusb();
|
||||
}
|
||||
|
||||
// RTOS forever loop
|
||||
while (1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user