\Module\DS1302\Debug\Obj\DS1302.r43 ) redefined in module main
原因:我把定義的數組unsigned char ReadingData[7];放在.h的文件中編譯出現這樣的錯誤
解決:把unsigned char ReadingData[7];放在.c文件中
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment CODE. Unable to place 211 block(s) (0x3240
byte(s) total) in 0x2e52 byte(s) of memory. The problem occurred while processing the segment placement command "-P(CODE)CODE=C2F0-FF7F", where at the moment of placement the available memory ranges were "CODE:d12e-ff7f"
表示內存空間不足了,需要換芯片或者 程序優化縮小程序大小。
http://blog.sina.com.cn/s/blog_537d61430101cb3p.html