共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
【有奖活动】智能可穿戴设备AR/VR如何引领科技新潮流! | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
【有奖活动】震撼来袭!这场直播将直击工程师的心灵! |
打赏帖 | |
---|---|
【换取手持数字示波器】+AT89C2051串口接收数据显示到LCD1602上被打赏50分 | |
【分享评测,赢取加热台】+AT89C2051控制NRF24L01收发数据被打赏50分 | |
【分享评测,赢取加热台】迪文屏设计实战技巧被打赏40分 | |
“DFRobot盖革计数器模块评测”基础模型搭建被打赏50分 | |
【换取手持数字示波器】+角点检测----Harris被打赏40分 | |
【换取手持数字示波器】常见音频指标被打赏20分 | |
【分享评测,赢取加热台】从零配置MCX-N947——PWM(SCtimer)被打赏50分 | |
【分享评测,赢取加热台】实际测试MCX-N947——PWM(Ctimer)被打赏50分 | |
【换取手持数字示波器】红外触摸框及各类红外设备的工作原理被打赏20分 | |
【换取手持数字示波器】+精英板驱动两相四线步进电机被打赏10分 |