问题描述,在CMD中将Flash2812_API_V210.lib定义到RAM里,结果一直报这个警告说:no matching section然后指向这两行
但实际我已经将Flash2812_API_V210.lib添加进来了
有没有大神给解决下问题
笨鸟:
是不是路径包含的问题引起的呢?
问题描述,在CMD中将Flash2812_API_V210.lib定义到RAM里,结果一直报这个警告说:no matching section然后指向这两行
但实际我已经将Flash2812_API_V210.lib添加进来了
有没有大神给解决下问题
FLY LEE:
回复 笨鸟:
按说这样添加进来就好了吧
问题描述,在CMD中将Flash2812_API_V210.lib定义到RAM里,结果一直报这个警告说:no matching section然后指向这两行
但实际我已经将Flash2812_API_V210.lib添加进来了
有没有大神给解决下问题
FLY LEE:
附上我的CMD文件MEMORY{PAGE 0: /* Program Memory */ /* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
ZONE0 : origin = 0x002000, length = 0x002000 /* XINTF zone 0 */ ZONE1 : origin = 0x004000, length = 0x002000 /* XINTF zone 1 */ RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */ RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */ ZONE2 : origin = 0x080000, length = 0x080000 /* XINTF zone 2 */ ZONE6 : origin = 0x100000, length = 0x080000 /* XINTF zone 6 */ OTP : origin = 0x3D7800, length = 0x000800 /* on-chip OTP */ FLASHJ : origin = 0x3D8000, length = 0x002000 /* on-chip FLASH */ FLASHI : origin = 0x3DA000, length = 0x002000 /* on-chip FLASH */ FLASHH : origin = 0x3DC000, length = 0x004000 /* on-chip FLASH */ FLASHG : origin = 0x3E0000, length = 0x004000 /* on-chip FLASH */ FLASHF : origin = 0x3E4000, length = 0x004000 /* on-chip FLASH */ FLASHE : origin = 0x3E8000, length = 0x004000 /* on-chip FLASH */ FLASHD : origin = 0x3EC000, length = 0x004000 /* on-chip FLASH */ FLASHC : origin = 0x3F0000, length = 0x004000 /* on-chip FLASH */ FLASHB : origin = 0x3F4000, length = 0x002000 /* on-chip FLASH */ FLASHA : origin = 0x3F6000, length = 0x001F80 /* on-chip FLASH */ CSM_RSVD : origin = 0x3F7F80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */ BEGIN : origin = 0x3F7FF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */ CSM_PWL : origin = 0x3F7FF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA *//* ZONE7 : origin = 0x3FC000, length = 0x003FC0 /* XINTF zone 7 available if MP/MCn=1 */ ROM : origin = 0x3FF000, length = 0x000FC0 /* Boot ROM available if MP/MCn=0 */ RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */ VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
PAGE 1 : /* Data Memory */ /* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */ /* Registers remain on PAGE1 */
RAMM0 : origin = 0x000000, length = 0x000400 /* on-chip RAM block M0 */ RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */ RAMH0 : origin = 0x3F8000, length = 0x002000 /* on-chip RAM block H0 */}
SECTIONS{
codestart : > BEGIN, PAGE = 0
ramfuncs : LOAD = FLASHD, RUN = RAML0, LOAD_START(_RamfuncsLoadStart), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), PAGE = 0 Flash28_API: { -lFlash2812_API_V210.lib(.econst) -lFlash2812_API_V210.lib(.text) } LOAD = FLASHD, RUN = RAML0, LOAD_START(_Flash28_API_LoadStart), LOAD_END(_Flash28_API_LoadEnd), RUN_START(_Flash28_API_RunStart), PAGE = 0
csmpasswds : > CSM_PWL PAGE = 0 csm_rsvd : > CSM_RSVD PAGE = 0 .text : > FLASHA, PAGE = 0 .cinit : > FLASHA, PAGE = 0 .pinit : > FLASHA, PAGE = 0 .switch : > FLASHA, PAGE = 0 .reset : > RESET, PAGE = 0, TYPE = DSECT
IQmathTables : load = ROM, type = NOLOAD, PAGE = 0 IQmath : load =FLASHC, PAGE = 0 FFTtf : > FLASHA, PAGE = 0 SINTBL : > FLASHA, PAGE = 0 .econst : > FLASHA, PAGE = 0 iirfilt : > RAML1, PAGE = 0 FFTipcb1 : > RAML1, PAGE = 0
.stack : > RAMM1, PAGE = 1 .ebss : > RAMH0, PAGE = 1}