2022-06-08 00:29:31 +06:00
|
|
|
// Copyright 2022 Andrew Kannan (@awkannan)
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define BACKLIGHT_PWM_DRIVER PWMD3
|
|
|
|
#define BACKLIGHT_PWM_CHANNEL 1
|
|
|
|
#define BACKLIGHT_PAL_MODE 1
|
|
|
|
|
2023-09-25 09:06:42 +06:00
|
|
|
#define WS2812_SPI_DRIVER SPID2
|
2022-06-08 00:29:31 +06:00
|
|
|
#define WS2812_SPI_MOSI_PAL_MODE 0
|
|
|
|
#define WS2812_SPI_SCK_PAL_MODE 0
|
|
|
|
#define WS2812_SPI_SCK_PIN B13
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Feature disable options
|
|
|
|
* These options are also useful to firmware size reduction.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* disable debug print */
|
|
|
|
//#define NO_DEBUG
|
|
|
|
|
|
|
|
/* disable print */
|
|
|
|
//#define NO_PRINT
|
|
|
|
|
|
|
|
/* disable action features */
|
|
|
|
//#define NO_ACTION_LAYER
|
|
|
|
//#define NO_ACTION_TAPPING
|
|
|
|
//#define NO_ACTION_ONESHOT
|