forked from mirrors/qmk_firmware
16 lines
310 B
C
16 lines
310 B
C
|
// Copyright 2023 wind (@yelishang)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
/* SPI Config */
|
||
|
#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
|
||
|
|
||
|
/* SPI Flash Config */
|
||
|
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
|
||
|
|