Hi Everyone.
I have a project which is giving this error.
#35 #error directive: "***ERROR*** Invalid Board Specified! Please see board.h for options." board.c C/C++ Problem
The project is programed to work in my CC2650EM-7ID-RD, the project properties are defined to cc2650F128 and all 3 .xxproject files only mention cc2650 on them.
The error points to a board.c file who asks if a 2650 board, 1310 or 1350 is defined. It returns the error as if none of them are defined(code below).
Where can this different board configuration be?
Do you know how to solve this error?
Thank you,
Rui Costa;
In board.c
#if defined(CC2650DK_7ID) || defined(CC2650DK_5XD) || defined(CC2650DK_4XS) #include "./cc2650em/cc2650em_board.c" #elif defined(CC2650STK) #include "./cc2650st/cc2650st_board.c" #elif defined(CC2650RC) #include "./cc2650rc/cc2650rc_board.c" #elif defined(CC2650_LAUNCHXL) #include "./cc2650lp/cc2650lp_board.c" #elif defined(BOOSTXL_CC2650MA) #include "./cc2650bp/cc2650bp_board.c" #elif defined(CC1310DK_7XD) || defined(CC1310DK_5XD) || defined(CC1310DK_4XD) #include "./cc1310em/cc1310em_board.c" #elif defined(CC1310_LAUNCHXL) #include "./cc1310lp/cc1310lp_board.c" #elif defined(CC1350_LAUNCHXL) #include "./cc1350lp/cc1350lp_board.c" #elif defined(CC1350STK) #include "./cc1350st/cc1350st_board.c" #elif defined(USE_FPGA) #include "./cc2650fpga/cc2650fpga_board.c" #else // unknown board #error "***ERROR*** Invalid Board Specified! Please see board.h for options." #endif