標題: error: L6235E: More than one section matches selector -& [打印本頁]
作者: 51黑小牛 時間: 2016-4-10 15:04
標題: error: L6235E: More than one section matches selector -&
將CAN程序由V2.0.1的庫升級為V3.3.0的時候,編譯出現(xiàn)錯誤:
.\Obj\CAN_BUS_TEST.sct(7): error: L6235E: More than one sectionmatches selector - cannot all be FIRST/LAST.
原因:項目中同時包含以下啟動文件,
startup_stm32f10x_hd.s
startup_stm32f10x_md.s
startup_stm32f10x_ld.s
......
應該針對不同的CPU選擇不同的啟動文件。
解決辦法1:從項目中刪除不相關的啟動文件
解決辦法2:右擊不相關的啟動文件,點擊 options for file'startup_stm32f10x_md.s'...
在彈出的對話框中的properties頁,勾去灰化的'Includein Target Build'和‘Always Build’兩項。
附圖如下:
歡迎光臨 (http://www.torrancerestoration.com/bbs/) |
Powered by Discuz! X3.1 |