We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db9452 commit 4f96eebCopy full SHA for 4f96eeb
hw/bsp/lpc54/family.mk
@@ -7,7 +7,8 @@ CPU_CORE ?= cortex-m4
7
CFLAGS += \
8
-flto \
9
-DCFG_TUSB_MCU=OPT_MCU_LPC54XXX \
10
- -DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
+ -DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))' \
11
+ -DBOARD_TUD_RHPORT=$(PORT)
12
13
ifeq ($(PORT), 1)
14
$(info "PORT1 High Speed")
@@ -32,7 +33,8 @@ SRC_C += \
32
33
$(MCU_DIR)/drivers/fsl_reset.c \
34
$(SDK_DIR)/drivers/lpc_gpio/fsl_gpio.c \
35
$(SDK_DIR)/drivers/flexcomm/fsl_flexcomm.c \
- $(SDK_DIR)/drivers/flexcomm/fsl_usart.c
36
+ $(SDK_DIR)/drivers/flexcomm/fsl_usart.c \
37
+ $(SDK_DIR)/drivers/common/fsl_common_arm.c
38
39
INC += \
40
$(TOP)/$(BOARD_PATH) \
0 commit comments