-
Notifications
You must be signed in to change notification settings - Fork 67
/
build.yaml
178 lines (167 loc) · 6.84 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# ========================================
# FileName: build.yaml
# Date: 07.06.2023
# Author: Marcos Chow Castro
# Email: [email protected]
# GitHub: https://github.com/mctechnology17
# Brief: configuration file for ZMK firmware
# Board: nice_nano_v2 and puchi_ble_v1
# shield: corne_left nice_view_adapter nice_view,
# corne_right nice_view_adapter nice_view,
# corne_left, corne_right and settings_reset
# =========================================
# ╔═╦═╦═╗
# ╔════╗ ║║║║║╔╝
# ║╔╗╔╗║ ║║║║║╚╗
# ╚╝║║╚╝ ║╠═╩╩═╝
# ║╠═╦═╣╚╦═╦╦═╦╗╔═╦═╦╦╗
# ║║╩╣═╣║║║║║╬║╚╣╬║╬║║║
# ╚╩═╩═╩╩╩╩═╩═╩═╩═╬╗╠╗║
# ╚═╩═╝
# This file generates the GitHub Actions matrix
# For simple board + shield combinations, add them
# to the top level board and shield arrays, for more
# control, add individual board + shield combinations to
# the `include` property, e.g:
#
# board: [ "nice_nano_v2" ]
# shield: [ "corne_left", "corne_right" ]
# include:
# - board: bdn9_rev2
# - board: nice_nano_v2
# shield: reviung41
#
# Split Keyboard Halves Unable to Pair
# https://zmk.dev/docs/troubleshooting
# - board: nice_nano_v2
# shield: settings_reset
# Reset Split Keyboard Procedure
# Perform the following steps to reset both halves of your split keyboard:
# - Put each half of the split keyboard into bootloader mode.
# - Flash one of the halves of the split with the downloaded settings reset UF2
# image. Immediately after flashing the chosen half, put it into bootloader
# mode to avoid accidental bonding between the halves.
# - Repeat step 2 with the other half of the split keyboard.
# - Flash the actual image for each half of the split keyboard (e.g
# my_board_left.uf2 to the left half, my_board_right.uf2 to the right half).
#
# After completing these steps, pair the halves of the split keyboard
# together by resetting them at the same time. Most commonly, this is done by
# grounding the reset pins for each of your keyboard's microcontrollers or
# pressing the reset buttons at the same time.
#
# cmake-args: -DKEYMAP_FILE=../../config/other-corne.keymap -DCONFIG_ZMK_KEYBOARD_NAME=\"other-corne\" -DEXTRA_CONF_FILE=../../config/other-corne.conf
---
include:
### nice_view START ###
# nice_nano_v2 + nice_view_gem
- board: nice_nano_v2
shield: corne_left nice_view_adapter nice_view_gem
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Nice_Corne_View\"
artifact-name: nice_corne_left_view
snippet: studio-rpc-usb-uart
- board: nice_nano_v2
shield: corne_right nice_view_adapter nice_view_gem
cmake-args: -DCONFIG_NICE_VIEW_GEM_ANIMATION=y
artifact-name: nice_corne_right_view
# puchi_ble_v1 + nice_view_gem
- board: puchi_ble_v1
shield: corne_left nice_view_adapter nice_view_gem
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Puchi_Corne_View\"
artifact-name: puchi_corne_left_view
snippet: studio-rpc-usb-uart
- board: puchi_ble_v1
shield: corne_right nice_view_adapter nice_view
artifact-name: puchi_corne_right_view
# peripheral_left + nice_nano_v2 + nice_view_gem
- board: nice_nano_v2
shield: corne_left_peripheral nice_view_adapter nice_view_gem
cmake-args: -DCONFIG_NICE_VIEW_GEM_ANIMATION=y
artifact-name: nice_corne_left_peripheral_view
# peripheral_left + puchi_ble_v1 + nice_view_gem
- board: puchi_ble_v1
shield: corne_left_peripheral nice_view_adapter nice_view_gem
cmake-args: -DCONFIG_NICE_VIEW_GEM_ANIMATION=y
artifact-name: puchi_corne_left_peripheral_view
### nice_view END ###
### nice_oled START ###
# nice_nano_v2 + nice_oled
- board: nice_nano_v2
shield: corne_left nice_oled
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Nice_Corne_Oled\"
artifact-name: nice_corne_left_oled
snippet: studio-rpc-usb-uart
- board: nice_nano_v2
shield: corne_right nice_oled
artifact-name: nice_corne_right_oled
# puchi_ble_v1 + nice_oled
- board: puchi_ble_v1
shield: corne_left nice_oled
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Puchi_Corne_Oled\"
artifact-name: puchi_corne_left_oled
snippet: studio-rpc-usb-uart
- board: puchi_ble_v1
shield: corne_right nice_oled
artifact-name: puchi_corne_right_oled
# peripheral_left + nice_nano_v2 + nice_oled
- board: nice_nano_v2
shield: corne_left_peripheral nice_oled
artifact-name: nice_corne_left_peripheral_oled
# peripheral_left + puchi_ble_v1 + nice_oled
- board: puchi_ble_v1
shield: corne_left_peripheral nice_oled
artifact-name: puchi_corne_left_peripheral_oled
### nice_oled END ###
### Xiao_Dongle START ###
- board: seeeduino_xiao_ble
shield: corne_dongle_xiao
# -DCONFIG_ZMK_USB=y -DCONFIG_ZMK_BLE=y
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Xiao_Dongle\" -DCONFIG_ZMK_STUDIO=y
artifact-name: xiao_corne_dongle
snippet: studio-rpc-usb-uart
- board: seeeduino_xiao_ble
shield: corne_dongle_xiao dongle_display
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Xiao_Dongle_O\"
artifact-name: xiao_corne_dongle_oled
snippet: studio-rpc-usb-uart
# snippet: zmk-usb-logging
### Xiao_Dongle END ###
### ProMicro_Dongle START ###
# nice_nano_v2 dongle
- board: nice_nano_v2
shield: corne_dongle_pro_micro
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Nice_Dongle\"
artifact-name: nice_corne_dongle_pro_micro
snippet: studio-rpc-usb-uart
# snippet: zmk-usb-logging
- board: nice_nano_v2
shield: corne_dongle_pro_micro dongle_display
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Nice_Dongle_O\"
artifact-name: nice_corne_dongle_oled
snippet: studio-rpc-usb-uart
# snippet: zmk-usb-logging
- board: puchi_ble_v1
shield: corne_dongle_pro_micro
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Puchi_Dongle\"
artifact-name: puchi_corne_dongle
snippet: studio-rpc-usb-uart
# snippet: zmk-usb-logging
- board: puchi_ble_v1
shield: corne_dongle_pro_micro nice_view_adapter nice_view_gem
# -DCONFIG_ZMK_USB=y -DCONFIG_ZMK_BLE=y
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Puchi_Dongle_V\" -DCONFIG_ZMK_STUDIO=y
snippet: studio-rpc-usb-uart
artifact-name: puchi_corne_dongle_view
# snippet: zmk-usb-logging
### Pro Micro END ###
### settings_reset START ###
- board: nice_nano_v2
shield: settings_reset
artifact-name: nice_settings_reset
- board: seeeduino_xiao_ble
shield: settings_reset
artifact-name: xiao_settings_reset
- board: puchi_ble_v1
shield: settings_reset
artifact-name: puchi_settings_reset
### settings_reset END ###