Add some Arduino defines to IDF

This commit is contained in:
me-no-dev 2017-02-16 00:18:03 +02:00
parent 3cbc405edf
commit 90ebfdbbcc

View File

@ -9,6 +9,8 @@ endif
BOOT_APP_BIN_FLASH_CMD = $(ESPTOOLPY_SERIAL) write_flash $(BOOT_APP_BIN_OFFSET) $(BOOT_APP_BIN_PATH) 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) ESPTOOL_ALL_FLASH_ARGS += $(BOOT_APP_BIN_OFFSET) $(BOOT_APP_BIN_PATH)
CPPFLAGS += -DARDUINO=180 -DESP32=1 -DARDUINO_ARCH_ESP32=1
boot-app0: boot-app0:
@echo "Rebooting to APP0" @echo "Rebooting to APP0"
$(BOOT_APP_BIN_FLASH_CMD) $(BOOT_APP_BIN_FLASH_CMD)