forked from kofal.net/zmk
Initial working Clueboard California Macropad w/ proton-c fixes
* Basic Clueboard Californai Macropad shield definition. * New "direct" KSCAN driver that supports non-matrix direct wiring for switches, needed for macropad that doesn't have a matrix at all. * Some renames for existing KSCAN GPIO driver to make the implied "matrix" part explicit.
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
};
|
||||
|
||||
kscan {
|
||||
compatible = "gpio-kscan";
|
||||
compatible = "zmk,kscan-gpio-matrix";
|
||||
label = "Keyscan Matrix";
|
||||
row-gpios = <&gpioa 10 GPIO_ACTIVE_HIGH>,
|
||||
<&gpioa 9 GPIO_ACTIVE_HIGH>,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
board_runner_args(jlink "--device=STM32F303VC" "--speed=4000")
|
||||
board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
|
||||
board_runner_args(jlink "--device=STM32F303CC" "--speed=4000")
|
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||
|
||||
Reference in New Issue
Block a user