Commit graph

1490 commits

Author SHA1 Message Date
Peter Johanson
0cc35d8ada feat: Add a few sample hardware metadata files. 2021-11-19 08:41:20 -08:00
Peter Johanson
4dbc3ca993 feat: Add hardware metadata schema.
* Initial hardware metadata JSON schema.
* GH Action to validate all schemas for boards/shields.
2021-11-19 08:41:20 -08:00
Dom H
39279a8f45 fix(shields): Add note about Cradio pin arrangement 2021-11-19 08:41:20 -08:00
Joel Spadin
81704e45e9 refactor(kscan): Demacroify GPIO matrix driver
Refactored the GPIO matrix kscan driver so that only the data and config
structures are defined in the foreach macro. Functionality is unchanged
except for the addition of DT properties to adjust polling speed.

This should make it easier to add other enhancements later, like
improved and customizable debounce behavior.
2021-11-19 08:41:20 -08:00
Cem Aksoylar
9e171e26b3 fix: Add semicolons for tidbit and eek in setup script 2021-11-19 08:41:20 -08:00
Peter Johanson
fcae69a492 fix(display): Add proper LVGL label dep. 2021-11-19 08:41:20 -08:00
Darryldh
ac14a866b1 feat(display): IL0323 driver for EPD displays.
* Basic driver, using the GD7965 driver as a basis, since the ICs
  are very similar.
2021-11-19 08:41:20 -08:00
Martin Aumüller
a4db4ab3b9 fix: Planck rev 6.1
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into #228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
2021-11-19 08:41:20 -08:00
chad3814
0f0403a73d fix typo
"load your newly flashed firmware" not "load your newfly flashed fireware"
2021-11-19 08:41:20 -08:00
Steven Nguyen
ccf944e51c fix: basic setup link 2021-11-19 08:41:20 -08:00
Nick Winans
09c049b531 fix(docs): Standardize all internal links 2021-11-19 08:41:20 -08:00
chad3814
91fbae02ad fix(docs): Fix "All" typo 2021-11-19 08:41:20 -08:00
Joel Spadin
eccabed3ce fix(docs): Appease Prettier
Fixed code formatting in docs files.
2021-11-19 08:41:20 -08:00
Peter Johanson
13151de885 Add warning about peripheral encoders. 2021-11-19 08:41:20 -08:00
Peter Johanson
00e80ff685 fix(display): Update output status on endpoint selection change. 2021-11-19 08:41:20 -08:00
Peter Johanson
01c0d9a645 feat(endpoints): Add endpoint select changed event. 2021-11-19 08:41:20 -08:00
Peter Johanson
2b94005ea0 fix(usb): USB state changes in system thhread.
* Use a `k_work` to send usb status events from the system
  workqueue thread, not the USB work thread.
2021-11-19 08:41:20 -08:00
Nick Winans
5879fbcc7d feat(boards): Use the nRF VDDH driver for the nice!nano v2 2021-11-19 08:41:20 -08:00
Nick Winans
5659887808 fix(power): Manually trigger pm_low_power_devices() before sleep 2021-11-19 08:41:20 -08:00
Nick Winans
bd16246979 feat(power): Update device power management Kconfig 2021-11-19 08:41:20 -08:00
Devon Allie
e1f3802889 fix(shields): Clean up default corne keymap. 2021-11-19 08:41:20 -08:00
dependabot[bot]
790b3ccce6 chore(deps-dev): bump eslint from 7.29.0 to 7.32.0 in /docs
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 08:41:20 -08:00
Felix Sargent
44a8206860 Update docs to use “SQT” instead of “QUOTE” (#839)
* Update default keymap to use SQT

Instead of the invalid “QUOTE”

* Update keymap-example-file.md

* Update docs/docs/keymap-example.md

Co-authored-by: Pete Johanson <peter@peterjohanson.com>

Co-authored-by: Pete Johanson <peter@peterjohanson.com>
2021-11-19 08:41:19 -08:00
Joel Spadin
0c3c4a0814 feat: Add nrf VDDH battery driver
Added a driver which uses the nRF52's ADC channel on the VDDH pin to
read the battery voltage when using high voltage mode.
2021-11-19 08:41:19 -08:00
Joel Spadin
788bdf7d73 fix(docs): Fix keymap upgrader
Bumped web-tree-sitter to v0.19.4 and added v0.4.0 of
tree-sitter-devicetree, which had to be rebuilt to work in v0.19.x
https://github.com/joelspadin/tree-sitter-devicetree/releases/tag/v0.4.0

Changed how we patch web-tree-sitter to correctly load tree-sitter.wasm
to work with the latest version of Docusaurus. Including a copy of
tree-sitter.wasm as a static resource is no longer needed.
2021-11-19 08:41:19 -08:00
Joel Spadin
4faaa19a16 docs: Switch back to package version 2
package-lock.json was rewritten to version 1 in
13dbbefcb4.
2021-11-19 08:41:19 -08:00
Peter Johanson
da295d04e6 fix: Add missing semicolon for nano V2 case. 2021-11-19 08:41:19 -08:00
innovaker
4083c48768 docs(setup): replace zephyr-west-action with zmk-docker
This should've been changed after #481.

See: https://github.com/zmkfirmware/zmk/pull/481
PR: https://github.com/zmkfirmware/zmk/pull/845
2021-11-19 08:41:19 -08:00
Peter Johanson
23e2f3d4f1 chore(deps): bump @docusaurus/* to 2.0.0-beta.3 2021-11-19 08:41:19 -08:00
Peter Johanson
4ad8dd3499 feat(docs): Add Zephyr 2.5 blog post.
Simple blog post outlining the work done for the Zephyr 2.5 upgrade,
and steps needed to make the most of it.

Co-authored-by: innovaker <66737976+innovaker@users.noreply.github.com>
2021-11-19 08:41:19 -08:00
innovaker
d5e21e226b feat(devcontainer): bump zmk-dev-arm to 2.5
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
innovaker
403bbf18cd ci: bump zmk-build-arm to 2.5
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
innovaker
3ece4e97c5 docs: bump Zephyr documentation links to Zephyr v2.5.0
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
innovaker
de028afbef docs(setup): add x86_64-linux to Zephyr SDK setup filename
See: zmkfirmware/zmk-docker@b8341e185a
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
innovaker
057f6ee480 docs(setup): bump ZSDK_VERSION to 0.12.4
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
Peter Johanson
c83672a620 fix(display): Avoid fault w/ LVGL API usage.
* Increment the tick from within the ISR itself.
* Don't call task handler until in the display callback.

PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
Peter Johanson
65cdde4159 refactor(boards): Switch proton_c to newer pinmux approach.
See: https://github.com/zephyrproject-rtos/zephyr/issues/28999
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
Pete Johanson
07aff1497a fix(boards): Enable pinmux for bdn9_rev2 by default.
See: https://github.com/zephyrproject-rtos/zephyr/issues/28999
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
Pete Johanson
a822f44704 fix(tests): Revert default to previous formatter.
* new cbprintf formatter causes issues for our use of string formatting.

See: https://github.com/zephyrproject-rtos/zephyr/pull/29876
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
Pete Johanson
8ab43c6aec refactor(core): Move away from deprecated DT API.
* Move to `DEVICE_DT_INST_DEFINE` everywhere.

See: https://docs.zephyrproject.org/2.5.0/releases/release-notes-2.5.html#deprecated-in-this-release
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
innovaker
a80d542f8f refactor(core): update power API to Zephyr v2.5.0
See: https://github.com/zephyrproject-rtos/zephyr/pull/29410
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
innovaker
a2713d48dd feat: bump zephyr to v2.5.0+zmk-fixes
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
Nick Winans
ed45728af5 feat(docs): Add nice!nano v2 to scripts, actions, and documentation
asdf

asdf


asdf
2021-11-19 08:41:19 -08:00
Nick Winans
8dce05c44d feat(boards): Add nice!nano v2 2021-11-19 08:41:19 -08:00
dependabot[bot]
461c5000cc chore(deps-dev): bump eslint from 7.28.0 to 7.29.0 in /docs
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 08:41:19 -08:00
dependabot[bot]
254d2070c9 chore(deps): bump @docusaurus/preset-classic in /docs
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.0.0-beta.0 to 2.0.0-beta.1.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.1/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 08:41:19 -08:00
dependabot[bot]
6d4e9e58bb chore(deps): bump @docusaurus/core in /docs
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.0 to 2.0.0-beta.1.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.1/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 08:41:19 -08:00
innovaker
e40d890227 docs(setup): fix whitespace in Fedora toolchain install command
Aligns Fedora whitespace with Debian.
2021-11-19 08:41:19 -08:00
innovaker
b054a7e36b docs(setup): remove extra slash from Fedora toolchain install command 2021-11-19 08:41:19 -08:00
innovaker
915d10711f docs(setup): fix whitespace mismatch in host dependencies
Replaces spaces with tabs (bzip2).
2021-11-19 08:41:19 -08:00