Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update acari_right.overlay #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/acari.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y
# CONFIG_BT_BAS=n
CONFIG_NFCT_PINS_AS_GPIOS=y
3 changes: 3 additions & 0 deletions config/boards/shields/acari/Kconfig.shield
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# SPDX-License-Identifier: MIT
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
CONFIG_I2C=y
CONFIG_I2C_0=y

config SHIELD_ACARI_LEFT
def_bool $(shields_list_contains,acari_left)

Expand Down
10 changes: 9 additions & 1 deletion config/boards/shields/acari/acari_right.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "acari.dtsi"

&default_transform {
col-offset = <5>;
col-offset = <5>;
};

&kscan0 {
Expand All @@ -19,3 +19,11 @@
, <&xiao_d 0 GPIO_ACTIVE_HIGH>
;
};

/* Configure NFC pins as I2C (SDA and SCL) */
&i2c0 {
status = "okay";
sda-pin = <9>; /* P0.09 (NFC1) for SDA */
scl-pin = <10>; /* P0.10 (NFC2) for SCL */
clock-frequency = <I2C_BITRATE_STANDARD>; /* Set desired I2C clock frequency */
};
Loading