S.J.R. van Schaik
|
6defd2365c
|
spi: flash: require manufacturer ID
|
7 years ago |
S.J.R. van Schaik
|
84454c8054
|
shell: flash: show JEDEC ID when running flash info
|
7 years ago |
S.J.R. van Schaik
|
81430df971
|
core: spi: flash: implement flash_get_jedec_id()
|
7 years ago |
S.J.R. van Schaik
|
238ea35524
|
stm32f1: fix PRSZu macro
|
7 years ago |
S.J.R. van Schaik
|
36971300b0
|
ftl: map: only declare __wrap_find_block() in testing mode
|
7 years ago |
S.J.R. van Schaik
|
adbd045af5
|
mufs: fix offset calculation in mufs_seek()
|
7 years ago |
S.J.R. van Schaik
|
23b478e582
|
shell: fix off by one in draw_progress()
|
7 years ago |
S.J.R. van Schaik
|
635df8e06f
|
shell: mufs: use fprintf in shell_stat()
|
7 years ago |
S.J.R. van Schaik
|
9a2888341d
|
shell: mufs: fix order
|
7 years ago |
S.J.R. van Schaik
|
5cc4824fdb
|
shell: mufs: implement mufs cp to copy files
|
7 years ago |
S.J.R. van Schaik
|
1638f9b0f1
|
shell: implement draw_progress() as a convenience function
|
7 years ago |
S.J.R. van Schaik
|
4c2f4eab24
|
ftl: call trace_path() in ftl_sync() to get the page descriptor to write out
|
7 years ago |
S.J.R. van Schaik
|
dddba0af8f
|
ftl: check outstanding flags in ftl_seek()
|
7 years ago |
S.J.R. van Schaik
|
52a7ec1fae
|
mufs: call flash_sync() after each flash_write()
|
7 years ago |
S.J.R. van Schaik
|
bf1f0f4bee
|
test: ftl: add tests for ftl_read()
|
7 years ago |
S.J.R. van Schaik
|
0d1ffa71fb
|
ftl: change order of decrementing the used page count to be more logical
|
7 years ago |
S.J.R. van Schaik
|
bea048006a
|
ftl: separate code to start a transaction
|
7 years ago |
S.J.R. van Schaik
|
65d269e2d4
|
ftl: maintain state for the transaction that is currently active
|
7 years ago |
S.J.R. van Schaik
|
e40bd819d6
|
test: flash: mock flash_write0() and flash_copy()
|
7 years ago |
S.J.R. van Schaik
|
fc1476d9dd
|
test: ftl: add test to check if an exact match works for trace_path()
|
7 years ago |
S.J.R. van Schaik
|
851c0cb7a6
|
test: ftl: check returned page descriptor for trace_path()
|
7 years ago |
S.J.R. van Schaik
|
ae3b7933b7
|
test: ftl: add tests for trace_path()
|
7 years ago |
S.J.R. van Schaik
|
f3eb5df644
|
test: ftl: add tests for ftl_is_mapped()
|
7 years ago |
S.J.R. van Schaik
|
5004fed4aa
|
test: reorganise code
|
7 years ago |
S.J.R. van Schaik
|
6243dabea8
|
test: ftl: add tests for find_head()
|
7 years ago |
S.J.R. van Schaik
|
920a59499b
|
test: ftl: add tests for find_root()
|
7 years ago |
S.J.R. van Schaik
|
b8426f12f2
|
test: ftl: mock read_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
1153f2bdcd
|
test: ftl: improve descriptions for the test cases
|
7 years ago |
S.J.R. van Schaik
|
6dcfd0d322
|
test: add tests for find_last_group()
|
7 years ago |
S.J.R. van Schaik
|
d778e5a325
|
test: add tests for find_last_block()
|
7 years ago |
S.J.R. van Schaik
|
c6744d6975
|
test: ftl: add tests for find_block()
|
7 years ago |
S.J.R. van Schaik
|
73057f6f25
|
test: only call memcpy() in __wrap_flash_read() and __wrap_flash_write() when there is something to copy
|
7 years ago |
S.J.R. van Schaik
|
0da262cc0f
|
test: implement __wrap_is_group_erased() and __wrap_find_block()
|
7 years ago |
S.J.R. van Schaik
|
bbfb9ca800
|
ftl: mock is_group_erased() and find_block() and simplify implementation of binary search
|
7 years ago |
S.J.R. van Schaik
|
8e4dc856e7
|
test: ftl: separate mocked functions
|
7 years ago |
S.J.R. van Schaik
|
2ff1003430
|
test: ftl: add tests for write_upage()
|
7 years ago |
S.J.R. van Schaik
|
c1a7b885f2
|
test: call __real_write_page_desc() in tests and mock prepare_head() and write_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
d2aa954573
|
test: remove redundant declarations
|
7 years ago |
S.J.R. van Schaik
|
f951d695e8
|
test: flash: use different mocking technique
|
7 years ago |
S.J.R. van Schaik
|
b4ecfb527c
|
ftl: check magic in read_page_group()
|
7 years ago |
S.J.R. van Schaik
|
ed49402e3b
|
test: ftl: add tests for read_page_group()
|
7 years ago |
S.J.R. van Schaik
|
3e0df6537a
|
test: ftl: implement tests for write_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
108178d1be
|
test: flash: implement wrappers for flash_write() and flash_erase()
|
7 years ago |
S.J.R. van Schaik
|
a63e7656fe
|
test: ftl: add tests for next_upage()
|
7 years ago |
S.J.R. van Schaik
|
e84226657c
|
test: reorganise code
|
7 years ago |
S.J.R. van Schaik
|
18d2adcb85
|
make: less strict warnings
|
7 years ago |
S.J.R. van Schaik
|
f0a8439c51
|
ftl: fix address calculation in read_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
bbc799f805
|
test: add tests for find_block_div() and read_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
b29e0b945d
|
tbm: fix minor issues during compilation
|
7 years ago |
S.J.R. van Schaik
|
82d765bee3
|
make: set up test framework
|
7 years ago |