打印
[通用PIC核OTP系列]

HC16P122A1/B1

[复制链接]
1861|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
1924414306|  楼主 | 2023-9-27 15:18 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
IO, AI, ar, TI, HC, 2A
---------------- Project: LED ----------------
compiling adc.c...
compiling inital.c...
compiling main.c...
Linking adc.o inital.o main.o  ...
error: No target memory available for section "S_fsdiv____fsdiv".
warning: Relocation of section "UDL_ulong2fs_0" failed, relocating to a shared memory location.
error: No target memory available for section "UDL_ulong2fs_0".
error: Error while writing hex file.
"LED" - 3 Error(s), 1 Warning(s).

这是什么情况啊?有什么解决办法

使用特权

评论回复
沙发
范德萨大师傅| | 2023-12-30 12:32 | 只看该作者
"No target memory available for section" 表示编译器或链接器无法为某个特定的代码或数据段分配足够的内存。这可能是因为你的目标设备的内存不足,或者你的链接脚本配置有误。

使用特权

评论回复
板凳
范德萨大师傅| | 2023-12-30 12:32 | 只看该作者
"Error while writing hex file" 表示在生成目标文件(hex文件)时发生了错误。

使用特权

评论回复
地板
范德萨大师傅| | 2023-12-30 12:33 | 只看该作者
"Relocation of section" 表示在进行地址重定位时发生了问题。

使用特权

评论回复
5
范德萨大师傅| | 2023-12-30 12:33 | 只看该作者
"Relocating to a shared memory location" 表示某个部分被迫重定位到了一个共享的内存位置。这可能是由于其他部分占用了原先分配给该部分的内存空间。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

2

帖子

0

粉丝