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

SDK • Re: Where is PICO_PLATFORM specified when a board is used

$
0
0

Code:

// pico_cmake_set PICO_PLATFORM=rp2350
This is what sets the PICO_PLATFORM when you specify a board - these pico_cmake_set and pico_cmake_set_default comments are parsed by the SDK in cmake/generic_board.cmake, to set the platform based on the board file
Or is this pico_flash_region.ld generated based on PICO_FLASH_SIZE_BYTES?
Yes, it is set by the "pico_cmake_set_default PICO_FLASH_SIZE_BYTES = ..." comment in the board file

Statistics: Posted by will-v-pi — Tue Apr 01, 2025 1:18 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles