Which Arduino IDE version?
-
Just doing some last minute changes for the presentation of the workshop.
I've read on the forum that not all version of the Arduino IDE work well with MySensors 2.0? What's the best version to use?
-
Just doing some last minute changes for the presentation of the workshop.
I've read on the forum that not all version of the Arduino IDE work well with MySensors 2.0? What's the best version to use?
@TheoL I'm using 1.6.8 and I think I've seen that version mentioned in some threads as well.
I have also has luck with using 1.6.9 but downgrading the Arduino library (through the library manager) one step. Without downgrading something was broken but I don't remember what.
I would recommend to use the latest version, to make the content reusable in the future without having to update everything that mentions a version. But using the latest version comes with a risk of course.
-
Just doing some last minute changes for the presentation of the workshop.
I've read on the forum that not all version of the Arduino IDE work well with MySensors 2.0? What's the best version to use?
-
@TheoL there is an issue with the avr compiler used in all 1.6.x versions, mysensors 2.0.x and debug enabled. This combination causes resets on w5100 gateways.
Apart from that I would just use the latest one (1.6.11 at the time of writing I think)@Yveaux I'll be using a serial gateway with soft SPI (don't ask why ;-) it's a left over stackable print I soldered for an old WS5100 Arduino Uno ethernet gateway) so 6.11 would be okay for the participants?
p.s. thack stackable radio print with the LEDs just sticking it adds to the tinker experience ;-)
-
@Yveaux I'll be using a serial gateway with soft SPI (don't ask why ;-) it's a left over stackable print I soldered for an old WS5100 Arduino Uno ethernet gateway) so 6.11 would be okay for the participants?
p.s. thack stackable radio print with the LEDs just sticking it adds to the tinker experience ;-)
-
@TheoL there is an issue with the avr compiler used in all 1.6.x versions, mysensors 2.0.x and debug enabled. This combination causes resets on w5100 gateways.
Apart from that I would just use the latest one (1.6.11 at the time of writing I think)@Yveaux said:
@TheoL there is an issue with the avr compiler used in all 1.6.x versions, mysensors 2.0.x and debug enabled. This combination causes resets on w5100 gateways.
Apart from that I would just use the latest one (1.6.11 at the time of writing I think)What is the correct way to handle this? (Im upgrading my w5100 with 2.0). Using an older avr compiler or its fixed in dev?
-
Its a bug in the compiler. Which should be fixed in a newer version of gcc. @tekka did some investigations together with arduino folks on this. So I think he has more info
@sundberg84 Yes, read here for further information related to the compiler bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326
-
@TheoL I'm not aware of any issues, but for safety I should be careful when defining MY_DEBUG and test your setup upfront (which you probably will :bowtie:)
@Yveaux Today we uploaded the serial gateway with soft SPI. The radio initializes and the gateway doesn't reset. Tonight my colleague will try it home, since it would interfere with my own serial gateway network. But I think it will work. Never did soft SPI on a serial gateway, and probably no one has ever tried that before ;-)
-
@sundberg84 Yes, read here for further information related to the compiler bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326
-
Confirmed that soft SPI also works an a Serial Gateway. Uploaded 2.0 on that one and tested with 1.5 sketch.
-
Confirmed that soft SPI also works an a Serial Gateway. Uploaded 2.0 on that one and tested with 1.5 sketch.
-
@TheoL Maybe important for your MySensors tutorial: I suggest using Arduino IDE 1.6.11 with AVR board defs 1.6.11 (1.6.12 and 1.6.13 seem buggy, at least regarding the Ethernet lib)
@tekka - If i want to build myself a ethernet gw with 2.0 it should work if i download and use IDE < 1.6.12 ?
-
@tekka - If i want to build myself a ethernet gw with 2.0 it should work if i download and use IDE < 1.6.12 ?
-
It has been a long time since I've updated my IDE (currently running 1.6.6) and I wanted to update before I start converting everything to MySensors 2.0. I noticed that there is a newer version 1.6.12 and the bug reported above appears to have been fixed. Has anyone used the newest IDE and boards files? I will be using an Ethernet gateway but I'm not sure if it is still best to downgrade the boards files. Thanks!
-
Crash still happens using the latest version, downgraded to 1.6.11 :(
-
Crash still happens using the latest version, downgraded to 1.6.11 :(