Replies: 1 comment 1 reply
-
Those APIs are not valid in Arduino-land. Use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
I am encountering a strange error that I was not able to find a solution to anywhere online and Im starting to think, that something between arduino-pico and platformio is going wrong. It might be related to my insufficient C/C++ knowledge as well. I'm more profficient with Python, but for my bachelors thesis I had to change the language. Help would be much appreciated.
Now to the error itself. I have cropped the parts that went well. If you need those, I can provide them off course:
If I correctly understand the error, the linker is not able to find the definitions of stdio_init_all and getchar_timeout_us, which is strange, since the docs (https://arduino-pico.readthedocs.io/en/latest/sdk.html) mention, that the pico-sdk is included with the arduino core. I dont get any errors in my main.cpp too. The definitions are available there. Only the linker cant find them.
Solutions I have tried, from other forums were:
For reference purposes Ill copy my platformio.ini here:
And here a test program that is generating the error as well:
If you need any further information I am happy to provide it, if I can
Thank you very much for your help
Beta Was this translation helpful? Give feedback.
All reactions