Skip to content

Commit

Permalink
Add board definition for upcoming Pololu Zumo 2040 Robot (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdg137 authored Dec 15, 2023
1 parent 538b901 commit 9ff8a98
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/boards/include/boards/pololu_zumo_2040_robot.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright (c) 2023 Raspberry Pi (Trading) Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

// -----------------------------------------------------
// NOTE: THIS HEADER IS ALSO INCLUDED BY ASSEMBLER SO
// SHOULD ONLY CONSIST OF PREPROCESSOR DIRECTIVES
// -----------------------------------------------------

#ifndef _POLOLU_ZUMO_2040_ROBOT_H
#define _POLOLU_ZUMO_2040_ROBOT_H

// For board detection
#define POLOLU_ZUMO_2040_ROBOT

#define PICO_DEFAULT_LED_PIN 25
#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1
#define PICO_FLASH_SPI_CLKDIV 2
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024)

// All boards have at least the B1 revision
#define PICO_RP2040_B0_SUPPORTED 0

#endif

0 comments on commit 9ff8a98

Please sign in to comment.