mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-04-16 23:43:15 +00:00
Rename to pico_board_cmake_set and pico_board_cmake_set_default
This commit is contained in:
parent
2da1687790
commit
62671a806d
@ -20,22 +20,22 @@ if (EXISTS ${PICO_BOARD_HEADER_FILE})
|
||||
|
||||
while(HEADER_FILE_CONTENTS)
|
||||
list(POP_FRONT HEADER_FILE_CONTENTS LINE)
|
||||
# pico_cmake_set(var, value)
|
||||
if (LINE MATCHES "^[ \t\]*pico_cmake_set[ \t\]*\\([ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*,[ \t\]*(.*)[ \t\]*\\)[ \t\]*")
|
||||
# pico_board_cmake_set(var, value)
|
||||
if (LINE MATCHES "^[ \t\]*pico_board_cmake_set[ \t\]*\\([ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*,[ \t\]*(.*)[ \t\]*\\)[ \t\]*")
|
||||
set("${CMAKE_MATCH_1}" "${CMAKE_MATCH_2}")
|
||||
# pico_cmake_set_default(var, value)
|
||||
elseif (LINE MATCHES "^[ \t\]*pico_cmake_set_default[ \t\]*\\([ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*,[ \t\]*(.*)[ \t\]*\\)[ \t\]*")
|
||||
# pico_board_cmake_set_default(var, value)
|
||||
elseif (LINE MATCHES "^[ \t\]*pico_board_cmake_set_default[ \t\]*\\([ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*,[ \t\]*(.*)[ \t\]*\\)[ \t\]*")
|
||||
if (NOT DEFINED "${CMAKE_MATCH_1}")
|
||||
set("${CMAKE_MATCH_1}" "${CMAKE_MATCH_2}")
|
||||
else()
|
||||
list(APPEND PICO_BOARD_CMAKE_OVERRIDES ${CMAKE_MATCH_1})
|
||||
endif()
|
||||
# continue to support these for now
|
||||
# // pico_cmake_set var = value
|
||||
elseif (LINE MATCHES "^[ \t\]*//[ \t\]*pico_cmake_set[ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*=[ \t\]*(.*)")
|
||||
# // pico_board_cmake_set var = value
|
||||
elseif (LINE MATCHES "^[ \t\]*//[ \t\]*pico_board_cmake_set[ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*=[ \t\]*(.*)")
|
||||
set("${CMAKE_MATCH_1}" "${CMAKE_MATCH_2}")
|
||||
# // pico_cmake_set_default var = value
|
||||
elseif (LINE MATCHES "^[ \t\]*//[ \t\]*pico_cmake_set_default[ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*=[ \t\]*(.*)")
|
||||
# // pico_board_cmake_set_default var = value
|
||||
elseif (LINE MATCHES "^[ \t\]*//[ \t\]*pico_board_cmake_set_default[ \t\]*([a-zA-Z_][a-zA-Z0-9_]*)[ \t\]*=[ \t\]*(.*)")
|
||||
if (NOT DEFINED "${CMAKE_MATCH_1}")
|
||||
set("${CMAKE_MATCH_1}" "${CMAKE_MATCH_2}")
|
||||
else()
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef _BOARDS_0XCB_HELIOS_H
|
||||
#define _BOARDS_0XCB_HELIOS_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define _0XCB_HELIOS
|
||||
@ -73,7 +73,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#endif
|
||||
|
||||
// board has 16M onboard flash
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_ADAFRUIT_FEATHER_RP2040_H
|
||||
#define _BOARDS_ADAFRUIT_FEATHER_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ADAFRUIT_FEATHER_RP2040
|
||||
@ -83,7 +83,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 4
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_ADAFRUIT_FEATHER_RP2040_USB_HOST_H
|
||||
#define _BOARDS_ADAFRUIT_FEATHER_RP2040_USB_HOST_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ADAFRUIT_FEATHER_RP2040_USB_HOST
|
||||
@ -79,7 +79,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 4
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_ADAFRUIT_FEATHER_RP2350_H
|
||||
#define _BOARDS_ADAFRUIT_FEATHER_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// On some samples, the xosc can take longer to stabilize than is usual
|
||||
#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER
|
||||
@ -78,12 +78,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_ADAFRUIT_ITSYBITSY_RP2040_H
|
||||
#define _BOARDS_ADAFRUIT_ITSYBITSY_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ADAFRUIT_ITSYBITSY_RP2040
|
||||
@ -86,7 +86,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_ADAFRUIT_KB2040_H
|
||||
#define _BOARDS_ADAFRUIT_KB2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ADAFRUIT_KB2040
|
||||
@ -78,7 +78,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -15,7 +15,7 @@
|
||||
// For board detection
|
||||
#define ADAFRUIT_MACROPAD_RP2040
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// On some samples, the xosc can take longer to stabilize than is usual
|
||||
#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER
|
||||
@ -173,7 +173,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 4
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_ADAFRUIT_QTPY_RP2040_H
|
||||
#define _BOARDS_ADAFRUIT_QTPY_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ADAFRUIT_QTPY_RP2040
|
||||
@ -85,7 +85,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_ADAFRUIT_TRINKEY_QT2040_H
|
||||
#define _BOARDS_ADAFRUIT_TRINKEY_QT2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ADAFRUIT_TRINKEY_QT2040
|
||||
@ -63,7 +63,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_AMETHYST_FPGA_H
|
||||
#define _BOARDS_AMETHYST_FPGA_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
#if !PICO_RP2350
|
||||
#error "Invalid PICO_PLATFORM for amethyst_fpga.h: must be rp2350 or rp2350-riscv"
|
||||
@ -98,7 +98,7 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_ARCHI_H
|
||||
#define _BOARDS_ARCHI_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ARCHI
|
||||
@ -104,7 +104,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 4
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_ARDUINO_NANO_RP2040_CONNECT_H
|
||||
#define _BOARDS_ARDUINO_NANO_RP2040_CONNECT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ARDUINO_NANO_RP2040_CONNECT
|
||||
@ -74,7 +74,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_CYTRON_MAKER_PI_RP2040_H
|
||||
#define _BOARDS_CYTRON_MAKER_PI_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define CYTRON_MAKER_PI_RP2040
|
||||
@ -179,7 +179,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_DATANOISETV_RP2040_DSP_H
|
||||
#define _BOARDS_DATANOISETV_RP2040_DSP_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define DATANOISETV_RP2040_DSP
|
||||
@ -40,7 +40,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_DATANOISETV_RP2350_DSP_H
|
||||
#define _BOARDS_DATANOISETV_RP2350_DSP_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define DATANOISETV_RP2350_DSP
|
||||
@ -43,12 +43,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_DEFCON32_BADGE_H
|
||||
#define _BOARDS_DEFCON32_BADGE_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define DEFCON32_BADGE
|
||||
@ -103,12 +103,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_EELECTRONICPARTS_PICOMINI_16MB_H
|
||||
#define _BOARDS_EELECTRONICPARTS_PICOMINI_16MB_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define EELECTRONICPARTS_PICOMINI_16MB
|
||||
@ -72,7 +72,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
// This board comes in 2MB, 4MB, 8MB, and 16MB variants
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_EELECTRONICPARTS_PICOMINI_2MB_H
|
||||
#define _BOARDS_EELECTRONICPARTS_PICOMINI_2MB_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define EELECTRONICPARTS_PICOMINI_2MB
|
||||
@ -72,7 +72,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
// This board comes in 2MB, 4MB, 8MB, and 16MB variants
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_EELECTRONICPARTS_PICOMINI_4MB_H
|
||||
#define _BOARDS_EELECTRONICPARTS_PICOMINI_4MB_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define EELECTRONICPARTS_PICOMINI_4MB
|
||||
@ -72,7 +72,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
// This board comes in 2MB, 4MB, 8MB, and 16MB variants
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_EELECTRONICPARTS_PICOMINI_8MB_H
|
||||
#define _BOARDS_EELECTRONICPARTS_PICOMINI_8MB_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define EELECTRONICPARTS_PICOMINI_8MB
|
||||
@ -72,7 +72,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
// This board comes in 2MB, 4MB, 8MB, and 16MB variants
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_EETREE_GAMEKIT_RP2040_H
|
||||
#define _BOARDS_EETREE_GAMEKIT_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define EETREE_GAMEKIT_RP2040
|
||||
@ -69,7 +69,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#ifndef PICO_FLASH_SPI_CLKDIV
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GARATRONIC_PYBSTICK26_RP2040_H
|
||||
#define _BOARDS_GARATRONIC_PYBSTICK26_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define GARATRONIC_PYBSTICK26_RP2040
|
||||
@ -70,7 +70,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (1 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (1 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (1 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_24_H
|
||||
#define _BOARDS_GEN4_RP2350_24_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_24
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_24CT_H
|
||||
#define _BOARDS_GEN4_RP2350_24CT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_24CT // CLB variants are exactly the same in operation
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_24T_H
|
||||
#define _BOARDS_GEN4_RP2350_24T_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_24T
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_28_H
|
||||
#define _BOARDS_GEN4_RP2350_28_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_28
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_28CT_H
|
||||
#define _BOARDS_GEN4_RP2350_28CT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_28CT // CLB variants are exactly the same in operation
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_28T_H
|
||||
#define _BOARDS_GEN4_RP2350_28T_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_28T
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_32_H
|
||||
#define _BOARDS_GEN4_RP2350_32_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_32
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_32CT_H
|
||||
#define _BOARDS_GEN4_RP2350_32CT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_32CT // CLB variants are exactly the same in operation
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_32T_H
|
||||
#define _BOARDS_GEN4_RP2350_32T_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_32T
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_35_H
|
||||
#define _BOARDS_GEN4_RP2350_35_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_35
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_35CT_H
|
||||
#define _BOARDS_GEN4_RP2350_35CT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_35CT // CLB variants are exactly the same in operation
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_GEN4_RP2350_35T_H
|
||||
#define _BOARDS_GEN4_RP2350_35T_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define GEN4_RP2350_35T
|
||||
@ -71,12 +71,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_HELLBENDER_0001_H
|
||||
#define _BOARDS_HELLBENDER_0001_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define HELLBENDER_0001
|
||||
@ -130,7 +130,7 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
@ -140,7 +140,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
// --- RP2350 VARIANT ---
|
||||
#define PICO_RP2350A 0
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_HELLBENDER_2350A_DEVBOARD_H
|
||||
#define _BOARDS_HELLBENDER_2350A_DEVBOARD_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define HELLBENDER_2350A_DEVBOARD
|
||||
@ -84,14 +84,14 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
// --- RP2350 VARIANT ---
|
||||
#define PICO_RP2350A 1
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_ILABS_CHALLENGER_RP2350_BCONNECT_H
|
||||
#define _BOARDS_ILABS_CHALLENGER_RP2350_BCONNECT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define ILABS_CHALLENGER_RP2350_BCONNECT
|
||||
@ -78,12 +78,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_ILABS_CHALLENGER_RP2350_WIFI_BLE_H
|
||||
#define _BOARDS_ILABS_CHALLENGER_RP2350_WIFI_BLE_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define ILABS_CHALLENGER_RP2350_WIFI_BLE
|
||||
@ -75,12 +75,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef _BOARDS_ILABS_OPENDEC02_H
|
||||
#define _BOARDS_ILABS_OPENDEC02_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define ILABS_OPENDEC02
|
||||
@ -50,7 +50,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_MACHDYNE_WERKZEUG_H
|
||||
#define _BOARDS_MACHDYNE_WERKZEUG_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define MACHDYNE_WERKZEUG
|
||||
@ -75,7 +75,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (1 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (1 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (1 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_MELOPERO_PERPETUO_RP2350_LORA_H
|
||||
#define _BOARDS_MELOPERO_PERPETUO_RP2350_LORA_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define MELOPERO_PERPETUO_RP2350_LORA
|
||||
@ -75,14 +75,14 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_MELOPERO_SHAKE_RP2040_H
|
||||
#define _BOARDS_MELOPERO_SHAKE_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define MELOPERO_SHAKE_RP2040
|
||||
@ -82,7 +82,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_METROTECH_XERXES_RP2040_H
|
||||
#define _BOARDS_METROTECH_XERXES_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
#define USR_SW_PIN 18
|
||||
#define USR_BTN_PIN 24
|
||||
@ -144,7 +144,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 16
|
||||
#endif // !PICO_XOSC_STARTUP_DELAY_MULTIPLIER
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
/**
|
||||
* @brief 16MiB, Flash size in bytes
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_NET8086_USB_INTERPOSER_H
|
||||
#define _BOARDS_NET8086_USB_INTERPOSER_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define NET8086_USB_INTERPOSER
|
||||
@ -62,7 +62,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 4
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_NULLBITS_BIT_C_PRO_H
|
||||
#define _BOARDS_NULLBITS_BIT_C_PRO_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define NULLBITS_BIT_C_PRO
|
||||
@ -100,7 +100,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#endif
|
||||
|
||||
// Bit-C PRO has 4MB SPI flash
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PHYX_RICK_TNY_RP2350_H
|
||||
#define _BOARDS_PHYX_RICK_TNY_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define PHYX_RICK_TNY_RP2350
|
||||
@ -75,12 +75,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PI_PLATES_MICROPI_H
|
||||
#define _BOARDS_PI_PLATES_MICROPI_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PI_PLATES_MICROPI
|
||||
@ -72,7 +72,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024) //change to (16 * 1024 * 1024) on final product
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PICO_H
|
||||
#define _BOARDS_PICO_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define RASPBERRYPI_PICO
|
||||
@ -72,7 +72,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PICO2_H
|
||||
#define _BOARDS_PICO2_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define RASPBERRYPI_PICO2
|
||||
@ -75,7 +75,7 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
@ -93,7 +93,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#define PICO_VSYS_PIN 29
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,8 +14,8 @@
|
||||
#ifndef _BOARDS_PICO2_W_H
|
||||
#define _BOARDS_PICO2_W_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
|
||||
// For board detection
|
||||
#define RASPBERRYPI_PICO2_W
|
||||
@ -74,7 +74,7 @@ pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
@ -109,7 +109,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#define PICO_VSYS_PIN 29
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,8 +14,8 @@
|
||||
#ifndef _BOARDS_PICO_W_H
|
||||
#define _BOARDS_PICO_W_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
|
||||
// For board detection
|
||||
#define RASPBERRYPI_PICO_W
|
||||
@ -71,7 +71,7 @@ pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_BADGER2040_H
|
||||
#define _BOARDS_PIMORONI_BADGER2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_BADGER2040
|
||||
@ -106,7 +106,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_INTERSTATE75_H
|
||||
#define _BOARDS_PIMORONI_INTERSTATE75_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_INTERSTATE75
|
||||
@ -96,7 +96,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_KEYBOW2040_H
|
||||
#define _BOARDS_PIMORONI_KEYBOW2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_KEYBOW2040
|
||||
@ -85,7 +85,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_MOTOR2040_H
|
||||
#define _BOARDS_PIMORONI_MOTOR2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_MOTOR2040
|
||||
@ -128,7 +128,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PGA2040_H
|
||||
#define _BOARDS_PIMORONI_PGA2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PGA2040
|
||||
@ -69,7 +69,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PGA2350_H
|
||||
#define _BOARDS_PIMORONI_PGA2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PGA2350
|
||||
@ -79,7 +79,7 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -88,7 +88,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
// no PICO_VBUS_PIN
|
||||
// no PICO_VSYS_PIN
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PICO_PLUS2_RP2350_H
|
||||
#define _BOARDS_PIMORONI_PICO_PLUS2_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PICO_PLUS2_RP2350
|
||||
@ -86,7 +86,7 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -102,7 +102,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define PICO_VSYS_PIN 43
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,8 +14,8 @@
|
||||
#ifndef _BOARDS_PIMORONI_PICO_PLUS2_W_RP2350_H
|
||||
#define _BOARDS_PIMORONI_PICO_PLUS2_W_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PICO_PLUS2_W_RP2350
|
||||
@ -78,7 +78,7 @@ pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -89,7 +89,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define PICO_VSYS_PIN 43
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PICOLIPO_16MB_H
|
||||
#define _BOARDS_PIMORONI_PICOLIPO_16MB_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PICOLIPO_16MB
|
||||
@ -74,7 +74,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PICOLIPO_4MB_H
|
||||
#define _BOARDS_PIMORONI_PICOLIPO_4MB_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PICOLIPO_4MB
|
||||
@ -74,7 +74,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PICOSYSTEM_H
|
||||
#define _BOARDS_PIMORONI_PICOSYSTEM_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PICOSYSTEM
|
||||
@ -91,7 +91,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PLASMA2040_H
|
||||
#define _BOARDS_PIMORONI_PLASMA2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PLASMA2040
|
||||
@ -83,7 +83,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_PLASMA2350_H
|
||||
#define _BOARDS_PIMORONI_PLASMA2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_PLASMA2350
|
||||
@ -104,12 +104,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_SERVO2040_H
|
||||
#define _BOARDS_PIMORONI_SERVO2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_SERVO2040
|
||||
@ -104,7 +104,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_TINY2040_H
|
||||
#define _BOARDS_PIMORONI_TINY2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_TINY2040
|
||||
@ -92,7 +92,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_TINY2040_2MB_H
|
||||
#define _BOARDS_PIMORONI_TINY2040_2MB_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_TINY2040_2MB
|
||||
@ -92,7 +92,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_PIMORONI_TINY2350_H
|
||||
#define _BOARDS_PIMORONI_TINY2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define PIMORONI_TINY2350
|
||||
@ -84,12 +84,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_POLOLU_3PI_2040_ROBOT_H
|
||||
#define _BOARDS_POLOLU_3PI_2040_ROBOT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define POLOLU_3PI_2040_ROBOT
|
||||
@ -20,7 +20,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_DEFAULT_LED_PIN 25
|
||||
#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
|
||||
// All boards have at least the B1 revision
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_POLOLU_ZUMO_2040_ROBOT_H
|
||||
#define _BOARDS_POLOLU_ZUMO_2040_ROBOT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define POLOLU_ZUMO_2040_ROBOT
|
||||
@ -20,7 +20,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_DEFAULT_LED_PIN 25
|
||||
#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
|
||||
// All boards have at least the B1 revision
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_SEEED_XIAO_RP2040_H
|
||||
#define _BOARDS_SEEED_XIAO_RP2040_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define SEEED_XIAO_RP2040
|
||||
@ -90,7 +90,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_SEEED_XIAO_RP2350_H
|
||||
#define _BOARDS_SEEED_XIAO_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SEEED_XIAO_RP2350
|
||||
@ -140,12 +140,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 4
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_SOLDERPARTY_RP2040_STAMP_H
|
||||
#define _BOARDS_SOLDERPARTY_RP2040_STAMP_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define SOLDERPARTY_RP2040_STAMP
|
||||
@ -73,7 +73,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (8 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_SOLDERPARTY_RP2040_STAMP_CARRIER_H
|
||||
#define _BOARDS_SOLDERPARTY_RP2040_STAMP_CARRIER_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define SOLDERPARTY_RP2040_STAMP_CARRIER
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_SOLDERPARTY_RP2040_STAMP_ROUND_CARRIER_H
|
||||
#define _BOARDS_SOLDERPARTY_RP2040_STAMP_ROUND_CARRIER_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define SOLDERPARTY_RP2040_STAMP_ROUND_CARRIER
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_SOLDERPARTY_RP2350_STAMP_H
|
||||
#define _BOARDS_SOLDERPARTY_RP2350_STAMP_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SOLDERPARTY_RP2350_STAMP
|
||||
@ -73,12 +73,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_SOLDERPARTY_RP2350_STAMP_XL_H
|
||||
#define _BOARDS_SOLDERPARTY_RP2350_STAMP_XL_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SOLDERPARTY_RP2350_STAMP_XL
|
||||
@ -73,12 +73,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -15,7 +15,7 @@
|
||||
#ifndef _BOARDS_SPARKFUN_IOTNODE_LORAWAN_RP2350_H
|
||||
#define _BOARDS_SPARKFUN_IOTNODE_LORAWAN_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_IOTNODE_LORAWAN_RP2350
|
||||
@ -75,12 +75,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef _BOARDS_SPARKFUN_IOTREDBOARD_RP2350_H
|
||||
#define _BOARDS_SPARKFUN_IOTREDBOARD_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_IOTREDBOARD_RP2350
|
||||
@ -85,7 +85,7 @@ pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -113,7 +113,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define PICO_VSYS_PIN 46
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_SPARKFUN_MICROMOD_H
|
||||
#define _BOARDS_SPARKFUN_MICROMOD_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_MICROMOD
|
||||
@ -75,7 +75,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_SPARKFUN_PROMICRO_H
|
||||
#define _BOARDS_SPARKFUN_PROMICRO_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_PROMICRO
|
||||
@ -75,7 +75,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#endif
|
||||
|
||||
// board has 16M onboard flash
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_SPARKFUN_PROMICRO_RP2350_H
|
||||
#define _BOARDS_SPARKFUN_PROMICRO_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_PROMICRO_RP2350
|
||||
@ -73,7 +73,7 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#endif
|
||||
|
||||
// board has 16M onboard flash
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -81,7 +81,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
// --- RP2350 VARIANT ---
|
||||
#define PICO_RP2350A 1
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
#ifndef _BOARDS_SPARKFUN_THINGPLUS_H
|
||||
#define _BOARDS_SPARKFUN_THINGPLUS_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_THINGPLUS
|
||||
@ -74,7 +74,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef _BOARDS_SPARKFUN_THINGPLUS_RP2350_H
|
||||
#define _BOARDS_SPARKFUN_THINGPLUS_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_THINGPLUS_RP2350
|
||||
@ -77,7 +77,7 @@ pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -114,7 +114,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define CYW43_WL_GPIO_VBUS_PIN 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef _BOARDS_SPARKFUN_XRP_CONTROLLER_H
|
||||
#define _BOARDS_SPARKFUN_XRP_CONTROLLER_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
|
||||
// For board detection
|
||||
#define SPARKFUN_XRP_CONTROLLER
|
||||
@ -77,7 +77,7 @@ pico_cmake_set(PICO_CYW43_SUPPORTED, 1)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -90,7 +90,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define CYW43_WL_GPIO_LED_PIN 0
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_SWITCHSCIENCE_PICOSSCI2_CONTA_BASE_H
|
||||
#define _BOARDS_SWITCHSCIENCE_PICOSSCI2_CONTA_BASE_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SWITCHSCIENCE_PICOSSCI2_CONTA_BASE
|
||||
@ -74,12 +74,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_SWITCHSCIENCE_PICOSSCI2_DEV_BOARD_H
|
||||
#define _BOARDS_SWITCHSCIENCE_PICOSSCI2_DEV_BOARD_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SWITCHSCIENCE_PICOSSCI2_DEV_BOARD
|
||||
@ -75,12 +75,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#endif
|
||||
|
||||
// board has 4MB onboard flash
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_SWITCHSCIENCE_PICOSSCI2_MICRO_H
|
||||
#define _BOARDS_SWITCHSCIENCE_PICOSSCI2_MICRO_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SWITCHSCIENCE_PICOSSCI2_MICRO
|
||||
@ -61,12 +61,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#endif
|
||||
|
||||
// board has 4MB onboard flash
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_SWITCHSCIENCE_PICOSSCI2_RP2350_BREAKOUT_H
|
||||
#define _BOARDS_SWITCHSCIENCE_PICOSSCI2_RP2350_BREAKOUT_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SWITCHSCIENCE_PICOSSCI2_RP2350_BREAKOUT
|
||||
@ -74,12 +74,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_SWITCHSCIENCE_PICOSSCI2_TINY_H
|
||||
#define _BOARDS_SWITCHSCIENCE_PICOSSCI2_TINY_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define SWITCHSCIENCE_PICOSSCI2_TINY
|
||||
@ -74,12 +74,12 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef _BOARDS_TINYCIRCUITS_THUMBY_COLOR_RP2350_H
|
||||
#define _BOARDS_TINYCIRCUITS_THUMBY_COLOR_RP2350_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2350)
|
||||
|
||||
// For board detection
|
||||
#define TINYCIRCUITS_THUMBY_COLOR_RP2350
|
||||
@ -75,7 +75,7 @@ pico_cmake_set(PICO_PLATFORM, rp2350)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
@ -93,7 +93,7 @@ pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#define PICO_VSYS_PIN 29
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)
|
||||
#ifndef PICO_RP2350_A2_SUPPORTED
|
||||
#define PICO_RP2350_A2_SUPPORTED 1
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_PICO_CAM_A_H
|
||||
#define _BOARDS_WAVESHARE_PICO_CAM_A_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_PICO_CAM_A
|
||||
@ -68,7 +68,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (16 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_RP2040_BLE_H
|
||||
#define _BOARDS_WAVESHARE_RP2040_BLE_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_RP2040_BLE
|
||||
@ -68,7 +68,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_RP2040_ETH_H
|
||||
#define _BOARDS_WAVESHARE_RP2040_ETH_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_RP2040_ETH
|
||||
@ -68,7 +68,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_RP2040_GEEK_H
|
||||
#define _BOARDS_WAVESHARE_RP2040_GEEK_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_RP2040_GEEK
|
||||
@ -88,7 +88,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_RP2040_LCD_0_96_H
|
||||
#define _BOARDS_WAVESHARE_RP2040_LCD_0_96_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_RP2040_LCD_0_96
|
||||
@ -89,7 +89,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_RP2040_LCD_1_28_H
|
||||
#define _BOARDS_WAVESHARE_RP2040_LCD_1_28_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_RP2040_LCD_1_28
|
||||
@ -92,7 +92,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_RP2040_MATRIX_H
|
||||
#define _BOARDS_WAVESHARE_RP2040_MATRIX_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_RP2040_MATRIX
|
||||
@ -69,7 +69,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef _BOARDS_WAVESHARE_RP2040_ONE_H
|
||||
#define _BOARDS_WAVESHARE_RP2040_ONE_H
|
||||
|
||||
pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
pico_board_cmake_set(PICO_PLATFORM, rp2040)
|
||||
|
||||
// For board detection
|
||||
#define WAVESHARE_RP2040_ONE
|
||||
@ -68,7 +68,7 @@ pico_cmake_set(PICO_PLATFORM, rp2040)
|
||||
#define PICO_FLASH_SPI_CLKDIV 2
|
||||
#endif
|
||||
|
||||
pico_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user