Other Parts Discussed in Thread: SYSCONFIG
Tool/software: Code Composer Studio
I'm using cc26x2r1 board and using simple_central ble project. There are two uart port support in board. I'm using UART with inbuilt xds110 log support. I want to enable second uart UART2 for other purpose. I have modified sysconfig and add UART2. But facing issue while compiling.
Below is the error and snippet of corresponding generated sysconfig.
--------- Compilation error
>> Compilation failure
subdir_rules.mk:29: recipe for target 'syscfg/ti_drivers_config.obj' failed
"syscfg/ti_drivers_config.c", line 517: error #20: identifier "UDMA_CHAN_UART1_RX" is undefined
"syscfg/ti_drivers_config.c", line 518: error #20: identifier "UDMA_CHAN_UART1_TX" is undefined
--------------- Snippet of auto generated config file
UART2CC26X2_Object uart2CC26X2Objects[CONFIG_UART2_COUNT];
static const UART2CC26X2_HWAttrs uart2CC26X2HWAttrs[CONFIG_UART2_COUNT] = {
{
.baseAddr = UART1_BASE,
.intNum = INT_UART1_COMB,
.intPriority = (~0),
.rxPin = IOID_5,
.txPin = IOID_4,
.ctsPin = PIN_UNASSIGNED,
.rtsPin = PIN_UNASSIGNED,
.rxChannelMask = 1 << UDMA_CHAN_UART1_RX,
.txChannelMask = 1 << UDMA_CHAN_UART1_TX,
.txIntFifoThr = UART2CC26X2_FIFO_THRESHOLD_1_8,
.rxIntFifoThr = UART2CC26X2_FIFO_THRESHOLD_4_8
},
};
Please help me out from this..