From 1716ce6370d985618520e4003c5f0677251ee9d9 Mon Sep 17 00:00:00 2001 From: Maximilian Engl <43675074+englmaxi@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:28:44 +0200 Subject: [PATCH] Enable ZMK studio --- boards/shields/akohekohe/akohekohe.conf | 3 +++ boards/shields/rommana/rommana_dongle.conf | 5 ++++- boards/shields/rommana/rommana_left.conf | 5 ++++- boards/shields/sweep/sweep_dongle.conf | 5 ++++- boards/shields/sweep/sweep_left.conf | 5 ++++- build.yaml | 12 +++++++++--- 6 files changed, 28 insertions(+), 7 deletions(-) diff --git a/boards/shields/akohekohe/akohekohe.conf b/boards/shields/akohekohe/akohekohe.conf index e3e2808..d553e25 100644 --- a/boards/shields/akohekohe/akohekohe.conf +++ b/boards/shields/akohekohe/akohekohe.conf @@ -12,3 +12,6 @@ CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y # sleep timeout to 30 min CONFIG_ZMK_SLEEP=y CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000 + +# studio +CONFIG_ZMK_STUDIO=y diff --git a/boards/shields/rommana/rommana_dongle.conf b/boards/shields/rommana/rommana_dongle.conf index e4861a5..95963df 100644 --- a/boards/shields/rommana/rommana_dongle.conf +++ b/boards/shields/rommana/rommana_dongle.conf @@ -12,4 +12,7 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=7 CONFIG_ZMK_DISPLAY=y CONFIG_ZMK_IDLE_TIMEOUT=60000 CONFIG_BT_BAS=n -CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y \ No newline at end of file +CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y + +# studio +CONFIG_ZMK_STUDIO=y \ No newline at end of file diff --git a/boards/shields/rommana/rommana_left.conf b/boards/shields/rommana/rommana_left.conf index 5b066fb..5040bd4 100644 --- a/boards/shields/rommana/rommana_left.conf +++ b/boards/shields/rommana/rommana_left.conf @@ -7,4 +7,7 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=7 # battery reporting CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y -CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y \ No newline at end of file +CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y + +# studio +CONFIG_ZMK_STUDIO=y \ No newline at end of file diff --git a/boards/shields/sweep/sweep_dongle.conf b/boards/shields/sweep/sweep_dongle.conf index e4861a5..95963df 100644 --- a/boards/shields/sweep/sweep_dongle.conf +++ b/boards/shields/sweep/sweep_dongle.conf @@ -12,4 +12,7 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=7 CONFIG_ZMK_DISPLAY=y CONFIG_ZMK_IDLE_TIMEOUT=60000 CONFIG_BT_BAS=n -CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y \ No newline at end of file +CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y + +# studio +CONFIG_ZMK_STUDIO=y \ No newline at end of file diff --git a/boards/shields/sweep/sweep_left.conf b/boards/shields/sweep/sweep_left.conf index 5b066fb..5040bd4 100644 --- a/boards/shields/sweep/sweep_left.conf +++ b/boards/shields/sweep/sweep_left.conf @@ -7,4 +7,7 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=7 # battery reporting CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y -CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y \ No newline at end of file +CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y + +# studio +CONFIG_ZMK_STUDIO=y \ No newline at end of file diff --git a/build.yaml b/build.yaml index d9485e8..1ca5309 100644 --- a/build.yaml +++ b/build.yaml @@ -4,19 +4,23 @@ include: # akohekohe - board: seeeduino_xiao_ble shield: akohekohe rgbled_adapter + snippet: studio-rpc-usb-uart + artifact-name: akohekohe - board: seeeduino_xiao_ble shield: akohekohe rgbled_adapter - snippet: zmk-usb-logging + snippet: zmk-usb-logging studio-rpc-usb-uart cmake-args: -DCONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000 artifact-name: akohekohe_with_logging # rommana - board: seeeduino_xiao_ble shield: rommana_dongle dongle_display + snippet: studio-rpc-usb-uart artifact-name: rommana_central_dongle - board: seeeduino_xiao_ble shield: rommana_left rgbled_adapter + snippet: studio-rpc-usb-uart artifact-name: rommana_central_left - board: seeeduino_xiao_ble shield: rommana_left rgbled_adapter @@ -28,16 +32,18 @@ include: - board: seeeduino_xiao_ble shield: rommana_dongle dongle_display - snippet: zmk-usb-logging + snippet: zmk-usb-logging studio-rpc-usb-uart cmake-args: -DCONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000 artifact-name: rommana_central_dongle_with_logging # sweep - board: seeeduino_xiao_ble shield: sweep_dongle dongle_display + snippet: studio-rpc-usb-uart artifact-name: sweep_central_dongle - board: nice_nano_v2 shield: sweep_left led_indicator + snippet: studio-rpc-usb-uart artifact-name: sweep_central_left - board: nice_nano_v2 shield: sweep_left led_indicator @@ -49,7 +55,7 @@ include: - board: nice_nano_v2 shield: sweep_left led_indicator - snippet: zmk-usb-logging + snippet: zmk-usb-logging studio-rpc-usb-uart cmake-args: -DCONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000 artifact-name: sweep_central_left_with_logging