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
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.5
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too):
Build Adafruit_11_group_pub and watch it crash and burn when executed (not to mention the huge number of warnings caused by unused local variables, etc. and syntactic and semantic nonsense producing fatal build errors in a couple places)
Note: I thought it might be caused by an uninitialized AdafruitIO::_groupCallback member, which is not set to a meaningful value in the method for AdafruitIO_Group::_init, but when I set it to NULL in the _init, the error did not go away.
[update a couple hours later]
For some reason, the libraries are found in a directory arduino_283704/libraries instead of arduino/libraries. Silly me for assuming the libraries were in the place the documentation claimed they would be.
I set _groupCallback to NULL in _init in the correct source, and it now runs! Apparently the previous code depended on the (unknown) state of the allocation, which, by the greatest of luck, just happened to be 0. When the runtime was changed to "'erase" all of the allocated block to 0xFEFEFEFE, the source code was not prepared for a change to the (very carefully) unspecified behavior of the allocator, and now failed.
The text was updated successfully, but these errors were encountered:
Arduino board: Feather HUZZAH32
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.5
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too):
Build Adafruit_11_group_pub and watch it crash and burn when executed (not to mention the huge number of warnings caused by unused local variables, etc. and syntactic and semantic nonsense producing fatal build errors in a couple places)
Note: I thought it might be caused by an uninitialized AdafruitIO::_groupCallback member, which is not set to a meaningful value in the method for AdafruitIO_Group::_init, but when I set it to NULL in the _init, the error did not go away.
[update a couple hours later]
For some reason, the libraries are found in a directory arduino_283704/libraries instead of arduino/libraries. Silly me for assuming the libraries were in the place the documentation claimed they would be.
I set _groupCallback to NULL in _init in the correct source, and it now runs! Apparently the previous code depended on the (unknown) state of the allocation, which, by the greatest of luck, just happened to be 0. When the runtime was changed to "'erase" all of the allocated block to 0xFEFEFEFE, the source code was not prepared for a change to the (very carefully) unspecified behavior of the allocator, and now failed.
The text was updated successfully, but these errors were encountered: