最近在写ILI9325的驱动程序,单片机是MSP430F149,程序是从51单片机上拿过来改的,51单片机上可以正常工作,但是用IAR编译的时候,却出现了下面的错误:
Building configuration: 彩屏驱动 - Debug
Updating build tree...
ILI9325.c
main.c
Linking
Error[e16]: Segment DATA16_I (size: 0xe04 align: 0x1) is too long for segment definition. At least 0x604 more bytes needed. The problem occurred while
processing the segment placement command "-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,DATA16_HEAP+_DATA16_HEAP_SIZE=0200-09FF", where
at the moment of placement the available memory ranges were "CODE:200-9ff"
Reserved ranges relevant to this placement:
200-9ff DATA16_I
Error while running Linker
Total number of errors: 1
Total number of warnings: 0
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
果然。。。。
一周热门 更多>