adafruit / ArduinoCore-samd

116 stars 119 forks source link

-On option of the SAMD21 board. #240

Closed dojyorin closed 4 years ago

dojyorin commented 4 years ago

I want to select optimization (-On) in the compile option of the SAMD21 board.

The sketch I write for SAMD21 has plenty of free space. I want to use that free space for speed up.

Would you consider adding the "-On" option to compilation settings? Thank you.

hathach commented 4 years ago

we won't add an extra menu just for this. You could try to edit platform.txt or bettter platform.local.txt to do so https://arduino.github.io/arduino-cli/platform-specification/#platformlocaltxt

dojyorin commented 4 years ago

we won't add an extra menu just for this. You could try to edit platform.txt or bettter platform.local.txt to do so https://arduino.github.io/arduino-cli/platform-specification/#platformlocaltxt

OK, I'll try. Thanks😊