Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
b710695
DON'T USE THIS, IT BARELY HAS BEEN TESTED.
petejohanson Nov 18, 2024
3648f10
Bump to 4.0, why not, you shouldn't be using this anyways.
petejohanson Dec 7, 2024
340f06d
Random build fixes.
petejohanson Dec 9, 2024
d415bde
refactor(tests): Move to native_sim for tests.
petejohanson Mar 29, 2025
b8a4e6f
refactor: Move to Zephyr v4.1.0
petejohanson Mar 29, 2025
14b8f15
feat(core): (Optionally) use Zephyr keyboard input devices
petejohanson Mar 29, 2025
ea36196
FIXME: RANDOM Kconfig hacks
petejohanson Mar 29, 2025
d783e94
fix(pointing): Refactor for changes to input API
petejohanson Mar 29, 2025
9d51c26
fix(tests): Fix BLE test to account for Zephyr changes
petejohanson Mar 29, 2025
f1c475f
fix(sensors): Initialize sensor data to 0 before fetching.
petejohanson Mar 30, 2025
f5c4731
refactor(input): Adjust split input to input API changes.
petejohanson Mar 30, 2025
adbe02f
chore(bluetooth): Minor cleanup of split BT code after refactor
petejohanson Mar 30, 2025
87e88ab
refactor: Fix up BLE tests after Zephyr upgrade.
petejohanson Mar 30, 2025
21d194c
refactor(boards): Move to upstream xiao_ble board ID.
petejohanson Mar 30, 2025
dc51126
chore: Move to Zephyr 4.1.0 branch.
petejohanson May 29, 2025
23686f4
refactor!(boards): Move nice!nano to HWMv2, and proper revisioning
petejohanson May 29, 2025
d827fbe
fix: Disable Nordic dt-bindings header checks.
petejohanson May 29, 2025
0221ec2
fix(studio): Correct `memset` usage.
petejohanson May 29, 2025
5ce7570
fix: Refactor for new Zephyr PM API
petejohanson May 29, 2025
b68e191
refactor(ble): Use correct BT opt for connectable.
petejohanson May 29, 2025
c3bc4b1
refactor(boards): Move MakerDiary M2 board to HWMv2.
petejohanson May 29, 2025
de67006
fix(studio): Correct usage of thread analyzer API
petejohanson May 30, 2025
018dff2
chore: Remove nanopb module override.
petejohanson May 30, 2025
20498bd
feat(core): mapper for magic bootloader values.
petejohanson Dec 2, 2024
4ccffec
feat(behaviors): Add retention boot mode to reset.
petejohanson Dec 2, 2024
f13f462
feat: Add double tap to enter bootloader functionality
petejohanson Mar 24, 2025
c1a146c
FIXME: Move to 4.1-branch container.
petejohanson Jun 1, 2025
3af124b
refactor(boards): Move nrfMicro to HWMv2
petejohanson Jun 2, 2025
06274c5
refactor(boards): Move QMK Proton-C to HWMv2
petejohanson Jun 2, 2025
a093a86
chore(ci): Adjust core coverage for new board IDs.
petejohanson Jun 2, 2025
f6daa8f
refactor(boards): Move BDN9 to HWMv2
petejohanson Jun 2, 2025
636eb74
refactor(boards): Move nice!60 to HWMv2
petejohanson Jun 2, 2025
136e3d6
refactor: Adjust how we're searching/loading keymap files
petejohanson Jun 4, 2025
451b116
refactor(boards): Move planck rev6 to HWMv2.
petejohanson Jun 4, 2025
332cc58
refactor(boards): Move OLKB Preonic to HWMv2
petejohanson Jun 4, 2025
55146e0
chore(deps): Pull in Zephyr optional group for nanopb.
petejohanson Jun 4, 2025
8322ffa
fix(ci): Prevent slash characters in artifact names.
petejohanson Jun 4, 2025
55fdb0c
fix(usb): Adjust Kconfig settings for USB.
petejohanson Jun 13, 2025
59d9e69
fix(display): Fix setting the small font for the mono theme.
petejohanson Jun 16, 2025
6ac1d78
REMOVEME: Don't use nice view custom status screen until fixed.
petejohanson Jun 16, 2025
4a2c91e
chore(ci): Fix changed board IDs for core coverage.
petejohanson Jun 4, 2025
68fbf5f
fix(underglow): Remove use of removed Kconfig WS2812 symbol
petejohanson Jun 16, 2025
15f18ad
refactor(boards): Move PW CKP boards to HWMv2
petejohanson Jul 3, 2025
902bc17
refactor(boards): Move Puchi BLE to HWMv2
petejohanson Jul 3, 2025
d29a1db
refactor(boards): Migrate Ferris rev02 to HWMv2.
petejohanson Jul 3, 2025
2965fce
refactor(boards): Move Pillbug to HWMv2
petejohanson Jul 3, 2025
c8c41c1
refactor(boards): Migrate s40nc to HWMv2
petejohanson Jul 3, 2025
661d53a
refactor(boards): Move bluemicro840 board to HWMv2.
petejohanson Jul 3, 2025
ebecfef
fix(boards): Retore bootloader support on XIAO BLE.
petejohanson Jul 9, 2025
6a5d2a6
refactor(boards): Further PW board HWMv2 migration work.
petejohanson Aug 3, 2025
c0137d7
REMOVEME: Verbose testing to see errors.
petejohanson Aug 5, 2025
36b22f6
refactor(boards): Move Adv360 Pro to HWMv2.
petejohanson Aug 6, 2025
b878820
refactor(boards): Move Glove80 to HMWv2
petejohanson Aug 6, 2025
6839722
refactor(boards): Move Mikoto to HMWv2.
petejohanson Aug 6, 2025
b585c99
refactor(boards): Move kbdfans Tofu65 2.0 to HMWv2
petejohanson Aug 6, 2025
f809e8c
refactor(boards): Remove dz60rgb board
petejohanson Aug 6, 2025
6609c1c
refactor(boards): Move Corneish Zen to HMWv2
petejohanson Aug 10, 2025
fdc59a2
refactor(boards): Migrate Corne-ish Zen status screen
caksoylar Aug 12, 2025
5580d0a
refactor(boards): Add boot mode to the nice!nano using common dtsi
petejohanson Aug 19, 2025
3018892
refactor(boards): Add boot mode support to nice!60 board
petejohanson Aug 19, 2025
da96916
feat(battery): Support fuel gauge API
joelspadin Aug 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/zmkfirmware/zmk-dev-arm:3.5
FROM docker.io/zmkfirmware/zmk-dev-arm:4.1-branch

COPY .bashrc tmp
RUN mv /tmp/.bashrc ~/.bashrc
2 changes: 1 addition & 1 deletion .github/workflows/ble-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:3.5
image: docker.io/zmkfirmware/zmk-build-arm:4.1-branch
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-user-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
echo "extra_west_args=${extra_west_args}" >> $GITHUB_ENV
echo "extra_cmake_args=${shield:+-DSHIELD=\"$shield\"}${zmk_load_arg}" >> $GITHUB_ENV
echo "display_name=${shield:+$shield - }${board}" >> $GITHUB_ENV
echo "artifact_name=${artifact_name:-${shield:+$shield-}${board}-zmk}" >> $GITHUB_ENV
echo "artifact_name=${artifact_name:-${shield:+$shield-}${board//\//_}}-zmk}" >> $GITHUB_ENV

- name: Copy config files to isolated temporary directory
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:3.5
image: docker.io/zmkfirmware/zmk-build-arm:4.1-branch
needs: compile-matrix
strategy:
matrix:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
}

const cmakeName = shieldArgs['cmake-args'] ? '-' + (shieldArgs.nickname || shieldArgs['cmake-args'].split(' ').join('')) : '';
const artifactName = `${{ matrix.board }}${shieldArgs.shield ? '-' + shieldArgs.shield : ''}${cmakeName}-zmk`;
const artifactName = `${{ matrix.board }}${shieldArgs.shield ? '-' + shieldArgs.shield : ''}${cmakeName}-zmk`.replace('/', '_');

await artifact.uploadArtifact(artifactName, files, rootDirectory, options);
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hardware-metadata-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
validate-metadata:
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-dev-arm:3.5
image: docker.io/zmkfirmware/zmk-dev-arm:4.1-branch
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:3.5
image: docker.io/zmkfirmware/zmk-build-arm:4.1-branch
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
run: west zephyr-export
- name: Test ${{ matrix.test }}
working-directory: app
run: west test tests/${{ matrix.test }}
run: ZMK_TESTS_VERBOSE=1 west test tests/${{ matrix.test }}
- name: Archive artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ zephyr_syscall_header(${APPLICATION_SOURCE_DIR}/include/drivers/ext_power.h)
# Add your source file to the "app" target. This must come after
# find_package(Zephyr) which defines the target.
target_include_directories(app PRIVATE include)
add_subdirectory(src/boot)
target_sources(app PRIVATE src/stdlib.c)
target_sources(app PRIVATE src/activity.c)
target_sources(app PRIVATE src/behavior.c)
Expand Down
26 changes: 19 additions & 7 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ config ZMK_USB_BOOT
select USB_HID_BOOT_PROTOCOL
select USB_DEVICE_SOF

config USB_DEVICE_INITIALIZE_AT_BOOT
default n

if ZMK_USB

config USB_NUMOF_EP_WRITE_RETRIES
Expand Down Expand Up @@ -186,8 +189,8 @@ config BT_CTLR_PHY_2M
default n if ZMK_BLE_EXPERIMENTAL_CONN

# BT_TINYCRYPT_ECC is required for BT_SMP_SC_PAIR_ONLY when using HCI
config BT_TINYCRYPT_ECC
default y if BT_HCI && !BT_CTLR
# config BT_TINYCRYPT_ECC
# default y if BT_HCI && !BT_CTLR

config ZMK_BLE_THREAD_STACK_SIZE
int "BLE notify thread stack size"
Expand Down Expand Up @@ -370,14 +373,14 @@ menu "Power Management"

config ZMK_BATTERY_REPORTING
bool "Battery level detection/reporting"
select SENSOR
select ZMK_LOW_PRIORITY_WORK_QUEUE
imply BT_BAS if ZMK_BLE
imply SENSOR

if ZMK_BATTERY_REPORTING
if ZMK_BATTERY_REPORTING && SENSOR

choice ZMK_BATTERY_REPORTING_FETCH_MODE
prompt "Battery Reporting Fetch Mode"
prompt "Battery Reporting Sensor Fetch Mode"

config ZMK_BATTERY_REPORTING_FETCH_MODE_STATE_OF_CHARGE
bool "State of charge"
Expand Down Expand Up @@ -478,13 +481,15 @@ endmenu

menu "Advanced"

rsource "src/boot/Kconfig"

menu "Initialization Priorities"

if USB_DEVICE_STACK

config ZMK_USB_INIT_PRIORITY
int "USB Init Priority"
default 94
default 96

config ZMK_USB_HID_INIT_PRIORITY
int "USB HID Init Priority"
Expand Down Expand Up @@ -653,6 +658,13 @@ endmenu # Advanced

endmenu # ZMK

if SOC_FAMILY_NORDIC_NRF

config NRF_SOC_VALIDATE_HEADERS_DISABLED
default y

endif

config KERNEL_BIN_NAME
default "zmk"

Expand Down Expand Up @@ -705,7 +717,7 @@ rsource "boards/shields/*/Kconfig.shield"
# Duplicated from Kconfig.zephyr
osource "$(KCONFIG_BINARY_DIR)/Kconfig.shield.defconfig"

source "$(BOARD_DIR)/Kconfig.defconfig"
# source "$(BOARD_DIR)/Kconfig.defconfig"

# This loads board and shield Kconfigs found under zmk-config/config/
osource "$(ZMK_CONFIG)/boards/shields/*/Kconfig.defconfig"
Expand Down
7 changes: 0 additions & 7 deletions app/boards/arm/adv360pro/Kconfig

This file was deleted.

12 changes: 0 additions & 12 deletions app/boards/arm/adv360pro/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions app/boards/arm/bdn9/Kconfig.board

This file was deleted.

11 changes: 0 additions & 11 deletions app/boards/arm/bdn9/bdn9_rev2.yml

This file was deleted.

8 changes: 0 additions & 8 deletions app/boards/arm/bluemicro840/Kconfig.board

This file was deleted.

7 changes: 0 additions & 7 deletions app/boards/arm/bt60/Kconfig

This file was deleted.

12 changes: 0 additions & 12 deletions app/boards/arm/bt60/Kconfig.board

This file was deleted.

13 changes: 0 additions & 13 deletions app/boards/arm/bt60/bt60_v1.zmk.yml

This file was deleted.

15 changes: 0 additions & 15 deletions app/boards/arm/bt60/bt60_v1_hs.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions app/boards/arm/ckp/Kconfig

This file was deleted.

16 changes: 0 additions & 16 deletions app/boards/arm/ckp/Kconfig.board

This file was deleted.

28 changes: 0 additions & 28 deletions app/boards/arm/ckp/Kconfig.defconfig

This file was deleted.

10 changes: 0 additions & 10 deletions app/boards/arm/corneish_zen/Kconfig

This file was deleted.

24 changes: 0 additions & 24 deletions app/boards/arm/corneish_zen/Kconfig.board

This file was deleted.

16 changes: 0 additions & 16 deletions app/boards/arm/corneish_zen/corneish_zen_v1.zmk.yml

This file was deleted.

20 changes: 0 additions & 20 deletions app/boards/arm/corneish_zen/corneish_zen_v2.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions app/boards/arm/dz60rgb/Kconfig.board

This file was deleted.

Loading