Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3891

General • Re: Pico2 easy upgrade or nightmare?

$
0
0
I can just have a boards folder in the project root then, that's awesome. Will changing this cause issues with dependencies for example my folders need pico.h and pico2.h so do I need to copy them to the project as well or will that still work?
No, that still works - for boards with Pico/Pico2 mounted on them you will want to #include boards/pico.h or boards/pico2.h within the board file for the carrier board, and that still picks up the system-supplied files without needing to copy them.

Statistics: Posted by arg001 — Thu Sep 19, 2024 6:55 am



Viewing all articles
Browse latest Browse all 3891

Trending Articles