diff --git a/platformio.ini b/platformio.ini index ab505478a..a30214f4c 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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] diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 9afe61b04..9bd30b21f 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -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}