S.J.R. van Schaik
|
a36addf39b
|
shell: add flash info to print the flash size
|
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
|
bff4845c32
|
flash: detect flash size
|
8 years ago |
S.J.R. van Schaik
|
13ea9ce49d
|
macros: fix macro for GiB
|
8 years ago |
S.J.R. van Schaik
|
77c3e5f440
|
spi: avoid setting up clocks again as it conflicts with USART
|
8 years ago |
S.J.R. van Schaik
|
f7db775316
|
usart: re-route input as output
|
8 years ago |
S.J.R. van Schaik
|
28d9f1df99
|
shell: avoid printing stdio input
|
8 years ago |
S.J.R. van Schaik
|
db3de90f24
|
shell: print error when flash device cannot be probed
|
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
|
ce9065166b
|
flash: use MAP_SHARED for files
|
8 years ago |
S.J.R. van Schaik
|
45c1730149
|
shell: release flash device before probing
|
8 years ago |
S.J.R. van Schaik
|
1fa1dfefb1
|
make: only builds tools for host
|
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
|
886b90f5f3
|
shell: expose currently probed flash device
|
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
|
31740bbb20
|
flash: map existing file to memory to use as sandbox flash
|
8 years ago |
S.J.R. van Schaik
|
eca2bc7b17
|
tools: add tool to create empty flash image
|
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
|
1188b24a31
|
shell: use min() macro
|
8 years ago |
S.J.R. van Schaik
|
e9a9236fc7
|
shell: use re-allocated buffer to store additional characters
|
8 years ago |
S.J.R. van Schaik
|
0e95284835
|
debug: remove empty file
|
8 years ago |
S.J.R. van Schaik
|
1c7f86529c
|
shell: remove old code
|
8 years ago |
S.J.R. van Schaik
|
eb41dd93db
|
shell: separate code
|
8 years ago |
S.J.R. van Schaik
|
422ef6ae51
|
shell: use uint8_t instead of char for showing bytes
|
8 years ago |
S.J.R. van Schaik
|
2f82854e8a
|
flash: sandbox: fix size checks and erase initial memory
|
8 years ago |
S.J.R. van Schaik
|
4a176a404c
|
make: move stm32f0-specific CFLAGS and LDFLAGS
|
8 years ago |
S.J.R. van Schaik
|
c815803869
|
flash: add sandbox driver for testing
|
8 years ago |
S.J.R. van Schaik
|
54d6134e21
|
console: add console driver for stdio
|
8 years ago |
S.J.R. van Schaik
|
a1d5644135
|
shell: remove libopencm3 includes
|
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
|
19bd043ac3
|
shell: use flash driver model instead
|
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
|
c7685c1d02
|
shell: remove unnecessary includes
|
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
|
b0dd5a9abc
|
usart: use \n instead of \r\n
|
8 years ago |
S.J.R. van Schaik
|
c28ddec92b
|
make: add support for building a host version
|
8 years ago |