Skip to content

Commit

Permalink
refactor corne moudle
Browse files Browse the repository at this point in the history
  • Loading branch information
tokyo2006 committed Dec 7, 2024
1 parent c034595 commit f985f4e
Show file tree
Hide file tree
Showing 42 changed files with 37 additions and 1,998 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,10 @@ name: Build ZMK firmware
on:
workflow_dispatch:
push:
paths:
- "config/**"
paths-ignore:
- "keymap-drawer/**"

jobs:
build:
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
draw:
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
permissions:
contents: write
with:
commit_message: "[Draw] ${{ github.event.head_commit.message }}"
amend_commit: false
install_branch: "main"
keymap_patterns: "config/*.keymap"
json_path: "config"
config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
output_folder: "keymap-drawer"
destination: "both"
parse_args: "" # map of extra args to pass to `keymap parse`, e.g. "corne:'-l Def Lwr Rse' cradio:''"
draw_args: "" # map of extra args to pass to `keymap draw`, e.g. "corne:'-k corne_rotated' cradio:'-k paroxysm'"

19 changes: 19 additions & 0 deletions .github/workflows/draw.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Draw Keymap
on:
workflow_dispatch:
push:
paths:
- "config/**"
- .github/workflows/draw.yml
- keymap_drawer.config.yaml

jobs:
draw:
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
permissions:
contents: write
with:
commit_message: "[Draw] ${{ github.event.head_commit.message }}"
keymap_patterns: "config/*.keymap"
output_folder: "keymap-drawer"
fail_on_error: ${{ fromJSON(true) }}
21 changes: 12 additions & 9 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
---
include:
- board: corne_left
- board: corne_right
- board: nice_nano_v2
- board: eyelash_corne_left
shield: nice_view
- board: eyelash_corne_right
shield: nice_view_custom
- board: eyelash_corne_left
shield: nice_view
snippet: studio-rpc-usb-uart
cmake-args: -DCONFIG_ZMK_STUDIO=y
artifact-name: eyelash_corne_studio_left
- board: eyelash_corne_left
shield: settings_reset
- board: corne_left
shield: nice_view_adapter nice_view
artifact-name: corne_left_nice_view
- board: corne_right
shield: nice_view_adapter nice_view_custom
artifact-name: corne_right_nice_view
#snippet: zmk-usb-logging
10 changes: 0 additions & 10 deletions config/Kconfig

This file was deleted.

15 changes: 0 additions & 15 deletions config/boards/arm/corne/Kconfig.board

This file was deleted.

70 changes: 0 additions & 70 deletions config/boards/arm/corne/Kconfig.defconfig

This file was deleted.

6 changes: 0 additions & 6 deletions config/boards/arm/corne/board.cmake

This file was deleted.

24 changes: 0 additions & 24 deletions config/boards/arm/corne/corne.conf

This file was deleted.

189 changes: 0 additions & 189 deletions config/boards/arm/corne/corne.dtsi

This file was deleted.

Loading

0 comments on commit f985f4e

Please sign in to comment.