Merge pull request #144 from Jason2866/new_dev

Move lib disable in override
This commit is contained in:
Jason2866 2020-10-25 16:45:26 +01:00 committed by GitHub
commit d3afb9cccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 15 deletions

View File

@ -59,7 +59,6 @@ build_cache_dir = .cache
extra_configs = platformio_tasmota32.ini
platformio_tasmota_env.ini
platformio_tasmota_env32.ini
;platformio_lib.ini
platformio_override.ini
default_envs = ${build_envs.default_envs}
@ -84,26 +83,13 @@ upload_port = COM5
extra_scripts = ${scripts_defaults.extra_scripts}
lib_ldf_mode = chain+
shared_libdeps_dir = lib
; *** Library disable / enable for variant Tasmota. Disable reduces compile time
; *** !!! Disabling needed libs will generate compile errors !!!
; *** The resulting firmware will NOT be different if you leave all libs enabled
; *** Disabling by putting a ";" in front of the lib name
; *** If you dont know what it is all about, do not change
lib_extra_dirs =
; *** Only disabled for Tasmota minimal and Tasmota light. For all other variants needed!
lib_basic
; **** I2C devices. Most sensors. Disable only if you dont have ANY I2C device enabled
lib_i2c
; *** Displays. Disable if you dont have any Display activated
lib_display
; *** Bear SSL and base64. Disable if you dont have SSL or TLS activated
lib_ssl
; *** Audio needs a lot of time to compile. Mostly not used functions. Recommended to disable
lib_audio
; *** RF 433 stuff (not RF Bridge). Recommended to disable
lib_rf
; *** Mostly not used functions. Recommended to disable
lib_div
[scripts_defaults]

View File

@ -72,6 +72,31 @@ extra_scripts = ${scripts_defaults.extra_scripts}
; pio/strip-floats.py
; pio/http-uploader.py
lib_ldf_mode = chain+
shared_libdeps_dir = lib
; *** Library disable / enable for variant Tasmota. Disable reduces compile time
; *** !!! Disabling needed libs will generate compile errors !!!
; *** The resulting firmware will NOT be different if you leave all libs enabled
; *** Disabling by putting a ";" in front of the lib name
; *** If you dont know what it is all about, do not change
lib_extra_dirs =
; *** Only disabled for Tasmota minimal and Tasmota light. For all other variants needed!
lib_basic
; **** I2C devices. Most sensors. Disable only if you dont have ANY I2C device enabled
lib_i2c
; *** Displays. Disable if you dont have any Display activated
lib_display
; *** Bear SSL and base64. Disable if you dont have SSL or TLS activated
lib_ssl
; *** Audio needs a lot of time to compile. Mostly not used functions. Recommended to disable
; lib_audio
; *** RF 433 stuff (not RF Bridge). Recommended to disable
lib_rf
; *** Mostly not used functions. Recommended to disable
; lib_div
[core]
; Activate only (one set) if you want to override the standard core defined in platformio.ini !!!
@ -156,7 +181,6 @@ build_flags = ${esp82xx_defaults.build_flags}
; -fexceptions
; -lstdc++-exc
[core32]
; Activate Stage Core32 by removing ";" in next line, if you want to override the standard core32
;platform_packages = ${core32_stage.platform_packages}