![]() |
Core2 for AWS IoT EduKit BSP 1.5.1
|
The ATECC608 library provides convenience functions to interact with the ATECC608 Trust&GO secure element. The initialization function configures the Espressif I2C driver and Microchip CryptoAuthLib driver for the secure element with preset parameters. The esp-cryptoauthlib is a port of Microchip CryptoAuthLib library and therefore, the application can use the CryptoAuthLib APIs documented here.
To enable this feature using KConfig, use the command pio run --environment core2foraws --target menuconfig from within the root of the project directory in your PlatformIO terminal window and go to the menu Component Config --> Core2 for AWS features to set the features you want to enable.
The following example initializes the Core2 for AWS, which initializes the PMU for the battery and other enabled features — such as the ATECC608. It then prints the ATECC608 serial number using the ESP logger.