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

General • Re: Pico2 easy upgrade or nightmare?

$
0
0
When you have a custom board header the file goes where?
In ${CMAKE_BOARD_HEADER_DIRS}

I normally use:

Code:

set(PICO_BOARD_HEADER_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../boards)
which gives me a /boards subdirectory at the same level as the source subdirectories for the various applications that use it; you may choose to keep your board files somewhere else.

Statistics: Posted by arg001 — Wed Sep 18, 2024 9:14 pm



Viewing all articles
Browse latest Browse all 4919

Trending Articles