Debian Codegraph @

ports/rp2/boards/POLOLU_ZUMO_2040_ROBOT/pololu_zumo_2040_robot.h

raw
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_ZUMO_2040_ROBOT_H
13 #define _POLOLU_ZUMO_2040_ROBOT_H
14
15 // For board detection
16 #define POLOLU_ZUMO_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