mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-14 18:40:37 +00:00
fix pca10056 build error due to nrfx undef usage
This commit is contained in:
parent
1a0c4fbb9b
commit
f2f3f5a772
@ -1,4 +1,4 @@
|
||||
CFLAGS = \
|
||||
CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_SAMD21 \
|
||||
-DCONF_DFLL_OVERWRITE_CALIBRATION=0 \
|
||||
-D__SAMD21G18A__ \
|
||||
|
@ -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
|
||||
|
||||
|
@ -7,6 +7,9 @@ CFLAGS += \
|
||||
-mfloat-abi=hard \
|
||||
-mfpu=fpv4-sp-d16
|
||||
|
||||
# nrfx issue undef _ARMCC_VERSION usage https://github.com/NordicSemiconductor/nrfx/issues/49
|
||||
CFLAGS += -Wno-error=undef
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf52840_xxaa.ld
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
CFLAGS = \
|
||||
CFLAGS += \
|
||||
-DHSE_VALUE=8000000 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F4 \
|
||||
-DSTM32F407xx \
|
||||
|
Loading…
x
Reference in New Issue
Block a user