Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

optimizing the footprint size

optimizing the footprint size

2006-03-22 by Manisha Kalita

Hi all,

i am designing an USB driver on LPC board, with minimum functionality like
data transmission and reception. i am using arm-gnu toot chain. but, the
code after buliding is showing its footprint size as 33 kb. actually the
target board where we are going to work has very less ROM, so, want to
optimize my code. most of the parts like readEP, WriteEP, i have taken from
the sample code.

can anyone help me in this regard?

Regards,
Manisha

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or administrator@...

Re: [lpc2000] optimizing the footprint size

2006-03-22 by 42Bastian Schick

> code after buliding is showing its footprint size as 33 kb. actually the
> target board where we are going to work has very less ROM, so, want to
> optimize my code. most of the parts like readEP, WriteEP, i have taken from
> the sample code.
> 
> can anyone help me in this regard?

Use thumb-mode and compile with -Os.

-- 
42Bastian

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.