fix pca10056 build error due to nrfx undef usage

This commit is contained in:
hathach
2019-03-20 01:35:52 +07:00
parent 1a0c4fbb9b
commit f2f3f5a772
4 changed files with 8 additions and 3 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
CFLAGS = \
CFLAGS += \
-DCFG_TUSB_MCU=OPT_MCU_SAMD51 \
-D__SAMD51J19A__ \
-mthumb \
@@ -8,6 +8,8 @@ CFLAGS = \
-mfpu=fpv4-sp-d16 \
-nostdlib
CFLAGS += -Wno-error=undef
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/metro_m4_express/samd51g19a_flash.ld