a9183756-gh / Arduino-CMake-Toolchain

CMake toolchain for all Arduino compatible boards
MIT License
135 stars 40 forks source link

Fix file DOWNLOAD strangeness #40

Open a9183756-gh opened 3 years ago

a9183756-gh commented 3 years ago

If EXPECTED_HASH is passed to file(DOWNLOAD), it seems to be sending error message and skips few stack frames and returns. This causes package management not to retry failure next time! With this change, hash check is explicitly implemented.