zephyr/samples/boards/mec15xxevb_assy6853/power_management
Hu Zhenyu 424668f5a7 tests: mec15xxevb_assy6853: Enlarge the IDLE_STACK_SIZE from 256 to 512
The test case "samples/boards/mec15xxevb_assy6853/power_management" could
always pass until commit 5f60164 was merged in. This patch changes the sem
take timeout value from 50ms to forever of the log thread, it will make the
idle thread run longer and takes more stack memory. Analyzed the coredump
of the failed test case, it can be found that the test case stucks at
z_idle_stacks. The test case used default CONFIG_IDLE_STACK_SIZE = 256 in
kernel/Kconfig, now we increase the value to 512 in prj.conf for this test
only. With this change, the test case can pass with the commit of 5f60164.
Fixes #47987

Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
2022-08-18 21:38:56 +00:00
..
src
CMakeLists.txt
README.rst
prj.conf tests: mec15xxevb_assy6853: Enlarge the IDLE_STACK_SIZE from 256 to 512 2022-08-18 21:38:56 +00:00
sample.yaml

README.rst

.. _mec15xxevb-sample:

MEC15xx sample board test application
#####################################

Overview
********

This sample demonstrates power management features on MEC15xx-based boards.
It showcase simple app that allows to enter into light and deep sleep.

Building and Running
********************

The sample can be built and executed on boards using west.
No pins configurations, except GPIO014 is used as indicator for entry/exit.


Sample output
=============

.. code-block:: console

   Wake from Light Sleep
   Wake from Deep Sleep
   ResumeBBBAA
   Wake from Light Sleep
   Suspend...
   Wake from Deep Sleep
   ResumeBBBAA

note:: The values shown above might differ.