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

Why does any SDK example works to NRF52832?

Why any SDK example can't be compiled in Keil perfectly without adjustments to NRF52832?

All examples I've downloades and tryed since SDK11 to SDK16 hasn't worked at first. In the minimum it appears erratas' errors.

"RTE\Device\nRF52832_xxAA\system_nrf52.c(29): error: #5: cannot open source input file "nrf_erratas.h": No such file or directory"

So to solve that i need to comment the "#include "nrf_erratas.h""
and next 11 lines of implicits declarations like that:

"RTE\Device\nRF52832_xxAA\system_nrf52.c(74): warning: #223-D: function "nrf52_errata_12" declared implicitly."

Becaouse that warning results at error:
".\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf52_errata_12 (referred from system_nrf52.o)."

That is the same for
nrf52_errata_12 /nrf52_errata_16 /nrf52_errata_31 /nrf52_errata_32 / nrf52_errata_36nrf52_errata_37 /nrf52_errata_57 / nrf52_errata_66 / nrf52_errata_108 /nrf52_errata_136 / nrf52_errata_182.

After all that usually the examples dont work.
( Rarely some examples work)

For examples using SoftDevice or not the same happens

Considerations:


(1) The file "nrf_erratas.h" doesnt come in the SDK download and i couldnt find that on internet


(2)I have all NordicSemiconductors packs installed on my KEIL MDK-ARM PLUS 5.29


(3) I'm using a hardware of DecaWave DWM1001. This hardware uses the minimun hardware as nRF52832 Product Specification v1.4 describles.

(4) Usually I chose SDK examples for PCA10040 Board.

(5) Usually I use SoftDevice S132 when aplicable.

What's happening? Someone can help me?

Related