1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/riotboot
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
..
flashwrite_verify_sha256.c sys/riotboot: add initial image digest verification 2019-07-10 13:15:02 +02:00
flashwrite.c riotboot/flashwrite: add flashpage_raw compatibility 2020-10-20 11:22:56 +02:00
hdr.c add copyrights from IOTPUSH project 2019-05-02 12:09:37 +02:00
Makefile riotboot: move slot variables to sys/riotboot/Makefile.include 2019-03-15 12:32:50 +01:00
Makefile.include sys/riotboot: RIOTBOOT_HDR_LEN generic definition 2019-06-18 15:12:54 +02:00
slot.c sys/riotboot: provide riotboot_slot_offset() 2020-02-19 10:04:52 +01:00