summaryrefslogtreecommitdiff
path: root/ports/nrf/Makefile
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-08 23:21:38 -0400
committerGitHub <noreply@github.com>2018-07-08 23:21:38 -0400
commit64b9ee9c74dd3cc07400678caa7032d845358576 (patch)
treea726389ca1073f5de907591f12b6a8d2e20ce6b5 /ports/nrf/Makefile
parenta45659c59a26a108924de88adb7f8d969cd7e5fc (diff)
parent54179a01897ace60099b76690e7793d3241b1556 (diff)
Merge pull request #985 from tannewt/heap_tweaks3
A few heap related tweaks
Diffstat (limited to 'ports/nrf/Makefile')
-rwxr-xr-x[-rw-r--r--]ports/nrf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile
index 1a827ce13..3697fb437 100644..100755
--- a/ports/nrf/Makefile
+++ b/ports/nrf/Makefile
@@ -208,6 +208,8 @@ SRC_SHARED_BINDINGS = \
SRC_SHARED_MODULE_EXPANDED = $(addprefix shared-bindings/, $(SRC_SHARED_BINDINGS)) \
$(addprefix shared-module/, $(SRC_SHARED_MODULE))
+SRC_S = supervisor/cpu.s
+
FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR) -type f -name '*.py')
FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD)/,$(FROZEN_MPY_PY_FILES:.py=.mpy))
@@ -218,6 +220,7 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_NRFX:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_COMMON_HAL_EXPANDED:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_SHARED_MODULE_EXPANDED:.c=.o))
+OBJ += $(addprefix $(BUILD)/, $(SRC_S:.s=.o))
$(BUILD)/$(FATFS_DIR)/ff.o: COPT += -Os
$(filter $(PY_BUILD)/../extmod/vfs_fat_%.o, $(PY_O)): COPT += -Os