This is Atmel/Microchip's official library for interfacing to the Atmel ATECC508 chip. The submodule points to their repository in GitHub. Additionally, this includes the HAL necessary to use this library in esp_open_rtos using the i2c library in extras/i2c. I have also included a tool I wrote to play with the chip as an example under examples/atcatool. The extras module currently overrides atca_iface.h to fix bug in cryptoauthlib (c11-only feature, which breaks c++ builds that want to use cryptoauthlib)
15 lines
218 B
C
15 lines
218 B
C
|
|
#ifndef CRYPTOAUTHLIB_INIT_H
|
|
#define CRYPTOAUTHLIB_INIT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void init_cryptoauthlib(uint8_t i2c_addr);
|
|
|
|
#ifdef __cplusplus
|
|
} //extern "C" {
|
|
#endif
|
|
|
|
#endif //CRYPTOAUTHLIB_INIT_H
|