MCUXpresso_LPC55S69/middleware/mcuboot_opensource/ext/nrf
Yilin Sun 6e8d03ec0a Updated to SDK v2.15.000
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-04-12 21:21:49 +08:00
..
cc310_glue.c Updated to SDK v2.15.000 2024-04-12 21:21:49 +08:00
cc310_glue.h Updated to SDK v2.15.000 2024-04-12 21:21:49 +08:00
README.md Updated SDK v2.13.0 2023-01-26 10:53:53 +08:00

Building MCUboot with nRF52840 CC310 enabled

Prerequisites

Clone nrfxlib next to the MCUboot root folder. So that it's located ../nrfxlib from MCUboot root folder.

Building

make sure root-ec-p256.pem is set as the certificate and that CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256 is selected not CONFIG_BOOT_SIGNATURE_TYPE_RSA in prj.conf of boot/zephyr. Since it defaults to tinycrypt you'll have to go into menuconfig and change the implementation selection to cc310 or also set this in prj.conf.

mkdir build && cd build
cmake -GNinja -DBOARD=nrf52840dk_nrf52840
ninja flash

Build a hello world example in zephyr and sign it with imgtool.py with the root-ec-p256.pem and flash it at FLASH_AREA_IMAGE_0.