mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-01 02:33:53 +00:00
* Fixed SPI can't compiled issue * Added solenoid support and use 256KB ldscript for Onekey board
15 lines
403 B
C
15 lines
403 B
C
// Copyright 2023-2024 HorrorTroll <https://github.com/HorrorTroll>
|
|
// Copyright 2023-2024 Zhaqian <https://github.com/zhaqian12>
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#define ADC_PIN A0
|
|
|
|
#define BACKLIGHT_PWM_DRIVER PWMD5
|
|
#define BACKLIGHT_PWM_CHANNEL 1
|
|
|
|
#define SOLENOID_PIN B12
|
|
#define SOLENOID_PINS { B12, B13, B14, B15 }
|
|
#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }
|