test: flash: mock flash_write0() and flash_copy()
This commit is contained in:
parent
fc1476d9dd
commit
e40bd819d6
3 changed files with 41 additions and 0 deletions
|
@ -21,6 +21,8 @@ test-obj-y += source/tests/ftl/ftl_is_mapped.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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue