vince.cimo
Well-known member
Hi guys,
I've been using Platform IO with VSCode for awhile. I recently opened up an unchanged codebase and PIO auto-updated. Although this code base worked perfectly fine previously, it is now compiling with significantly higher DATA memory usage (to the point where it's out of memory after upload). I changed nothing in the code and have the following build flags set.
build_flags = -D USB_MIDI_SERIAL -D TEENSY_OPT_SMALLEST_CODE
Did something change with the way PIO minifies code on the latest version?
I've been using Platform IO with VSCode for awhile. I recently opened up an unchanged codebase and PIO auto-updated. Although this code base worked perfectly fine previously, it is now compiling with significantly higher DATA memory usage (to the point where it's out of memory after upload). I changed nothing in the code and have the following build flags set.
build_flags = -D USB_MIDI_SERIAL -D TEENSY_OPT_SMALLEST_CODE
Did something change with the way PIO minifies code on the latest version?