Skip to content

Commit

Permalink
Remove duplicate ota_data flashing under IDF
Browse files Browse the repository at this point in the history
Fixes: #1724
  • Loading branch information
me-no-dev committed Aug 16, 2018
1 parent fff1783 commit 172802b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Makefile.projbuild
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
BOOT_APP_BIN_OFFSET := 0xe000
BOOT_APP_BIN_ROOT := $(call dequote,$(COMPONENT_PATH))
BOOT_APP_BIN_PATH := $(call dequote,$(abspath $(BOOT_APP_BIN_ROOT)/$(subst $(quote),,tools/partitions/boot_app0.bin)))

ifndef CONFIG_PARTITION_TABLE_CUSTOM
PARTITION_TABLE_CSV_PATH = $(call dequote,$(abspath $(BOOT_APP_BIN_ROOT)/$(subst $(quote),,tools/partitions/$(CONFIG_ARDUHAL_PARTITION_SCHEME).csv)))
endif

BOOT_APP_BIN_FLASH_CMD = $(ESPTOOLPY_SERIAL) write_flash $(BOOT_APP_BIN_OFFSET) $(BOOT_APP_BIN_PATH)
ESPTOOL_ALL_FLASH_ARGS += $(BOOT_APP_BIN_OFFSET) $(BOOT_APP_BIN_PATH)

CPPFLAGS += -DARDUINO=10800 -DESP32=1 -DARDUINO_ARCH_ESP32=1 -DBOARD_HAS_PSRAM

boot-app0:
@echo "Rebooting to APP0"
$(BOOT_APP_BIN_FLASH_CMD)

0 comments on commit 172802b

Please sign in to comment.