summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/rules.mk1
-rw-r--r--hw/bsp/feather_nrf52840_express/board.mk3
-rw-r--r--hw/bsp/pca10056/board.mk3
3 files changed, 1 insertions, 6 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index df9ffb7e5..9d09dfd1f 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -22,6 +22,7 @@ INC += $(TOP)/src
#
CFLAGS += $(addprefix -I,$(INC))
LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections -specs=nosys.specs -specs=nano.specs
+ASFLAGS += $(CFLAGS)
# Assembly files can be name with upper case .S, convert it to .s
SRC_S := $(SRC_S:.S=.s)
diff --git a/hw/bsp/feather_nrf52840_express/board.mk b/hw/bsp/feather_nrf52840_express/board.mk
index 317a4969f..7462cf62b 100644
--- a/hw/bsp/feather_nrf52840_express/board.mk
+++ b/hw/bsp/feather_nrf52840_express/board.mk
@@ -35,9 +35,6 @@ INC += \
SRC_S += hw/mcu/nordic/nrfx/mdk/gcc_startup_nrf52840.S
ASFLAGS += -D__HEAP_SIZE=0
-ASFLAGS += -DSWI_DISABLE0
-ASFLAGS += -DFLOAT_ABI_HARD
-ASFLAGS += -DNRF52840_XXAA
# For TinyUSB port source
VENDOR = nordic
diff --git a/hw/bsp/pca10056/board.mk b/hw/bsp/pca10056/board.mk
index 6d7f4c554..baea5fdc1 100644
--- a/hw/bsp/pca10056/board.mk
+++ b/hw/bsp/pca10056/board.mk
@@ -35,9 +35,6 @@ INC += \
SRC_S += hw/mcu/nordic/nrfx/mdk/gcc_startup_nrf52840.S
ASFLAGS += -D__HEAP_SIZE=0
-ASFLAGS += -DSWI_DISABLE0
-ASFLAGS += -DFLOAT_ABI_HARD
-ASFLAGS += -DNRF52840_XXAA
# For TinyUSB port source
VENDOR = nordic