diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2025-03-29 10:11:38 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-04-08 00:27:55 +1000 |
| commit | 9e9be83fd69a36bf82019d1ecfcafa3b317ae899 (patch) | |
| tree | d6512087e0e826f57f2e20a84fee716d29e1123e /extmod/modbluetooth.h | |
| parent | 74a5bf94c187d41d0458814312d57d2105233726 (diff) | |
tools/mpremote: Allow .img for ROMFS file and validate ROMFS image.
Currently the tool allows writing an invalid ROMFS image, with a bad header
or images smaller than minimum size, and only checks the image extension.
This commit allows deploying a ROMFS with either a ".img" or ".romfs"
extension (in the future support may be added for other extensions that
have different semantics, eg a manifest), and validates the image header
before writing.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Diffstat (limited to 'extmod/modbluetooth.h')
0 files changed, 0 insertions, 0 deletions
