Skip to content

Commit 7b5029b

Browse files
committed
Box led3: Increase stack requirement
A stack overflow can be observed when using the mbed OS with RTX2. This is the minimum value that allows the app to work again.
1 parent 4788dea commit 7b5029b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/led3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ static void led3_main(const void *);
1919
* stack size can be smaller as we do not do anything special in them. */
2020
UVISOR_BOX_NAMESPACE(NULL);
2121
UVISOR_BOX_HEAPSIZE(3 * 1024);
22-
UVISOR_BOX_MAIN(led3_main, osPriorityNormal, 1024);
22+
UVISOR_BOX_MAIN(led3_main, osPriorityNormal, 2048);
2323
UVISOR_BOX_CONFIG(box_led3, acl, 512, box_context);
2424

2525
#define uvisor_ctx ((box_context *) __uvisor_ctx)

0 commit comments

Comments
 (0)