Move USB_MAX_POWER_CONSUMPTION to data driven (#20648)

This commit is contained in:
Ryan
2023-05-01 17:37:12 +10:00
committed by GitHub
parent 12d42cedd2
commit 2944e93870
99 changed files with 90 additions and 226 deletions

View File

@@ -23,8 +23,6 @@
#define UNUSABLE_PINS \
{ B4, D6, F1, F5, F6, F7 }
#define USB_MAX_POWER_CONSUMPTION 100
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x5043",
"pid": "0x4D6F",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"bootmagic": {
"matrix": [0, 3]

View File

@@ -23,8 +23,6 @@
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100
#define ROTATIONAL_TRANSFORM_ANGLE 20
// If board has a debug LED, you can enable it by defining this

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x5043",
"pid": "0x5442",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"bootmagic": {
"matrix": [0, 3]

View File

@@ -24,8 +24,6 @@
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100
// If board has a debug LED, you can enable it by defining this
// #define DEBUG_LED_PIN F7

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x5043",
"pid": "0x1EAB",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"bootmagic": {
"matrix": [0, 3]

View File

@@ -24,8 +24,6 @@
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define USB_MAX_POWER_CONSUMPTION 100
#define ADNS5050_SCLK_PIN B7
#define ADNS5050_SDIO_PIN C6
#define ADNS5050_CS_PIN B4

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x5043",
"pid": "0x54A3",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",