linker file链接文件

ld文件是传统的c语言开发中的重要一环。


__attribute__ ((section (".calram")))

__attribute__ ((section (".text"))) //.calflash 2 .text

cal_flash_addr0 = ORIGIN(cal_pfls0_nc);
cal_flash_addr1 = ORIGIN(cal_pfls0_nc_dsram0_0);
cal_flash_addr2 = ORIGIN(cal_pfls0_nc_dsram0_1);

原文地址:https://www.cnblogs.com/praiseslow/p/13720246.html