Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes to support Cryptoauthlib in updated MinGW64/32 environments #329

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Ima96
Copy link

@Ima96 Ima96 commented Jan 30, 2023

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

It seems that compiling with gcc version 12.2.0 from MinGW throws this error while MSCV and linux does not.
Ima96 and others added 3 commits March 21, 2023 22:34
Support for "make install" command in Mingw32/64
environments.

Also fix a missing "_" in atca_compiler.h
Due to missing "dirent.h" to navigate through directories
in windows environments and not useful "dirent.h" file in
Mingw32/64 environments, added support to read configuration
files in /var/lib/cryptoauthlib using Windows API.
@Ima96 Ima96 changed the title Minor fixes to support proper generation of libcryptoauth.dll in MinGW64/32 Minor fixes to support Cryptoauthlib in updated MinGW64/32 environments Mar 25, 2023
@github-actions
Copy link

This PR has been marked as stale and will be automatically closed in 7 days.

@github-actions github-actions bot added the Stale label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants