S.J.R. van Schaik
|
b168422d8a
|
make: move spi_flash.c to source/platform
|
7 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
|
7 years ago |
S.J.R. van Schaik
|
7c44691059
|
usart: do not handle Ctrl+C
|
7 years ago |
S.J.R. van Schaik
|
f16cf26197
|
shell: flash: use console_getc() instead of getc()
|
7 years ago |
S.J.R. van Schaik
|
e6c1197d07
|
ftl: fix find_last_group() to use proper group offsets
|
7 years ago |
S.J.R. van Schaik
|
51da9338ea
|
ftl: return -1 when no root could be found
|
7 years ago |
S.J.R. van Schaik
|
5b21fe9813
|
ftl: fix read_page_desc() and write_page_desc() to use proper offsets
|
7 years ago |
S.J.R. van Schaik
|
f44581b648
|
ftl: fix is_group_erased() to read the proper offsets
|
7 years ago |
S.J.R. van Schaik
|
538b3150a5
|
macros: add proper BIT_MASK() macro
|
7 years ago |
S.J.R. van Schaik
|
736d7d74a0
|
make: add commands to run openocd with appropriate settings
|
7 years ago |
S.J.R. van Schaik
|
a5175b3e54
|
stm32f0: add support for stm32flash tool
|
7 years ago |
S.J.R. van Schaik
|
a221bf87bf
|
make: improve prefix support
|
7 years ago |
S.J.R. van Schaik
|
ebd770b957
|
stm32f1: initial support
|
7 years ago |
S.J.R. van Schaik
|
dc6365c7f8
|
ftl: fix bug in root recovery by marking page descriptors with a magic value
|
7 years ago |
S.J.R. van Schaik
|
23c861eab5
|
mufs: erase during block allocation
|
7 years ago |
S.J.R. van Schaik
|
07e6cadae9
|
stm32f0: gpio: use PA4-PA7 for SPI1 to be compatible with tbm-schematics
|
7 years ago |
S.J.R. van Schaik
|
33373dd250
|
main: swap around USART1 and USART2 to be compatible with tbm-schematics
|
7 years ago |
S.J.R. van Schaik
|
0ee4779e5c
|
mufs: clean up code for tree management
|
7 years ago |
S.J.R. van Schaik
|
2a62bd1f15
|
mufs: properly free intermediate pages when empty in mufs_do_free_page()
|
7 years ago |
S.J.R. van Schaik
|
37a25d7384
|
ftl: use default_flash_is_zero() to check if pages are erased
|
7 years ago |
S.J.R. van Schaik
|
756e5852cb
|
flash: implement functions to check if pages are all zero or one
|
7 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
|
7 years ago |
S.J.R. van Schaik
|
907175bd37
|
stm32f0: spi: move to platform-specific directory
|
7 years ago |
S.J.R. van Schaik
|
73788ae5e6
|
flash: consistently use char instead of uint8_t
|
7 years ago |
S.J.R. van Schaik
|
d17c1b65b4
|
make: separate Makefile for shell commands
|
7 years ago |
S.J.R. van Schaik
|
c10a0a2421
|
stm32f0: usart: set baud rate to 115200
|
7 years ago |
S.J.R. van Schaik
|
f2a922c697
|
main: don't bail if mounting fails
|
7 years ago |
S.J.R. van Schaik
|
ebb8bbe5f3
|
main: add command for booting
|
7 years ago |
S.J.R. van Schaik
|
159b29c625
|
shell: boot: switch to trusted commands
|
7 years ago |
S.J.R. van Schaik
|
428ce212a5
|
shell: add boot commands
|
7 years ago |
S.J.R. van Schaik
|
db0a62fc9f
|
shell: rtc: fix off by one
|
7 years ago |
S.J.R. van Schaik
|
2b1d401296
|
stm32f0: rtc: fix off by one
|
7 years ago |
S.J.R. van Schaik
|
c6afcd1027
|
shell: version: fix typo
|
7 years ago |
S.J.R. van Schaik
|
4aa807a7b3
|
shell: return exit codes to the user console
|
7 years ago |
S.J.R. van Schaik
|
2942340b21
|
shell: return exit codes
|
7 years ago |
S.J.R. van Schaik
|
a7504ad99c
|
shell: swap argc and argv
|
7 years ago |
S.J.R. van Schaik
|
ab5e9d532e
|
main: mount flash chip, FTL and mufs automatically
|
7 years ago |
S.J.R. van Schaik
|
0261989724
|
main: implement user commands
|
7 years ago |
S.J.R. van Schaik
|
501b80e87c
|
shell: mufs: expose individual commands
|
7 years ago |
S.J.R. van Schaik
|
bba75900c0
|
shell: mufs: show newline for each line to write
|
7 years ago |
S.J.R. van Schaik
|
6570ab27c9
|
shell: implement version command
|
7 years ago |
S.J.R. van Schaik
|
149281f694
|
shell: rtc: add header
|
7 years ago |
S.J.R. van Schaik
|
651291ece1
|
main: initialise the real-time clock
|
7 years ago |
S.J.R. van Schaik
|
6dcf58a25d
|
shell: implement echo command
|
7 years ago |
S.J.R. van Schaik
|
c6f3e0e421
|
make: enable link-time optimisations
|
7 years ago |
S.J.R. van Schaik
|
311491bcfb
|
make: define _XOPEN_SOURCE for strptime()
|
7 years ago |
S.J.R. van Schaik
|
acdc364fab
|
shell: rtc: add commands to get and set the date
|
7 years ago |
S.J.R. van Schaik
|
161acf1731
|
make: enable pedantic C99
|
7 years ago |
S.J.R. van Schaik
|
333706ccb9
|
stm32f0: rtc: set up the real-time clock and implement functions to get and set the time
|
7 years ago |
S.J.R. van Schaik
|
c071903dd1
|
shell: pass around console object
|
7 years ago |