makefile work with lpc11u68

This commit is contained in:
hathach 2019-05-14 17:51:05 +07:00
parent b1f8aa175e
commit 3e1897b943
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
2 changed files with 2 additions and 3 deletions

View File

@ -91,7 +91,6 @@
<file file_name="../../../../../hw/mcu/nxp/lpcopen/lpc_chip_11u6x/src/gpio_11u6x.c" />
<file file_name="../../../../../hw/mcu/nxp/lpcopen/lpc_chip_11u6x/src/syscon_11u6x.c" />
<file file_name="../../../../../hw/mcu/nxp/lpcopen/lpc_chip_11u6x/src/sysinit_11u6x.c" />
<file file_name="../../../../../hw/mcu/nxp/lpcopen/lpc_chip_11u6x/src/uart_0_11u6x.c" />
<file file_name="../../../../../hw/mcu/nxp/lpcopen/lpc_chip_11u6x/src/iocon_11u6x.c" />
</folder>
</folder>

View File

@ -7,8 +7,8 @@ CFLAGS += \
-D__VTOR_PRESENT=0 \
-DCFG_TUSB_MCU=OPT_MCU_LPC11UXX \
-D__USE_LPCOPEN \
'-DCFG_TUSB_MEM_SECTION= __attribute__((section(".data.$RAM3")))' \
'-DCFG_TUSB_MEM_ALIGN=__attribute__ ((aligned(64)))'
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM3")))' \
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/lpcxpresso11u68/lpc11u68.ld