c++ code size limit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

c++ code size limit

Jump to solution
624 Views
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

Labels (1)
0 Kudos
1 Solution
498 Views
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

View solution in original post

0 Kudos
2 Replies
498 Views
danbudd
Contributor I

Thank you.

0 Kudos
499 Views
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 Kudos