This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Chip not supported-2530-IAR Workbench

Other Parts Discussed in Thread: CC2530

Hi people,

I am having an issue on compiling the demo programs from TI to program my SmartRF05 board. For the PER test demo, I saw that the hal_board.h file has configurations for specific SoC type. I also saw mine(CC2530) is listed there, however, IAR is still complaining about not supporting the chip. Anyone had this issue before.

PS: the variable is named 'chip' on hal_board.h but I couldn't find any line in the whole project file of PER demo, to set it to 'CC2530'.

Edit: The following is a code fragment from "hal_board.h". So, the question can be narrowed to, where do you set the chip variable 'chip' to your specific board?


#if (chip==2430)
#include "ioCC2430.h"
#elif (chip==2431)
#include "ioCC2431.h"
#elif (chip==2530 || chip==2531)
#include "ioCC2530.h"
#elif (chip==2510)
#include "ioCC2510.h"
#elif (chip==2511)
#include "ioCC2511.h"
#elif (chip==1110)
#include "ioCC1110.h"
#elif (chip==1111)
#include "ioCC1111.h"
#else
#error "Chip not supported!"
#endif

Cheers,