Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
...
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
e6b17fa5cb
sys: replace header guards with #pragma once
2025-05-16 19:40:06 +02:00
Francisco Molina
6a79d94f1a
sys/riotboot: uncrustify
2021-02-09 13:38:31 +01:00
Firas Hamdi
d4c32caaaa
sys/riotboot: add revert and invalidate slot functions
...
Update the function description
update write function
refactor riotboot_flashwrite_invalidate function
minor changes
minor nitpicks
2020-12-14 09:33:56 +01:00
Koen Zandberg
722223902a
riotboot: only depend on periph_flashpage
2020-11-11 23:16:43 +01:00
Koen Zandberg
55b0f0b6a8
riotboot/flashwrite: add flashpage_raw compatibility
...
This adds optional usage of periph_flashpage_raw for the
riotboot/flashwrite module. This removes the need to buffer a full
flashpage page, instead it must buffer two times the
FLASHPAGE_RAW_BLOCKSIZE. One is used to buffer the current write block,
the other buffers the first chunk (offset zero, page zero). This first
chunk is written when finalizing the flash operation.
Care must be taken that, when using the skiplength, the number of bytes
skipped is always a multiple of the FLASHPAGE_RAW_BLOCKSIZE.
2020-10-20 11:22:56 +02:00
Koen Zandberg
f05c5f7708
riotboot/flashwrite: Add force flush to storage function
2020-09-29 15:18:56 +02:00
Benjamin Valentin
2867ab8b9b
sys/riotboot: add a warning about the size of riotboot_flashwrite_t
...
On e.g. samd5x FLASHPAGE_SIZE is 8k (4k on kinetis, stm32w, nrf52)
so placing this struct on the stack will almost always cause a stack
overflow.
2020-03-31 13:27:05 +02:00
0f5a2b4795
sys/riotboot: add initial image digest verification
...
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2019-07-10 13:15:02 +02:00
Alexandre Abadie
22796b7438
riotboot/flashwrite: fix typo in doxygen documentation
2019-07-02 11:39:51 +02:00
0ec9c57b2b
add copyrights from IOTPUSH project
2019-05-02 12:09:37 +02:00
ae35860510
sys/riotboot: add flashwrite submodule
2019-03-15 12:32:50 +01:00