Compiling issues with visual studio code

I can compile fine using the terminal but the cmake extension on visual studio gives an error related to the ‘flash’ overflow. I’ve tried this on both px4_fmu-v5 and v3.

That’s strange. @dagar any idea?

I wonder if the cmake build type isn’t being set correctly.

I got it to work on Eclipse now but when i try to debug by attaching to SITL in eclipse I it pauses and I see optimization error. I made a topic about this here. Eclipse debugging SITL