mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
fix ci build for same board
This commit is contained in:
parent
168993d04d
commit
76b4b3f827
@ -21,30 +21,30 @@ CFLAGS += \
|
|||||||
LD_FILE = hw/bsp/$(BOARD)/same51j19a_flash.ld
|
LD_FILE = hw/bsp/$(BOARD)/same51j19a_flash.ld
|
||||||
|
|
||||||
SRC_C += \
|
SRC_C += \
|
||||||
hw/mcu/microchip/asf4/same51/gcc/gcc/startup_same51.c \
|
hw/mcu/microchip/same51/gcc/gcc/startup_same51.c \
|
||||||
hw/mcu/microchip/asf4/same51/gcc/system_same51.c \
|
hw/mcu/microchip/same51/gcc/system_same51.c \
|
||||||
|
|
||||||
ifdef SYSCALLS
|
ifdef SYSCALLS
|
||||||
ifneq ($(SYSCALLS),0)
|
ifneq ($(SYSCALLS),0)
|
||||||
SRC_C += hw/mcu/microchip/asf4/same51/hal/utils/src/utils_syscalls.c
|
SRC_C += hw/mcu/microchip/same51/hal/utils/src/utils_syscalls.c
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef LOG
|
ifdef LOG
|
||||||
ifneq ($(LOG),0)
|
ifneq ($(LOG),0)
|
||||||
SRC_C += hw/mcu/microchip/asf4/same51/hal/utils/src/utils_syscalls.c
|
SRC_C += hw/mcu/microchip/same51/hal/utils/src/utils_syscalls.c
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INC += \
|
INC += \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/ \
|
$(TOP)/hw/mcu/microchip/same51/ \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/config \
|
$(TOP)/hw/mcu/microchip/same51/config \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/include \
|
$(TOP)/hw/mcu/microchip/same51/include \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/hal/include \
|
$(TOP)/hw/mcu/microchip/same51/hal/include \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/hal/utils/include \
|
$(TOP)/hw/mcu/microchip/same51/hal/utils/include \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/hpl/port \
|
$(TOP)/hw/mcu/microchip/same51/hpl/port \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/hri \
|
$(TOP)/hw/mcu/microchip/same51/hri \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same51/CMSIS/Include
|
$(TOP)/hw/mcu/microchip/same51/CMSIS/Include
|
||||||
|
|
||||||
# For TinyUSB port source
|
# For TinyUSB port source
|
||||||
VENDOR = microchip
|
VENDOR = microchip
|
||||||
|
@ -20,19 +20,19 @@ CFLAGS += \
|
|||||||
LD_FILE = hw/bsp/$(BOARD)/same54p20a_flash.ld
|
LD_FILE = hw/bsp/$(BOARD)/same54p20a_flash.ld
|
||||||
|
|
||||||
SRC_C += \
|
SRC_C += \
|
||||||
hw/mcu/microchip/asf4/same54/gcc/gcc/startup_same54.c \
|
hw/mcu/microchip/same54/gcc/gcc/startup_same54.c \
|
||||||
hw/mcu/microchip/asf4/same54/gcc/system_same54.c \
|
hw/mcu/microchip/same54/gcc/system_same54.c \
|
||||||
hw/mcu/microchip/asf4/same54/hal/utils/src/utils_syscalls.c
|
hw/mcu/microchip/same54/hal/utils/src/utils_syscalls.c
|
||||||
|
|
||||||
INC += \
|
INC += \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/ \
|
$(TOP)/hw/mcu/microchip/same54/ \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/config \
|
$(TOP)/hw/mcu/microchip/same54/config \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/include \
|
$(TOP)/hw/mcu/microchip/same54/include \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/hal/include \
|
$(TOP)/hw/mcu/microchip/same54/hal/include \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/hal/utils/include \
|
$(TOP)/hw/mcu/microchip/same54/hal/utils/include \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/hpl/port \
|
$(TOP)/hw/mcu/microchip/same54/hpl/port \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/hri \
|
$(TOP)/hw/mcu/microchip/same54/hri \
|
||||||
$(TOP)/hw/mcu/microchip/asf4/same54/CMSIS/Include
|
$(TOP)/hw/mcu/microchip/same54/CMSIS/Include
|
||||||
|
|
||||||
# For TinyUSB port source
|
# For TinyUSB port source
|
||||||
VENDOR = microchip
|
VENDOR = microchip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user