Increasing stack size of the main thread

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
BeDe_2507241
Level 4
Level 4
First like received

How the stack size of the main thread, i.e., void application_start( )  can be increased?

0 Likes
1 Solution
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

You can use the macro WICED_DEFAULT_APPLICATION_STACK_SIZE in wiced_defaults.h to adjust the application stack size. This is basically used in tx_thread_create() in case of ThreadX to define the stack size of application_thread_main which calls application_start().

View solution in original post

0 Likes
1 Reply
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

You can use the macro WICED_DEFAULT_APPLICATION_STACK_SIZE in wiced_defaults.h to adjust the application stack size. This is basically used in tx_thread_create() in case of ThreadX to define the stack size of application_thread_main which calls application_start().

0 Likes