共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							跳转至页
		回复
| 有奖活动 | |
|---|---|
| 硬核工程师专属补给计划——填盲盒 | |
| “我踩过的那些坑”主题活动——第002期 | |
| 【EEPW电子工程师创研计划】技术变现通道已开启~ | |
| 发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
| 【EEPW在线】E起听工程师的声音! | |
| 高校联络员开始招募啦!有惊喜!! | |
| 【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
| 送您一块开发板,2025年“我要开发板活动”又开始了! | |


 
			
			
			
						
			 
					
				 我要赚赏金
 我要赚赏金 STM32
STM32 MCU
MCU 通讯及无线技术
通讯及无线技术 物联网技术
物联网技术 电子DIY
电子DIY 板卡试用
板卡试用 基础知识
基础知识 软件与操作系统
软件与操作系统 我爱生活
我爱生活 小e食堂
小e食堂

