Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

secure bootloader compilation error

Hi All,

I am using nRF5_SDK_17.1.0

while building SDK example project uder the below path with SES

..\nRF5_SDK_17.1.0_ddde560\examples\dfu\secure_bootloader\pca10100_s140_ble\ses the following errors I am getting

Building ‘secure_bootloader_ble_s140_pca10100’ from solution ‘secure_bootloader_ble_s140_pca10100’ in configuration ‘Release’
Compiling ‘nrf_fstorage_nvmc.c’
Compiling ‘micro_ecc_backend_ecc.c’
nrf_crypto_ecc_backend.h
nrf_crypto_ecc.h
micro_ecc_backend_ecc.c
uECC.h: No such file or directory
Compiling ‘micro_ecc_backend_ecdh.c’
nrf_crypto_ecc_backend.h
nrf_crypto_ecc.h
nrf_crypto_ecdh.h
micro_ecc_backend_ecdh.c
uECC.h: No such file or directory
Compiling ‘micro_ecc_backend_ecdsa.c’
nrf_crypto_ecc_backend.h
nrf_crypto_ecc.h
micro_ecc_backend_ecdsa.c
uECC.h: No such file or directory
Compiling ‘pb_common.c’
Compiling ‘pb_decode.c’
Compiling ‘boards.c’
Compiling ‘nrf_nvmc.c’
Build failed

Actually searched for uECC.h file in SDK but it is not included in the SDK,

Is there any way to overcome this.

Regards,

Sudheer

Parents
  • Hi,

    As mentioned in the example documentation, you need to Install micro-ecc before you can build the example.

    Best regards,
    Jørgen

  • Hi,

    After following the above link, I run build_all.bat on powershell but got below errors

    PS D:\DMD\NTL-Startopalogy\Central&Peripheral\Porting-DMD\nRF5_SDK_17.1.0_ddde560\external\micro-ecc> .\build_all.bat
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.

    what could be the reason for it

    Regards,

    sudheer

Reply
  • Hi,

    After following the above link, I run build_all.bat on powershell but got below errors

    PS D:\DMD\NTL-Startopalogy\Central&Peripheral\Porting-DMD\nRF5_SDK_17.1.0_ddde560\external\micro-ecc> .\build_all.bat
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.
    'make' is not recognized as an internal or external command,
    operable program or batch file.

    what could be the reason for it

    Regards,

    sudheer

Children
No Data
Related