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
+12
View File
@@ -29,6 +29,18 @@
#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 PC
#define LED_PIN 9
#define LED_PIN_IO PC9