I am trying to build the micro-ecc library following the procedure detailed in the BLE LE Secure Connections multirole example. I am using SDK v11.
I have cloned the micro-ecc project and saved to the required 'external' SDK folder.
When I run the Makefile located in ..\..\..\nRF5_SDK_11.0.0_89a8197\external\micro-ecc\nrf51_armgcc\armgcc I get the following error.
$ gnumake
rm -rf _build
echo makefile
makefile
mkdir _build
Compiling file: uECC.c
process_begin: CreateProcess(NULL, "C:/Program Files/GNU Tools ARM Embedded/4.9 2015q1/bin/arm-none-eabi-gcc" -DuECC_ENABLE_VLI_API -DuECC_VLI_NATIVE_LITTLE_ENDIAN=1 -DuECC_SUPPORTS_secp256r1=1 -DuECC_SQUARE_FUNC=1 -DuECC_SUPPORT_COMPRESSED_POINT=0 -DuECC_OPTIMIZATION_LEVEL=3 -mcpu=cortex-m0 -mthumb -mabi=aapcs --std=gnu99 -Wall -Werror -O2 -g3 -mfloat-abi=soft -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -c -o _build/uECC.o C:/Users/david.andresky/Downloads/nRF5_SDK_11.0.0_89a8197/external/micro-ecc/micro-ecc/uECC.c, ...) failed.
make (e=2): The system cannot find the file specified.
gnumake: *** [_build/uECC.o] Error 2
The cloned project did not contain a _build folder but one is created when I run this Makefile. However, the uECC.o file is not created resulting in the error.
Would appreciate insight into necessary Makefile changes to get this to run.