MaltWhiskey
Active member
Im using visual studio code to build my project, but some parts i just want to see what the compiler generated.
There are “start debugging” options in the menu, but it doesn’t do anything. (Need to connect some way other than usb?)
But i can do without debugging, i just want to view the assembly generated and see if i can optimize better than the compiler.
I have put in the -S flag in platformio.ini, but it doesn’t seem to do anything.
[env:teensy40]
build_flags = "-S"
platform = teensy
board = teensy40
framework = arduino
monitor_speed = 115200
upload_port = /dev/cu.usbmodem*
monitor_port = /dev/cu.usbmodem*
I was pretty good >20 years ago coding the 68000 on the Amiga in AsmOne and MasterSeka, but things will now be a lot different.
Any pointers or links to some video’s that can get me up to speed? I’m a bit clueless so anything easy is appreciated….
There are “start debugging” options in the menu, but it doesn’t do anything. (Need to connect some way other than usb?)
But i can do without debugging, i just want to view the assembly generated and see if i can optimize better than the compiler.
I have put in the -S flag in platformio.ini, but it doesn’t seem to do anything.
[env:teensy40]
build_flags = "-S"
platform = teensy
board = teensy40
framework = arduino
monitor_speed = 115200
upload_port = /dev/cu.usbmodem*
monitor_port = /dev/cu.usbmodem*
I was pretty good >20 years ago coding the 68000 on the Amiga in AsmOne and MasterSeka, but things will now be a lot different.
Any pointers or links to some video’s that can get me up to speed? I’m a bit clueless so anything easy is appreciated….