1
0
Fork 0

Move backlight config to data driven (#19910)

This commit is contained in:
Ryan 2023-02-26 08:37:57 +11:00 committed by GitHub
parent ba7546a334
commit 314f6c1ddb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1003 changed files with 1873 additions and 1684 deletions

View file

@ -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

View file

@ -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",