adafruit / Adafruit_WICED_Arduino

Adafruit WICED Feather Arduino BSP
https://www.adafruit.com/products/3056
27 stars 19 forks source link

Name Conflict with errorno #66

Closed Andrewiski closed 7 years ago

Andrewiski commented 7 years ago

Including any library the includes errorno.h results in an error on compile

error: cannot convert 'err_t' to 'err_t (*)()

renaming the pulic function in adafruit_sdep.h to something other then errno

ie err_t errno2 (void ) { return _errno; } updating any Prints to reflect the name change allows code to be compiled. Serial.printf(", Error: %s (%d)\r\n", errstr(), errno2());

hathach commented 7 years ago

thanks, we will change err_t to something else in the next release

Andrewiski commented 7 years ago

awesome thanks

bornmand commented 7 years ago

Looks like the current release of WICED BSP via the Arduino IDE (1.8.2) is only version 0.6.2. I am still seeing the same error when including the library ArduinoJson.h in my project.

microbuilder commented 7 years ago

This is fixed in the 'development' branch (https://github.com/adafruit/Adafruit_WICED_Arduino/tree/development), but it hasn't been released yet. We'll try to get a new release out with the current bug fixes early June!

bornmand commented 7 years ago

blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Thanks. Can I asked you a quick wiced question? Is there a method for OTA updates on the wiced, specifically via MQTT?

Sent from Yahoo Mail for iPhone

On Thursday, May 18, 2017, 2:15 PM, Kevin Townsend notifications@github.com wrote:

This is fixed in the 'development' branch (https://github.com/adafruit/Adafruit_WICED_Arduino/tree/development), but it hasn't been released yet. We'll try to get a new release out with the current bug fixes early June!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Andrewiski commented 7 years ago

Not that I know of but I have never looked for it. I am sure if you went through the effort it could be added to the bootloader in the firmware but suspect you would be limited to half the memory as would need space to download then reboot, then reprogram as flashing directly via a wireless link is asking for a bricked device.

Andy

From: bornmand [mailto:notifications@github.com] Sent: Tuesday, May 23, 2017 1:03 PM To: adafruit/Adafruit_WICED_Arduino Adafruit_WICED_Arduino@noreply.github.com Cc: Andrew A. DeVries adevries@digitalexample.com; Author author@noreply.github.com Subject: Re: [adafruit/Adafruit_WICED_Arduino] Name Conflict with errorno (#66)

blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Thanks. Can I asked you a quick wiced question? Is there a method for OTA updates on the wiced, specifically via MQTT?

Sent from Yahoo Mail for iPhone

On Thursday, May 18, 2017, 2:15 PM, Kevin Townsend notifications@github.com<mailto:notifications@github.com> wrote:

This is fixed in the 'development' branch (https://github.com/adafruit/Adafruit_WICED_Arduino/tree/development), but it hasn't been released yet. We'll try to get a new release out with the current bug fixes early June!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/adafruit/Adafruit_WICED_Arduino/issues/66#issuecomment-303467307, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC_Zu8I1pNmn4SnlczNfGBepJY883tOQks5r8xFPgaJpZM4LVIHb.