Skip to content

Commit

Permalink
refactor: Move to Zephyr v3.0.0 + ZMK fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Apr 3, 2022
1 parent df2e993 commit 94ac100
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 14 deletions.
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:2.5
FROM docker.io/zmkfirmware/zmk-dev-arm:3.0

COPY .bashrc tmp
RUN mv /tmp/.bashrc ~/.bashrc
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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 @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion app/src/behaviors/behavior_none.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion app/src/behaviors/behavior_reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 0 additions & 1 deletion app/src/behaviors/behavior_transparent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 0 additions & 1 deletion app/src/split_listener.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

#include <device.h>
#include <power/reboot.h>
#include <logging/log.h>

#include <zmk/split/bluetooth/service.h>
Expand Down
10 changes: 4 additions & 6 deletions app/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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

0 comments on commit 94ac100

Please sign in to comment.