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

SDK12 DFU examples compilation error

When I try to compile DFU examples, I get the following errors :

  1. "..\..\dfu_public_key.c(20): error: #35: #error directive: "Debug public key not valid for production. Please see github.com/.../README.md to generate it"
  2. "#error "Debug public key not valid for production. Please see github.com/.../README.md to generate it"
  3. ..\..\..\..\..\components\libraries\ecc\ecc.c(25): error: #5: cannot open source input file "uECC.h": No such file or directory

Do you have the same behaviour?

Parents
  • Not answers, just guesses:

    Possibly, see the known problems with v12 sticky in this forum.

    Possibly #3 is a filename capitalization error? On my system, find . -iname *ECC.h yields only ./components/libraries/ecc/ecc.h. Maybe the new version changed the filename (but not in some Makefiles)?

    Are these error messages all from the same problem? Better if you state the environment and give verbatim error messages.

  • error 3. is due to missing micro-ecc library - the link I've posted above describes bootloader setup and includes steps to download and cross compile this library.

    errors 1 and 2 are due to lack of SDK customization using developer private key the link I've posted above also includes chapter on generating and adding this key.

    I hope that it's more clear this time.

Reply
  • error 3. is due to missing micro-ecc library - the link I've posted above describes bootloader setup and includes steps to download and cross compile this library.

    errors 1 and 2 are due to lack of SDK customization using developer private key the link I've posted above also includes chapter on generating and adding this key.

    I hope that it's more clear this time.

Children
No Data
Related