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.
23 lines
997 B
23 lines
997 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/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_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 += -Dread_page_desc=__wrap_read_page_desc
|
|
TEST_CFLAGS += -Dwrite_page_desc=__wrap_write_page_desc
|
|
|