mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
espressif: Remove outdated config about IDF bootloader
For newer devices, IDF bootloader is not supported because the devices are able to boot directly into NuttX or use MCUBoot to enable OTA and security features.
This commit is contained in:
committed by
Xiang Xiao
parent
480ad6b631
commit
6c3eeb7d5c
@@ -72,16 +72,6 @@ ifdef ESPTOOL_BINDIR
|
||||
BOOTLOADER := $(ESPTOOL_BINDIR)/mcuboot-$(CHIP_SERIES).bin
|
||||
FLASH_BL := $(BL_OFFSET) $(BOOTLOADER)
|
||||
ESPTOOL_BINS := $(FLASH_BL)
|
||||
else ifeq ($(CONFIG_ESPRESSIF_SIMPLE_BOOT),y)
|
||||
|
||||
else
|
||||
BL_OFFSET := 0x0
|
||||
PT_OFFSET := $(CONFIG_ESPRESSIF_PARTITION_TABLE_OFFSET)
|
||||
BOOTLOADER := $(ESPTOOL_BINDIR)/bootloader-$(CHIP_SERIES).bin
|
||||
PARTITION_TABLE := $(ESPTOOL_BINDIR)/partition-table-$(CHIP_SERIES).bin
|
||||
FLASH_BL := $(BL_OFFSET) $(BOOTLOADER)
|
||||
FLASH_PT := $(PT_OFFSET) $(PARTITION_TABLE)
|
||||
ESPTOOL_BINS := $(FLASH_BL) $(FLASH_PT)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -105,18 +95,10 @@ else ifeq ($(CONFIG_ESPRESSIF_SIMPLE_BOOT),y)
|
||||
APP_IMAGE := nuttx.bin
|
||||
FLASH_APP := $(APP_OFFSET) $(APP_IMAGE)
|
||||
ESPTOOL_BINDIR := .
|
||||
else
|
||||
APP_OFFSET := 0x10000
|
||||
APP_IMAGE := nuttx.bin
|
||||
FLASH_APP := $(APP_OFFSET) $(APP_IMAGE)
|
||||
endif
|
||||
|
||||
ESPTOOL_BINS += $(FLASH_APP)
|
||||
|
||||
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
||||
ESPTOOL_BINS += $(CONFIG_ESPRESSIF_USER_IMAGE_OFFSET) nuttx_user.bin
|
||||
endif
|
||||
|
||||
# MERGEBIN -- Merge raw binary files into a single file
|
||||
|
||||
define MERGEBIN
|
||||
|
||||
Reference in New Issue
Block a user