e9f187f612
Co-authored-by: wb <wb@westberrytech.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> Co-authored-by: jack <0x6a73@protonmail.com>
14 lines
298 B
C
14 lines
298 B
C
// Copyright 2024 JoyLee (@itarze)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
/* SPI Config for spi flash*/
|
|
#define SPI_DRIVER SPIDQ
|
|
#define SPI_SCK_PIN B3
|
|
#define SPI_MOSI_PIN B5
|
|
#define SPI_MISO_PIN B4
|
|
#define SPI_MOSI_PAL_MODE 5
|
|
|
|
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
|