tangly2017 发表于 2021-8-15 19:13:16

PIC12F629单片机编辑出现的错误,是什么意思?

Error    C:\Users\Administrator\Desktop\0815\PWM.c; 314. no space for auto/param main@intT

reflecter 发表于 2021-8-15 19:30:53

https://www.microchip.com/forums/m1028652.aspx
官方论坛的这个回复,应该有所提示的。
As discussed in your other thread, PIC16F chips to NOT run code from RAM.
PIC16F1xxx chips have a special hidden area of FLASH to hold the debug executive, it does NOT take any of the normal code memory.
It does use a few RAM locations in bank2 (0x160 to 0x16F), so if you're almost out of RAM, that could be the problem.

ndust 发表于 2021-8-16 09:28:14

没空间了,少量改程序优化。大量换芯片。

lb0857 发表于 2021-8-16 10:00:05

no space for auto{:lol:}

wanggoals 发表于 2021-8-16 10:55:46

RAM不足,PIC12系列的芯片RAM非常少的,得省着点用。
页: [1]
查看完整版本: PIC12F629单片机编辑出现的错误,是什么意思?