Commit graph

363 commits

Author SHA1 Message Date
adbd045af5 mufs: fix offset calculation in mufs_seek() 2017-10-05 16:58:50 +02:00
23b478e582 shell: fix off by one in draw_progress() 2017-10-03 17:21:47 +02:00
635df8e06f shell: mufs: use fprintf in shell_stat() 2017-10-03 16:49:03 +02:00
9a2888341d shell: mufs: fix order 2017-10-03 16:44:02 +02:00
5cc4824fdb shell: mufs: implement mufs cp to copy files 2017-10-03 16:40:49 +02:00
1638f9b0f1 shell: implement draw_progress() as a convenience function 2017-10-03 16:40:23 +02:00
4c2f4eab24 ftl: call trace_path() in ftl_sync() to get the page descriptor to write out 2017-10-03 14:55:32 +02:00
dddba0af8f ftl: check outstanding flags in ftl_seek() 2017-10-03 14:24:34 +02:00
52a7ec1fae mufs: call flash_sync() after each flash_write() 2017-10-03 14:20:47 +02:00
bf1f0f4bee test: ftl: add tests for ftl_read() 2017-10-03 13:56:38 +02:00
0d1ffa71fb ftl: change order of decrementing the used page count to be more logical 2017-10-03 13:33:45 +02:00
bea048006a ftl: separate code to start a transaction 2017-10-03 13:19:09 +02:00
65d269e2d4 ftl: maintain state for the transaction that is currently active 2017-10-03 13:15:10 +02:00
e40bd819d6 test: flash: mock flash_write0() and flash_copy() 2017-10-03 11:34:39 +02:00
fc1476d9dd test: ftl: add test to check if an exact match works for trace_path() 2017-10-03 11:24:44 +02:00
851c0cb7a6 test: ftl: check returned page descriptor for trace_path() 2017-10-03 11:14:44 +02:00
ae3b7933b7 test: ftl: add tests for trace_path() 2017-10-03 11:07:17 +02:00
f3eb5df644 test: ftl: add tests for ftl_is_mapped() 2017-09-21 17:27:15 +02:00
5004fed4aa test: reorganise code 2017-09-21 16:44:00 +02:00
6243dabea8 test: ftl: add tests for find_head() 2017-09-21 15:36:44 +02:00
920a59499b test: ftl: add tests for find_root() 2017-09-20 15:41:41 +02:00
b8426f12f2 test: ftl: mock read_page_desc() 2017-09-20 15:28:30 +02:00
1153f2bdcd test: ftl: improve descriptions for the test cases 2017-09-20 14:56:07 +02:00
6dcfd0d322 test: add tests for find_last_group() 2017-09-20 14:34:13 +02:00
d778e5a325 test: add tests for find_last_block() 2017-09-20 14:33:54 +02:00
c6744d6975 test: ftl: add tests for find_block() 2017-09-20 14:31:54 +02:00
73057f6f25 test: only call memcpy() in __wrap_flash_read() and __wrap_flash_write() when there is something to copy 2017-09-20 14:31:07 +02:00
0da262cc0f test: implement __wrap_is_group_erased() and __wrap_find_block() 2017-09-20 14:30:38 +02:00
bbfb9ca800 ftl: mock is_group_erased() and find_block() and simplify implementation of binary search 2017-09-20 14:30:08 +02:00
8e4dc856e7 test: ftl: separate mocked functions 2017-09-19 18:45:37 +02:00
2ff1003430 test: ftl: add tests for write_upage() 2017-09-19 18:45:18 +02:00
c1a7b885f2 test: call __real_write_page_desc() in tests and mock prepare_head() and write_page_desc() 2017-09-19 18:44:53 +02:00
d2aa954573 test: remove redundant declarations 2017-09-19 17:49:48 +02:00
f951d695e8 test: flash: use different mocking technique 2017-09-19 17:49:26 +02:00
b4ecfb527c ftl: check magic in read_page_group() 2017-09-19 16:19:01 +02:00
ed49402e3b test: ftl: add tests for read_page_group() 2017-09-19 16:18:46 +02:00
3e0df6537a test: ftl: implement tests for write_page_desc() 2017-09-19 16:07:13 +02:00
108178d1be test: flash: implement wrappers for flash_write() and flash_erase() 2017-09-19 16:06:55 +02:00
a63e7656fe test: ftl: add tests for next_upage() 2017-09-19 15:04:47 +02:00
e84226657c test: reorganise code 2017-09-19 14:37:23 +02:00
f0a8439c51 ftl: fix address calculation in read_page_desc() 2017-09-19 14:23:20 +02:00
bbc799f805 test: add tests for find_block_div() and read_page_desc() 2017-09-19 14:23:00 +02:00
b29e0b945d tbm: fix minor issues during compilation 2017-09-19 14:16:21 +02:00
82d765bee3 make: set up test framework 2017-09-19 14:15:26 +02:00
d5266221ef usart: add CONFIG_USER_ECHO option 2017-08-03 17:09:51 +02:00
9922994d1c usart: do not send newlines 2017-08-03 15:27:25 +02:00
dd6579fda7 stm32f0: rtc: remove unused variable 2017-08-03 13:37:00 +02:00
fc61b55493 shell: rtc: fix off by one 2017-08-02 00:09:24 +02:00
66f0b7b0d6 stm32f0: rtc: fix off by one 2017-08-02 00:09:03 +02:00
3bf0593928 usart: set baud rate to 9600 2017-08-01 17:20:46 +02:00