Skip to content

Commit 51e36ba

Browse files
author
Seppo Takalo
authored
Merge pull request #31 from ARMmbed/master
Update release branch
2 parents 5a91735 + 673e1cd commit 51e36ba

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

Jenkinsfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// from ARM Limited or its affiliates.
1313
//----------------------------------------------------------------------------
1414

15-
repoName = "mbed-bootloader-internal"
15+
repoName = "mbed-bootloader"
1616

1717
// This build archives artifacts at build stage and later on copies artifacts
1818
// on the later state. Permission is needed for copying, even for the job itself.
@@ -108,7 +108,6 @@ def build_test_config = [
108108
// Bootloaders for just testing the build
109109
["NRF52840_DK", "configs/kvstore_and_fw_candidate_on_sd.json", "GCC_ARM"],
110110
["NUCLEO_L073RZ", "configs/kvstore_and_fw_candidate_on_sd.json", "GCC_ARM"],
111-
["NUCLEO_F303RE", "configs/internal_kvstore_with_spif.json", "GCC_ARM"],
112111
["DISCO_L475VG_IOT01A", "configs/external_kvstore_with_qspif.json", "GCC_ARM"],
113112

114113
// Bootloaders for release.
@@ -122,6 +121,7 @@ def build_test_config = [
122121
["NUCLEO_F411RE", "configs/kvstore_and_fw_candidate_on_sd.json", "GCC_ARM"],
123122
["DISCO_L475VG_IOT01A", "configs/internal_kvstore_with_qspif.json", "GCC_ARM"],
124123
["LPC55S69_NS", "configs/psa.json", "GCC_ARM"],
124+
["NUCLEO_F303RE", "configs/internal_kvstore_with_spif.json", "GCC_ARM"],
125125
]
126126

127127

@@ -218,7 +218,7 @@ def SmokeTestStep(step_name,
218218

219219
deleteDir()
220220
unstash "deployed_bootloader_repo"
221-
copyArtifacts filter: '**/mbed-bootloader-internal.*', projectName: '${JOB_NAME}', selector: specific('${BUILD_NUMBER}')
221+
copyArtifacts filter: '**/mbed-bootloader.*', projectName: '${JOB_NAME}', selector: specific('${BUILD_NUMBER}')
222222
dir('TESTS/smoke') {
223223
sh "./build.sh ${target}"
224224
sh "ls"
@@ -261,7 +261,7 @@ def ReleaseStep() {
261261
dir(repoName) {
262262
deleteDir()
263263
unstash "deployed_bootloader_repo"
264-
copyArtifacts filter: '**/mbed-bootloader-internal*', projectName: '${JOB_NAME}', selector: specific('${BUILD_NUMBER}')
264+
copyArtifacts filter: '**/mbed-bootloader*', projectName: '${JOB_NAME}', selector: specific('${BUILD_NUMBER}')
265265
sh 'mkdir release'
266266
sh 'python2 ./scripts/make_release.py -o release --prebuilt'
267267
archiveArtifacts artifacts: 'release/*'

TESTS/booting.log

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Mbed Bootloader

TESTS/smoke/configs.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Following table is parsed automatically by build scripts, so follow the format E
44

55
|TARGET|BOOTLOADER_BIN|HEADER_OFFSET|APP_OFFSET|UPDATE_HEADER_OFFSET|UPDATE_APP_OFFSET|
66
|------|--------------|-------------|---------|--------------------|------------------|
7-
|DISCO_L475VG_IOT01A|../../BUILD/mbed_app/DISCO_L475VG_IOT01A/GCC_ARM/mbed-bootloader-internal.bin|0x8000|0x8400|0x80000|0x80070|
8-
|K64F|../../BUILD/mbed_app/K64F/GCC_ARM/mbed-bootloader-internal.bin|0x8000|0x8400|0x80000|0x80070|
9-
|NRF52840_DK|../../BUILD/mbed_app/NRF52840_DK/GCC_ARM/mbed-bootloader-internal.hex|0x8000|0x8400|0x80000|0x80070|
10-
|NUCLEO_F303RE|../../BUILD/mbed_app/NUCLEO_F303RE/GCC_ARM/mbed-bootloader-internal.bin|0x8000|0x8400|0x40000|0x40070|
11-
|NUCLEO_F411RE|../../BUILD/mbed_app/NUCLEO_F411RE/GCC_ARM/mbed-bootloader-internal.bin|0x8000|0x8400|0x40000|0x40070|
12-
|NUCLEO_F429ZI|../../BUILD/mbed_app/NUCLEO_F429ZI/GCC_ARM/mbed-bootloader-internal.bin|0x8000|0x8400|0x100000|0x100070|
7+
|DISCO_L475VG_IOT01A|../../BUILD/mbed_app/DISCO_L475VG_IOT01A/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x80000|0x80070|
8+
|K64F|../../BUILD/mbed_app/K64F/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x80000|0x80070|
9+
|NRF52840_DK|../../BUILD/mbed_app/NRF52840_DK/GCC_ARM/mbed-bootloader.hex|0x8000|0x8400|0x80000|0x80070|
10+
|NUCLEO_F303RE|../../BUILD/mbed_app/NUCLEO_F303RE/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x40000|0x40070|
11+
|NUCLEO_F411RE|../../BUILD/mbed_app/NUCLEO_F411RE/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x40000|0x40070|
12+
|NUCLEO_F429ZI|../../BUILD/mbed_app/NUCLEO_F429ZI/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x100000|0x100070|
1313

1414

1515
## Finding the values
@@ -25,8 +25,8 @@ Most values could be found from the `mbed_app.json` used for building the binary
2525
Usually you need to calculate these values from `mbed_config.h`, sometimes these are easy to find from compilation output.
2626

2727
```
28-
Building project mbed-bootloader-internal (K64F, GCC_ARM)
29-
Scan: mbed-bootloader-internal
28+
Building project mbed-bootloader (K64F, GCC_ARM)
29+
Scan: mbed-bootloader
3030
Using ROM regions application, post_application in this build.
3131
Region application: size 0x8000, offset 0x0
3232
Region post_application: size 0xf8000, offset 0x8000

scripts/make_release.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
),
4545
"internal_kvstore_with_qspif": (
4646
"configs/internal_kvstore_with_qspif.json", "internal-kvstore", "qspif"
47+
),
48+
"internal_kvstore_with_spif": (
49+
"configs/internal_kvstore_with_spif.json", "internal-kvstore", "spif"
4750
)
4851
}
4952
# format: ("target", "config_name")
@@ -56,7 +59,8 @@
5659
("UBLOX_EVK_ODIN_W2", "internal_kvstore_with_sd"), # cloud client
5760
("NUCLEO_F411RE", "kvstore_and_fw_candidate_on_sd"), # cloud client
5861
("DISCO_L475VG_IOT01A", "internal_kvstore_with_qspif"), # cloud client
59-
("LPC55S69_NS", "psa") # cloud client
62+
("LPC55S69_NS", "psa"), # cloud client
63+
("NUCLEO_F303RE", "internal_kvstore_with_spif") # cloud client
6064
]
6165
toolchain = "GCC_ARM"
6266
profile = "tiny.json" # default value, changed via command line arg --profile

0 commit comments

Comments
 (0)