bsp: same70_xplained: replace template vars from make

Signed-off-by: Rafael Silva <perigoso@riseup.net>
This commit is contained in:
Rafael Silva 2021-06-11 21:02:23 +01:00
parent 71aae2743c
commit 28875c431b
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ CFLAGS += \
-mfpu=fpv4-sp-d16 \ -mfpu=fpv4-sp-d16 \
-nostdlib -nostartfiles \ -nostdlib -nostartfiles \
-D__SAME70Q21B__ \ -D__SAME70Q21B__ \
-DCFG_TUSB_MCU=OPT_MCU_NONE -DCFG_TUSB_MCU=OPT_MCU_SAME70
# suppress following warnings from mcu driver # suppress following warnings from mcu driver
CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align
@ -19,7 +19,7 @@ ASF_DIR = hw/mcu/microchip/same70
LD_FILE = $(ASF_DIR)/same70b/gcc/gcc/same70q21b_flash.ld LD_FILE = $(ASF_DIR)/same70b/gcc/gcc/same70q21b_flash.ld
SRC_C += \ SRC_C += \
src/portable/template/dcd_template.c \ src/portable/microchip/same70/dcd_same70.c \
$(ASF_DIR)/same70b/gcc/gcc/startup_same70q21b.c \ $(ASF_DIR)/same70b/gcc/gcc/startup_same70q21b.c \
$(ASF_DIR)/same70b/gcc/system_same70q21b.c \ $(ASF_DIR)/same70b/gcc/system_same70q21b.c \
$(ASF_DIR)/hpl/core/hpl_init.c \ $(ASF_DIR)/hpl/core/hpl_init.c \