S.J.R. van Schaik
|
c827115333
|
merge
|
8 years ago |
S.J.R. van Schaik
|
ea142b75fe
|
stm32f0: gpio: rcc: separate GPIO and RCC setup
|
8 years ago |
S.J.R. van Schaik
|
4e9f1c77bf
|
stm32f0: usart: temporarily enable GPIOs
|
8 years ago |
S.J.R. van Schaik
|
963b713d46
|
stm32f0: usart: fix typo
|
8 years ago |
S.J.R. van Schaik
|
eaa61e50af
|
stm32f0: usart: generalise initialisation
|
8 years ago |
S.J.R. van Schaik
|
652a90aab8
|
ftl: add newline for clarity
|
8 years ago |
S.J.R. van Schaik
|
2b2827eb18
|
shell: simplify prompt()
|
8 years ago |
S.J.R. van Schaik
|
e4d0dc3cb3
|
usart: implement interrupt for USART receive
|
8 years ago |
S.J.R. van Schaik
|
7d0dcfaae5
|
macros: add macro to specify a bit mask range
|
8 years ago |
S.J.R. van Schaik
|
159a4e83b4
|
spi: flash: correct wrap-around.
|
8 years ago |
S.J.R. van Schaik
|
3395eb1a82
|
spi: flash: support the 256-byte wraparound when programming pages
|
8 years ago |
S.J.R. van Schaik
|
3d33e5e0ce
|
flash: return the amount of written bytes in flash_write0() and default_flash_copy()
|
8 years ago |
S.J.R. van Schaik
|
7826eccc36
|
ftl: restructure ftl_write() to use less memory by using flash_write0() and flash_copy()
|
8 years ago |
S.J.R. van Schaik
|
3a287deba2
|
style: flash: remove trailing newlines
|
8 years ago |
S.J.R. van Schaik
|
cd67577f35
|
flash: implement flash_write0() to write a sequence of zeroes
|
8 years ago |
S.J.R. van Schaik
|
22028021ca
|
ftl: use write_page_desc() in ftl_trim()
|
8 years ago |
S.J.R. van Schaik
|
7a3e5a7679
|
spi: flash: enable write before every chunk to write in flash_write()
|
8 years ago |
S.J.R. van Schaik
|
d17c80e7eb
|
spi: flash: provide the proper length of the buffer in flash_write()
|
8 years ago |
S.J.R. van Schaik
|
24f7c7b96a
|
shell: flash: display offsets properly
|
8 years ago |
S.J.R. van Schaik
|
463cf04f8d
|
shell: flash display offsets
|
8 years ago |
S.J.R. van Schaik
|
d1a82f333a
|
shell: flash: add padding in print_hex()
|
8 years ago |
S.J.R. van Schaik
|
7013192b2e
|
shell: mufs: fix an issue when claiming ownership of flash device for mufs unmount
|
8 years ago |
S.J.R. van Schaik
|
b0548df204
|
shell: mufs: check if the file system has been mounted
|
8 years ago |
S.J.R. van Schaik
|
0e9c19c836
|
mufs: fix syncing issue in write_dirent()
|
8 years ago |
S.J.R. van Schaik
|
cbd395e137
|
mufs: optimise memory footprint of mufs_do_lookup()
|
8 years ago |
S.J.R. van Schaik
|
807959eb29
|
mufs: optimise memory footprint of write_dirent()
|
8 years ago |
S.J.R. van Schaik
|
0484f082ee
|
mufs: optimise memory footprint of read_dirent()
|
8 years ago |
S.J.R. van Schaik
|
555e28e229
|
mufs: optimise memory footprint of find_dirent_size()
|
8 years ago |
S.J.R. van Schaik
|
6d73d7a655
|
spi: flash: use default_flash_copy()
|
8 years ago |
S.J.R. van Schaik
|
1a2341e012
|
make: stm32f0: optimise for size
|
8 years ago |
S.J.R. van Schaik
|
c38413dc90
|
flash: change prototype of flash_copy() and use the default implementation in the sandbox
|
8 years ago |
S.J.R. van Schaik
|
d21b5addff
|
mufs: include block.h in super.c
|
8 years ago |
S.J.R. van Schaik
|
a8beb53fa0
|
flash: implement a default function for copying data
|
8 years ago |
S.J.R. van Schaik
|
1ba4e77dd6
|
ftl: copy the page of the cousin instead of the page to trim in ftl_trim()
|
8 years ago |
S.J.R. van Schaik
|
bc28781181
|
mufs: do not write back in mufs_next_free_block()
|
8 years ago |
S.J.R. van Schaik
|
ed5e3ef8ea
|
ftl: fix typo
|
8 years ago |
S.J.R. van Schaik
|
dfa497198f
|
ftl: copy dev->log2_block_size to log2_erase_size in reset_map()
|
8 years ago |
S.J.R. van Schaik
|
4292ef2f26
|
ftl: copy log2_page_size to dev->log2_block_size
|
8 years ago |
S.J.R. van Schaik
|
bcf844aab4
|
mufs: properly format block allocation bitmap
|
8 years ago |
S.J.R. van Schaik
|
3c35521979
|
mufs: reduce memory footprint in block allocation
|
8 years ago |
S.J.R. van Schaik
|
a22b59b2a8
|
macros: add mask() as a macro to calculate the bit mask
|
8 years ago |
S.J.R. van Schaik
|
fa49f634e4
|
flash: spi: perform both flash_read() and flash_write() in chunks of 32 bytes
|
8 years ago |
S.J.R. van Schaik
|
7ab3a84fc4
|
spi: flash: use default_is_erased() to check if a block is erased
|
8 years ago |
S.J.R. van Schaik
|
68593c2e6f
|
flash: check if a block is erased in chunks of 32 bytes
|
8 years ago |
S.J.R. van Schaik
|
f20e7128eb
|
spi: flash: wait for operations to complete
|
8 years ago |
S.J.R. van Schaik
|
5bafd2ac8f
|
spi: flash: set log2_block_size
|
8 years ago |
S.J.R. van Schaik
|
d53276e407
|
spi: flash: the JEDEC ID should be at most three bytes in length
|
8 years ago |
S.J.R. van Schaik
|
85a3f84d61
|
spi: properly exchange bytes by sending and reading each byte within a SPI transaction
|
8 years ago |
S.J.R. van Schaik
|
e7ad03608a
|
spi: flash: don't print the JEDEC ID any longer
|
8 years ago |
S.J.R. van Schaik
|
440c598d16
|
spi: flash: properly copy the JEDEC ID from the buffer
|
8 years ago |