rename hal_dcd_isr to dcd_irq_handler for fomu
This commit is contained in:
@@ -14,11 +14,6 @@ BSP_DIR = hw/bsp/fomu
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/fomu.ld
|
||||
|
||||
# TODO remove later
|
||||
SRC_C += src/portable/$(VENDOR)/$(CHIP_FAMILY)/hal_$(CHIP_FAMILY).c
|
||||
|
||||
SRC_C +=
|
||||
|
||||
SRC_S += hw/bsp/fomu/crt0-vexriscv.S
|
||||
|
||||
INC += \
|
||||
|
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "common/tusb_common.h"
|
||||
#include "../board.h"
|
||||
#include "csr.h"
|
||||
#include "irq.h"
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
// Board porting API
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
void hal_dcd_isr(uint8_t rhport);
|
||||
|
||||
void fomu_error(uint32_t line)
|
||||
{
|
||||
(void)line;
|
||||
@@ -65,7 +63,7 @@ void isr(void)
|
||||
|
||||
#if CFG_TUSB_RHPORT0_MODE == OPT_MODE_DEVICE
|
||||
if (irqs & (1 << USB_INTERRUPT)) {
|
||||
hal_dcd_isr(0);
|
||||
tud_irq_handler(0);
|
||||
}
|
||||
#endif
|
||||
if (irqs & (1 << TIMER0_INTERRUPT)) {
|
||||
@@ -114,4 +112,4 @@ uint32_t board_millis(void)
|
||||
{
|
||||
return system_ticks;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user