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

General • Can you set PICO_BOARD for sepecific targets

$
0
0
I have a project that has multiuple executables in the CMakeLists file.

One of those targets uses a different PICO_BOARD then the others.

the
set(PICO_BOARD pico)

option at top of the CMAKELists file is global to all tagets.

Is there any way to define this separate for each individual tagter so I can build all targets at once and have each reflect the correct target PICO board?

Statistics: Posted by slammers — Thu Jun 05, 2025 8:31 pm — Replies 1 — Views 66



Viewing all articles
Browse latest Browse all 7017

Trending Articles