Skip to content

Linux and Raspberry Pi

Bryan Hunt edited this page Nov 20, 2017 · 1 revision

Set up

The Linux and Raspberry Pi examples differ substantially from the embedded platform examples in that they utilize the availability of python to demonstrate the crypto-authentication features of the ATECC608A do not require c knowledge (or kernel/root access) to use.

Building libcryptoauth

The first step is to build the library for the platform with the specific interface that will be used. The available interfaces are I2C, HID, and CDC. I2C uses the linux I2C driver from the userspace API. HID and CDC are both usb interfaces and require udev-dev to be installed. Using the I2C interface will require the user to ensure the bus selected is correct. By default the I2C settings are those that are known to work with the Raspberry Pi2 & 3.

Building

make libcryptoauth TARGET_HAL=I2C