memtester:Two new bit-width test items
Because it may cause unaligned access problems with some hardware, these two tests are not turned on by default, and are enabled or disabled through Kconfig. Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
de3746e2ba
commit
56045e8e3d
@ -32,4 +32,11 @@ config UTILS_MEMTESTER_PRIORITY
|
||||
int "Task PRIORITY"
|
||||
default 100
|
||||
|
||||
config UTILS_MEMTESTER_NARROW
|
||||
bool "TEST_NARROW"
|
||||
default n
|
||||
---help---
|
||||
Turn on the "test_8bit_wide_random test_16bit_wide_random" tests, which
|
||||
may result in unaligned access on some platforms.
|
||||
|
||||
endif
|
||||
|
@ -26,6 +26,10 @@ CSRCS += memtester/output.c
|
||||
|
||||
MAINSRC = memtester/memtester.c
|
||||
|
||||
ifeq ($(CONFIG_UTILS_MEMTESTER_NARROW),y)
|
||||
CFLAGS += -DTEST_NARROW_WRITES
|
||||
endif
|
||||
|
||||
ifeq ($(wildcard memtester/.git),)
|
||||
VERSION ?= master
|
||||
memtester.zip:
|
||||
|
Loading…
Reference in New Issue
Block a user