背景:
工程移植过程中发现需要包含F2807x_GlobalVariableDefs.c来对寄存器机型操作(例如:WdRegs.WDCR.all = 0x0068;)
包含了上述文件之后,发现疯狂的输出报警信息:
warning #10247-D: creating output section "Emif1RegsFile" without a SECTIONS specification
......
warning #10247-D: creating output section "GpioDataRegsFile" without a SECTIONS specification
......
warning #10063-D: entry-point symbol other than "_c_int00" specified: "code_start"
疑问一:
查看我的28075_FLASH_lnk.cmd发现确实没有在cmd中定义报警的SECTIONS。发现TI用例中的F2807x_Headers_BIOS.cmd文件里确实定义了各个寄存器的SECTIONS。
我不知道该如何在我现有的28075_FLASH_lnk.cmd里发现添加上述报警的SECTIONS。如果不改的话是不是会有影响,比如设置不生效。
疑问二:
warning #10063-D: entry-point symbol other than "_c_int00" specified: "code_start"
这个警告需要额外处理吗?
上述问题图片如下: