hirotakaster / CoAP-simple-library

Other
111 stars 48 forks source link

Arduino 3.1 apparently requires const cast when appending a char * to a string. #27

Closed jackjansen closed 3 years ago

jackjansen commented 3 years ago

This micro-fix addresses that.

Platformio builds again with this fix. Arduino however doesn't build, but it fails with errors in the Arduino Ethernet module. I have the feeling this may have to do with Arduino trying to build with Arduino 3.0 and it containing errors that have been fixed in the Arduino 3.1 that platformio uses. Not sure though.

hirotakaster commented 3 years ago

@jackjansen Thanks for your PR. I got a same ethernet error...but anyway murge (constraint) for PIO.

hirotakaster commented 3 years ago

@jackjansen there is no choice, I will add esp8266 sample/test code and update workflow.