Skip to content
Commit c3a4a1a0 authored by Dino Li's avatar Dino Li Committed by Anas Nashif
Browse files

drivers: intc_ite_it8xxx2: disable debug mode then reset for tests



After flashed EC image, we needed to manually press the reset button
on it8xxx2_evb. Now, without pressing the button, we can disable
debug mode and trigger a watchdog hard reset for running tests.

After flash EC, running below tests can pass (without pressing the button):
west build -p always -b it8xxx2_evb tests/drivers/watchdog/wdt_basic_api
west build -p always -b it8xxx2_evb tests/kernel/timer/timer_api
west build -p always -b it8xxx2_evb tests/kernel/fatal/exception

Signed-off-by: default avatarDino Li <Dino.Li@ite.com.tw>
Signed-off-by: default avatarRuibin Chang <Ruibin.Chang@ite.com.tw>
parent 58ec5161
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment