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

Keil doesn't Compile mem_manager.c in Nordic SDK 9.0

I'm building out a project in Keil using the latest SDK (9.0) and the S130 Soft Device, and during build, Keil complains in mem_manager.c that sdk_config.h isn't there:

RTE\nRF_Libraries\nRF51822_xxAC\mem_manager.c(13): error: #5: cannot open source input file "sdk_config.h": No such file or directory

It's an #include directive in mem_manager.c:

#include "nrf51.h"
#include "sdk_config.h"
#include "sdk_common.h"
#include "mem_manager.h"
#include "app_trace.h"

I've looked everywhere for this file both on the internet and in the downloaded SDKs, and I can't find it. Where is this file located, and more importantly, what's in it?

I've checked the docs, but don't see a mention of that file or any defines in it.

Related