Skip to content

Commit cbdcdab

Browse files
pdunajMarekPieta
authored andcommitted
applications: nrf_desktop: Support more Event Manager event types
Allow application to use more Application Event Manager event types. Jira: NCSDK-33592 Signed-off-by: Pawel Dunaj <[email protected]> Co-authored-by: Marek Pieta <[email protected]> Signed-off-by: Pekka Niskanen <[email protected]>
1 parent 219c7c8 commit cbdcdab

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

applications/nrf_desktop/Kconfig.defaults

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ config DESKTOP_LTO_DEFAULTS
2323
imply ISR_TABLES_LOCAL_DECLARATION
2424
help
2525
nRF Desktop enables LTO to limit memory usage and improve performance.
26+
27+
config APP_EVENT_MANAGER_MAX_EVENT_CNT
28+
default 64
29+
help
30+
nRF Desktop increases the maximum number of Application Event Manager
31+
event types to ensure that more complex configurations fit in the
32+
limit.

applications/nrf_desktop/configuration/nrf52840gmouse_nrf52840/prj_fast_pair.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=y
106106
################################################################################
107107
# Zephyr Configuration
108108

109-
CONFIG_APP_EVENT_MANAGER_MAX_EVENT_CNT=64
110-
111109
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
112110
CONFIG_ISR_STACK_SIZE=1536
113111
CONFIG_MAIN_STACK_SIZE=840

applications/nrf_desktop/configuration/nrf52840gmouse_nrf52840/prj_mcuboot_smp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ CONFIG_DESKTOP_MOTION_SENSOR_SLEEP2_SAMPLE_TIME_DEFAULT=100
3939
CONFIG_DESKTOP_MOTION_SENSOR_SLEEP3_SAMPLE_TIME_DEFAULT=500
4040
CONFIG_DESKTOP_MOTION_SENSOR_SLEEP3_SAMPLE_TIME_CONNECTED=100
4141

42-
CONFIG_APP_EVENT_MANAGER_MAX_EVENT_CNT=64
43-
4442
CONFIG_CAF_BUTTONS=y
4543
CONFIG_CAF_BUTTONS_POLARITY_INVERSED=y
4644
CONFIG_CAF_BUTTONS_PM_KEEP_ALIVE=n

applications/nrf_desktop/configuration/nrf52840gmouse_nrf52840/prj_release_fast_pair.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=y
100100
################################################################################
101101
# Zephyr Configuration
102102

103-
CONFIG_APP_EVENT_MANAGER_MAX_EVENT_CNT=64
104-
105103
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
106104
CONFIG_ISR_STACK_SIZE=1536
107105
CONFIG_MAIN_STACK_SIZE=840

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ nRF Desktop
241241

242242
This approach simplifies the process of adding support for new HID reports.
243243

244+
* The default value of the :kconfig:option:`CONFIG_APP_EVENT_MANAGER_MAX_EVENT_CNT` Kconfig option to ``64``.
245+
This ensures that more complex configurations fit in the limit.
246+
244247
nRF Machine Learning (Edge Impulse)
245248
-----------------------------------
246249

0 commit comments

Comments
 (0)