mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-31 15:41:02 +08:00
feat(partition_table): Update partition table script and OTA example
1. APP binary supports 4KB align instead of 64KB align 2. Add options to sdkconfig.defaults: 2.1. using 1MB flash 2.2. use custom partition table "partitions_two_ota.1MB.mini.csv" 2.3. custom partition table base address is 0x4000 3. "make ota flash" using APP1_OFFSET as app downloading address
This commit is contained in:
@ -41,8 +41,6 @@ COMPONENT_ADD_LINKER_DEPS := $(ALL_LIB_FILES) $(addprefix ld/,$(LINKER_SCRIPTS))
|
||||
# saves us from having to add the target to a Makefile.projbuild
|
||||
$(COMPONENT_LIBRARY): esp8266_out.ld esp8266_common_out.ld
|
||||
|
||||
APP_OFFSET ?= $(CONFIG_APP_OFFSET)
|
||||
APP_SIZE ?= 0x100000
|
||||
OUTLD_CFLAGS := -DAPP_OFFSET=$(APP_OFFSET) -DAPP_SIZE=$(APP_SIZE)
|
||||
|
||||
esp8266_out.ld: $(COMPONENT_PATH)/ld/esp8266.ld ../include/sdkconfig.h
|
||||
|
Reference in New Issue
Block a user