Skip to content

Commit 19c6903

Browse files
committed
sensor: always enable new ISR scheme
Don't just CONFIG_ISR_TABLES_LOCAL_DECLARATION for release builds (where it is required for LTO), enable it always for consistency.
1 parent 63bb1a7 commit 19c6903

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sensor/firmware/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=512
44
# BLE pairing work uses 1056 bytes
55
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1280
6+
# New ISR scheme needed for LTO
7+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
68

79
### Thread priorities
810
CONFIG_MAIN_THREAD_PRIORITY=0

sensor/firmware/release.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22

33
# Enable link-time optimization
44
CONFIG_LTO=y
5-
# New ISR scheme needed for LTO
6-
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)