mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-27 05:36:52 +00:00
8ad2e30732
Affects: - `atreus` - `cablecardesigns/cypher/rev6` - `caffeinated/serpent65` - `cannonkeys/adelie` - `cannonkeys/aella` - `cannonkeys/an_c` - `cannonkeys/atlas` - `cannonkeys/atlas_alps` - `cannonkeys/balance` - `cannonkeys/brutalv2_65` - `cannonkeys/chimera65` - `cannonkeys/cloudline` - `cannonkeys/crin` - `cannonkeys/db60` - `cannonkeys/devastatingtkl` - `cannonkeys/gentoo` - `cannonkeys/gentoo_hs` - `cannonkeys/hoodrowg` - `cannonkeys/instant60` - `cannonkeys/instant65` - `cannonkeys/iron165` - `cannonkeys/malicious_ergo` - `cannonkeys/obliterated75` - `cannonkeys/onyx` - `cannonkeys/ortho48` - `cannonkeys/ortho60` - `cannonkeys/ortho75` - `cannonkeys/practice60` - `cannonkeys/practice65` - `cannonkeys/rekt1800` - `cannonkeys/ripple` - `cannonkeys/sagittarius` - `cannonkeys/satisfaction75` - `cannonkeys/savage65` - `cannonkeys/tmov2` - `cannonkeys/tsukuyomi` - `cannonkeys/vicious40` - `capsunlocked/cu24` - `capsunlocked/cu65` - `capsunlocked/cu7` - `capsunlocked/cu75` - `capsunlocked/cu80/v1`
30 lines
639 B
C
30 lines
639 B
C
// 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
|
|
|
|
#define WS2812_SPI_DRIVER SPID2
|
|
#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
|