mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-05 19:19:18 +00:00
Compare commits
2 Commits
f2122cd508
...
030e0a2a6b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
030e0a2a6b | ||
![]() |
57b9da5fb6 |
@ -4,7 +4,7 @@ extends = arduino_base
|
|||||||
custom_esp32_kind = esp32
|
custom_esp32_kind = esp32
|
||||||
platform =
|
platform =
|
||||||
# renovate: datasource=custom.pio depName=platformio/espressif32 packageName=platformio/platform/espressif32
|
# renovate: datasource=custom.pio depName=platformio/espressif32 packageName=platformio/platform/espressif32
|
||||||
platformio/espressif32@6.11.0
|
platformio/espressif32@6.12.0
|
||||||
|
|
||||||
build_src_filter =
|
build_src_filter =
|
||||||
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2xx0> -<mesh/eth/> -<mesh/raspihttp>
|
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2xx0> -<mesh/eth/> -<mesh/raspihttp>
|
||||||
|
@ -63,6 +63,12 @@ def esp32_create_combined_bin(source, target, env):
|
|||||||
|
|
||||||
if platform.name == "espressif32":
|
if platform.name == "espressif32":
|
||||||
sys.path.append(join(platform.get_package_dir("tool-esptoolpy")))
|
sys.path.append(join(platform.get_package_dir("tool-esptoolpy")))
|
||||||
|
# IntelHex workaround, remove after fixed upstream
|
||||||
|
# https://github.com/platformio/platform-espressif32/issues/1632
|
||||||
|
try:
|
||||||
|
import intelhex
|
||||||
|
except ImportError:
|
||||||
|
env.Execute("$PYTHONEXE -m pip install intelhex")
|
||||||
import esptool
|
import esptool
|
||||||
|
|
||||||
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp32_create_combined_bin)
|
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp32_create_combined_bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user