LPC 811 image build using LPCExpresso Image size 178KB

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

LPC 811 image build using LPCExpresso Image size 178KB

ソリューションへジャンプ
2,920件の閲覧回数
ravikumarkadiya
Contributor I

we are usign LPC811 in one of our product, we lost our existing build setup and trying to build the LPC project. dowloaded LPCExpresso and tried to build the project iam able to build but the image size is huge at 178KB, our actual images are supposed to be 6 to 7KB not sure why this is happening

ラベル(2)
タグ(1)
0 件の賞賛
返信
1 解決策
2,547件の閲覧回数
thefallguy
Contributor IV

How are you measuring the size? If you are looking at the file size, that has nothing to do do with the flash size. Suggest you read this faq

Application Flash / RAM size

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,548件の閲覧回数
thefallguy
Contributor IV

How are you measuring the size? If you are looking at the file size, that has nothing to do do with the flash size. Suggest you read this faq

Application Flash / RAM size

0 件の賞賛
返信
2,547件の閲覧回数
ravikumarkadiya
Contributor I

got it Thank you

it worked. Actually its generating axf file which is huge , and now I generated .bin and its below 7KB.

Thanks for the suppor

0 件の賞賛
返信
2,547件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

That's unfortunate. I'd recommend you build an LPC811 wizard project to get a starting point for your build settings. It's possible you're building with no optimization, or the linker is not eliminating dead (unused) code from your image. This is the --gc-sections option in C/C++ Build -> Settings -> MCU Linker -> Miscellaneous.

Thanks and regards,

LPCXpresso Support

0 件の賞賛
返信
2,547件の閲覧回数
ravikumarkadiya
Contributor I

we tried optimization as well with optimization it comes down to 75KB

Thanks & Regards,

Ravi

0 件の賞賛
返信