C18编译RAM变量,提示出错
我的程序有很多个变量(估计上百以上),用C18编译链接,提示以下错误:
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - section '.udata_DZC5.o' can not fit the section. Section '.udata_DZC5.o' length=0x00000173
Errors : 1
有人提示我在变量定义中添加以下语句,结果编译通过,什么道理?请高手提示我,谢谢了!:~
# pragma udata page=0x140