mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
fix build with nxp since mcux-sdk from 2.13.0 remove CMSIS folder
This commit is contained in:
parent
908e23d109
commit
ad39833ea4
@ -1,6 +1,6 @@
|
|||||||
UF2_FAMILY_ID = 0x4fb2d5bd
|
UF2_FAMILY_ID = 0x4fb2d5bd
|
||||||
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
||||||
DEPS_SUBMODULES += $(SDK_DIR)
|
DEPS_SUBMODULES += $(SDK_DIR) lib/CMSIS_5
|
||||||
|
|
||||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ SRC_C += \
|
|||||||
|
|
||||||
INC += \
|
INC += \
|
||||||
$(TOP)/$(BOARD_PATH) \
|
$(TOP)/$(BOARD_PATH) \
|
||||||
$(TOP)/$(MCU_DIR)/../../CMSIS/Include \
|
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||||
$(TOP)/$(MCU_DIR) \
|
$(TOP)/$(MCU_DIR) \
|
||||||
$(TOP)/$(MCU_DIR)/project_template \
|
$(TOP)/$(MCU_DIR)/project_template \
|
||||||
$(TOP)/$(MCU_DIR)/drivers \
|
$(TOP)/$(MCU_DIR)/drivers \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
||||||
DEPS_SUBMODULES += $(SDK_DIR)
|
DEPS_SUBMODULES += $(SDK_DIR) lib/CMSIS_5
|
||||||
|
|
||||||
MCU_DIR = $(SDK_DIR)/devices/$(MCU)
|
MCU_DIR = $(SDK_DIR)/devices/$(MCU)
|
||||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||||
@ -19,7 +19,7 @@ SRC_C += \
|
|||||||
|
|
||||||
INC += \
|
INC += \
|
||||||
$(TOP)/$(BOARD_PATH) \
|
$(TOP)/$(BOARD_PATH) \
|
||||||
$(TOP)/$(SDK_DIR)/CMSIS/Include \
|
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||||
$(TOP)/$(MCU_DIR) \
|
$(TOP)/$(MCU_DIR) \
|
||||||
$(TOP)/$(MCU_DIR)/project_template \
|
$(TOP)/$(MCU_DIR)/project_template \
|
||||||
$(TOP)/$(MCU_DIR)/drivers \
|
$(TOP)/$(MCU_DIR)/drivers \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
||||||
DEPS_SUBMODULES += $(SDK_DIR)
|
DEPS_SUBMODULES += $(SDK_DIR) lib/CMSIS_5
|
||||||
|
|
||||||
MCU_DIR = $(SDK_DIR)/devices/$(MCU)
|
MCU_DIR = $(SDK_DIR)/devices/$(MCU)
|
||||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||||
@ -29,7 +29,7 @@ SRC_C += \
|
|||||||
$(SDK_DIR)/drivers/flexcomm/fsl_usart.c
|
$(SDK_DIR)/drivers/flexcomm/fsl_usart.c
|
||||||
|
|
||||||
INC += \
|
INC += \
|
||||||
$(TOP)/$(MCU_DIR)/../../CMSIS/Include \
|
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||||
$(TOP)/$(MCU_DIR) \
|
$(TOP)/$(MCU_DIR) \
|
||||||
$(TOP)/$(MCU_DIR)/drivers \
|
$(TOP)/$(MCU_DIR)/drivers \
|
||||||
$(TOP)/$(SDK_DIR)/drivers/common \
|
$(TOP)/$(SDK_DIR)/drivers/common \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
||||||
DEPS_SUBMODULES += $(SDK_DIR)
|
DEPS_SUBMODULES += $(SDK_DIR) lib/CMSIS_5
|
||||||
|
|
||||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ SRC_C += \
|
|||||||
|
|
||||||
INC += \
|
INC += \
|
||||||
$(TOP)/$(BOARD_PATH) \
|
$(TOP)/$(BOARD_PATH) \
|
||||||
$(TOP)/$(MCU_DIR)/../../CMSIS/Include \
|
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||||
$(TOP)/$(MCU_DIR) \
|
$(TOP)/$(MCU_DIR) \
|
||||||
$(TOP)/$(MCU_DIR)/drivers \
|
$(TOP)/$(MCU_DIR)/drivers \
|
||||||
$(TOP)/$(SDK_DIR)/drivers/common \
|
$(TOP)/$(SDK_DIR)/drivers/common \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
UF2_FAMILY_ID = 0x2abc77ec
|
UF2_FAMILY_ID = 0x2abc77ec
|
||||||
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
SDK_DIR = hw/mcu/nxp/mcux-sdk
|
||||||
DEPS_SUBMODULES += lib/sct_neopixel $(SDK_DIR)
|
DEPS_SUBMODULES += lib/CMSIS_5 lib/sct_neopixel $(SDK_DIR)
|
||||||
|
|
||||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ SRC_C += \
|
|||||||
INC += \
|
INC += \
|
||||||
$(TOP)/$(BOARD_PATH) \
|
$(TOP)/$(BOARD_PATH) \
|
||||||
$(TOP)/lib/sct_neopixel \
|
$(TOP)/lib/sct_neopixel \
|
||||||
$(TOP)/$(MCU_DIR)/../../CMSIS/Include \
|
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||||
$(TOP)/$(MCU_DIR) \
|
$(TOP)/$(MCU_DIR) \
|
||||||
$(TOP)/$(MCU_DIR)/drivers \
|
$(TOP)/$(MCU_DIR)/drivers \
|
||||||
$(TOP)/$(SDK_DIR)/drivers/common \
|
$(TOP)/$(SDK_DIR)/drivers/common \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user