BitMaker-hub / NerdMiner_v2

Improved version of first ESP32 NerdMiner
Other
1.5k stars 268 forks source link

Avoid global lib directory #182

Closed valerio-vaccaro closed 2 months ago

valerio-vaccaro commented 11 months ago

globallib_dir is deprecated and all libs included will be builded if platform use it or not.

This option is DEPRECATED. We do not recommend using global libraries for new projects. Please use a declarative approach for the safety-critical embedded development and declare project dependencies using the lib_deps option

as you can read on https://docs.platformio.org/en/stable/projectconf/sections/platformio/options/directory/globallib_dir.html

I suggests using a common lib dir and include libs directly from this directory, this will allow also a better separation between different boards.

MR on https://github.com/BitMaker-hub/NerdMiner_v2/pull/172