Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Failed compile using 5.7.0 #381
I'm not entirely sure what is going on here, or why, but this line causes my compilation to fail. whereas the same line in an example ino does not.
set.STA.MAC is a 6 byte uin8_t array. but using a temp uint8_t or anything else does not work either.
STAjson is defined as
the string_ are static const char * to simple strings...
the error is below
it happens in platformio and arduino, and only for the latest 5.7.0 version.
if i change the code to
then it works.
bit of a loss really
OK the issue seems to reside in the use of F() macro...
although not used there, i have them spotted around, and even though it is meant to support
JsonArray & mac = STAjson[F("abc")];
this does not work.
Thank you very much for reporting this issue.
The error you had in the first message is different.
no problem. 2 issues explains why i was having a bit of a nightmare tracking it down. this was also only occurring when i used a beta feature of platoformio with remote compilation. as it would automatically download the latest lib eery time, and not use the cached one which my local platformio was doing. got there in the end though!
unfortunately... it is not fixed :(
Are you able to compile using Arduino and my example from here
here is the error
this is line 1416
My mistake. I assumed that PROGMEM was only available on AVR.
You'll need to add
at the top of the file, until I fix this in the next release.
Le 13 nov. 2016 22:08, "sticilface" firstname.lastname@example.org a écrit :