1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
722223902a
riotboot: only depend on periph_flashpage 2020-11-11 23:16:43 +01:00
d31a39d7fc
Refactor verification check to remove goto and label 2020-10-20 11:22:56 +02:00
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
f05c5f7708
riotboot/flashwrite: Add force flush to storage function 2020-09-29 15:18:56 +02:00
a00314bfc4
riotboot: Add function to retrieve the slot size 2020-09-29 15:18:52 +02:00
c596aa5184
riotboot/flashwrite: use LOG_DEBUG when printing bytes processed 2020-01-09 11:31:12 +01:00
Juergen Fitschen
e152b3e346 sys/riotboot: Fixed flashwrite_slotsize to return size of slot 1 2019-10-31 12:05:35 +01:00
8827202ac7
sys/flashwrite: remove useless line
scan-build reported: Value stored to 'flashpage_pos' is never read
2019-10-22 19:48:34 +02:00
Bas Stottelaar
7213a95b31 sys/riotboot: add missing assert.h 2019-07-23 00:25:31 +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