Source code for the Trusted Boot Module.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tbm-mcu/source/tests/Makefile

34 lines
1.3 KiB

test-obj-y += source/tests/main.o
test-obj-y += source/tests/flash/mock.o
test-obj-y += source/tests/ftl/main.o
test-obj-y += source/tests/ftl/mock.o
test-obj-y += source/tests/ftl/find_block.o
test-obj-y += source/tests/ftl/find_block_div.o
test-obj-y += source/tests/ftl/find_last_block.o
test-obj-y += source/tests/ftl/find_last_group.o
test-obj-y += source/tests/ftl/find_head.o
test-obj-y += source/tests/ftl/find_root.o
test-obj-y += source/tests/ftl/next_upage.o
test-obj-y += source/tests/ftl/read_page_group.o
test-obj-y += source/tests/ftl/read_page_desc.o
test-obj-y += source/tests/ftl/write_page_desc.o
test-obj-y += source/tests/ftl/write_upage.o
test-obj-y += source/tests/ftl/trace_path.o
test-obj-y += source/tests/ftl/ftl_is_mapped.o
test-obj-y += source/tests/ftl/ftl_read.o
TEST_CFLAGS += -Dflash_read=__wrap_flash_read
TEST_CFLAGS += -Dflash_write=__wrap_flash_write
TEST_CFLAGS += -Dflash_write0=__wrap_flash_write0
TEST_CFLAGS += -Dflash_copy=__wrap_flash_copy
TEST_CFLAGS += -Dflash_is_erased=__wrap_flash_is_erased
TEST_CFLAGS += -Dis_group_erased=__wrap_is_group_erased
TEST_CFLAGS += -Dfind_block=__wrap_find_block
TEST_CFLAGS += -Dprepare_head=__wrap_prepare_head
TEST_CFLAGS += -Dread_page_desc=__wrap_read_page_desc
TEST_CFLAGS += -Dwrite_page_desc=__wrap_write_page_desc
TEST_CFLAGS += -Dtrace_path=__wrap_trace_path