diff options
author | Tom Hughes <tomhughes@chromium.org> | 2020-05-14 14:32:32 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-22 19:22:19 +0000 |
commit | 4116f1ae6996ecc87b000f335880f4457780ceb8 (patch) | |
tree | 00126544311d0817c534ed753a5ccc550c20e93b /board/nucleo-h743zi | |
parent | 67665bb55473e64da629df0546245e61e810927b (diff) | |
download | chrome-ec-4116f1ae6996ecc87b000f335880f4457780ceb8.tar.gz |
test: Add on-device MPU unit test
BRANCH=none
BUG=b:151105339, b:155229277
TEST=make BOARD=bloonchipper test-mpu -j && \
./util/flash_jlink.py --board bloonchipper \
--image ./build/bloonchipper/mpu/mpu.bin
=> On console: "runtest"
=> All tests pass, except last which correctly panics:
Data access violation, mfar = 20000000
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I1c759f50da5075b1e9027cdba253d8c06843be5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2202852
Commit-Queue: Yicheng Li <yichengli@chromium.org>
Tested-by: Yicheng Li <yichengli@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'board/nucleo-h743zi')
-rw-r--r-- | board/nucleo-h743zi/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/nucleo-h743zi/build.mk b/board/nucleo-h743zi/build.mk index 81343a38cd..018a67c030 100644 --- a/board/nucleo-h743zi/build.mk +++ b/board/nucleo-h743zi/build.mk @@ -13,6 +13,7 @@ test-list-y=\ aes \ compile_time_macros \ crc32 \ + mpu \ mutex \ pingpong \ rollback \ |