-->
Page 1 of 2

Upgrade to 3.0.0 broke my sketch

PostPosted: Fri May 21, 2021 3:22 pm
by DonRayle
I have written a sketch that worked fine until I upgraded to version 3.0.0. The sketch is based on a sketch which is at https://www.geekstips.com/arduino-time- ... p8266-udp/ That sketch also will not work with version 3.0.0. When I downgraded back to 2.7.4 my sketch works again. I would like to use the latest version of the board library. What would I need to change to get it to work with my sketch. The line that causes the Exception 0 Illegal instruction is int cb = udp.parsePacket(); Thanks

Re: Upgrade to 3.0.0 broke my sketch

PostPosted: Sat May 22, 2021 2:00 pm
by schufti
why do you think you need to be on the bleeding edge with the board package?
Especially when there is major mayhem to e expected - a change in the major version number does not occur without reason.
history tought us to be very carefully on upgrading to new board packages. More often new things break than old problems get fixed...

Re: Upgrade to 3.0.0 broke my sketch

PostPosted: Thu Jul 15, 2021 12:13 pm
by DonRayle
I noticed that version 3.0.1 is available and I decided to try it. It does not crash immediately like version 3.0.0 but it still crashes after a few minutes.

Re: Upgrade to 3.0.0 broke my sketch

PostPosted: Sat Jul 17, 2021 12:57 am
by JurajA
https://semver.org/
Given a version number MAJOR.MINOR.PATCH, increment the:
MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards compatible manner, and
PATCH version when you make backwards compatible bug fixes.