c++ code size limit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

c++ code size limit

跳至解决方案
625 次查看
danbudd
Contributor I

Developing code for an S08/MC13213 uP on CodeWarrior v10.6, build 140329.

Created code in C without any problem.

       Summary of section sizes per section type:

       READ_ONLY (R):        31D1 (dec:    12753)

       READ_WRITE (R/W):      432 (dec:     1074)

       NO_INIT (N/I):          7E (dec:      126)

 

Compiling the C++ translation displays the following error:

    code size 3009 > 1024 bytes

 

What am I doing incorrectly and how do I fix this?

 

Thanks,

Dan

标签 (1)
0 项奖励
1 解答
499 次查看
BlackNight
NXP Employee
NXP Employee

Hi Dan,

are you using C++? If so, without the professional edition, the C++ code size is limited to 1 KByte of code.

Erich

在原帖中查看解决方案

0 项奖励
2 回复数
499 次查看
danbudd
Contributor I

Thank you.

0 项奖励
500 次查看
BlackNight
NXP Employee
NXP Employee

Hi Dan,

are you using C++? If so, without the professional edition, the C++ code size is limited to 1 KByte of code.

Erich

0 项奖励