esp8266: Allow building without a manifest.
This commit is contained in:
parent
7662501d5b
commit
df7f632fd7
@ -189,6 +189,15 @@ $(BUILD)/uart.o: $(CONFVARS_FILE)
|
|||||||
|
|
||||||
FROZEN_EXTRA_DEPS = $(CONFVARS_FILE)
|
FROZEN_EXTRA_DEPS = $(CONFVARS_FILE)
|
||||||
|
|
||||||
|
ifneq ($(FROZEN_MANIFEST)$(FROZEN_MPY_DIR),)
|
||||||
|
CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
|
||||||
|
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(FROZEN_MANIFEST)$(FROZEN_DIR),)
|
||||||
|
CFLAGS += -DMICROPY_MODULE_FROZEN_STR
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
|
|
||||||
deploy: $(BUILD)/firmware-combined.bin
|
deploy: $(BUILD)/firmware-combined.bin
|
||||||
|
@ -94,10 +94,7 @@
|
|||||||
#define MICROPY_PY_STR_BYTES_CMP_WARN (1)
|
#define MICROPY_PY_STR_BYTES_CMP_WARN (1)
|
||||||
#define MICROPY_STREAMS_NON_BLOCK (1)
|
#define MICROPY_STREAMS_NON_BLOCK (1)
|
||||||
#define MICROPY_STREAMS_POSIX_API (1)
|
#define MICROPY_STREAMS_POSIX_API (1)
|
||||||
#define MICROPY_MODULE_FROZEN_STR (1)
|
|
||||||
#define MICROPY_MODULE_FROZEN_MPY (1)
|
|
||||||
#define MICROPY_MODULE_FROZEN_LEXER mp_lexer_new_from_str32
|
#define MICROPY_MODULE_FROZEN_LEXER mp_lexer_new_from_str32
|
||||||
#define MICROPY_QSTR_EXTRA_POOL mp_qstr_frozen_const_pool
|
|
||||||
|
|
||||||
#define MICROPY_FATFS_ENABLE_LFN (1)
|
#define MICROPY_FATFS_ENABLE_LFN (1)
|
||||||
#define MICROPY_FATFS_RPATH (2)
|
#define MICROPY_FATFS_RPATH (2)
|
||||||
|
Loading…
Reference in New Issue
Block a user