CodeWarrior Limits

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

CodeWarrior Limits

3,272件の閲覧回数
MrFlex
Contributor I
Just wondering with the HC12 codewarrior limits if the limit of 32K means 32K bytes of source code (ie the file size of main.c) or if it means the size of code that is loading into the micro(hex file size)

Thanks...

Mr. Flex
ラベル(1)
タグ(1)
0 件の賞賛
返信
4 返答(返信)

1,440件の閲覧回数
CrasyCat
Specialist III
Hello
 
Size limitation is on size of the generated object code.
 
Crasycat
0 件の賞賛
返信

1,440件の閲覧回数
luisemmi
Contributor I
Hello CrasyCat.

I wondered which is the generated object code, because I have a project in codewarrior and my list of files, which include also the User Modules, the add of the size code of the each file result is less than 32768, and when I make the project I receive the next error:
This limited version allows only 32768 bytes of C code.

I attach the image with the structure of my files project.


Best regards.
0 件の賞賛
返信

1,440件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
The code size includes the code of any module, not just user modules. As the user modules using more than 31k, it just needs a little bit of the ANSI library to go over 32k (and depending on the code, it might use a lot of the ANSI library). Check the map file, I think it gets created in those cases too and it should show what got allocated.

Daniel
0 件の賞賛
返信

1,439件の閲覧回数
luisemmi
Contributor I
Dear Daniel,
 
Thanks for the help. Now I understand my problem very well. Yes, I know that the file .map tell me the size of C code in total, but this file show me that number when the process of making the project is complete, and to do that I need a license or my project have less than 32k of C code, otherwise, I am not able to know what is the total of C code of my project. This problem is because I analyse what is the better choise of license for me.
 
Well, thanks again for the help.
 
Best regards.
0 件の賞賛
返信