File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
libraries/MCUboot/examples/enableSecurity Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void setup() {
3838 String currentBootloaderIdentifier = String (bootloader_identification, 15 );
3939
4040 if ((currentBootloaderVersion > 24 ) && (currentBootloaderIdentifier.equals (" MCUboot Arduino" ))) {
41- Serial.println (" \n The sketch comes with a set of default keys to evaluate signing and encryption process" );
41+ Serial.println (" The sketch comes with a set of default keys to evaluate signing and encryption process" );
4242 Serial.println (" If you load the keys, you will need to upload the future sketches with Security Settings -> Signing + Encryption." );
4343 Serial.println (" If you select Security Settings -> None, the sketches will not be executed." );
4444 Serial.println (" Do you want to load the keys? Y/[n]" );
@@ -145,9 +145,8 @@ void applyUpdate() {
145145 setupMCUBootOTAData ();
146146 flash.program (&enc_priv_key, ENCRYPT_KEY_ADDR, ENCRYPT_KEY_SIZE);
147147 flash.program (&ecdsa_pub_key, SIGNING_KEY_ADDR, SIGNING_KEY_SIZE);
148- Serial.println (" Flashed 100%" );
149148 flash.deinit ();
150- Serial.println (" \n Bootloader update complete . It's now safe to reboot or disconnect your board." );
149+ Serial.println (" \n Security features enabled . It's now safe to reboot or disconnect your board." );
151150}
152151
153152void loop () {
You can’t perform that action at this time.
0 commit comments