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

Compiler can't find nrf_mbr.h when compiling nrf_log modules

When I compile one of the nfr_log modules (e.x. nrf_log_frontend.c) I get the following error.

1> Compiling ‘nrf_log_frontend.c’
1> In file included from ../../SDKs/nRF_SDK/components/libraries/util/sdk_common.h:61,
1>                  from C:\nerv-code\Lancelot_Dev\SDKs\nRF_SDK\components\libraries\log\src\nrf_log_frontend.c:40:
1> ../../SDKs/nRF_SDK/components/libraries/util/app_util.h:133:10: fatal error: nrf_mbr.h: No such file or directory
1> compilation terminated.

I do include ../components/softdevice/s132/headers/nfr52 in my User Include Directories which contains the nfr_mbr.h header file, but the compiler still complains. At first I thought it could be because I have another path in my User Include Directories which also had the nfr_mbr.h but that was not the case - ..\components\softdevice\mbr\nrf52832\headers is not included.

How can I fix this?

Parents Reply Children
No Data
Related