summaryrefslogtreecommitdiff
path: root/board/nucleo-f412zg/build.mk
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-05-08 11:42:37 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-13 03:03:54 +0000
commit0b034696389e0c6a9aa8b1397a49cf8548ccee05 (patch)
tree523c81aacf058fa7e40f0c2aee07881bb79e1f88 /board/nucleo-f412zg/build.mk
parent287478e7db8bd5a21a0c257574b4461e3518163f (diff)
downloadchrome-ec-0b034696389e0c6a9aa8b1397a49cf8548ccee05.tar.gz
test: Add rollback unit test
This test only runs on device and requires manual verification that a memory access violation occurred. Note that bloonchipper region 1 on dragonclaw fails as indicated in tests below. BRANCH=none BUG=b:155229277, b:151105339 TEST=Compile and flash bloonchipper on dragonclaw with region 0 "runtest" on console => Reboots with "Data access violation, mfar = 8020000" => PASS TEST=Compile and flash bloonchipper on dragonclaw with region 1 "runtest" on console => Memory is successfully read => FAIL TEST=Compile and flash dartmonkey on dragontalon with region 0 "runtest" on console => Reboots with "Data access violation, mfar = 80c0000" => PASS TEST=Compile and flash dartmonkey on dragontalon with region 1 "runtest" on console => Reboots with "Data access violation, mfar = 80e0000" => PASS Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I3e9cc568a0b16c6091d96c4373798fe4de4ab65b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2190829 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Commit-Queue: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/nucleo-f412zg/build.mk')
-rw-r--r--board/nucleo-f412zg/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/nucleo-f412zg/build.mk b/board/nucleo-f412zg/build.mk
index 9b2f59c7d9..923acd1b23 100644
--- a/board/nucleo-f412zg/build.mk
+++ b/board/nucleo-f412zg/build.mk
@@ -15,6 +15,7 @@ test-list-y=\
crc32 \
mutex \
pingpong \
+ rollback \
rtc \
sha256 \
sha256_unrolled \