Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit of BoardSource 5x12 ZMK profile. #840

Closed
wants to merge 132 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
863f15b
Initial commit of BoardSource 5x12 ZMK profile.
fsargent Jun 14, 2021
025a372
Fix copyright, remove debug logging, consistent naming.
fsargent Jun 14, 2021
9a7069d
Make name consistent with other boardsource boards
fsargent Jun 21, 2021
d98e0bc
Update copyright, add to hardware list
fsargent Jun 21, 2021
915d107
docs(setup): fix whitespace mismatch in host dependencies
innovaker Jun 14, 2021
b054a7e
docs(setup): remove extra slash from Fedora toolchain install command
innovaker Jun 15, 2021
e40d890
docs(setup): fix whitespace in Fedora toolchain install command
innovaker Jun 15, 2021
6d4e9e5
chore(deps): bump @docusaurus/core in /docs
dependabot[bot] Jun 21, 2021
254d207
chore(deps): bump @docusaurus/preset-classic in /docs
dependabot[bot] Jun 21, 2021
461c500
chore(deps-dev): bump eslint from 7.28.0 to 7.29.0 in /docs
dependabot[bot] Jun 21, 2021
8dce05c
feat(boards): Add nice!nano v2
Nicell Jul 15, 2021
ed45728
feat(docs): Add nice!nano v2 to scripts, actions, and documentation
Nicell Jul 15, 2021
a2713d4
feat: bump `zephyr` to `v2.5.0+zmk-fixes`
innovaker Jun 19, 2021
a80d542
refactor(core): update power API to Zephyr v2.5.0
innovaker Jun 19, 2021
8ab43c6
refactor(core): Move away from deprecated DT API.
petejohanson Mar 22, 2021
a822f44
fix(tests): Revert default to previous formatter.
petejohanson Mar 22, 2021
07aff14
fix(boards): Enable pinmux for bdn9_rev2 by default.
petejohanson Mar 22, 2021
65cdde4
refactor(boards): Switch proton_c to newer pinmux approach.
petejohanson Mar 25, 2021
c83672a
fix(display): Avoid fault w/ LVGL API usage.
petejohanson Mar 25, 2021
057f6ee
docs(setup): bump `ZSDK_VERSION` to `0.12.4`
innovaker Jun 19, 2021
de028af
docs(setup): add `x86_64-linux` to Zephyr SDK setup filename
innovaker Jun 19, 2021
3ece4e9
docs: bump Zephyr documentation links to Zephyr v2.5.0
innovaker Jun 19, 2021
403bbf1
ci: bump `zmk-build-arm` to `2.5`
innovaker Jun 19, 2021
d5e21e2
feat(devcontainer): bump `zmk-dev-arm` to `2.5`
innovaker Jun 19, 2021
4ad8dd3
feat(docs): Add Zephyr 2.5 blog post.
petejohanson Jun 21, 2021
23e2f3d
chore(deps): bump @docusaurus/* to 2.0.0-beta.3
petejohanson Jul 18, 2021
4083c48
docs(setup): replace `zephyr-west-action` with `zmk-docker`
innovaker Jun 19, 2021
da295d0
fix: Add missing semicolon for nano V2 case.
petejohanson Jul 22, 2021
4faaa19
docs: Switch back to package version 2
joelspadin Jul 24, 2021
788bdf7
fix(docs): Fix keymap upgrader
joelspadin Jul 24, 2021
0c3c4a0
feat: Add nrf VDDH battery driver
joelspadin Apr 3, 2021
44a8206
Update docs to use “SQT” instead of “QUOTE” (#839)
fsargent Jul 27, 2021
790b3cc
chore(deps-dev): bump eslint from 7.29.0 to 7.32.0 in /docs
dependabot[bot] Aug 2, 2021
e1f3802
fix(shields): Clean up default corne keymap.
devonallie Aug 2, 2021
bd16246
feat(power): Update device power management Kconfig
Nicell Jul 27, 2021
5659887
fix(power): Manually trigger pm_low_power_devices() before sleep
Nicell Jul 27, 2021
5879fbc
feat(boards): Use the nRF VDDH driver for the nice!nano v2
Nicell Jul 25, 2021
2b94005
fix(usb): USB state changes in system thhread.
petejohanson Aug 2, 2021
01c0d9a
feat(endpoints): Add endpoint select changed event.
petejohanson Aug 3, 2021
00e80ff
fix(display): Update output status on endpoint selection change.
petejohanson Aug 3, 2021
13151de
Add warning about peripheral encoders.
petejohanson Aug 5, 2021
eccabed
fix(docs): Appease Prettier
joelspadin Aug 8, 2021
91fbae0
fix(docs): Fix "All" typo
chad3814 Aug 12, 2021
09c049b
fix(docs): Standardize all internal links
Nicell Aug 12, 2021
ccf944e
fix: basic setup link
stevennguyen Aug 12, 2021
0f0403a
fix typo
chad3814 Aug 11, 2021
a4db4ab
fix: Planck rev 6.1
aumuell Aug 6, 2021
ac14a86
feat(display): IL0323 driver for EPD displays.
LOWPROKB Aug 4, 2021
fcae69a
fix(display): Add proper LVGL label dep.
petejohanson Aug 28, 2021
9e171e2
fix: Add semicolons for tidbit and eek in setup script
caksoylar Sep 4, 2021
81704e4
refactor(kscan): Demacroify GPIO matrix driver
joelspadin Jul 25, 2021
39279a8
fix(shields): Add note about Cradio pin arrangement
dxmh Sep 4, 2021
4dbc3ca
feat: Add hardware metadata schema.
petejohanson Mar 28, 2021
0cc35d8
feat: Add a few sample hardware metadata files.
petejohanson Mar 28, 2021
dee6c04
feat(docs): Add TS type gen, metadata JSON gen
petejohanson Mar 29, 2021
52f35ae
feat(docs): Add dynamic hardware list component.
petejohanson Mar 29, 2021
f414d64
feat(docs): Type check the docs TSX components.
petejohanson Mar 29, 2021
973cd3a
feat: Generate setup scripts from metadata.
petejohanson Jul 26, 2021
8244b76
docs: Add docs on hardware metadata files.
petejohanson Jul 28, 2021
7dd2411
refactor(shields): Add pro-micro shield metadata.
petejohanson Sep 10, 2021
1d45069
fix(docs): Deploy when boards/shields change.
petejohanson Sep 10, 2021
078797c
refactor(boards): Add metadata for boards.
petejohanson Sep 10, 2021
8dc7e1b
refactor(docs): Remove build.yml for new shield.
petejohanson Sep 10, 2021
b9ecf58
feat(metadata): Add MakerDiary nRF52840 M.2 interconnect
petejohanson Sep 10, 2021
c014ae5
feat(metadata): Add YAML check/format npm scripts.
petejohanson Sep 10, 2021
c76d5b3
fix(setup): Fix setup.ps1 to check Get-Acl exists
petejohanson Sep 11, 2021
f5576ce
feat(drivers): Add mcp23017 driver based on upstream mcp23s17 one.
petejohanson Jan 29, 2021
f0d4e00
feat(board): Add Ferris 0.2 boards
petejohanson Sep 14, 2021
34c3aa4
fix(kscan): Allow composite driver to handle missing children.
petejohanson Mar 2, 2021
7dc51f1
feat(docs): Add note to clarify shared .conf files do not apply outsi…
caksoylar Sep 15, 2021
e4eaa89
fix: Use correct Quotation marks on line 65 (#942)
mintexists Sep 17, 2021
824cf25
fix(docs): Remove unnecessary security warning for MacOS
Sep 6, 2021
b9d7477
feat(docs) Clarify Bluetooth profile pairing
MvEerd Aug 15, 2021
3e8ac54
fix(docs) Move Number of Profiles note down
MvEerd Aug 15, 2021
762b6b1
fix(docs) Bluetooth behavior typo
MvEerd Aug 15, 2021
c0d16dc
fix(docs) add `BT_PRV` as suggested
MvEerd Aug 15, 2021
d8b125b
fix(docs): Set "Mouse Keys" as "Under Development"
dxmh Sep 17, 2021
73bec70
fix(hog): encrypt perm for HID report map/ref.
petejohanson Sep 15, 2021
930dda9
fix(docs): Remove build.yml from new shield steps
dxmh Sep 22, 2021
4dc798c
feat(shield): Add Architeuthis Dux shield
dxmh Sep 22, 2021
096fef4
refactor(shield): "Architeuthis Dux" to "A. Dux"
dxmh Sep 23, 2021
2cd284e
fix(shield): Update URL in A. Dux metadata
dxmh Sep 23, 2021
192871b
fix(hog): use OR instead of AND for bitmap
xudongzheng Sep 24, 2021
daa1cde
fix(docs): Typo EC11_CONFIG
rtitmuss Sep 24, 2021
6ab5e47
fix(setup): Fix sed delimiters for Cradio
caksoylar Sep 24, 2021
14d7f96
feat(display): Optional dedicated work queue.
petejohanson Aug 12, 2021
81307b3
refactor(display): Output/layer/battery thread safety.
petejohanson Aug 12, 2021
d18e03c
refactor(display): Saner font selection/defaults.
petejohanson Apr 2, 2021
595c3ca
refactor(boards): Remove split right keyboard names
Nicell Feb 1, 2021
05bc1b4
refactor(boards): Remove "left" from split keyboard names
Nicell Mar 27, 2021
f0956b7
fix(docs): Update split naming system
Nicell Feb 1, 2021
79b717e
refactor(boards): Remove leftover right split name
petejohanson Sep 26, 2021
bd5782d
feat(boards): Add D18-21 to Pro Micro pin mappings
Nicell Jul 24, 2021
2001ed1
feat(boards): Remove usage of pro_micro_a/d nodes
Nicell Jul 24, 2021
f25a593
feat(docs): Update documentation to match new Pro Micro nodes
Nicell Aug 3, 2021
751aa2a
feat(shields): Add Naked60BMP shield
xiushak Oct 4, 2021
a40885f
chore: Add board/shield checklist for new PRs.
Nicell Oct 4, 2021
a8fa527
feat(boards): Add Zodiark shield
Aleblazer Oct 4, 2021
6af396c
feat(hid): Configurable NKRO HID report support.
petejohanson Mar 15, 2021
c907135
feat(hid): Kconfig for basic/full consumer usages.
petejohanson Oct 5, 2021
a2d809a
docs(docs): Document up-to-date Node.js repo
bcat Oct 2, 2021
0cdc0df
feat(underglow): Add support for configurable min/max brightness
malinges Oct 7, 2021
5dd178b
fix(underglow): Run clang-format
Nicell Oct 11, 2021
3ac57ab
add ranges and descriptions from #669
Oct 11, 2021
2fbdb97
fix(display): Increase char buffer size to fit all symbols
kjerstadius Oct 12, 2021
66aaad0
chore: Add note about copyrights on PR checklist
dxmh Oct 12, 2021
09dd29a
Add ergodash
Eyenseo Dec 27, 2020
17ed7ce
[squash] implement feedback
Eyenseo Oct 12, 2021
1155f94
refactor: Config setup scripts to support onboard keyboards.
petejohanson Oct 12, 2021
db10350
refactor: Add js-yaml dep, scrtipt gen tweaks.
petejohanson Oct 16, 2021
cd48cbf
fix(keymaps): Properly locate split board keymaps.
petejohanson Oct 18, 2021
52f9536
fix: Only search for board one not found yet.
petejohanson Oct 18, 2021
3bdd42c
fix: Properly find boards in user config repos.
petejohanson Oct 19, 2021
f862a59
fix(docs): Typo fix, open -> upon
auipga Oct 21, 2021
df930e2
chore(deps): bump @fortawesome/react-fontawesome in /docs
dependabot[bot] Oct 19, 2021
4336bfe
refactor(combos): Use ZMK_KEYMAP_EXTRACT_BINDING
bcat Oct 7, 2021
d0fc7c3
refactor: Move to explicit docker.io/* image references.
petejohanson Oct 18, 2021
111e88a
feat(kscan): Improve matrix debouncing
joelspadin Jul 31, 2021
f632b5f
feat(behaviors) Required keys for tap-hold behaviors
jmding8 Nov 1, 2021
09a927a
fix(behavior): Properly break in decision switch statement.
jmding8 Nov 1, 2021
dddd3c5
fix(split): Properly rediscover peripherals.
petejohanson Oct 17, 2021
ed82c53
chore(deps): bump DoozyX/clang-format-lint-action from 0.12 to 0.13
dependabot[bot] Oct 25, 2021
b451b28
feat(boards): Add Mikoto board
mrninhvn Nov 9, 2021
4dbff19
feat: hold/tap flavor tap-unless-interrupted
jdingRoblox Nov 6, 2021
4e89b0e
fix(shields): Fix some keycodes in reviung41 keymap
tiev Nov 9, 2021
60b3dff
fix(hid): Basic consumer code fixes for signed logical max.
petejohanson Nov 8, 2021
38cd76b
feat(conditional-layers): Implement feature
bcat Jun 9, 2021
877e39d
docs(conditional-layers): Document feature
bcat Oct 2, 2021
3de9b23
test(conditional-layers): Add basic unit tests
bcat Jun 9, 2021
d9f36ab
test(conditional-layers): Add multi-config tests
bcat Oct 2, 2021
b2fe155
test(conditional-layers): Add interleaved up/downs
bcat Oct 2, 2021
d5d5d88
test(conditional-layers): Add tests for edge cases
bcat Oct 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM zmkfirmware/zmk-dev-arm:2.4
FROM docker.io/zmkfirmware/zmk-dev-arm:2.5

COPY .bashrc tmp
RUN mv /tmp/.bashrc ~/.bashrc
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- If you're adding a board/shield please fill out this check-list, otherwise you can delete it -->
## Board/Shield Check-list
- [ ] This board/shield is tested working on real hardware
- [ ] Definitions follow the general style of other shields/boards upstream ([Reference](https://zmk.dev/docs/development/new-shield))
- [ ] `.zmk.yml` metadata file added
- [ ] Proper Copyright + License headers added to applicable files (Generally, we stick to "The ZMK Contributors" for copyrights to help avoid churn when files get edited)
- [ ] General consistent formatting of DeviceTree files
- [ ] Keymaps do not use deprecated key defines (Check using the [upgrader tool](https://zmk.dev/docs/codes/keymap-upgrader))
- [ ] `&pro_micro` used in favor of `&pro_micro_d/a` if applicable
- [ ] If split, no name added for the right/peripheral half
- [ ] `.conf` file has optional extra features commented out
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: zmkfirmware/zmk-build-arm:2.4
image: docker.io/zmkfirmware/zmk-build-arm:2.5
strategy:
matrix:
board:
- bluemicro840_v1
- nice_nano
- nice_nano_v2
- nrfmicro_13
- proton_c
shield:
- bfo9000_left
- bfo9000_right
- boardsource5x12
- boardsource3x4
- corne_left
- corne_right
Expand Down Expand Up @@ -69,11 +71,11 @@ jobs:
- board: planck_rev6
- board: proton_c
shield: clueboard_california
- board: nice_nano
- board: nice_nano_v2
shield: kyria_left
cmake-args: -DCONFIG_ZMK_DISPLAY=y
skip-archive: true
- board: nice_nano
- board: nice_nano_v2
shield: kyria_right
cmake-args: -DCONFIG_ZMK_DISPLAY=y
skip-archive: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.12
- uses: DoozyX/clang-format-lint-action@v0.13
with:
source: "./app"
extensions: "h,c"
13 changes: 13 additions & 0 deletions .github/workflows/doc-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,16 @@ jobs:
- name: Prettier check
run: npm run prettier:check
working-directory: docs
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
with:
working-directory: docs
- name: Build
run: npm run build
working-directory: docs
- name: TypeScript check
run: npm run typecheck
working-directory: docs
45 changes: 45 additions & 0 deletions .github/workflows/hardware-metadata-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Hardware Metadata Validation

on:
push:
paths:
- ".github/workflows/hardware-metadata-validation.yml"
- "schema/hardware-metadata.schema.json"
- "app/boards/**/*.zmk.yml"
- "app/scripts/west_commands/metadata.py"
pull_request:
paths:
- ".github/workflows/hardware-metadata-validation.yml"
- "schema/hardware-metadata.schema.json"
- "app/boards/**/*.zmk.yml"
- "app/scripts/west_commands/metadata.py"

jobs:
check-metadata-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
with:
working-directory: app
- name: Prettier Check
run: npm run prettier:check
working-directory: app
validate-metadata:
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-dev-arm:2.5
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: pip install -r app/scripts/requirements.txt
- name: West init
run: west init -l app
- name: Update modules (west update)
run: west update
- name: Export Zephyr CMake package (west zephyr-export)
run: west zephyr-export
- name: Validate Hardware Metadata
working-directory: app
run: west metadata check
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: zmkfirmware/zmk-build-arm:2.4
image: docker.io/zmkfirmware/zmk-build-arm:2.5
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ You can setup git to run prettier automatically when you commit by installing th
### Development Setup

To get your development environment setup going, start at the
[basic setup](https://zmk.dev/docs/dev-setup) docs, and make sure you can build and flash
[basic setup](https://zmk.dev/docs/development/setup/) docs, and make sure you can build and flash
your own locally built firmware.

### Formatting
Expand Down
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build/
node_modules/
3 changes: 3 additions & 0 deletions app/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
endOfLine: "auto",
};
2 changes: 2 additions & 0 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ target_sources(app PRIVATE src/events/position_state_changed.c)
target_sources(app PRIVATE src/events/layer_state_changed.c)
target_sources(app PRIVATE src/events/keycode_state_changed.c)
target_sources(app PRIVATE src/events/modifiers_state_changed.c)
target_sources(app PRIVATE src/events/endpoint_selection_changed.c)
target_sources(app PRIVATE src/events/sensor_event.c)
target_sources_ifdef(CONFIG_ZMK_WPM app PRIVATE src/events/wpm_state_changed.c)
target_sources_ifdef(CONFIG_ZMK_BLE app PRIVATE src/events/ble_active_profile_changed.c)
Expand All @@ -56,6 +57,7 @@ if ((NOT CONFIG_ZMK_SPLIT) OR CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL)
target_sources(app PRIVATE src/behaviors/behavior_sensor_rotate_key_press.c)
target_sources_ifdef(CONFIG_ZMK_EXT_POWER app PRIVATE src/behaviors/behavior_ext_power.c)
target_sources(app PRIVATE src/combo.c)
target_sources(app PRIVATE src/conditional_layer.c)
target_sources(app PRIVATE src/keymap.c)
endif()
target_sources_ifdef(CONFIG_ZMK_RGB_UNDERGLOW app PRIVATE src/behaviors/behavior_rgb_underglow.c)
Expand Down
104 changes: 89 additions & 15 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,57 @@ config USB_DEVICE_PID
config USB_DEVICE_MANUFACTURER
default "ZMK Project"

menu "HID Output Types"
menu "HID"

choice ZMK_HID_REPORT_TYPE
prompt "HID Report Type"

config ZMK_HID_REPORT_TYPE_HKRO
bool "#-Key Roll Over (HKRO) HID Report"
help
Enable # key roll over for HID report. This selection is "boot keyboard" compatible
but limits the total number of possible keys to report as held to #.

config ZMK_HID_REPORT_TYPE_NKRO
bool "Full N-Key Roll Over (NKRO) HID Report"
help
Enable full N-Key Roll Over for HID output. This selection will prevent the keyboard
from working with some BIOS/UEFI versions that only support "boot keyboard" support.
This option also prevents using some infrequently used higher range HID usages.

endchoice

if ZMK_HID_REPORT_TYPE_HKRO

config ZMK_HID_KEYBOARD_REPORT_SIZE
int "# Keyboard Keys Reportable"
default 6

endif

config ZMK_HID_CONSUMER_REPORT_SIZE
int "# Consumer Keys Reportable"
default 6


choice ZMK_HID_CONSUMER_REPORT_USAGES
prompt "HID Report Type"

config ZMK_HID_CONSUMER_REPORT_USAGES_FULL
bool "Full Consumer HID Usage Support"
help
Enable full Consumer usage ID values to be sent to hosts. Allows for less
frequently used usages, but has compatibability issues with some host OSes.

config ZMK_HID_CONSUMER_REPORT_USAGES_BASIC
bool "Basic Consumer HID Usage Support"
help
Enable Consumer usage ID values up to "Playback Speed - Slow" to be sent to
hosts. Allows for broader compatibability with more host OSes.

endchoice

menu "Output Types"

config ZMK_USB
bool "USB"
Expand Down Expand Up @@ -92,7 +142,10 @@ config ZMK_BLE_PASSKEY_ENTRY
#ZMK_BLE
endif

#HID Output Types
#Output Types
endmenu

# HID
endmenu

menu "Split Support"
Expand All @@ -114,6 +167,7 @@ menuconfig ZMK_SPLIT_BLE_ROLE_CENTRAL
bool "Central"
select BT_CENTRAL
select BT_GATT_CLIENT
select BT_GATT_AUTO_DISCOVER_CCC

if ZMK_SPLIT_BLE_ROLE_CENTRAL

Expand Down Expand Up @@ -156,7 +210,7 @@ endif
endif

#ZMK_SPLIT
endif
endif

if ZMK_BLE

Expand Down Expand Up @@ -209,36 +263,54 @@ config ZMK_RGB_UNDERGLOW_EXT_POWER
bool "RGB underglow toggling also controls external power"
default y

config ZMK_RGB_UNDERGLOW_BRT_MIN
int "RGB underglow minimum brightness in percent"
range 0 100
default 0

config ZMK_RGB_UNDERGLOW_BRT_MAX
int "RGB underglow maximum brightness in percent"
range ZMK_RGB_UNDERGLOW_BRT_MIN 100
default 100

config ZMK_RGB_UNDERGLOW_HUE_STEP
int "RGB underglow hue step in degrees of 360"
int "RGB underglow hue step in degrees"
range 0 359
default 10

config ZMK_RGB_UNDERGLOW_SAT_STEP
int "RGB underglow sturation step in percent"
int "RGB underglow saturation step in percent"
range 0 100
default 10

config ZMK_RGB_UNDERGLOW_BRT_STEP
int "RGB underglow brightness step in percent"
range 0 100
default 10

config ZMK_RGB_UNDERGLOW_HUE_START
int "RGB underglow start hue value from 0-359"
int "RGB underglow start hue value in degrees"
range 0 359
default 0

config ZMK_RGB_UNDERGLOW_SAT_START
int "RGB underglow start saturations value from 0-100"
int "RGB underglow start saturations value in percent"
range 0 100
default 100

config ZMK_RGB_UNDERGLOW_BRT_START
int "RGB underglow start brightness value from 0-100"
default 100
int "RGB underglow start brightness value in percent"
range ZMK_RGB_UNDERGLOW_BRT_MIN ZMK_RGB_UNDERGLOW_BRT_MAX
default ZMK_RGB_UNDERGLOW_BRT_MAX

config ZMK_RGB_UNDERGLOW_SPD_START
int "RGB underglow start animation speed value from 1-5"
int "RGB underglow start animation speed value"
range 1 5
default 3

config ZMK_RGB_UNDERGLOW_EFF_START
int "RGB underglow start effect int value related to the effect enum list"
range 0 3
default 0

config ZMK_RGB_UNDERGLOW_ON_START
Expand All @@ -263,14 +335,11 @@ config ZMK_SLEEP

if ZMK_SLEEP

config SYS_POWER_DEEP_SLEEP_STATES
default y

choice SYS_PM_POLICY
default SYS_PM_POLICY_APP
default PM_POLICY_APP
endchoice

config DEVICE_POWER_MANAGEMENT
config PM_DEVICE
default y

config ZMK_IDLE_SLEEP_TIMEOUT
Expand Down Expand Up @@ -422,6 +491,11 @@ config ZMK_WPM
config SENSOR
default y

choice CBPRINTF_IMPLEMENTATION
default CBPRINTF_NANO

endchoice

module = ZMK
module-str = zmk
source "subsys/logging/Kconfig.template.log_config"
Expand Down
11 changes: 11 additions & 0 deletions app/boards/arm/bdn9/bdn9_rev2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
file_format: "1"
id: bdn9_rev2
name: BDN9 Rev2
type: board
arch: arm
features:
- keys
- encoder
outputs:
- usb
url: https://keeb.io/products/bdn9-rev-2-3x3-9-key-macropad-rotary-encoder-and-rgb
11 changes: 11 additions & 0 deletions app/boards/arm/bdn9/bdn9_rev2.zmk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
file_format: "1"
id: bdn9_rev2
name: BDN9 Rev2
type: board
arch: arm
outputs:
- usb
features:
- keys
- encoder
url: https://keeb.io/collections/bdn9-collection/products/bdn9-rev-2-3x3-9-key-macropad-rotary-encoder-and-rgb
3 changes: 3 additions & 0 deletions app/boards/arm/bdn9/bdn9_rev2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ CONFIG_FPU=y
# enable GPIO
CONFIG_GPIO=y

# Enable pinmux
CONFIG_PINMUX=y

# Needed to reduce this to size that will fit on F072
CONFIG_HEAP_MEM_POOL_SIZE=1024

Expand Down
Loading