libretiny icon indicating copy to clipboard operation
libretiny copied to clipboard

Missing Arduino.h (and other?) references

Open lonerzzz opened this issue 2 years ago • 3 comments

When attempting to use libretuya in Platform.io with the latest release, I see that Arduino.h is unresolved. Please document/outline what is required in the platformio.ini file or elsewhere make it visible. I see that it exists in this project.

lonerzzz avatar Feb 02 '23 21:02 lonerzzz

Answering myself in case someone else sees this. Just change the framework in the platformio.ini from beken-72xx-sdk to arduino

Feel free to add more detail.

lonerzzz avatar Feb 03 '23 03:02 lonerzzz

Yeah, the -sdk framework doesn't contain Arduino.h or any arduino related code.

kuba2k2 avatar Feb 03 '23 07:02 kuba2k2

I'll keep this open to describe the framework differences in the docs.

kuba2k2 avatar Feb 03 '23 09:02 kuba2k2