Platformio databus class definition trouble #287
-
Hello, I'm trying to use Platformio under Visual Studio Code to compile a RP2040 project that works with the Arduino IDE. But with Platformio I always get an error that I don't understand
Any idea what Platformio wants me to do with this type of error? |
Beta Was this translation helpful? Give feedback.
Answered by
Deadeye5589
Apr 21, 2023
Replies: 2 comments 3 replies
-
If the problem only occur in platformIO but no problem in Arduino IDE, then you should ask in platformIO community. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Found the fault in the RPi Board definition |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well, I have the anwer. It's a bug in the RPi board definition by earlephilhower. The build flag is missing in Platformio. At the moment build_flags = -DTARGET_RP2040 must be added to the platformio.ini to make a project compileable.