I have a project that is finished, compiled, and working on the CC2650EM_7ID board. I want to change it to the CC2650EM_4XS. I have not been able to find a way to do this. I'm sure it's a simple option somewhere. One example said to change project properties->build->amr Complier->Advanced Options-> Predefined symbols, but neither of these devices are in there so I'm assuming that was for a different version of CCS. How do I do it in CCS v6? When I open a new project, I've not seen an option to choose this either.
Also, I would like to change the pins. Is there an easier way to do it other than the pin config tables?
PIN_Config ledPinTable[] = {
Board_LED1 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
Board_LED2 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
Board_LED3 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
Board_LED4 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
Board_KEY_SELECT | PIN_INPUT_EN | PIN_HYSTERESIS | PIN_HYSTERESIS | PIN_PULLUP | PIN_IRQ_NEGEDGE,
PIN_TERMINATE
};
// Route LED2 pin on SmartRF06EB to IO event port 0 (0 = Timer0A, 1 = Timer0B, 2 = Timer1A..)
PINCC26XX_setMux(pinHandle, PIN_ID(Board_LED2), IOC_PORT_MCU_PORT_EVENT0);
Is there a function or config file that just assigns the pins at a lower level? I'd like to map DIO_1 to a function and DIO_2 .... board LED1 seems to be specific to the evaluation board.
Any help would be much appreciated.
Thanks
NG