Skip to content

Commit

Permalink
feat: Tweaks for reduced nanopb stack usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Sep 26, 2024
1 parent 5d4b6df commit 7acd597
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/src/studio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ menuconfig ZMK_STUDIO_RPC
select NANOPB
# These two save stack size
imply NANOPB_NO_ERRMSG
imply NANOPB_NO_ENCODE_SIZE_CHECK
imply NANOPB_WITHOUT_64BIT
imply ZMK_STUDIO_LOCKING if !ARCH_POSIX
select CBPRINTF_LIBC_SUBSTS if ARCH_POSIX
Expand Down
10 changes: 6 additions & 4 deletions app/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ manifest:
url-base: https://github.com/zephyrproject-rtos
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: petejohanson
url-base: https://github.com/petejohanson
projects:
- name: zephyr
remote: zmkfirmware
revision: v3.5.0+zmk-fixes
remote: petejohanson
revision: v3.5.0+zmk-use-zmk-nanopb-fork-with-stack-size-reduction
clone-depth: 1
import:
name-blocklist:
Expand All @@ -30,9 +32,9 @@ manifest:
- edtt
- trusted-firmware-m
- name: nanopb
revision: 65cbefb4695bc7af1cb733ced99618afb3586b20
revision: bf328175df765d05cbc0c19734af85378af0280c
path: modules/lib/nanopb
remote: zephyrproject-rtos
remote: zmkfirmware
- name: zmk-studio-messages
revision: a79267a9661241a6603b6da3d2b3f71e8023a9d9
path: modules/msgs/zmk-studio-messages
Expand Down

0 comments on commit 7acd597

Please sign in to comment.