-
Notifications
You must be signed in to change notification settings - Fork 124
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
BUILD ERROR in Arduino MKR GSM 1400 and Arduino MKR NB 1500 #206
Comments
Simply set |
I did define The output although has changed to:
|
It seems to have issues with the constructor, perhaps with the interface? Can you add this workaround for now.
|
Thanks for your effort, it seems that there is an incompatibility, I get the following error now.
|
Change it according to this, that should fix the rvalue being assigned to an lvalue reference and instead assign it to an rvalue-reference.
|
These are the initializations I do in accordance with your suggestion.
|
No I changed it you have to use &&, this allows to use an rvalue (temporary object) and pass it to a refence. That will fix the compilation error you got previously. |
Ohh, I did the same error, but the outcome is almost the same.
|
Okay I've tried to not use pointers but I doesn't work I guess :(. Try the below code and sorry for the inconviences.
|
|
Try this perhaps there needs to be an additional cast
|
That seems to work, but a lot more errors show up, about Ticker. This is all the log output.
|
The ticker you've included does not seem to have the same API as the one we expect. For now can you set |
Am I using the wrong library? It's the Ticker by Stefan Staub.
It's done. |
I'll probably have to implement a workaround the problem is that real non blocking behaviour is not possible with boards that do not support FreeRTOS / ESP32. For now disable OTA updates alltogether and I might try to implement the aforementioned fix in the future. |
Alright, thank you for your help, I really appreciate it. |
@n9p7v - Did you ever get this example working? I am attempting to do the exact same thing right now (which I guess is how I found this error also) |
If you do this step from a previous comment it should fix the issue for now.
The aforementioned issue has also already been fixed on my fork. I will merge it soon, but I have to wait for the dependency to release a new version. |
I am working on both of the forementioned Arduino boards trying to connect to my ThingsBoard server using the 0000-arduino_send_telemetry example, modified with the relevant GSM/NB initializations.
I can build the example with the SDK v0.10.2, although it cannot connect to the server, for which I should probably create another issue topic. The next SDK versions are not compiling.
The output is the following:
The text was updated successfully, but these errors were encountered: