Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def ReleaseStep() {
timestamps {
parallel "deploy_bootloader": deployBootloaderRepoStep()
parallel buildStepsForParallel
parallel smokeTests + runStepsForParallel
// parallel smokeTests + runStepsForParallel
parallel runStepsForParallel
parallel "release_bootloader": ReleaseStep()
}
10 changes: 3 additions & 7 deletions TESTS/smoke/configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ Following table is parsed automatically by build scripts, so follow the format E

|TARGET|BOOTLOADER_BIN|HEADER_OFFSET|APP_OFFSET|UPDATE_HEADER_OFFSET|UPDATE_APP_OFFSET|
|------|--------------|-------------|---------|--------------------|------------------|
|DISCO_L475VG_IOT01A|../../BUILD/mbed_app/DISCO_L475VG_IOT01A/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x80000|0x80070|
|K64F|../../BUILD/mbed_app/K64F/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x80000|0x80070|
|NRF52840_DK|../../BUILD/mbed_app/NRF52840_DK/GCC_ARM/mbed-bootloader.hex|0x8000|0x8400|0x80000|0x80070|
|NUCLEO_F303RE|../../BUILD/mbed_app/NUCLEO_F303RE/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x40000|0x40070|
|NUCLEO_F411RE|../../BUILD/mbed_app/NUCLEO_F411RE/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x40000|0x40070|
|NUCLEO_F429ZI|../../BUILD/mbed_app/NUCLEO_F429ZI/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x100000|0x100070|
|DISCO_F769NI|../../BUILD/mbed_app/DISCO_F769NI/GCC_ARM/mbed-bootloader.bin|0x40000|0x40400|0x100000|0x100070|
|DISCO_L475VG_IOT01A|../../BUILD/mbed_app/DISCO_L475VG_IOT01A/GCC_ARM/mbed-bootloader.bin|0x8000|0x8200|0x80000|0x80070|
|K64F|../../BUILD/mbed_app/K64F/GCC_ARM/mbed-bootloader.bin|0x8000|0x8200|0x80000|0x80070|
|NRF52840_DK|../../BUILD/mbed_app/NRF52840_DK/GCC_ARM/mbed-bootloader.hex|0x8000|0x8200|0x80000|0x80070|


## Finding the values
Expand Down
12 changes: 10 additions & 2 deletions TESTS/smoke/mbed_app.json.TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@
"platform.stdio-baud-rate": 115200,
"target.bootloader_img" : "BOOTLOADER_BIN",
"target.header_offset" : "HEADER_OFFSET",
"target.app_offset" : "APP_OFFSET"
"target.app_offset" : "APP_OFFSET",
"target.header_format": [
["magic", "const", "32le", "0x5c0253a3"],
["firmwareSize", "size", "32le", ["application"]],
["firmwareVersion", "const", "64le", "0x0"],
["firmwareDigest", "digest", "SHA256", "application"],
["precursorDigest", "digest", "SHA256", "application"]
]
}
}
}
}

9 changes: 8 additions & 1 deletion configs/test_configs/greentea.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@
"mbed-bootloader.application-start-address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE + MBED_BOOTLOADER_ACTIVE_HEADER_REGION_SIZE)",
"update-client.storage-locations" : 1,
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
"target.extra_labels_remove" : [ "PSA" ]
"target.extra_labels_remove" : [ "PSA" ],
"target.header_format": [
["magic", "const", "32le", "0x5c0253a3"],
["firmwareSize", "size", "32le", ["application"]],
["firmwareVersion", "const", "64le", "0x0"],
["firmwareDigest", "digest", "SHA256", "application"],
["precursorDigest", "digest", "SHA256", "application"]
]
}
}
}