This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK 16 Micro-ECC installation instructions.

The instructions do not tally with https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Flib_crypto.html&cp=4_0_1_3_9_2&anchor=lib_crypto_installing

and the scripts have trouble with Linux 18.04. After some fiddling I found the following.

a) ARM's launch pad is launch pad is several years out of date. I installed the latest after a search for the compiler. The latest version is  9.2.1 (today anyway). This is evidently not part of the SES IDE.

b) The script in external/micro-ecc doesn't work with linux 18.04 - it complains about /bin/bash^M. I did the things by hand.

c) You must do the git clone https://github.com/kmackaymicro-ecc.git, the software doesn't come as part of the SDK.

d) Instead of the single nrf52_armgcc there's two now nrf52hf_armgcc, and nrf52nf_armgcc, I ran both make scripts, not sure why or what each are for.

Related