Commit 6822365e authored by Artur Tynecki's avatar Artur Tynecki Committed by David Brown
Browse files

mbed: Add the size of the MCU boot header area

Add header area size at the start of FLASH parameter in mbed_lib.json
This parameter is not used in MCUboot source code directly but for
example is the argument for sign command which sign
the binary image.
It will be useful to have it in Mbed port settings to use during project
building. For example post build command in cmake which signs image.

Signed-off-by: default avatarArtur Tynecki <>
parent 41c568ab
......@@ -17,6 +17,11 @@
"macro_name": "MCUBOOT_SLOT_SIZE",
"required": true
"header-size": {
"help": "Size of the header info section, in bytes. Target-dependent, please set on a per-target basis.",
"macro_name": "MCUBOOT_HEADER_SIZE",
"value": "0x1000"
"scratch-address": {
"help": "Start address of the scratch area. If needed, please set on a per-target basis.",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment