共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 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】智能可穿戴设备AR/VR如何引领科技新潮流! | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
【有奖活动】震撼来袭!这场直播将直击工程师的心灵! | |
“我想要一部加热台”活动,不花钱赢取开发好工具!活动开始了哦 | |
【有奖活动】伙伴们:您的“需求”解决了吗? |
打赏帖 | |
---|---|
【换取手持数字示波器】AHT10温度检测分享被打赏40分 | |
【换取手持数字示波器】ACM32F070开发板点亮LCD屏和触控按键,串口,ADC被打赏40分 | |
【换取手持数字示波器】ACM32F070LCD屏和触控按键功驱动蜂鸣器分享被打赏40分 | |
【换取手持数字示波器】国民技术PWM功能知识分享被打赏40分 | |
【换取手持数字示波器】放大器运放知识分享被打赏40分 | |
【分享评测,赢取加热台】+开关电源AC输入知识分享被打赏30分 | |
【换取手持数字示波器】N32G430点亮数码管与串口打印、ADC被打赏40分 | |
老胖子聊电路--分析一个反馈电路被打赏50分 | |
【换取手持数字示波器】+点亮WS2812RGB灯被打赏50分 | |
【换取手持数字示波器】+线性调整器理论知识分享被打赏40分 |