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
I noticed an issue when building in debug mode with compiler optimization is switched off. This library wouldn't build anymore. Doing some research online, I found this solution which works perfectly on my branch.
In fact, to fix this just a single character change in SoftwareSerial.cpp is required in line 406 : "+r" (delay), "+a" (tmp) the +r needs to be exchanged with +w and that's it.
Hi,
I noticed an issue when building in
debug
mode with compiler optimization is switched off. This library wouldn't build anymore. Doing some research online, I found this solution which works perfectly on my branch.In fact, to fix this just a single character change in
SoftwareSerial.cpp
is required inline 406 : "+r" (delay), "+a" (tmp)
the+r
needs to be exchanged with+w
and that's it.Here's my original thread on the platformio project: https://community.platformio.org/t/project-inspection-error-register-r24-r26-r28-or-r30-required/18648?u=schallbert
The text was updated successfully, but these errors were encountered: