File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/boards/include/boards Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1111
1212// This header may be included by other board headers as "boards/weact_studio_rp2350b_core.h"
1313
14- // pico_cmake_set PICO_PLATFORM=rp2350
15-
1614#ifndef _BOARDS_WEACT_STUDIO_RP2350B_CORE_H
1715#define _BOARDS_WEACT_STUDIO_RP2350B_CORE_H
1816
17+ pico_board_cmake_set (PICO_PLATFORM , rp2350 )
18+
1919// For board detection
2020#define WEACT_STUDIO_RP2350B_CORE
2121
7474#define PICO_FLASH_SPI_CLKDIV 2
7575#endif
7676
77- // pico_cmake_set_default PICO_FLASH_SIZE_BYTES = (16 * 1024 * 1024)
77+ pico_board_cmake_set_default ( PICO_FLASH_SIZE_BYTES , (16 * 1024 * 1024 ) )
7878#ifndef PICO_FLASH_SIZE_BYTES
7979#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
8080#endif
8181
8282// --- RP2350 VARIANT ---
83- #define PICO_RP2350B 1
83+ // This means RP2350B.
84+ #define PICO_RP2350A 0
8485
85- // pico_cmake_set_default PICO_RP2350_A2_SUPPORTED = 1
86+ pico_board_cmake_set_default ( PICO_RP2350_A2_SUPPORTED , 1 )
8687#ifndef PICO_RP2350_A2_SUPPORTED
8788#define PICO_RP2350_A2_SUPPORTED 1
8889#endif
You can’t perform that action at this time.
0 commit comments