Commit graph

386 commits

Author SHA1 Message Date
b369e3a1c0 shell: implement buzzer command 2017-10-31 11:58:04 +01:00
5730538c5f stm32f0: stm32f1: buzzer: initial implementation 2017-10-31 11:57:28 +01:00
0fb4d67cce stm32f0: stm32f1: gpio: rcc: set up timers for PWM 2017-10-31 11:56:01 +01:00
43e3476a6d stm32f1: rtc: use external crystal 2017-10-31 11:55:09 +01:00
6fb626d601 shell: use amount of bytes returned from mufs_read() 2017-10-23 13:38:25 +02:00
d1457e8be6 usart: stm32f0: stm32f1: do not null-terminate the buffer in console_read() 2017-10-23 13:37:18 +02:00
4739b8f995 mufs: return actual amount of bytes read in mufs_read() 2017-10-23 13:36:20 +02:00
676c9bdbb0 alarm: stm32f0: stm32f1: initial implementation 2017-10-23 11:23:57 +02:00
d66c6da847 gpio: stm32f1: remove old code 2017-10-23 10:01:25 +02:00
3937042b19 gpio: stm32f0: stm32f1: set up reset pin 2017-10-23 10:00:44 +02:00
45d51197b1 stm32f0: stm32f1: usart: have console_read() only react to Ctrl+D and not echo the user input 2017-10-19 16:12:39 +02:00
b006de37ad shell: generalise interface of mufs write/mufs append by reading stdin 2017-10-19 16:06:05 +02:00
3df8a7afdf main: check if the flash chip can be probed properly 2017-10-19 13:23:28 +02:00
ece960b3c9 stm32f0: stm32f1: usart: send \r\n instead of \r 2017-10-19 13:23:02 +02:00
1e9a5b3fe4 shell: return exit code for admin shell 2017-10-19 13:21:52 +02:00
1503c6f0ed usart: set baud rate to 115200 2017-10-12 17:10:00 +02:00
52956ae46d stm32f0: spi: divide clock rate by 2 instead of 64 2017-10-12 17:00:00 +02:00
63525ac93b stm32f1: spi: divide clock rate by 2 instead of 64 2017-10-12 16:53:12 +02:00
a53484051a stm32f1: spi: use SPI mode 0 instead of SPI mode 3 2017-10-10 18:20:32 +02:00
6defd2365c spi: flash: require manufacturer ID 2017-10-09 17:21:12 +02:00
84454c8054 shell: flash: show JEDEC ID when running flash info 2017-10-09 17:18:17 +02:00
81430df971 core: spi: flash: implement flash_get_jedec_id() 2017-10-09 17:17:47 +02:00
36971300b0 ftl: map: only declare __wrap_find_block() in testing mode 2017-10-09 16:24:56 +02:00
adbd045af5 mufs: fix offset calculation in mufs_seek() 2017-10-05 16:58:50 +02:00
23b478e582 shell: fix off by one in draw_progress() 2017-10-03 17:21:47 +02:00
635df8e06f shell: mufs: use fprintf in shell_stat() 2017-10-03 16:49:03 +02:00
9a2888341d shell: mufs: fix order 2017-10-03 16:44:02 +02:00
5cc4824fdb shell: mufs: implement mufs cp to copy files 2017-10-03 16:40:49 +02:00
1638f9b0f1 shell: implement draw_progress() as a convenience function 2017-10-03 16:40:23 +02:00
4c2f4eab24 ftl: call trace_path() in ftl_sync() to get the page descriptor to write out 2017-10-03 14:55:32 +02:00
dddba0af8f ftl: check outstanding flags in ftl_seek() 2017-10-03 14:24:34 +02:00
52a7ec1fae mufs: call flash_sync() after each flash_write() 2017-10-03 14:20:47 +02:00
bf1f0f4bee test: ftl: add tests for ftl_read() 2017-10-03 13:56:38 +02:00
0d1ffa71fb ftl: change order of decrementing the used page count to be more logical 2017-10-03 13:33:45 +02:00
bea048006a ftl: separate code to start a transaction 2017-10-03 13:19:09 +02:00
65d269e2d4 ftl: maintain state for the transaction that is currently active 2017-10-03 13:15:10 +02:00
e40bd819d6 test: flash: mock flash_write0() and flash_copy() 2017-10-03 11:34:39 +02:00
fc1476d9dd test: ftl: add test to check if an exact match works for trace_path() 2017-10-03 11:24:44 +02:00
851c0cb7a6 test: ftl: check returned page descriptor for trace_path() 2017-10-03 11:14:44 +02:00
ae3b7933b7 test: ftl: add tests for trace_path() 2017-10-03 11:07:17 +02:00
f3eb5df644 test: ftl: add tests for ftl_is_mapped() 2017-09-21 17:27:15 +02:00
5004fed4aa test: reorganise code 2017-09-21 16:44:00 +02:00
6243dabea8 test: ftl: add tests for find_head() 2017-09-21 15:36:44 +02:00
920a59499b test: ftl: add tests for find_root() 2017-09-20 15:41:41 +02:00
b8426f12f2 test: ftl: mock read_page_desc() 2017-09-20 15:28:30 +02:00
1153f2bdcd test: ftl: improve descriptions for the test cases 2017-09-20 14:56:07 +02:00
6dcfd0d322 test: add tests for find_last_group() 2017-09-20 14:34:13 +02:00
d778e5a325 test: add tests for find_last_block() 2017-09-20 14:33:54 +02:00
c6744d6975 test: ftl: add tests for find_block() 2017-09-20 14:31:54 +02:00
73057f6f25 test: only call memcpy() in __wrap_flash_read() and __wrap_flash_write() when there is something to copy 2017-09-20 14:31:07 +02:00