samples: openamp_rsc_table: increase stack size
While testing openamp_rsc_table sample for HiFi4 DSP from
i.MX8MP, realized the stack is not enough.
Increase the size based on Thread Analyzer measurements:
*** Booting Zephyr OS build zephyr-v3.4.0-971-g9415baf2c211 ***
Starting application threads!
OpenAMP[remote] linux responder demo started
OpenAMP[remote] Linux sample client responder started
OpenAMP[remote] Linux tty responder started
[00:00:00.020,000] <dbg> openamp_rsc_table: mailbox_notify:
mailbox_notify: msg received
[00:00:00.024,000] <dbg> openamp_rsc_table: mailbox_notify:
mailbox_notify: msg received
Thread analyze:
0x9240c5a0 : STACK: unused 240 usage 1296 / 1536 (84 %); CPU: 10%
: Total CPU cycles used: 3388523
0x9240c628 : STACK: unused 240 usage 784 / 1024 (76 %); CPU: 10%
: Total CPU cycles used: 4086621
0x9240c6b0 : STACK: unused 408 usage 616 / 1024 (60 %); CPU: 7%
: Total CPU cycles used: 3553673
0x9240c738 : STACK: unused 152 usage 872 / 1024 (85 %); CPU: 44%
: Total CPU cycles used: 25529572
0x9240c7c0 : STACK: unused 352 usage 672 / 1024 (65 %); CPU: 21%
: Total CPU cycles used: 13742359
0x9240c888 : STACK: unused 936 usage 88 / 1024 (8 %); CPU: 0%
: Total CPU cycles used: 0
ISR0 : STACK: unused 1536 usage 512 / 2048 (25 %)
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
1 file changed