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

Failing in build when changing directory structure

I'm building wih Keil MDK-Lite Version 5.24.1 and I just copied the examples for gpiote into my own folder, everything was kept the same (ie copying from C:\Nordic\nRF5_SDK_14.0.0\examples\peripheral\gpiote to C:\MySourceCode\gpiote)

I have fixed the include path by updating the gpiote_pc10040.uvprojx path. Inside Keil's MDK when I show include file dependencies, everything looks correct.

When I build, I got the following error: ._build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol app_error_fault_handler (referred from app_error.o)

image description

From the file, I can see that the app_error.c inside Group nRF_Libraries can't find sdk_config.h, although on the left hand menu seems it was able to resolve the location of the file (no warning message).

Any thought where else I need to update for path changes? Code is exactly the same as the original, except project path changes.

Thanks, Kunta

Parents Reply Children
No Data
Related