Commit graph

324 commits

Author SHA1 Message Date
652a90aab8 ftl: add newline for clarity 2017-07-18 12:59:43 +02:00
2b2827eb18 shell: simplify prompt() 2017-07-18 12:59:26 +02:00
e4d0dc3cb3 usart: implement interrupt for USART receive 2017-07-18 12:59:05 +02:00
159a4e83b4 spi: flash: correct wrap-around. 2017-06-26 12:18:44 +02:00
3395eb1a82 spi: flash: support the 256-byte wraparound when programming pages 2017-06-24 17:02:36 +02:00
3d33e5e0ce flash: return the amount of written bytes in flash_write0() and default_flash_copy() 2017-06-23 16:55:45 +02:00
7826eccc36 ftl: restructure ftl_write() to use less memory by using flash_write0() and flash_copy() 2017-06-23 16:22:05 +02:00
3a287deba2 style: flash: remove trailing newlines 2017-06-23 16:10:10 +02:00
cd67577f35 flash: implement flash_write0() to write a sequence of zeroes 2017-06-23 16:09:56 +02:00
22028021ca ftl: use write_page_desc() in ftl_trim() 2017-06-23 16:03:42 +02:00
7a3e5a7679 spi: flash: enable write before every chunk to write in flash_write() 2017-06-22 18:49:43 +02:00
d17c80e7eb spi: flash: provide the proper length of the buffer in flash_write() 2017-06-22 17:38:58 +02:00
24f7c7b96a shell: flash: display offsets properly 2017-06-16 17:14:53 +02:00
463cf04f8d shell: flash display offsets 2017-06-16 17:13:45 +02:00
d1a82f333a shell: flash: add padding in print_hex() 2017-06-16 17:08:39 +02:00
7013192b2e shell: mufs: fix an issue when claiming ownership of flash device for mufs unmount 2017-06-16 16:37:53 +02:00
b0548df204 shell: mufs: check if the file system has been mounted 2017-06-16 16:36:15 +02:00
0e9c19c836 mufs: fix syncing issue in write_dirent() 2017-06-16 16:25:58 +02:00
cbd395e137 mufs: optimise memory footprint of mufs_do_lookup() 2017-06-16 16:16:46 +02:00
807959eb29 mufs: optimise memory footprint of write_dirent() 2017-06-16 15:57:00 +02:00
0484f082ee mufs: optimise memory footprint of read_dirent() 2017-06-16 15:52:12 +02:00
555e28e229 mufs: optimise memory footprint of find_dirent_size() 2017-06-16 15:46:55 +02:00
6d73d7a655 spi: flash: use default_flash_copy() 2017-06-16 15:43:21 +02:00
c38413dc90 flash: change prototype of flash_copy() and use the default implementation in the sandbox 2017-06-16 15:42:08 +02:00
d21b5addff mufs: include block.h in super.c 2017-06-16 15:40:12 +02:00
a8beb53fa0 flash: implement a default function for copying data 2017-06-16 15:40:02 +02:00
1ba4e77dd6 ftl: copy the page of the cousin instead of the page to trim in ftl_trim() 2017-06-16 15:38:08 +02:00
bc28781181 mufs: do not write back in mufs_next_free_block() 2017-06-16 15:37:31 +02:00
ed5e3ef8ea ftl: fix typo 2017-06-16 14:41:50 +02:00
dfa497198f ftl: copy dev->log2_block_size to log2_erase_size in reset_map() 2017-06-16 14:41:12 +02:00
4292ef2f26 ftl: copy log2_page_size to dev->log2_block_size 2017-06-16 14:39:45 +02:00
bcf844aab4 mufs: properly format block allocation bitmap 2017-06-16 14:21:04 +02:00
3c35521979 mufs: reduce memory footprint in block allocation 2017-06-16 14:20:43 +02:00
fa49f634e4 flash: spi: perform both flash_read() and flash_write() in chunks of 32 bytes 2017-06-14 16:21:22 +02:00
7ab3a84fc4 spi: flash: use default_is_erased() to check if a block is erased 2017-06-14 16:19:36 +02:00
68593c2e6f flash: check if a block is erased in chunks of 32 bytes 2017-06-14 16:19:02 +02:00
f20e7128eb spi: flash: wait for operations to complete 2017-06-14 15:13:34 +02:00
5bafd2ac8f spi: flash: set log2_block_size 2017-06-14 14:59:07 +02:00
d53276e407 spi: flash: the JEDEC ID should be at most three bytes in length 2017-06-14 14:38:03 +02:00
85a3f84d61 spi: properly exchange bytes by sending and reading each byte within a SPI transaction 2017-06-14 14:37:22 +02:00
e7ad03608a spi: flash: don't print the JEDEC ID any longer 2017-06-14 14:37:04 +02:00
440c598d16 spi: flash: properly copy the JEDEC ID from the buffer 2017-06-14 14:36:36 +02:00
460fc8f7a5 spi: flash: map get_capacity to spi_flash_get_size() 2017-06-14 14:36:19 +02:00
154c33950a spi: get rid of the separate calls to spi_set_cs_level() 2017-06-14 14:27:31 +02:00
60d316711f spi: clean up the code in order to reduce the latency 2017-06-14 14:26:11 +02:00
f0de762d61 shell: mufs: use PRIu32 to print the size for proper portability 2017-06-14 14:14:32 +02:00
316e3a13d2 shell: remove deprecated print_size() function 2017-06-14 14:14:14 +02:00
8f680b9d5b ftl: remove unused variable 2017-06-14 14:13:57 +02:00
ae0e8a37d3 mufs: cast offsets to long for comparison in mufs_seek() 2017-06-14 14:13:42 +02:00
e20e9e13e0 spi: flash: update code 2017-06-14 14:13:23 +02:00