You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DigiStump board support for the DigiSpark is missing a compiler flag that is normally included with all Arduino Platforms.
To correct their issue is a pretty simple change.
Find and edit the file ...\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\platform.txt. On Window this is located here C:\Users<user name>\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\platform.txt.
Look for line that starts with compiler.cpp.flags= and append -std=gnu++11 to it.
Save and then recompile your sketch.
CAUTION: If you update your board support files for the DigiSpark, you may need to reapply these changes.
NOTE: At this moment you will also need the latest changes in the Master branch which will soon be released.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The DigiStump board support for the DigiSpark is missing a compiler flag that is normally included with all Arduino Platforms.
To correct their issue is a pretty simple change.
...\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\platform.txt
. On Window this is located hereC:\Users<user name>\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\platform.txt
.compiler.cpp.flags=
and append-std=gnu++11
to it.CAUTION: If you update your board support files for the DigiSpark, you may need to reapply these changes.
NOTE: At this moment you will also need the latest changes in the Master branch which will soon be released.
Beta Was this translation helpful? Give feedback.
All reactions