共3条
1/1 1 跳转至页
Too,much,object,code,produced,more,than,0x1000,byt 【求助】Too much object code prod
问
我使用IAR430 C语言开发MSP430F149程序,出现以下问题Too much object code produced (more than 0x1000 bytes) for this package 。那位大大知道问题出现在哪?
Rebuilding configuration: lici - Debug
D:\MSP430\励磁\Debug\Obj\dat.r43
D:\MSP430\励磁\Debug\Obj\main.r43
D:\MSP430\励磁\Debug\Obj\math.r43
D:\MSP430\励磁\Debug\Obj\func.r43
4 file(s) deleted.
dat.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\dat.c
IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
216 bytes of CONST memory
8 bytes of DATA memory
Errors: none
Warnings: none
func.s43
a430.exe -OD:\MSP430\励磁\Debug\Obj\ -s+ -M<> -w+ -IC:\Program Files\IAR Systems\Embedded Workbench 4.0\430\
INC\ -r D:\MSP430\励磁\func.s43
Errors: 0
Warnings: 0
Bytes: 162
main.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\main.c
IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
Warning[Pe177]: variable "lk" was declared but never referenced D:\MSP430\励磁\main.c 84
Warning[Pe001]: last line of file ends without a newline D:\MSP430\励磁\main.c 648
Warning[Pe177]: variable "tmp" was declared but never referenced D:\MSP430\励磁\main.c 635
2 468 bytes of CODE memory
18 bytes of CONST memory (+ 18 bytes shared)
215 bytes of DATA memory (+ 155 bytes shared)
Errors: none
Warnings: 3
math.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\math.c
IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
Warning[Pe001]: last line of file ends without a newline D:\MSP430\励磁\math.c 392
2 064 bytes of CODE memory
66 bytes of CONST memory
94 bytes of DATA memory (+ 16 bytes shared)
Errors: none
Warnings: 1
Linking
xlink.exe D:\MSP430\励磁\Debug\Obj\dat.r43 D:\MSP430\励磁\Debug\Obj\func.r43 D:\MSP430\励磁\Debug\Obj\main.r43
D:\MSP430\励磁\Debug\Obj\math.r43 -o D:\MSP430\励磁\Debug\Exe\lici.d43 -IC:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\LIB\ -f C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\CONFIG\
lnk430F149.xcl -f C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\config\multiplier.xcl
-D_STACK_SIZE=50 -rt C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\LIB\CLIB\cl430f.r43
-D_HEAP_SIZE=50 -s __program_start
IAR Universal Linker V4.59F/386
Copyright 1987-2004 IAR Systems. All rights reserved.
Warning[w6]: Type conflict for external/entry "Rom_Para", in module main against external/entry in module dat; types
have different type attributes
/* In module main: */
unsigned int Rom_Para[3][36];
/* In module dat: */
unsigned int (const Rom_Para)[3][36];
Fatal Error[e89]: Too much object code produced (more than 0x1000 bytes) for this package
Fatal! Execution terminated...
Total number of errors: 1
Total number of warnings: 5 答 1: C语言有4k限制
Rebuilding configuration: lici - Debug
D:\MSP430\励磁\Debug\Obj\dat.r43
D:\MSP430\励磁\Debug\Obj\main.r43
D:\MSP430\励磁\Debug\Obj\math.r43
D:\MSP430\励磁\Debug\Obj\func.r43
4 file(s) deleted.
dat.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\dat.c
IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
216 bytes of CONST memory
8 bytes of DATA memory
Errors: none
Warnings: none
func.s43
a430.exe -OD:\MSP430\励磁\Debug\Obj\ -s+ -M<> -w+ -IC:\Program Files\IAR Systems\Embedded Workbench 4.0\430\
INC\ -r D:\MSP430\励磁\func.s43
Errors: 0
Warnings: 0
Bytes: 162
main.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\main.c
IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
Warning[Pe177]: variable "lk" was declared but never referenced D:\MSP430\励磁\main.c 84
Warning[Pe001]: last line of file ends without a newline D:\MSP430\励磁\main.c 648
Warning[Pe177]: variable "tmp" was declared but never referenced D:\MSP430\励磁\main.c 635
2 468 bytes of CODE memory
18 bytes of CONST memory (+ 18 bytes shared)
215 bytes of DATA memory (+ 155 bytes shared)
Errors: none
Warnings: 3
math.c
icc430.exe -I C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\INC\ -I C:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\INC\CLIB\ -o D:\MSP430\励磁\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline
--no_code_motion --no_tbaa --debug -e --enable_multibytes --double=32 D:\MSP430\励磁\math.c
IAR MSP430 C/C++ Compiler V3.21A/W32 [Kickstart]
Copyright 1996-2004 IAR Systems. All rights reserved.
Warning[Pe001]: last line of file ends without a newline D:\MSP430\励磁\math.c 392
2 064 bytes of CODE memory
66 bytes of CONST memory
94 bytes of DATA memory (+ 16 bytes shared)
Errors: none
Warnings: 1
Linking
xlink.exe D:\MSP430\励磁\Debug\Obj\dat.r43 D:\MSP430\励磁\Debug\Obj\func.r43 D:\MSP430\励磁\Debug\Obj\main.r43
D:\MSP430\励磁\Debug\Obj\math.r43 -o D:\MSP430\励磁\Debug\Exe\lici.d43 -IC:\Program Files\IAR Systems\
Embedded Workbench 4.0\430\LIB\ -f C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\CONFIG\
lnk430F149.xcl -f C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\config\multiplier.xcl
-D_STACK_SIZE=50 -rt C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\LIB\CLIB\cl430f.r43
-D_HEAP_SIZE=50 -s __program_start
IAR Universal Linker V4.59F/386
Copyright 1987-2004 IAR Systems. All rights reserved.
Warning[w6]: Type conflict for external/entry "Rom_Para", in module main against external/entry in module dat; types
have different type attributes
/* In module main: */
unsigned int Rom_Para[3][36];
/* In module dat: */
unsigned int (const Rom_Para)[3][36];
Fatal Error[e89]: Too much object code produced (more than 0x1000 bytes) for this package
Fatal! Execution terminated...
Total number of errors: 1
Total number of warnings: 5 答 1: C语言有4k限制
共3条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图四被打赏50分 | |
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 |