S.J.R. van Schaik
|
f951d695e8
|
test: flash: use different mocking technique
|
7 years ago |
S.J.R. van Schaik
|
b4ecfb527c
|
ftl: check magic in read_page_group()
|
7 years ago |
S.J.R. van Schaik
|
ed49402e3b
|
test: ftl: add tests for read_page_group()
|
7 years ago |
S.J.R. van Schaik
|
3e0df6537a
|
test: ftl: implement tests for write_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
108178d1be
|
test: flash: implement wrappers for flash_write() and flash_erase()
|
7 years ago |
S.J.R. van Schaik
|
a63e7656fe
|
test: ftl: add tests for next_upage()
|
7 years ago |
S.J.R. van Schaik
|
e84226657c
|
test: reorganise code
|
7 years ago |
S.J.R. van Schaik
|
18d2adcb85
|
make: less strict warnings
|
7 years ago |
S.J.R. van Schaik
|
f0a8439c51
|
ftl: fix address calculation in read_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
bbc799f805
|
test: add tests for find_block_div() and read_page_desc()
|
7 years ago |
S.J.R. van Schaik
|
b29e0b945d
|
tbm: fix minor issues during compilation
|
7 years ago |
S.J.R. van Schaik
|
82d765bee3
|
make: set up test framework
|
7 years ago |
S.J.R. van Schaik
|
e089e2ba4e
|
readme: initial version
|
8 years ago |
S.J.R. van Schaik
|
d5266221ef
|
usart: add CONFIG_USER_ECHO option
|
8 years ago |
S.J.R. van Schaik
|
9922994d1c
|
usart: do not send newlines
|
8 years ago |
S.J.R. van Schaik
|
dd6579fda7
|
stm32f0: rtc: remove unused variable
|
8 years ago |
S.J.R. van Schaik
|
fc61b55493
|
shell: rtc: fix off by one
|
8 years ago |
S.J.R. van Schaik
|
66f0b7b0d6
|
stm32f0: rtc: fix off by one
|
8 years ago |
S.J.R. van Schaik
|
3bf0593928
|
usart: set baud rate to 9600
|
8 years ago |
S.J.R. van Schaik
|
ebc8dbffa5
|
mufs: move header
|
8 years ago |
S.J.R. van Schaik
|
7d968dfad9
|
make: mufs: re-organise code and add separate Makefile
|
8 years ago |
S.J.R. van Schaik
|
2f632d140a
|
usart: generalise code for both stm32f0 and stm32f1
|
8 years ago |
S.J.R. van Schaik
|
81b475c334
|
usart: remove old usart code
|
8 years ago |
S.J.R. van Schaik
|
9f5afa977e
|
make: ftl: add separate Makefile
|
8 years ago |
S.J.R. van Schaik
|
b168422d8a
|
make: move spi_flash.c to source/platform
|
8 years ago |
S.J.R. van Schaik
|
b1d94ce1d0
|
shell: flash: use base 0 to use base 10 by default or base 16 when a 0x prefix is used
|
8 years ago |
S.J.R. van Schaik
|
7c44691059
|
usart: do not handle Ctrl+C
|
8 years ago |
S.J.R. van Schaik
|
f16cf26197
|
shell: flash: use console_getc() instead of getc()
|
8 years ago |
S.J.R. van Schaik
|
e6c1197d07
|
ftl: fix find_last_group() to use proper group offsets
|
8 years ago |
S.J.R. van Schaik
|
51da9338ea
|
ftl: return -1 when no root could be found
|
8 years ago |
S.J.R. van Schaik
|
5b21fe9813
|
ftl: fix read_page_desc() and write_page_desc() to use proper offsets
|
8 years ago |
S.J.R. van Schaik
|
f44581b648
|
ftl: fix is_group_erased() to read the proper offsets
|
8 years ago |
S.J.R. van Schaik
|
538b3150a5
|
macros: add proper BIT_MASK() macro
|
8 years ago |
S.J.R. van Schaik
|
736d7d74a0
|
make: add commands to run openocd with appropriate settings
|
8 years ago |
S.J.R. van Schaik
|
a5175b3e54
|
stm32f0: add support for stm32flash tool
|
8 years ago |
S.J.R. van Schaik
|
a221bf87bf
|
make: improve prefix support
|
8 years ago |
S.J.R. van Schaik
|
ebd770b957
|
stm32f1: initial support
|
8 years ago |
S.J.R. van Schaik
|
dc6365c7f8
|
ftl: fix bug in root recovery by marking page descriptors with a magic value
|
8 years ago |
S.J.R. van Schaik
|
23c861eab5
|
mufs: erase during block allocation
|
8 years ago |
S.J.R. van Schaik
|
07e6cadae9
|
stm32f0: gpio: use PA4-PA7 for SPI1 to be compatible with tbm-schematics
|
8 years ago |
S.J.R. van Schaik
|
33373dd250
|
main: swap around USART1 and USART2 to be compatible with tbm-schematics
|
8 years ago |
S.J.R. van Schaik
|
0ee4779e5c
|
mufs: clean up code for tree management
|
8 years ago |
S.J.R. van Schaik
|
2a62bd1f15
|
mufs: properly free intermediate pages when empty in mufs_do_free_page()
|
8 years ago |
S.J.R. van Schaik
|
37a25d7384
|
ftl: use default_flash_is_zero() to check if pages are erased
|
8 years ago |
S.J.R. van Schaik
|
756e5852cb
|
flash: implement functions to check if pages are all zero or one
|
8 years ago |
S.J.R. van Schaik
|
fe1cd870c0
|
mufs: implement mufs_get_index() to select the index bits from the va at a specific depth
|
8 years ago |
S.J.R. van Schaik
|
907175bd37
|
stm32f0: spi: move to platform-specific directory
|
8 years ago |
S.J.R. van Schaik
|
73788ae5e6
|
flash: consistently use char instead of uint8_t
|
8 years ago |
S.J.R. van Schaik
|
d17c1b65b4
|
make: separate Makefile for shell commands
|
8 years ago |
S.J.R. van Schaik
|
c10a0a2421
|
stm32f0: usart: set baud rate to 115200
|
8 years ago |