Skip to content

Commit df6a6c9

Browse files
committed
nicenitsud
0 parents  commit df6a6c9

9 files changed

Lines changed: 79 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
on: [push, pull_request, workflow_dispatch]
2+
3+
jobs:
4+
build:
5+
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main

boards/shields/.gitkeep

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
if SHIELD_NICENITSUD
2+
endif
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
config SHIELD_NICENITSUD
2+
def_bool $(shields_list_contains,nicenitsud)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
&pinctrl {
2+
spi0_default: spi0_default {
3+
group1 {
4+
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>,
5+
<NRF_PSEL(SPIM_MOSI, 1, 17)>;
6+
};
7+
};
8+
spi0_sleep: spi0_sleep {
9+
group1 {
10+
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>,
11+
<NRF_PSEL(SPIM_MOSI, 0, 17)>;
12+
low-power-enable;
13+
};
14+
};
15+
};
16+
17+
18+
nice_view_spi: &spi0 {
19+
compatible = "nordic,nrf-spim";
20+
pinctrl-0 = <&spi0_default>;
21+
pinctrl-1 = <&spi0_sleep>;
22+
pinctrl-names = "default", "sleep";
23+
cs-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
24+
};
25+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
file_format: "1"
2+
id: nicenitsud
3+
name: nicenitsud
4+
type: shield
5+
url: https://github.com/trimmerdb/nicenitsud
6+
requires: [i2c_oled]
7+
exposes: [nice_view_header]

build.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This file generates the GitHub Actions matrix.
2+
# For simple board + shield combinations, add them to the top level board and
3+
# shield arrays, for more control, add individual board + shield combinations
4+
# to the `include` property. You can also use the `cmake-args` property to
5+
# pass flags to the build command and `artifact-name` to assign a name to
6+
# distinguish build outputs from each other:
7+
#
8+
# board: [ "nice_nano_v2" ]
9+
# shield: [ "corne_left", "corne_right" ]
10+
# include:
11+
# - board: bdn9_rev2
12+
# - board: nice_nano_v2
13+
# shield: reviung41
14+
# - board: nice_nano_v2
15+
# shield: corne_left
16+
# cmake-args: -DCONFIG_ZMK_USB_LOGGING=y
17+
# artifact-name: corne_left_with_logging
18+
#
19+
---
20+
include:
21+
- board: nice_nano_v2
22+
shield: nicenitsud

config/west.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
manifest:
2+
remotes:
3+
- name: zmkfirmware
4+
url-base: https://github.com/zmkfirmware
5+
# Additional modules containing boards/shields/custom code can be listed here as well
6+
# See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects
7+
projects:
8+
- name: zmk
9+
remote: zmkfirmware
10+
revision: main
11+
import: app/west.yml
12+
self:
13+
path: config

zephyr/module.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build:
2+
settings:
3+
board_root: .

0 commit comments

Comments
 (0)