diff --git a/libraries/Portenta_System/examples/PortentaH7_getBootloaderInfo/PortentaH7_getBootloaderInfo.ino b/libraries/Portenta_System/examples/PortentaH7_getBootloaderInfo/PortentaH7_getBootloaderInfo.ino index 5808e8595..836b9490b 100644 --- a/libraries/Portenta_System/examples/PortentaH7_getBootloaderInfo/PortentaH7_getBootloaderInfo.ino +++ b/libraries/Portenta_System/examples/PortentaH7_getBootloaderInfo/PortentaH7_getBootloaderInfo.ino @@ -1,13 +1,9 @@ uint8_t* bootloader_data = (uint8_t*)(0x801F000); -void setup() { - // put your setup code here, to run once: +void setup() { Serial.begin(115200); while (!Serial) {} -} - -void loop() { - // put your main code here, to run repeatedly: + Serial.println("Validation: " + String(bootloader_data[0], HEX)); Serial.println("BL version: " + String(bootloader_data[1])); Serial.println("Clock source: " + String(bootloader_data[2])); @@ -18,5 +14,8 @@ void loop() { Serial.println("QSPI size: " + String(bootloader_data[7])); Serial.println("Video: " + String(bootloader_data[8])); Serial.println("Crypto: " + String(bootloader_data[9])); +} + +void loop() { delay(1000); }