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

20 lines
857 B

test-obj-y += source/tests/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/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_CFLAGS += -Dflash_read=__wrap_flash_read
TEST_CFLAGS += -Dflash_write=__wrap_flash_write
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 += -Dwrite_page_desc=__wrap_write_page_desc