zephyr/samples
Carlo Caione 25769e3fff samples: cmsis_rtos_v1: Grow stack size to the maximum allowed
Some architectures require more space on the stack when running samples
and tests while the philosopher test (cmsis_rtos_v1) is still using a
fixed-size stack size.

Since the test is going to use CMSIS v1 we cannot directly use
CONFIG_TEST_EXTRA_STACKSIZE to grow the stack size because the extra
space allocated can excess the maximum size allowed by CMSIS and defined
by CONFIG_CMSIS_THREAD_MAX_STACK_SIZE, causing the sample to halt on the
assertion (thread_def->stacksize <= CONFIG_CMSIS_THREAD_MAX_STACK_SIZE).

To avoid this problem (and align the test to what has been already done
on the philosopher test using CMSISv2) we set the stack size to the
maximum allowed size of CONFIG_CMSIS_THREAD_MAX_STACK_SIZE.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2020-01-20 18:33:34 -05:00
..
application_development dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf} 2020-01-17 17:57:59 +01:00
basic
bluetooth
boards
cpp_synchronization
display samples: display: Move LVGL sample 2020-01-16 21:01:41 -05:00
drivers samples: display: Added support for BGR565 2020-01-20 09:21:04 -06:00
hello_world
mpu
net net: tcp2: Double main stack size to fix QEMU crash 2020-01-20 10:01:08 +02:00
nfc/nfc_hello
philosophers
portability samples: cmsis_rtos_v1: Grow stack size to the maximum allowed 2020-01-20 18:33:34 -05:00
posix
sensor
shields
smp
subsys samples: canbus: add CANopen sample 2020-01-20 17:17:23 +01:00
synchronization
testing/integration
userspace
video
classic.rst
index.rst samples: display: Move LVGL sample 2020-01-16 21:01:41 -05:00