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

Building of Bootloader

Hi,

I'm using SDK  nRF5_SDK_15.2.0_9412b96  and I need to build DFU and Bootloader for OTA.

I follow the "Getting started with Nordic's Secure DFU bootloader, a step by step guide" tutorial.

In the stage B1 (Compile the uECC library) I have a problem.

I've downloaded the library from GitHub and saved it in the micro-ecc\microecc folder.

I've tried to run the Makefile from \\nRF5_SDK_15.2.0_9412b96\external\micro-ecc\nrf52nf_keil\armgcc and from \\nRF5_SDK_15.2.0_9412b96\external\micro-ecc\nrf52hf_keil\armgcc

 But any time we get error.

 Please advise how can I run the MAkefile?

Shimon

Parents Reply Children
  • Hi, 

    I think you mean step. 2 and 4:

    In the step. 2, you can verify make is installed by typing make -v. If it is not installed, please do it.

    C:\nRF5_SDK_15.3.0_59ac345\external\micro-ecc\nrf52nf_armgcc\armgcc>make -v
    GNU Make 4.1
    Built for x86_64-w64-mingw32
    Copyright (C) 1988-2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    

    In the step.4, please change directory to <SDK InstallFolder> \external\micro-ecc\ for the SoC and the toolchain that you are using to build your application.

    • SDK InstallFolder\external\micro-ecc\nrf52_keil\armgcc
    • SDK InstallFolder\external\micro-ecc\nrf52_iar\armgcc
    • SDK InstallFolder\external\micro-ecc\nrf52_armgcc\armgcc

    For example, 

    C:\nRF5_SDK_15.3.0_59ac345\external\micro-ecc\nrf52hf_keil\armgcc>make
    Creating library: ../../nrf52hf_keil/armgcc/micro_ecc_lib_nrf52.lib
    Done

    -Amanda

Related