move irq for stm32 synopsys
This commit is contained in:
		@@ -28,6 +28,18 @@
 | 
			
		||||
 | 
			
		||||
#include "stm32f4xx_hal.h"
 | 
			
		||||
 | 
			
		||||
//--------------------------------------------------------------------+
 | 
			
		||||
// Forward USB interrupt events to TinyUSB IRQ Handler
 | 
			
		||||
//--------------------------------------------------------------------+
 | 
			
		||||
void OTG_FS_IRQHandler(void)
 | 
			
		||||
{
 | 
			
		||||
  tud_irq_handler(0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//--------------------------------------------------------------------+
 | 
			
		||||
// MACRO TYPEDEF CONSTANT ENUM
 | 
			
		||||
//--------------------------------------------------------------------+
 | 
			
		||||
 | 
			
		||||
#define LED_PORT              GPIOE
 | 
			
		||||
#define LED_PIN               GPIO_PIN_2
 | 
			
		||||
#define LED_STATE_ON          0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user