S.J.R. van Schaik
|
bf677b7655
|
macros: add align_up()
|
8 years ago |
S.J.R. van Schaik
|
9480a91ecc
|
mufs: calculate log2_nentries during mount
|
8 years ago |
S.J.R. van Schaik
|
c08a8be9a9
|
mufs: add actual file size to tree information
|
8 years ago |
S.J.R. van Schaik
|
c5c24788c8
|
mufs: mufs_mount() read the tree pointer of the root directory
|
8 years ago |
S.J.R. van Schaik
|
32f0ca0e1a
|
flash: remove log2_page_size
|
8 years ago |
S.J.R. van Schaik
|
ff0b94789e
|
shell: add commands for ftl and mufs
|
8 years ago |
S.J.R. van Schaik
|
19cd9d185f
|
mufs: initial support for mounting/formatting
|
8 years ago |
S.J.R. van Schaik
|
efa91ba5c3
|
macros: add align() macro
|
8 years ago |
S.J.R. van Schaik
|
c684a57e24
|
ftl: add ftl_is_mapped() to check if a page is mapped
|
8 years ago |
S.J.R. van Schaik
|
937521c909
|
flash: return size for flash_read() and flash_write()
|
8 years ago |
S.J.R. van Schaik
|
6a2c499d7a
|
ftl: use byte-offset from VA in ftl_write()
|
8 years ago |
S.J.R. van Schaik
|
f53b072a65
|
flash: implement release() as part of flash_ops
|
8 years ago |
S.J.R. van Schaik
|
20125827b6
|
flash: add and implemented flash_is_erased() for sandbox flash
|
8 years ago |
S.J.R. van Schaik
|
e65110f084
|
improve API for flash_erase()
|
8 years ago |
S.J.R. van Schaik
|
b6c5d5bbda
|
ftl: implemented ftl_mount() to seamlessly wrap flash devices
|
8 years ago |
S.J.R. van Schaik
|
6f7fec2965
|
ftl: rename journal to map
|
8 years ago |
S.J.R. van Schaik
|
a899f35562
|
flash: add flash_get_capacity()
|
8 years ago |
S.J.R. van Schaik
|
602ebb364d
|
ftl: use void * instead of uint8_t *
|
8 years ago |
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
|
4b651b19f1
|
ftl: add ftl_get_size(), allow trimming final sector, recover tail and 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
|
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
|
13ea9ce49d
|
macros: fix macro for GiB
|
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
|
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
|
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
|
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
|
eb41dd93db
|
shell: separate code
|
8 years ago |
S.J.R. van Schaik
|
81632df5e9
|
console: separate driver for USART
|
8 years ago |
S.J.R. van Schaik
|
b6d216255f
|
flash: remove old code for SPI flash
|
8 years ago |
S.J.R. van Schaik
|
094c600283
|
flash: add SPI flash driver
|
8 years ago |
S.J.R. van Schaik
|
39dbac8742
|
macros: move macros for human-readable sizes and rounding
|
8 years ago |
S.J.R. van Schaik
|
92b3c1108b
|
flash: implement flash driver model
|
8 years ago |
S.J.R. van Schaik
|
a078de7c9f
|
spi: stm32f0: add SPI driver
|
8 years ago |
S.J.R. van Schaik
|
a572b357f7
|
console: usart: set up stdout, stderr and stdout
|
8 years ago |
S.J.R. van Schaik
|
3873f68817
|
make: restructure build scripts
|
8 years ago |