Hello,
I am working on the nrf_crypto_aes_ctr_pca10040
example provided in the nRF5 SDK. I have not modified the example; I am using it as it is from the SDK. However, when I try to build the project in SEGGER Embedded Studio, I encounter the following errors:
Compiling 'app_scheduler.c'
nrf_svc.h: No such file or directory
Build failed, exit status 0x1
The issue is that nrf_svc.h
is included in nrf_soc.h
, but the build process cannot find the nrf_svc.h
file.
Steps Taken:
- Verified that the
nrf_svc.h
file exists in the SDK directory. - Attempted to add the path to the
nrf_svc.h
file manually to the project include directories. This resolved the initial error but led to additional compilation errors.
Environment:
- SDK Version: nRF5 SDK
- IDE: SEGGER Embedded Studio V8.12a (64-bit)
- Board: PCA10040
Request:
Could you provide guidance on resolving this issue without triggering additional errors? Has anyone else encountered a similar problem with this example, and if so, how did you resolve it?
Thank you for your assistance.
Screenshot: