I would like to explore code optimisation on the Raspberry Pi Pico's microcontroller, RP2040, using Godbolt, but I'm not sure which compiler options to use. The microcontroller is an Arm Cortex-M0. I'd be happy if I could at least set it to compile for a generic Arm Cortex-M0 platform.
Which compiler should I choose, and which options?