Suppress *.lst files?

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Suppress *.lst files?

Post by steved »

The build process generates a *.lst file for each source file; these seem to be of little or no use (at least to people like me). Is there an easy way to suppress them? (Using ChibiStudio if relevant).
Also, is there an easy way to generate an assembly language listing as part of the compile process? (I know its possible to upload to the target and do a disassembly, but right now I don't have the right target hardware!)
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Suppress *.lst files?

Post by Giovanni »

Hi,

A ch.list file is generated, it is the listing of the whole program.

Giovanni
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: Suppress *.lst files?

Post by steved »

Giovanni wrote:Hi,

A ch.list file is generated, it is the listing of the whole program.

Giovanni

Thanks - I must have looked right past this one.

But have you noticed that the source code lines aren't always correct? (It's evident in that thread discussing use of 'volatile')
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Suppress *.lst files?

Post by Giovanni »

It is likely because optimizations, it is impossible to associate 1 to 1 source to asm (inlining, unrolling, reordering, deleting, etc).

Giovanni
Post Reply