Skip to content

Commit d733a8a

Browse files
committed
Update to new format.
1 parent 75b7e4a commit d733a8a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/boards/include/boards/weact_studio_rp2350b_core.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
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

@@ -74,15 +74,16 @@
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

0 commit comments

Comments
 (0)