1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Run post scripts for factory binaries for flashing (#3003)

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
Jesse Hills
2022-01-11 15:24:26 +13:00
committed by GitHub
parent 073828235f
commit ece71a0228
7 changed files with 103 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ build_flags =
${common:arduino.build_flags}
-DUSE_ESP8266
-DUSE_ESP8266_FRAMEWORK_ARDUINO
extra_scripts = post:esphome/components/esp8266/post_build.py
; This are common settings for the ESP32 (all variants) using Arduino.
[common:esp32-arduino]
@@ -107,6 +108,7 @@ build_flags =
${common:arduino.build_flags}
-DUSE_ESP32
-DUSE_ESP32_FRAMEWORK_ARDUINO
extra_scripts = post:esphome/components/esp32/post_build.py
; This are common settings for the ESP32 (all variants) using IDF.
[common:esp32-idf]
@@ -125,6 +127,7 @@ build_flags =
-Wno-nonnull-compare
-DUSE_ESP32
-DUSE_ESP32_FRAMEWORK_ESP_IDF
extra_scripts = post:esphome/components/esp32/post_build.py
; All the actual environments are defined below.
[env:esp8266-arduino]