Commit graph

1506 commits

Author SHA1 Message Date
Cem Aksoylar
7dc51f14c5 feat(docs): Add note to clarify shared .conf files do not apply outside zmk-config 2021-11-19 08:41:20 -08:00
Pete Johanson
34c3aa4d79 fix(kscan): Allow composite driver to handle missing children.
For split keyboards using an IO expander over TRRS/i2c, if the
right half isn't connected, we should be able to gracefully
fallback to the left side still working.
2021-11-19 08:41:20 -08:00
Peter Johanson
f0d4e003f3 feat(board): Add Ferris 0.2 boards
* Onboard stm32f072 with mcp23018 IO expander.
* No underglow support yet.
* Miryoku inspired default layout.
2021-11-19 08:41:20 -08:00
Pete Johanson
f5576cee0b feat(drivers): Add mcp23017 driver based on upstream mcp23s17 one.
* Upstream Zephyr has in progress driver, so doing this locally here,
  until we can move over to that driver.
2021-11-19 08:41:20 -08:00
Peter Johanson
c76d5b34ff fix(setup): Fix setup.ps1 to check Get-Acl exists
* `Get-Acl` not found in Linux Powershell version, so only call it
  if it exists.
2021-11-19 08:41:20 -08:00
Peter Johanson
c014ae5b0b feat(metadata): Add YAML check/format npm scripts. 2021-11-19 08:41:20 -08:00
Peter Johanson
b9ecf58846 feat(metadata): Add MakerDiary nRF52840 M.2 interconnect
* Add interconnect details.
* Add m60 and nrf52840_m2 metadata files.
2021-11-19 08:41:20 -08:00
Peter Johanson
8dc7e1b944 refactor(docs): Remove build.yml for new shield.
* No longer recommending that all new shields get added to the
  build matrix in `build.yml`, so we avoid conflicts.
2021-11-19 08:41:20 -08:00
Peter Johanson
078797cd8c refactor(boards): Add metadata for boards.
* Standalone and pro-micro format board metadata added.
2021-11-19 08:41:20 -08:00
Peter Johanson
1d45069dee fix(docs): Deploy when boards/shields change. 2021-11-19 08:41:20 -08:00
Peter Johanson
7dd241194a refactor(shields): Add pro-micro shield metadata. 2021-11-19 08:41:20 -08:00
Peter Johanson
8244b76c94 docs: Add docs on hardware metadata files. 2021-11-19 08:41:20 -08:00
Peter Johanson
973cd3a6e1 feat: Generate setup scripts from metadata. 2021-11-19 08:41:20 -08:00
Peter Johanson
f414d64242 feat(docs): Type check the docs TSX components. 2021-11-19 08:41:20 -08:00
Peter Johanson
52f35ae20e feat(docs): Add dynamic hardware list component. 2021-11-19 08:41:20 -08:00
Peter Johanson
dee6c04b20 feat(docs): Add TS type gen, metadata JSON gen
* Generate TS types from new hardware metadata schema.
* Aggregate all hw metadata YAML into one aggregate JSON
  file for consumption by others.
2021-11-19 08:41:20 -08:00
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