Browse Source

refactor: Move to Zephyr v3.0.0 + ZMK fixes.

xmkb
Peter Johanson 3 years ago committed by Pete Johanson
parent
commit
94ac100b6b
  1. 2
      .devcontainer/Dockerfile
  2. 2
      .github/workflows/build.yml
  3. 2
      .github/workflows/hardware-metadata-validation.yml
  4. 2
      .github/workflows/test.yml
  5. 1
      app/src/behaviors/behavior_none.c
  6. 2
      app/src/behaviors/behavior_reset.c
  7. 1
      app/src/behaviors/behavior_transparent.c
  8. 1
      app/src/split_listener.c
  9. 10
      app/west.yml

2
.devcontainer/Dockerfile

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
FROM docker.io/zmkfirmware/zmk-dev-arm:2.5
FROM docker.io/zmkfirmware/zmk-dev-arm:3.0
COPY .bashrc tmp
RUN mv /tmp/.bashrc ~/.bashrc

2
.github/workflows/build.yml

@ -17,7 +17,7 @@ jobs: @@ -17,7 +17,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:2.5
image: docker.io/zmkfirmware/zmk-build-arm:3.0
needs: compile-matrix
strategy:
matrix:

2
.github/workflows/hardware-metadata-validation.yml

@ -29,7 +29,7 @@ jobs: @@ -29,7 +29,7 @@ jobs:
validate-metadata:
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-dev-arm:2.5
image: docker.io/zmkfirmware/zmk-dev-arm:3.0
steps:
- uses: actions/checkout@v2
- name: Install dependencies

2
.github/workflows/test.yml

@ -16,7 +16,7 @@ jobs: @@ -16,7 +16,7 @@ jobs:
integration_test:
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:2.5
image: docker.io/zmkfirmware/zmk-build-arm:3.0
steps:
- name: Checkout
uses: actions/checkout@v2

1
app/src/behaviors/behavior_none.c

@ -7,7 +7,6 @@ @@ -7,7 +7,6 @@
#define DT_DRV_COMPAT zmk_behavior_none
#include <device.h>
#include <power/reboot.h>
#include <drivers/behavior.h>
#include <logging/log.h>

2
app/src/behaviors/behavior_reset.c

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
#define DT_DRV_COMPAT zmk_behavior_reset
#include <device.h>
#include <power/reboot.h>
#include <sys/reboot.h>
#include <drivers/behavior.h>
#include <logging/log.h>

1
app/src/behaviors/behavior_transparent.c

@ -7,7 +7,6 @@ @@ -7,7 +7,6 @@
#define DT_DRV_COMPAT zmk_behavior_transparent
#include <device.h>
#include <power/reboot.h>
#include <drivers/behavior.h>
#include <logging/log.h>

1
app/src/split_listener.c

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
*/
#include <device.h>
#include <power/reboot.h>
#include <logging/log.h>
#include <zmk/split/bluetooth/service.h>

10
app/west.yml

@ -4,12 +4,14 @@ manifest: @@ -4,12 +4,14 @@ manifest:
url-base: https://github.com/zephyrproject-rtos
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: petejohanson
url-base: https://github.com/petejohanson
- name: microsoft
url-base: https://github.com/microsoft
projects:
- name: zephyr
remote: zmkfirmware
revision: v2.5.0+zmk-fixes
remote: petejohanson
revision: v3.0.0+zmk-fixes
clone-depth: 1
import:
# TODO: Rename once upstream offers option like `exclude` or `denylist`
@ -33,9 +35,5 @@ manifest: @@ -33,9 +35,5 @@ manifest:
- openthread
- edtt
- trusted-firmware-m
- name: uf2
remote: microsoft
path: tools/uf2
clone-depth: 1
self:
west-commands: scripts/west-commands.yml

Loading…
Cancel
Save