Move backlight config to data driven (#19910)
This commit is contained in:
parent
ba7546a334
commit
314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions
|
@ -50,12 +50,8 @@
|
|||
#define I2C1_TIMINGR_SCLL 9U
|
||||
|
||||
// LED defines
|
||||
#define BACKLIGHT_PIN B5
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 2
|
||||
#define BACKLIGHT_PAL_MODE 1
|
||||
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
#define SLEEP_LED_GPT_DRIVER GPTD1
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
"pid": "0xA652",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B5",
|
||||
"levels": 6,
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue