Skip to content

Commit

Permalink
tests: latency_measure: disable pm for MEC1501 based boards
Browse files Browse the repository at this point in the history
Disable power management for boards mec15xxevb_assy6853 and
mec1501modular_assy6885 on latency_measure test. This prevents
the SoC from sleeping which may skew the results. Also this
prevents stopping mid-test due to SoC being in sleep state,
and there are no external interrupts to wake up the SoC.

Fixes zephyrproject-rtos#24136

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
  • Loading branch information
dcpleung authored and hakehuang committed Jun 20, 2020
1 parent a51b517 commit 88ee8f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Disable power management to prevent SoC from sleeping.
# The test would not finish otherwise as there is no external
# interrupts to wake up the SoC.
# This board has an extra option to control PM, so need to
# disable it here.
CONFIG_SOC_POWER_MANAGEMENT=n
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Disable power management to prevent SoC from sleeping.
# The test would not finish otherwise as there is no external
# interrupts to wake up the SoC.
# This board has an extra option to control PM, so need to
# disable it here.
CONFIG_SOC_POWER_MANAGEMENT=n

0 comments on commit 88ee8f7

Please sign in to comment.