Suppress *.lst files?

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

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Suppress *.lst files?

Postby steved » Thu Oct 11, 2018 3:18 pm

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Suppress *.lst files?

Postby Giovanni » Thu Oct 11, 2018 3:22 pm

Hi,

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

Giovanni

steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: Suppress *.lst files?

Postby steved » Fri Oct 12, 2018 10:38 am

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Suppress *.lst files?

Postby Giovanni » Fri Oct 12, 2018 2:18 pm

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

Giovanni


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 23 guests