Skip to content

Commit

Permalink
fix build with make
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Jul 19, 2024
1 parent 6bb59ee commit 66193cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hw/bsp/lpc11/family.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ CFLAGS += \
-DCFG_TUSB_MCU=OPT_MCU_LPC11UXX \
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'

LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs
# mcu driver cause following warnings
CFLAGS += \
-Wno-error=incompatible-pointer-types \

LDFLAGS_GCC += --specs=nosys.specs --specs=nano.specs

SRC_C += \
src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c \
$(MCU_DIR)/../gcc/cr_startup_lpc$(MCU_DRV).c \
$(MCU_DIR)/src/chip_$(MCU_DRV).c \
$(MCU_DIR)/src/clock_$(MCU_DRV).c \
$(MCU_DIR)/src/iap.c \
$(MCU_DIR)/src/iocon_$(MCU_DRV).c \
$(MCU_DIR)/src/sysinit_$(MCU_DRV).c

Expand Down

0 comments on commit 66193cb

Please sign in to comment.