Skip to content

Commit 09e6fbe

Browse files
committed
src: modules: Reduce stack sizes
State variables were moved off the stacks in a previous commmit. Reduce the stack sizes accordingly to make the debug build for the t91x pass in ci. Signed-off-by: Simen S. Røstad <[email protected]>
1 parent ab338a6 commit 09e6fbe

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

app/src/modules/cloud/Kconfig.cloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ config APP_CLOUD_BACKOFF_MAX_SECONDS
8282

8383
config APP_CLOUD_THREAD_STACK_SIZE
8484
int "Thread stack size"
85-
default 8192
85+
default 4096
8686

8787
config APP_CLOUD_MESSAGE_QUEUE_SIZE
8888
int "Message queue size"

app/src/modules/environmental/Kconfig.environmental

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if APP_ENVIRONMENTAL
1313

1414
config APP_ENVIRONMENTAL_THREAD_STACK_SIZE
1515
int "Thread stack size"
16-
default 1024
16+
default 512
1717

1818
config APP_ENVIRONMENTAL_WATCHDOG_TIMEOUT_SECONDS
1919
int "Watchdog timeout"

app/src/modules/fota/Kconfig.fota

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if APP_FOTA
1212

1313
config APP_FOTA_THREAD_STACK_SIZE
1414
int "Thread stack size"
15-
default 2500
15+
default 2048
1616

1717
config APP_FOTA_WATCHDOG_TIMEOUT_SECONDS
1818
int "Watchdog timeout"

app/src/modules/location/Kconfig.location

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if APP_LOCATION
1212

1313
config APP_LOCATION_THREAD_STACK_SIZE
1414
int "Thread stack size"
15-
default 4096
15+
default 2048
1616

1717
config APP_LOCATION_WATCHDOG_TIMEOUT_SECONDS
1818
int "Watchdog timeout"

app/src/modules/network/Kconfig.network

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config APP_NETWORK_SHELL
1515

1616
config APP_NETWORK_THREAD_STACK_SIZE
1717
int "Thread stack size"
18-
default 2048
18+
default 1024
1919

2020
config APP_NETWORK_WATCHDOG_TIMEOUT_SECONDS
2121
int "Watchdog timeout"

app/src/modules/storage/Kconfig.storage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if APP_STORAGE
1212

1313
config APP_STORAGE_THREAD_STACK_SIZE
1414
int "Storage module thread stack size"
15-
default 2048
15+
default 1024
1616

1717
config APP_STORAGE_BACKEND_RAM
1818
bool "RAM storage backend"

docs/modules/storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ The following includes the key configuration categories:
222222

223223
### Thread Configuration
224224

225-
- **`CONFIG_APP_STORAGE_THREAD_STACK_SIZE`** (default: 1536): Stack size for the storage module's main thread.
225+
- **`CONFIG_APP_STORAGE_THREAD_STACK_SIZE`** (default: 1024): Stack size for the storage module's main thread.
226226

227227
- **`CONFIG_APP_STORAGE_WATCHDOG_TIMEOUT_SECONDS`** (default: 60): Watchdog timeout for detecting stuck operations.
228228

0 commit comments

Comments
 (0)