File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
src/boards/include/boards Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2023 Raspberry Pi (Trading) Ltd.
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
6+
7+ // -----------------------------------------------------
8+ // NOTE: THIS HEADER IS ALSO INCLUDED BY ASSEMBLER SO
9+ // SHOULD ONLY CONSIST OF PREPROCESSOR DIRECTIVES
10+ // -----------------------------------------------------
11+
12+ #ifndef _POLOLU_3PI_2040_ROBOT_H
13+ #define _POLOLU_3PI_2040_ROBOT_H
14+
15+ // For board detection
16+ #define POLOLU_3PI_2040_ROBOT
17+
18+ #define PICO_DEFAULT_LED_PIN 25
19+ #define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1
20+ #define PICO_FLASH_SPI_CLKDIV 2
21+ #define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)
22+
23+ // All boards have at least the B1 revision
24+ #define PICO_RP2040_B0_SUPPORTED 0
25+
26+ #endif
You can’t perform that action at this time.
0 commit comments