File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
libraries/Portenta_System/examples/PortentaH7_getBootloaderInfo Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11uint8_t * bootloader_data = (uint8_t *)(0x801F000 );
22
3- void setup () {
4- // put your setup code here, to run once:
3+ void setup () {
54 Serial.begin (115200 );
65 while (!Serial) {}
7- }
8-
9- void loop () {
10- // put your main code here, to run repeatedly:
6+
117 Serial.println (" Validation: " + String (bootloader_data[0 ], HEX));
128 Serial.println (" BL version: " + String (bootloader_data[1 ]));
139 Serial.println (" Clock source: " + String (bootloader_data[2 ]));
@@ -18,5 +14,8 @@ void loop() {
1814 Serial.println (" QSPI size: " + String (bootloader_data[7 ]));
1915 Serial.println (" Video: " + String (bootloader_data[8 ]));
2016 Serial.println (" Crypto: " + String (bootloader_data[9 ]));
17+ }
18+
19+ void loop () {
2120 delay (1000 );
2221}
You can’t perform that action at this time.
0 commit comments