From ae97645e8f4a8dc554739450e64fef5c77666c2b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 28 Apr 2020 17:16:24 -0700 Subject: stm32: Enable more on-device unit tests As part of the effort to run unit tests on device, we start by enabling a subset of the existing tests that compile and pass when run on device. BRANCH=none BUG=b:151105339 TEST=make BOARD=nucleo-dartmonkey tests -j TEST=make BOARD=bloonchipper tests -j TEST=make BOARD=dartmonkey tests -j TEST=make BOARD=nucleo-f412zg tests -j TEST=For each "test_name.bin" file created by above command -> flash to dragonclaw dev board -> "runtest" in the console Signed-off-by: Tom Hughes Change-Id: Ifbb3c1627c4da6b8aa27d2512530a879d54c86e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2172061 Commit-Queue: Yicheng Li Reviewed-by: Yicheng Li --- board/hatch_fp/build.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'board/hatch_fp/build.mk') diff --git a/board/hatch_fp/build.mk b/board/hatch_fp/build.mk index a6a37a3ace..93c40a530d 100644 --- a/board/hatch_fp/build.mk +++ b/board/hatch_fp/build.mk @@ -11,4 +11,12 @@ CHIP_VARIANT:=stm32f412 board-y=board.o fpsensor_detect.o -test-list-y=aes sha256 sha256_unrolled +test-list-y=\ + aes \ + compile_time_macros \ + crc32 \ + mutex \ + pingpong \ + rtc \ + sha256 \ + sha256_unrolled \ -- cgit v1.2.1