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`
44 lines
1.2 KiB
C
44 lines
1.2 KiB
C
/*
|
|
Copyright 2015 Jun Wako <wakojun@gmail.com>
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#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
|