ST意法半导体
登录
直播中
刘军
7年用户
1361经验值
私信
关注
[问答]
自定义链接器无法编译的原因?怎么处理?
开启该帖子的消息推送
RAM
EEPROM
我试图在 RAM 中为模拟的 eeprom 保留空间。我可以很好地读写,但是当我尝试修改链接器时它不会编译。
添加的用户部分
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 96K
USER_DATA (rwx) : ORIGIN = ORIGIN(FLASH) + LENGTH(FLASH), LENGTH = 32K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
}
Howerver 在尝试编译时在链接描述文件的新部分的行中显示“无效字符”:
c:st
STM32
cubeide_1.3.0stm32cubeidepluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610toolsarm -none-eabibinld.exe :../stm32_flash.ld:48: 忽略表达式中的无效字符“342”
c:ststm32cubeide_1.3.0stm32cubeidepluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610toolsarm -none-eabibinld.exe :../stm32_flash.ld:48: 忽略表达式中的无效字符“200”
尝试打开 c:/st/stm32cubeide_1.3.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/ tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7-mlibm.a 失败
c:ststm32cubeide_1.3.0stm32cubeidepluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610toolsarm -none-eabibinld.exe :../stm32_flash.ld:48: 忽略表达式中的无效字符“254”
c:ststm32cubeide_1.3.0stm32cubeidepluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610toolsarm -none-eabibinld.exe :../stm32_flash.ld:48: 忽略表达式中的无效字符“342”
c:ststm32cubeide_1.3.0stm32cubeidepluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610toolsarm -none-eabibinld.exe :../stm32_flash.ld:48: 忽略表达式中的无效字符“200”
回帖
(1)
李萌
2023-2-7 10:41:17
你的脚本中有 unicode 字符,它们应该是严格的 ASCII。
删除它抱怨的行并在键盘上重新键入。不要粘贴复制。
你的脚本中有 unicode 字符,它们应该是严格的 ASCII。
删除它抱怨的行并在键盘上重新键入。不要粘贴复制。
举报
更多回帖
rotate(-90deg);
回复
相关问答
RAM
EEPROM
怎么在mplabx中添加
自定义
链接
描述文件
2019-08-14
1833
如何使用CubeMX的
自定义
链接
器
脚本?
2023-01-03
184
自定义
链接
文件
2019-05-24
1351
自定义
外设和
自定义
指令在SOPC系统中是如何运行的?
2021-05-26
1973
自定义
IP没有给出任何回应
2020-03-11
1914
NICE
自定义
指令如何被
编译
生成汇编文件和.verilog二进制文件?
2023-08-16
223
自定义
链接
描述文件怎么创建?
2019-11-01
1414
请问我能使用
自定义
生成脚本来
处理
我想做的事吗?
2019-08-07
1313
代码
无法
绘制所有
自定义
小部件是为什么?怎么解决?
2023-01-06
190
LabVIEW里Ring
自定义
控件,其常量
无法
保持同步修改,如何解决
2024-04-24
4303
发帖
登录/注册
20万+
工程师都在用,
免费
PCB检查工具
无需安装、支持浏览器和手机在线查看、实时共享
查看
点击登录
登录更多精彩功能!
英国威廉希尔公司网站
william hill官网 版块
小组
免费开发板试用
ebook
直播
搜索
登录
×
20
完善资料,
赚取积分