You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 22, 2021. It is now read-only.
Describe the solution you'd like
It would nice to have an option to program the Arduino boards without the Arduino framework.
This is possible in PlatformIO, because the #include of Arduino.h is not hidden.
The text was updated successfully, but these errors were encountered:
Hi @sstaub. Even though I think the Arduino sketch preprocessor's default behavior of automatically adding the #include directive for Arduino.h to the .ino file is very important for providing beginners with a gentle learning curve, I also think it's nice to allow advanced users to have control over this. Cristian Maglie came up with what I think is the perfect solution to allow this: arduino/Arduino#4352 (comment)
the preprocessor now skips the automatic insertion of the #include <Arduino.h> if the sketch already includes it.
You can combine this feature with a preprocessor conditional to prevent Arduino.h from being included in the sketch. People doing that might also find the ability to override the core library's main() to be handy:
Describe the solution you'd like
It would nice to have an option to program the Arduino boards without the Arduino framework.
This is possible in PlatformIO, because the #include of Arduino.h is not hidden.
The text was updated successfully, but these errors were encountered: