Move interrupt handler into device driver, and rename the OPT_MCU_STM32 constants.

This commit is contained in:
Nathan Conrad
2019-09-10 09:35:52 -04:00
parent 2cf2f35fa3
commit 65e72de7ce
6 changed files with 86 additions and 35 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ CFLAGS += \
-mcpu=cortex-m0 \
-mfloat-abi=soft \
-nostdlib -nostartfiles \
-DCFG_TUSB_MCU=OPT_MCU_STM32_FSDEV
-DCFG_TUSB_MCU=OPT_MCU_STM32F0x0
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F0xx_HAL_Driver
ST_CMSIS = hw/mcu/st/st_driver/CMSIS/Device/ST/STM32F0xx
@@ -95,12 +95,6 @@ void board_init(void)
__HAL_RCC_USB_CLK_ENABLE();
}
void dcd_fs_irqHandler(void);
void USB_IRQHandler(void)
{
dcd_fs_irqHandler();
}
//--------------------------------------------------------------------+
// Board porting API
//--------------------------------------------------------------------+