Compare commits

...

4 Commits

Author SHA1 Message Date
Ben Meadors
009830bde9 Merge branch 'master' into custom-esp32 2024-07-24 15:55:13 -05:00
Ben Meadors
50bf56132a Merge branch 'master' into custom-esp32 2024-07-23 11:52:29 -05:00
Ben Meadors
6c6a1d9530 Merge branch 'master' into custom-esp32 2024-07-23 10:22:41 -05:00
Jonathan Bennett
1b5edeb615 Add custom esp32 libs to save some iram space 2024-07-23 09:46:08 -05:00
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@@ -7,6 +7,7 @@ from readprops import readProps
Import("env")
platform = env.PioPlatform()
board = env.GetProjectOption("board")
def esp32_create_combined_bin(source, target, env):
@@ -77,6 +78,9 @@ if platform.name == "espressif32":
else:
# For newer ESP32 targets, using newlib nano works better.
env.Append(LINKFLAGS=["--specs=nano.specs", "-u", "_printf_float"])
if board == "ttgo-t-beam":
print("patching esp32 libs")
env.Execute("tar -xvf bin/arduino-esp32-libs-release_*tar.gz -C ~/.platformio/packages/framework-arduinoespressif32/")
Import("projenv")