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

Arduino support #24

Open
gyengus opened this issue Aug 9, 2018 · 6 comments
Open

Arduino support #24

gyengus opened this issue Aug 9, 2018 · 6 comments

Comments

@gyengus
Copy link

gyengus commented Aug 9, 2018

Do you have, or plan arduino support?

@Misiu
Copy link

Misiu commented Jan 18, 2019

@bryan-hunt it would be awesome to have an official library.
I'm developing using https://github.com/esp8266/Arduino so Arduino/ESP8266/ESP32 support would be awesome!
https://github.com/CryptoThings/AtCryptoAuthLib is a good starting point

@GabrielNotman
Copy link

@gyengus @Misiu I have been working on fork here: https://github.com/GabrielNotman/cryptoauthlib

I still need to add some instructions and examples but here are the main points:

  • The library needs to be installed in one of the Arduino library folders (not the sketch folder).
  • Currently only implements i2c and i2c bitbang.
  • Arduino HAL selection is done via /src/arduino_hal_select.h
  • For i2c, bus 0 must be selected (multi-bus support is not supported yet).

I've tested it with a SAMD21 based board. For AVR boards you might need to use bitbang due to Wire buffer sizes.

@gannaramu
Copy link

@GabrielNotman any plans of syncing it up with the latest release from Microchip? I was looking to use with the Atecc Trust and Go chips ATECC608 TNGTLS.

@GabrielNotman
Copy link

@gannaramu I'm currently working on updating it to v3.2.4.

@gannaramu
Copy link

@GabrielNotman That would be really helpful!. I can help you test things I have a cryptoauth trust platform connected to a teensy4.0 board. For the past couple of days, I have been modifying the https://github.com/sparkfun/SparkFun_ATECCX08a_Arduino_Library to be able to read the X509 certificate stored in the device. I was still not sure how to decompress the certificate to a PEM format. Could you please guide me with any relevant resources?.

Thanks
Ram Rohit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants