Skip to content
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

Library does not compile from the Arduino Cloud IDE for MKR Wi-Fi 1010 #411

Closed
zfields opened this issue Jan 30, 2024 · 4 comments · Fixed by #412
Closed

Library does not compile from the Arduino Cloud IDE for MKR Wi-Fi 1010 #411

zfields opened this issue Jan 30, 2024 · 4 comments · Fixed by #412
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@zfields
Copy link
Contributor

zfields commented Jan 30, 2024

/usr/local/bin/arduino-cli compile --fqbn arduino:samd:mkrwifi1010 --build-cache-path /tmp --output-dir /tmp/3214616684/build --build-path /tmp/arduino-build-5FBB2B82E8C1BA32B234A5C999B03F04  /tmp/3214616684/ArduinoIoTCloud_Basic

In file included from /tmp/3214616684/ArduinoIoTCloud_Basic/ArduinoIoTCloud_Basic.ino:18:0:
/tmp/3214616684/ArduinoIoTCloud_Basic/thingProperties.h:3:4: error: #error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
   #error "Please check Arduino IoT Cloud supported boards list: https://github.com/arduino-libraries/ArduinoIoTCloud/#what"
    ^~~~~

Error during build: exit status 1
@per1234 per1234 self-assigned this Jan 31, 2024
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Jan 31, 2024
@per1234
Copy link
Contributor

per1234 commented Jan 31, 2024

Hi @zfields. The cause of the error is caused by the code in the thingProperties.h file of your "ArduinoIoTCloud_Basic" sketch, not by the code of the library. So I will close this as off topic for this repository.

If you would like to learn how to write such code in a manner that will support the MKR WiFi 1010, you can study the library's "ArduinoIoTCloud-Basic" example sketch. If you would like assistance, please post over on Arduino Forum:

https://forum.arduino.cc/

I'm sure we'll be able to help you out over there.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Jan 31, 2024
@pennam
Copy link
Collaborator

pennam commented Jan 31, 2024

@per1234 I think @zfields is right. There is an issue with the examples includes, should be fixed by #412

@pennam pennam reopened this Jan 31, 2024
@zfields
Copy link
Contributor Author

zfields commented Jan 31, 2024

If you would like to learn how to write such code in a manner that will support the MKR WiFi 1010, you can study the library's "ArduinoIoTCloud-Basic" example sketch.

If you study the error message, you can see that I tried to compile the ArduinoIoTCloud_Basic sketch, which resulted in this error.

@per1234
Copy link
Contributor

per1234 commented Jan 31, 2024

I see. The bug can only be reproduced when using the "old" Arduino Web Editor.

I was unable to reproduce it because I was using the "new" Cloud Editor, which does not currently automatically migrate secrets when you open a sketch as the "old" editor does.

@per1234 per1234 removed the conclusion: invalid Issue/PR not valid label Jan 31, 2024
@per1234 per1234 added the conclusion: resolved Issue was resolved label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants