Part Number: CC2640R2F
Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Hi,
I am trying to create my own project using the CC2640R2F. But are having problems with device family defining.
The build cannot different libraries that are addressed like this:
#ifdef DEVICE_FAMILY
#define DEVICE_FAMILY_PREFIX(x) <ti/devices/DEVICE_FAMILY/x>
#else
#define DEVICE_FAMILY_PREFIX(x) <x>
#endif
#include DEVICE_FAMILY_PREFIX(driverlib/aon_rtc.h)
#include DEVICE_FAMILY_PREFIX(driverlib/aon_event.h)
#include DEVICE_FAMILY_PREFIX(driverlib/interrupt.h)
Which results in
"C:/ti/bios_6_50_00_10/packages/ti/sysbios/family/arm/cc26xx/Timer.c", line 52: fatal error: cannot open source file "driverlib/aon_rtc.h"
I have defined the device family in the ARM Compiler and Linker like this:
But still get the same error after Clean and build what am I doing wrong?
Am I missing I seems like the DEVICE_FAMILY_PREFIX(something) does not give the correct path.
When I click on the paths in the editor, CCS opens the correct file.
What am I missing?

