[問題] 有人用IAR嗎?這一長串是指什麼問題?
遇到的問題: (題意請描述清楚)
如同程式跑出來的錯誤結果描述。
希望得到的正確結果:能燒錄進去。
程式跑出來的錯誤結果:
Building configuration: test - Debug
Updating build tree...
Linking
Warning[w6]: Type conflict for external/entry "fft", in module main against
external/entry in module fft; prototyped function vs K&R function
/* In module main: */
/* K&R Function, args 0, attr 0 */
void (__cc_version2 fft)();
/* In module fft: */
/* Function, args 2, attr 0 */
void (__cc_version2 fft)(complex *, int);
typedef struct cmpx complex;
Error[e16]: Segment DATA16_Z (size: 0x1008 align: 0x1) is too long for
segment definition. At least 0x80c 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=1C00-23FD",
where at the moment of
placement the available memory ranges were "CODE:1c02-23fd"
Reserved ranges relevant to this placement:
1c00-23fd DATA16_I
Error while running Linker
Total number of errors: 1
Total number of warnings: 1
開發平台: (例: VC++ or gcc/g++ or Dev-C++, Windows or Linux)IAR
有問題的code: (請善用置底文標色功能)不知道?
補充說明:
有人用IAR嗎?
我compile可以pass可是當我要進行燒入卻出現這一長串訊息,這一長串是指什麼問題?
感激不盡<(_ _)>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 120.110.10.109
※ 編輯: han999 來自: 120.110.10.109 (11/17 17:28)
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章