Move USB_MAX_POWER_CONSUMPTION
to data driven (#20648)
This commit is contained in:
@@ -16,11 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
// The Teensy LC power consumption is unknown as per
|
||||
// https://www.pjrc.com/store/teensylc.html but since
|
||||
// https://www.pjrc.com/store/teensy41.html says 100mA, let's go with half.
|
||||
#define USB_MAX_POWER_CONSUMPTION 50
|
||||
|
||||
/* We use the i.MX RT1060 high-speed GPIOs (GPIO6-9) which are connected to the
|
||||
* AHB bus (AHB_CLK_ROOT), which runs at the same speed as the ARM Core Clock,
|
||||
* i.e. 600 MHz. See MIMXRT1062, page 949, 12.1 Chip-specific GPIO information.
|
||||
|
@@ -4,7 +4,8 @@
|
||||
"usb": {
|
||||
"vid": "0x1209",
|
||||
"pid": "0x345C",
|
||||
"device_version": "0.0.1"
|
||||
"device_version": "0.0.1",
|
||||
"max_power": 50
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"],
|
||||
|
Reference in New Issue
Block a user