Commit Graph

27 Commits

Author SHA1 Message Date
Peter Johanson 249ecbc7e6 fix(studio): Bump nanopb version with build fixes.
* Pull in fixes for prefering generator/protoc instead of the
  host protoc, for better compatibility.
2024-11-01 13:17:29 -06:00
Pete Johanson 78513af73e
feat(studio): Move to nanopb with minor optimizations. (#2505)
* Reduced stack size.
2024-10-10 12:36:27 -04:00
Peter Johanson 29b39f2b9f feat: A few enhancements to our RPC messages.
* More fine grained status reporting when saving changes. Needed to we
  can notify the client if we've got errors saving settings due to
  running out of space, etc.
* Return the max layer name lenght in the keymap payload, for the UI to
  leverage.
2024-10-03 15:10:58 -06:00
Peter Johanson c8c19598a7 feat(keymap): Add binding get/set, layer movement
* Add keymap API for getting/setting a bindings
  in keymap layers.
* Add layer move support via intemediary ordering array.
* Add settings storage for keymap changes.
2024-09-05 12:22:08 -06:00
Peter Johanson feda96eb40 feat(studio): Initial RPC infrastructure and subsystems.
* UART and BLE/GATT transports for a protobuf encoded RPC
  request/response protocol.
* Custom framing protocol is used to frame a give message.
* Requests/responses are divided into major "subsystems" which
  handle requests and create response messages.
* Notification support, including mapping local events to RPC
  notifications by a given subsystem.
* Meta responses for "no response" and "unlock needed".
* Initial basic lock state support in a new core section, and allow specifying
  if a given RPC callback requires unlocked state or not.
* Add behavior subsystem with full metadata support and examples of
  using callback to serialize a repeated field without extra stack space needed.

Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
2024-08-15 11:45:18 -06:00
Peter Johanson a81a2d37a8 refactor: Remove explicit blocklist item.
* `sof` is now not enabled by default as a west dep, so need to
  add it to the blocklist ourselves.
2024-02-09 14:32:46 -08:00
Peter Johanson fb99496a73 chore: Switch to 3.5 Zephyr version. 2024-02-09 14:32:46 -08:00
Peter Johanson 693530c2f1 feat(bluetooth): Initial nRF52 BSIM based test support.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
2023-12-02 17:11:45 -08:00
Peter Johanson 168b32b828 refactor: Move to Zephyr 3.2 branch. 2023-04-05 22:55:38 -07:00
Martí Bolívar 9d1070a140 chore(build): update west.yml syntax
West has supported a 'name-blocklist' replacement for 'name-blacklist'
since v0.9.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2023-02-01 11:36:55 -05:00
Peter Johanson 709441412a fix: Don't exclude segger, needed for DKs. 2022-06-22 16:37:22 -04:00
Peter Johanson 9f222fe700 fix: Exclude `sof` module to avoid build breakage. 2022-04-19 13:42:24 -04:00
Peter Johanson 789fd03f8b fix: Properly use zmkfirmware Zephyr version. 2022-04-12 10:55:05 -04:00
Peter Johanson 94ac100b6b refactor: Move to Zephyr v3.0.0 + ZMK fixes. 2022-04-03 00:10:29 -04:00
innovaker 71a85a0c8e feat: bump `zephyr` to `v2.5.0+zmk-fixes`
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Pete Johanson 1c822754c0 fix(west): Restore atmel west module. 2020-12-29 23:30:30 -05:00
innovaker 090b5d4c13 feat(app): upgrade to Zephyr v2.4.0 + ZMK fixes
PR: #467
2020-12-14 12:41:25 -05:00
innovaker a5bddcedbe build(west): migrate to zmkfirmware/zephyr fork
Replaces `petejohanson` with `zmkfirmware` for ZMK's fork of Zephyr (branch `zmk-v2.3.0-with-fixes`)

PR: #468
2020-12-04 17:00:38 -05:00
innovaker 307fd5d250 chore(build): format west.yml
Realigns with Prettier formatting.

Discrepancy introduced by c067629c83

PR: #440
2020-11-28 12:21:19 -05:00
innovaker 90123caa4c build(west): add clone-depth = 1 to zephyr and uf2
This reduces zephyr's footprint to 33% and dramatically reduces the cloning times (west update).

PR: #441
2020-11-28 12:16:17 -05:00
Okke Formsma c067629c83 Create `west test` command to run zmk testsuite. 2020-11-21 14:47:01 -05:00
Pete Johanson 064323b667 fix(build): Remove more unused west modules. 2020-08-17 22:49:15 -04:00
Pete Johanson 85e505e06e Build UF2 image for nice!nano board as well. 2020-06-15 23:00:35 -04:00
Pete Johanson ed045bee6a Upgrade to Zephyr 2.3.0 (plus small build fix.)
* Closes #27
2020-06-14 23:15:23 -04:00
Pete Johanson 292df586a4 Restore CMSIS. 2020-06-12 10:29:58 -04:00
Pete Johanson caf934792a Exclude some unused Zephyr west submodules.
* Don't waste space/time updating unused modules for architectures
  we aren't targetting (yet).
2020-06-12 09:47:21 -04:00
Pete Johanson 38f1dbd984 Move Zephyr app into subdirectory. 2020-06-08 21:07:16 -04:00