-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling #2
Comments
Can you look at what version of the Arduino IDE you are using please, also if you can let me know OS you are using that would be useful. I'm using version 1.8.8 on Windows 10 and not seeing these issues when compiling the code. I compiled the code as it is in the repo and also by adding in the const and both compiled fine. So this is leading me to believe there may be some changes between Arduino IDE versions and I'm on a newer version. I have seen both these issues before when compiling for other boards, for example the Uno WiFi Rev2 does not like PROGMEM as it has I believe unified flash and also gives the fcvt error from the dtostrf function in util.h to do float to string conversion. If you can provide me some more information I'll keep working the issue. Thanks! |
I am using Arduino 1.8.5 on Windows 10. I start by upgrading to 1.8.8. Thanks! |
let me know if the newer version fixes the issue then I'll update the readme so others can avoid this pitfall :-) |
User error I missed this in the log earlier. I changed it to Arduino/MKR1000 and it worked. Thanks |
OK no problem, the readme is a bit dense so it's easy to miss something, it's good to here where dev's miss stuff so I can optimize the documentation and add highlighting to key areas. I'll look at the rreadme and add an emphasis on a few things so hopefully others don't miss this. Closing out the issue. |
I am getting the same I tried adding |
Fixed by adding |
Hi Guys, I was able to run this and resolce the mqtt failed, rc=-2 by updating the firmware and choosing actually the NINA firmware (1.2.3) (Arduino MKR Wifi 1010) if you are using the MKR 1010 like me. |
I get the following error when compiling
variable 'iotc_scopeId' must be const in order to be put into read-only section by means of 'attribute((progmem))'
I get past it by changing the variables in the config.h
static char PROGMEM iotc_scopeId[]
static char PROGMEM iotc_deviceId[]
static char PROGMEM iotc_deviceKey[]
static char PROGMEM iotConnStr[]
to
static const char PROGMEM iotc_scopeId[
static const char PROGMEM iotc_deviceId[]
static const char PROGMEM iotConnStr[]
but now i am getting the following error.
'fcvt' was not declared in this scope
can you please help.
The text was updated successfully, but these errors were encountered: