Commit Graph

68 Commits (57f72ea5f526cbb1047584363f05225c396ad4c2)
 

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