cryptoauthlib: fix default i2c bus speed

By default, all platforms except ccimx6qpsbc work at 400 kHz on the i2c bus
connected to the ATECC508A crypto chip.

https://onedigi.atlassian.net/browse/DEL-7727

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2021-11-16 15:29:16 +01:00
parent f3aab304c6
commit 916f383d8c
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ I2C_BUS_ccimx6ul = "0"
I2C_BUS_ccimx8x = "0" I2C_BUS_ccimx8x = "0"
I2C_BUS_ccimx8m = "0" I2C_BUS_ccimx8m = "0"
I2C_SPEED ?= "100000" I2C_SPEED ?= "400000"
I2C_SPEED_ccimx6qpsbc = "100000"
EXTRA_OECMAKE += "-DATCA_HAL_I2C_BUS=${I2C_BUS} -DATCA_HAL_I2C_SPEED=${I2C_SPEED} -DBUILD_TESTS=on" EXTRA_OECMAKE += "-DATCA_HAL_I2C_BUS=${I2C_BUS} -DATCA_HAL_I2C_SPEED=${I2C_SPEED} -DBUILD_TESTS=on"