Try to workaround `extra_scripts` issues

This commit is contained in:
Jason2866 2023-03-02 20:57:17 +01:00 committed by GitHub
parent a72bbbe30a
commit fe46f4d654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 7 deletions

View File

@ -63,14 +63,17 @@ lib_extra_dirs =
; Uncomment and specify a folder where to place the firmware file(s) (default set to folder build_output)
;bin_dir = /tmp/bin_files/
[esp_defaults]
[scripts_defaults]
extra_scripts = pre:pio-tools/pre_source_dir.py
pre:pio-tools/strip-floats.py
pre:pio-tools/set_partition_table.py
post:pio-tools/name-firmware.py
post:pio-tools/gzip-firmware.py
post:pio-tools/override_copy.py
post:pio-tools/download_fs.py
pio-tools/strip-floats.py
pio-tools/set_partition_table.py
pio-tools/name-firmware.py
pio-tools/gzip-firmware.py
pio-tools/override_copy.py
pio-tools/download_fs.py
[esp_defaults]
extra_scripts = ${scripts_defaults.extra_scripts}
; *** remove undesired all warnings
build_unflags = -Wall
; -mtarget-align