add tud_irq_handler() to all NUC board

This commit is contained in:
hathach
2020-04-06 17:43:56 +07:00
parent 4179334aca
commit 138965d1d1
8 changed files with 65 additions and 21 deletions

View File

@@ -29,6 +29,17 @@
#include "clk.h"
#include "sys.h"
//--------------------------------------------------------------------+
// Forward USB interrupt events to TinyUSB IRQ Handler
//--------------------------------------------------------------------+
void USBD_IRQHandler(void)
{
tud_irq_handler(0);
}
//--------------------------------------------------------------------+
// MACRO TYPEDEF CONSTANT ENUM
//--------------------------------------------------------------------+
#define LED_PORT PB
#define LED_PIN 0
#define LED_PIN_IO PB0