Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC1310: Cannot open rf_mailbox.h

$
0
0

Part Number:CC1310

Hi,

Until today I was using "EasyLink_init(EasyLink_Phy_50kbps2gfsk)".

Today I generated the smartrf_settings.c and smartrf_setting.h and changed to "EasyLink_init(EasyLink_Phy_Custom)".

First it started complaining that DEVICE_FAMILY wasn't defined, so I defined DEVICE_FAMILY as cc13x0.

Now it was giving me this error in smartrf_settings.c and smartrf_setting.h:
#1965 cannot open source file "ti/devices/cc13x0/driverlib/rf_mailbox.h"    smartrf_settings.c

This error is happening because it is trying to open the file in "<ti/devices/DEVICE_FAMILY/x>", as defined below:

#ifdef DEVICE_FAMILY
    #undef DEVICE_FAMILY_PATH
    #define DEVICE_FAMILY_PATH(x) <ti/devices/DEVICE_FAMILY/x> // <==============================================
#else
    #error "You must define DEVICE_FAMILY at the project level as one of cc26x0, cc26x0r2, cc13x0, etc."
#endif

#include DEVICE_FAMILY_PATH(driverlib/rf_mailbox.h)

I don't have a folder named "devices" inside my "ti" folder.

Where is the wanted folder and where can I do to correctly configured the code to find it? Tthe "#undef DEVICE_FAMILY_PATH" doesn't seems right to me.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>