Browse Source

Tweaks for Proton-C board.

xmkb
Pete Johanson 5 years ago
parent
commit
0712dadd29
  1. 3
      app/boards/arm/proton_c/Kconfig.defconfig
  2. 3
      app/boards/arm/proton_c/arduino_pro_micro_pins.dtsi

3
app/boards/arm/proton_c/Kconfig.defconfig

@ -8,4 +8,7 @@ if BOARD_QMK_PROTON_C
config BOARD config BOARD
default "proton_c" default "proton_c"
config ZMK_USB
default y
endif # BOARD_QMK_PROTON_C endif # BOARD_QMK_PROTON_C

3
app/boards/arm/proton_c/arduino_pro_micro_pins.dtsi

@ -11,6 +11,7 @@
gpio-map-mask = <0xffffffff 0xffffffc0>; gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>; gpio-map-pass-thru = <0 0x3f>;
gpio-map = gpio-map =
/* Down the front left side */
<1 0 &gpioa 9 0>, /* D1 */ <1 0 &gpioa 9 0>, /* D1 */
<0 0 &gpioa 10 0>, /* D0 */ <0 0 &gpioa 10 0>, /* D0 */
<2 0 &gpiob 7 0>, /* D2 */ <2 0 &gpiob 7 0>, /* D2 */
@ -21,6 +22,8 @@
<7 0 &gpiob 2 0>, /* D7 */ <7 0 &gpiob 2 0>, /* D7 */
<8 0 &gpiob 1 0>, /* D8/A8 */ <8 0 &gpiob 1 0>, /* D8/A8 */
<9 0 &gpiob 0 0>, /* D9/A9 */ <9 0 &gpiob 0 0>, /* D9/A9 */
/* Back up the front right side */
<10 0 &gpiob 9 0>, /* D10/A10 */ <10 0 &gpiob 9 0>, /* D10/A10 */
<16 0 &gpiob 15 0>, /* D16 */ <16 0 &gpiob 15 0>, /* D16 */
<14 0 &gpiob 14 0>, /* D14 */ <14 0 &gpiob 14 0>, /* D14 */

Loading…
Cancel
Save