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.

CCS/CC2640R2F: Right way to tell TI device driver being executed is ROM code or source code with user modification

Part Number: CC2640R2F

Tool/software: Code Composer Studio

My goal is to use different GPIO IOC setting. In a quick test hack, source code simplelink_cc2640r2_sdk_2_30_00_28\source\ti\drivers\i2c\I2CCC26XX.c, I hard coded i2cPinTable value. From the disassembly and variable watch, the new value doesn't show up, it seems ROM code is being executed instead of my hacked source code.

What would be the best way to determine a function is ROM code or compiled code? Is there some flag in CCS TiRTOS tool we can watch?

To modify the IOC property of GPIO pin, for example here in the I2C pins, I want to adjust the IO mA capability, other than hacking the driver code, what would be the recommended approach?

Thanks a lot.