Page 1 of 1

Suppress *.lst files?

Posted: Thu Oct 11, 2018 3:18 pm
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!)

Re: Suppress *.lst files?

Posted: Thu Oct 11, 2018 3:22 pm
by Giovanni
Hi,

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

Giovanni

Re: Suppress *.lst files?

Posted: Fri Oct 12, 2018 10:38 am
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')

Re: Suppress *.lst files?

Posted: Fri Oct 12, 2018 2:18 pm
by Giovanni
It is likely because optimizations, it is impossible to associate 1 to 1 source to asm (inlining, unrolling, reordering, deleting, etc).

Giovanni