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.

关于在CC1310中扩展CCFG

目前项目想在ccfg所在页面写一些自定义的数据,考虑在CCFG中直接扩展,但是找不到工程里配置的__ccfg地址,不知道在哪儿可以修改

修改方式如下所示

typedef struct
{ // Mapped to address

uint32_t  CCFG_OEM_DATA_0;

uint32_t  CCFG_OEM_DATA_1;
uint32_t CCFG_EXT_LF_CLK ; // 0x50003FA8
uint32_t CCFG_MODE_CONF_1 ; // 0x50003FAC
......................
uint32_t CCFG_CCFG_PROT_127_96 ; // 0x50003FFC
} ccfg_t;

#elif defined(__TI_COMPILER_VERSION__)
#pragma DATA_SECTION(__ccfg, ".ccfg")
#pragma RETAIN(__ccfg)
const ccfg_t __ccfg =
#else

const ccfg_t __ccfg __attribute__((section(".ccfg"))) __attribute__((used)) =
#endif
{ // Mapped to address
DEFAULT_CCFG_EXT_LF_CLK , // 0x50003FA8 (0x50003xxx maps to last
DEFAULT_CCFG_MODE_CONF_1 , // 0x50003FAC sector in FLASH.
.........................
DEFAULT_CCFG_CCFG_PROT_127_96 , // 0x50003FFC
};

考虑到不能修改已有固化参数的地址,所以需要直接修改__ccfg 的地址,但是找了半天没找到具体在哪儿修改

x 出现错误。请重试或与管理员联系。