qmk_sweep_skeletyl/keyboards/moky/moky88/config.h

20 lines
400 B
C
Raw Normal View History

[Keyboard] Add moky88 (#22954) * Update * 代码对齐 * 修改键盘名称 * 增加Readme * Add copyright notice * Update keyboards/moky/moky88/info.json Delete solid_color Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/moky88.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/config.h Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/keymaps/via/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/keymaps/default/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/moky/moky88/info.json Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/moky/moky88/keymaps/default/keymap.c Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/moky/moky88/keymaps/via/keymap.c Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/moky/moky88/config.h Co-authored-by: Joel Challis <git@zvecr.com> * Add a key to enter the bootloader, and add instructions to the readme documentation * delete maintainer * add default/rules.mk * Update readme.md * Update readme.md --------- Co-authored-by: vertor <zhen.wang@westberrytech.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-02-19 22:51:04 +01:00
// Copyright 2023 VertorWang (@itarze)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/* SPI */
#define SPI_DRIVER SPIDQ
#define SPI_SCK_PIN B3
#define SPI_MOSI_PIN B5
#define SPI_MISO_PIN B4
/* Flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
/* RGB Driver */
#define AW20216S_CS_PIN_1 D2
#define AW20216S_CS_PIN_2 B8
#define AW20216S_EN_PIN_1 B9
#define AW20216S_EN_PIN_2 B9