Code size limitation when using GCC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Code size limitation when using GCC

ソリューションへジャンプ
1,213件の閲覧回数
markoseverin
Contributor II

Hi guys,

I've tested the CodeWarrior MCU 10.4 special edition and I've noticed a strange thing regarding the code size limitation. I've created a project for the K70 and when using the freescale build tools, the code size is indeed limited to 32kByte. However, If i use the GCC option, there doesn't seem to be any limitation; 1Mbyte size compiled completley OK. I did test this with a fairly simple program, just a huge constant array of uint32_t.

 

Can anyone confirm this? Is there really no limitation when using the GCC compiler?

Thanks and best regards,

Marko

ラベル(1)
0 件の賞賛
返信
1 解決策
785件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Marko,

yes, the gcc compiler/assembler/linker are not limited at all. But you should see a limit if you try to debug it it: 64 KByte for Kinetis-L, and 128 KByte for Kinetis-K. I have not hit that limit yet. And if so, I can anyway program/download the program without any limitation if it is a S19, Intel-Hex or binary file.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
786件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Marko,

yes, the gcc compiler/assembler/linker are not limited at all. But you should see a limit if you try to debug it it: 64 KByte for Kinetis-L, and 128 KByte for Kinetis-K. I have not hit that limit yet. And if so, I can anyway program/download the program without any limitation if it is a S19, Intel-Hex or binary file.

0 件の賞賛
返信