Creating ASM from INO

I would like to compile my .ino and library files down to separate verbose .asm files and do a little tweaking. how do I achieve this?

I have tried setting some build flags in platformio.ini but cannot even compile when setting the -S flag.


Do you mean converting INO file to ASM?

I would ideally like to create the separate libraries into asm before linking but a single asm will do. Ideally with the comments or C in the file (pretty sure I have seen this done).