We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b440307 commit 3967ca7Copy full SHA for 3967ca7
stmhal/Makefile
@@ -274,15 +274,9 @@ $(PY_BUILD)/mpprint.o: COPT += -Os
274
all: $(BUILD)/firmware.dfu $(BUILD)/firmware.hex
275
276
ifneq ($(FROZEN_DIR),)
277
+# To use frozen source modules, put your .py files in a subdirectory (eg scripts/)
278
+# and then invoke make with FROZEN_DIR=scripts (be sure to build from scratch).
279
CFLAGS += -DMICROPY_MODULE_FROZEN_STR
-OBJ += $(BUILD)/frozen-files.o
-
280
-$(BUILD)/frozen-files.o: $(BUILD)/frozen-files.c
281
- $(call compile_c)
282
283
-$(BUILD)/frozen-files.c: $(shell find $(FROZEN_DIR) -type f)
284
- @$(ECHO) "Creating $@"
285
- $(Q)$(PYTHON) $(MAKE_FROZEN) $(FROZEN_DIR) > $@
286
endif
287
288
ifneq ($(FROZEN_MPY_DIR),)
0 commit comments