Compare commits

..

1 Commits

Author SHA1 Message Date
Pete Johanson
0331b7d16e fix(boards): Properly note ZMK compat for xiao_rp2040/zmk variant (#3326)
Add missing board Kconfig file for properly noting ZMK board compat and
enabling boot mode retention for the `xiao_rp2040//zmk` board variant.
2026-04-15 12:24:59 -06:00
2 changed files with 20 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ jobs:
- name: Install @actions/artifact - name: Install @actions/artifact
run: npm install @actions/artifact@5.0.3 run: npm install @actions/artifact@5.0.3
- name: Build - name: Build
uses: actions/github-script@v9 uses: actions/github-script@v7
id: boards-list id: boards-list
with: with:
script: | script: |
@@ -95,7 +95,7 @@ jobs:
throw new Error('Failed to build one or more configurations'); throw new Error('Failed to build one or more configurations');
} }
- name: Upload artifacts - name: Upload artifacts
uses: actions/github-script@v9 uses: actions/github-script@v7
continue-on-error: ${{ github.event_name == 'pull_request' }} continue-on-error: ${{ github.event_name == 'pull_request' }}
id: boards-upload id: boards-upload
with: with:
@@ -146,7 +146,7 @@ jobs:
include-list: ${{ steps.compile-list.outputs.result }} include-list: ${{ steps.compile-list.outputs.result }}
steps: steps:
- name: Join build lists - name: Join build lists
uses: actions/github-script@v9 uses: actions/github-script@v7
id: compile-list id: compile-list
with: with:
script: | script: |
@@ -196,7 +196,7 @@ jobs:
node-version: "14.x" node-version: "14.x"
- name: Install js-yaml - name: Install js-yaml
run: npm install js-yaml run: npm install js-yaml
- uses: actions/github-script@v9 - uses: actions/github-script@v7
id: core-list id: core-list
with: with:
script: | script: |
@@ -225,7 +225,7 @@ jobs:
node-version: "14.x" node-version: "14.x"
- name: Install js-yaml - name: Install js-yaml
run: npm install js-yaml run: npm install js-yaml
- uses: actions/github-script@v9 - uses: actions/github-script@v7
id: boards-list id: boards-list
with: with:
script: | script: |
@@ -303,7 +303,7 @@ jobs:
nightly-include: ${{ steps.nightly-list.outputs.result }} nightly-include: ${{ steps.nightly-list.outputs.result }}
steps: steps:
- name: Create nightly list - name: Create nightly list
uses: actions/github-script@v9 uses: actions/github-script@v7
id: nightly-list id: nightly-list
with: with:
script: | script: |
@@ -356,7 +356,7 @@ jobs:
- name: Install js-yaml - name: Install js-yaml
run: npm install js-yaml run: npm install js-yaml
- name: Aggregate Metadata - name: Aggregate Metadata
uses: actions/github-script@v9 uses: actions/github-script@v7
id: aggregate-metadata id: aggregate-metadata
with: with:
script: | script: |
@@ -374,7 +374,7 @@ jobs:
result-encoding: string result-encoding: string
- name: Organize Metadata - name: Organize Metadata
uses: actions/github-script@v9 uses: actions/github-script@v7
id: organize-metadata id: organize-metadata
with: with:
script: | script: |
@@ -436,7 +436,7 @@ jobs:
with: with:
json: true json: true
escape_json: false escape_json: false
- uses: actions/github-script@v9 - uses: actions/github-script@v7
id: board-changes id: board-changes
with: with:
script: | script: |
@@ -444,7 +444,7 @@ jobs:
const boardChanges = changedFiles.filter(f => f.startsWith('app/boards')); const boardChanges = changedFiles.filter(f => f.startsWith('app/boards'));
return boardChanges.length ? 'true' : 'false'; return boardChanges.length ? 'true' : 'false';
result-encoding: string result-encoding: string
- uses: actions/github-script@v9 - uses: actions/github-script@v7
id: core-changes id: core-changes
with: with:
script: | script: |

View File

@@ -0,0 +1,10 @@
# Copyright (c) 2026 Pete Johanson
# SPDX-License-Identifier: MIT
config BOARD_XIAO_RP2040
select ZMK_BOARD_COMPAT if BOARD_XIAO_RP2040_RP2040_ZMK
imply RETAINED_MEM if BOARD_XIAO_RP2040_RP2040_ZMK
imply RETENTION if BOARD_XIAO_RP2040_RP2040_ZMK
imply RETENTION_BOOT_MODE if BOARD_XIAO_RP2040_RP2040_ZMK