Commit graph

100 commits

Author SHA1 Message Date
db3de90f24 shell: print error when flash device cannot be probed 2017-04-07 17:33:30 +02:00
0bc1146ffd flash: separate SPI flash commands 2017-04-07 17:32:43 +02:00
7be9d0f049 bitops: add ilog2() 2017-04-07 16:32:44 +02:00
5387c2cdb7 bitset: use void * instead of uint8_t * 2017-03-31 16:47:42 +02:00
ce9065166b flash: use MAP_SHARED for files 2017-03-31 16:11:12 +02:00
45c1730149 shell: release flash device before probing 2017-03-31 16:03:55 +02:00
1fa1dfefb1 make: only builds tools for host 2017-03-31 15:54:27 +02:00
d1da4b3c9d flash: add function to release flash device 2017-03-31 15:54:11 +02:00
d2bb6994eb spi: add function to release SPI device 2017-03-31 15:53:56 +02:00
a5f92e1326 bitset: add next_clear_bit() to find the next clear bit 2017-03-23 15:53:33 +00:00
69557fa814 bitset: add next_set_bit() to find the next set bit 2017-03-23 15:51:41 +00:00
49c90e70f0 shell: introduce part create command 2017-03-23 15:20:00 +00:00
886b90f5f3 shell: expose currently probed flash device 2017-03-23 15:19:04 +00:00
adcda56894 fs: add initial code to create the partition table 2017-03-23 15:18:13 +00:00
2448ddcd4e fs: add block_is_erased() to check if a block is truly erased 2017-03-23 15:02:10 +00:00
31740bbb20 flash: map existing file to memory to use as sandbox flash 2017-03-23 14:51:17 +00:00
eca2bc7b17 tools: add tool to create empty flash image 2017-03-23 14:37:22 +00:00
80a5ecc64c flash: add includes for stdint.h and stdlib.h 2017-03-17 15:26:14 +00:00
c594c2aa9a bitset: add functions to manipulate bitsets 2017-03-17 15:02:17 +00:00
cd9d974a91 macros: add BIT(n) and BIT_SIZE(t) macros 2017-03-17 14:55:24 +00:00
1188b24a31 shell: use min() macro 2017-03-17 13:37:30 +00:00
e9a9236fc7 shell: use re-allocated buffer to store additional characters 2017-03-17 13:36:44 +00:00
0e95284835 debug: remove empty file 2017-03-12 16:21:50 +00:00
1c7f86529c shell: remove old code 2017-03-12 00:33:27 +00:00
eb41dd93db shell: separate code 2017-03-12 00:33:09 +00:00
422ef6ae51 shell: use uint8_t instead of char for showing bytes 2017-03-11 13:51:28 +00:00
2f82854e8a flash: sandbox: fix size checks and erase initial memory 2017-03-11 13:51:04 +00:00
4a176a404c make: move stm32f0-specific CFLAGS and LDFLAGS 2017-03-11 13:34:00 +00:00
c815803869 flash: add sandbox driver for testing 2017-03-11 13:32:30 +00:00
54d6134e21 console: add console driver for stdio 2017-03-11 13:09:28 +00:00
a1d5644135 shell: remove libopencm3 includes 2017-03-11 13:09:04 +00:00
81632df5e9 console: separate driver for USART 2017-03-11 13:07:12 +00:00
b6d216255f flash: remove old code for SPI flash 2017-03-11 13:04:26 +00:00
19bd043ac3 shell: use flash driver model instead 2017-03-11 13:02:26 +00:00
094c600283 flash: add SPI flash driver 2017-03-11 12:56:46 +00:00
39dbac8742 macros: move macros for human-readable sizes and rounding 2017-03-11 12:44:26 +00:00
92b3c1108b flash: implement flash driver model 2017-03-11 12:42:32 +00:00
a078de7c9f spi: stm32f0: add SPI driver 2017-03-11 00:55:54 +00:00
c7685c1d02 shell: remove unnecessary includes 2017-03-11 00:28:34 +00:00
a572b357f7 console: usart: set up stdout, stderr and stdout 2017-03-11 00:25:25 +00:00
b0dd5a9abc usart: use \n instead of \r\n 2017-03-11 00:14:57 +00:00
c28ddec92b make: add support for building a host version 2017-03-11 00:10:03 +00:00
3873f68817 make: restructure build scripts 2017-03-09 12:32:04 +00:00
99ab4bae75 shell: fix printing hex when size is larger than 16 2017-02-27 15:42:49 +00:00
2c4e097f64 spi-flash: fix newline in fprintf() 2017-02-27 15:37:29 +00:00
ce50cc6d5f shell: print zeroes when the buffer size is not a multiple of 16 2017-02-27 15:36:57 +00:00
1723197e63 style: shell: remove redundant newlines 2017-02-27 15:35:15 +00:00
03f4913e1a macros: add min()/max() 2017-02-27 15:34:41 +00:00
e946d0ce3d tbm: initial commit 2017-02-27 14:48:38 +00:00
edd4ee8d03 submodule: add libopencm3 2017-02-27 14:47:55 +00:00