Commit Graph

371 Commits (73057f6f25a0889832e81725696d0cb7b60b4e33)
 

Author SHA1 Message Date
S.J.R. van Schaik e31a852225 ftl: add buffer length to ftl_read() 8 years ago
S.J.R. van Schaik cd44b4866b ftl: remove ftl_find() 8 years ago
S.J.R. van Schaik e88435b3a6 fs: remove old attempt 8 years ago
S.J.R. van Schaik 57f72ea5f5 bitops: merged bitset functions and cleaned up code 8 years ago
S.J.R. van Schaik 5a8bf83c7b stm32f0: added tested example code to reset the Whitebox 8 years ago
S.J.R. van Schaik 24ab1dd9b7 ftl: trim last sector by writing an empty page descriptor 8 years ago
S.J.R. van Schaik 1c396c407a ftl: replace erase_block() with a direct call to flash_erase() 8 years ago
S.J.R. van Schaik b0c53116d6 ftl: fix off by one in garbage collection code 8 years ago
S.J.R. van Schaik 4b651b19f1 ftl: add ftl_get_size(), allow trimming final sector, recover tail and size 8 years ago
S.J.R. van Schaik da30898794 ftl: more comments 8 years ago
S.J.R. van Schaik 51893666a5 make: optimise for size 8 years ago
S.J.R. van Schaik 2b5225ef98 ftl: initial implementation of the Flash Translation Layer 8 years ago
S.J.R. van Schaik bd326ad795 flash: add flash_copy and improve flash_erase 8 years ago
S.J.R. van Schaik a36addf39b shell: add flash info to print the flash size 8 years ago
S.J.R. van Schaik f61ecefdc6 flash: add flash_get_size() 8 years ago
S.J.R. van Schaik 86afdc1707 macros: add PRSZu because arm-none-eabi does not support %zu 8 years ago
S.J.R. van Schaik bff4845c32 flash: detect flash size 8 years ago
S.J.R. van Schaik 13ea9ce49d macros: fix macro for GiB 8 years ago
S.J.R. van Schaik 77c3e5f440 spi: avoid setting up clocks again as it conflicts with USART 8 years ago
S.J.R. van Schaik f7db775316 usart: re-route input as output 8 years ago
S.J.R. van Schaik 28d9f1df99 shell: avoid printing stdio input 8 years ago
S.J.R. van Schaik db3de90f24 shell: print error when flash device cannot be probed 8 years ago
S.J.R. van Schaik 0bc1146ffd flash: separate SPI flash commands 8 years ago
S.J.R. van Schaik 7be9d0f049 bitops: add ilog2() 8 years ago
S.J.R. van Schaik 5387c2cdb7 bitset: use void * instead of uint8_t * 8 years ago
S.J.R. van Schaik ce9065166b flash: use MAP_SHARED for files 8 years ago
S.J.R. van Schaik 45c1730149 shell: release flash device before probing 8 years ago
S.J.R. van Schaik 1fa1dfefb1 make: only builds tools for host 8 years ago
S.J.R. van Schaik d1da4b3c9d flash: add function to release flash device 8 years ago
S.J.R. van Schaik d2bb6994eb spi: add function to release SPI device 8 years ago
S.J.R. van Schaik a5f92e1326 bitset: add next_clear_bit() to find the next clear bit 8 years ago
S.J.R. van Schaik 69557fa814 bitset: add next_set_bit() to find the next set bit 8 years ago
S.J.R. van Schaik 49c90e70f0 shell: introduce part create command 8 years ago
S.J.R. van Schaik 886b90f5f3 shell: expose currently probed flash device 8 years ago
S.J.R. van Schaik adcda56894 fs: add initial code to create the partition table 8 years ago
S.J.R. van Schaik 2448ddcd4e fs: add block_is_erased() to check if a block is truly erased 8 years ago
S.J.R. van Schaik 31740bbb20 flash: map existing file to memory to use as sandbox flash 8 years ago
S.J.R. van Schaik eca2bc7b17 tools: add tool to create empty flash image 8 years ago
S.J.R. van Schaik 80a5ecc64c flash: add includes for stdint.h and stdlib.h 8 years ago
S.J.R. van Schaik c594c2aa9a bitset: add functions to manipulate bitsets 8 years ago
S.J.R. van Schaik cd9d974a91 macros: add BIT(n) and BIT_SIZE(t) macros 8 years ago
S.J.R. van Schaik 1188b24a31 shell: use min() macro 8 years ago
S.J.R. van Schaik e9a9236fc7 shell: use re-allocated buffer to store additional characters 8 years ago
S.J.R. van Schaik 0e95284835 debug: remove empty file 8 years ago
S.J.R. van Schaik 1c7f86529c shell: remove old code 8 years ago
S.J.R. van Schaik eb41dd93db shell: separate code 8 years ago
S.J.R. van Schaik 422ef6ae51 shell: use uint8_t instead of char for showing bytes 8 years ago
S.J.R. van Schaik 2f82854e8a flash: sandbox: fix size checks and erase initial memory 8 years ago
S.J.R. van Schaik 4a176a404c make: move stm32f0-specific CFLAGS and LDFLAGS 8 years ago
S.J.R. van Schaik c815803869 flash: add sandbox driver for testing 8 years ago