enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
This commit is contained in:
@@ -48,6 +48,10 @@ int main(void)
|
||||
// init host stack on configured roothub port
|
||||
tuh_init(BOARD_TUH_RHPORT);
|
||||
|
||||
if (board_init_after_tusb) {
|
||||
board_init_after_tusb();
|
||||
}
|
||||
|
||||
while (1)
|
||||
{
|
||||
// tinyusb host task
|
||||
|
Reference in New Issue
Block a user