Skip to content

Commit 89a9dc5

Browse files
committed
cmake: increase stack usage warning up to 8192 bytes
As we don't use dynamic memory allocation, we need more stack for local variables. Signed-off-by: Oleksandr Grytsov <[email protected]> Reviewed-by: Mykola Solianko <[email protected]> Reviewed-by: Mykola Kobets <[email protected]>
1 parent f043768 commit 89a9dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ message(STATUS)
3333

3434
# Check compiler using static library instead of application
3535
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
36-
set(AOS_STACK_USAGE 4096)
36+
set(AOS_STACK_USAGE 8192)
3737

3838
# ######################################################################################################################
3939
# Compiler flags

0 commit comments

Comments
 (0)