summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-05-19 18:04:08 +0700
committerhathach <[email protected]>2023-05-19 18:04:08 +0700
commit9f0bae4c3fb687b8a3c1e6df84512ec48690369f (patch)
tree0459812c4a53c81e2456453b919a05f194d35f6d /hw
parent49d8d27770133ba4fe2f5d5798560e75df7824ce (diff)
fix freertos build with nrf
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/nrf/family.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/bsp/nrf/family.mk b/hw/bsp/nrf/family.mk
index 13258c9e0..6d067e1c2 100644
--- a/hw/bsp/nrf/family.mk
+++ b/hw/bsp/nrf/family.mk
@@ -3,8 +3,8 @@ DEPS_SUBMODULES += lib/CMSIS_5 hw/mcu/nordic/nrfx
include $(TOP)/$(BOARD_PATH)/board.mk
+# nRF52 is cortex-m4, nRF53 is cortex-m33
CPU_CORE ?= cortex-m4
-
include $(TOP)/tools/make/cpu/$(CPU_CORE).mk
CFLAGS += \
@@ -36,8 +36,5 @@ SRC_S += hw/mcu/nordic/nrfx/mdk/gcc_startup_$(MCU_VARIANT).S
ASFLAGS += -D__HEAP_SIZE=0
-# For freeRTOS port source
-FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/ARM_CM4F
-
# For flash-jlink target
JLINK_DEVICE ?= $(MCU_VARIANT)_xxaa