cryptoauthlib
cryptoauthlib copied to clipboard
Minor fixes to support Cryptoauthlib in updated MinGW64/32 environments
This pull request is intended to provide minimum support for Cryptoauthlib in Mingw32/64 environments. The fixes include:
- Fix the 'multiple definitions' errors that prevent the correct compilation of the project with MinGW64 and MinGW32 using gcc version 12.2.0, with BUILD_SHARED_LIBS option enabled.
- Fix additional 'multiple definitions' error when compiling the test executable concerning the 'hex_to_data' function.
- Add support to install cryptoauthlib in Mingw32/64 environments.
- Add support for option ATCA_PKCS11 in Mingw32/64 and Windows environments through Windows API as dirent.h is missing.
Checklist
- [x] I have reviewed the CONTRIBUTING.md and agree to it's terms
This PR has been marked as stale and will be automatically closed in 7 days.