Skip to content

Commit

Permalink
fix: Properly override stack size on RP2040
Browse files Browse the repository at this point in the history
Move the system work queue stack size override on RP2040 ouf of
a `ZMK_BLE` conditional so it is properly applied generally for that
SoC.
  • Loading branch information
petejohanson committed Feb 18, 2025
1 parent 30a9a25 commit 6b09605
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ config BT_CTLR_PHY_2M
config BT_TINYCRYPT_ECC
default y if BT_HCI && !BT_CTLR

config SYSTEM_WORKQUEUE_STACK_SIZE
default 4096 if SOC_RP2040
default 2048

config ZMK_BLE_THREAD_STACK_SIZE
int "BLE notify thread stack size"
default 768
Expand Down
4 changes: 4 additions & 0 deletions app/Kconfig.defaults
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Copyright (c) 2024 The ZMK Contributors
# SPDX-License-Identifier: MIT

config SYSTEM_WORKQUEUE_STACK_SIZE
default 2048 if SOC_RP2040
default 2048 if ZMK_BLE

# HID
if ZMK_HID_REPORT_TYPE_HKRO

Expand Down

0 comments on commit 6b09605

Please sign in to comment.