Building any target from a clean checkout fails twice on undeclared
dependencies.
1. CryptoLegacy provides CBC/CFB/OFB/SHA1, whose base classes
Cipher and Hash live in the separate Crypto package. Only
attermann/arduinolibs is declared, so the build fails with
fatal error: Cipher.h: No such file or directory.
2. microReticulum/Bytes.h includes <ArduinoJson.h>, which is not
declared either — fatal error: ArduinoJson.h: No such file or directory.
Adding both to lib_deps resolves it:
lib_deps =
${env.lib_deps}
https://github.com/attermann/Crypto.git
bblanchon/ArduinoJson@^7.0.0
ArduinoJson 7 works — the code does not use the removed
StaticJsonDocument/DynamicJsonDocument API.
Building any target from a clean checkout fails twice on undeclared
dependencies.
1.
CryptoLegacyprovides CBC/CFB/OFB/SHA1, whose base classesCipherandHashlive in the separateCryptopackage. Onlyattermann/arduinolibsis declared, so the build fails withfatal error: Cipher.h: No such file or directory.2.
microReticulum/Bytes.hincludes<ArduinoJson.h>, which is notdeclared either —
fatal error: ArduinoJson.h: No such file or directory.Adding both to
lib_depsresolves it:lib_deps = ${env.lib_deps} https://github.com/attermann/Crypto.git bblanchon/ArduinoJson@^7.0.0ArduinoJson 7 works — the code does not use the removed
StaticJsonDocument/DynamicJsonDocumentAPI.