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 1
1
uint8_t * bootloader_data = (uint8_t *)(0x801F000 );
2
2
3
- void setup () {
4
- // put your setup code here, to run once:
3
+ void setup () {
5
4
Serial.begin (115200 );
6
5
while (!Serial) {}
7
- }
8
-
9
- void loop () {
10
- // put your main code here, to run repeatedly:
6
+
11
7
Serial.println (" Validation: " + String (bootloader_data[0 ], HEX));
12
8
Serial.println (" BL version: " + String (bootloader_data[1 ]));
13
9
Serial.println (" Clock source: " + String (bootloader_data[2 ]));
@@ -18,5 +14,8 @@ void loop() {
18
14
Serial.println (" QSPI size: " + String (bootloader_data[7 ]));
19
15
Serial.println (" Video: " + String (bootloader_data[8 ]));
20
16
Serial.println (" Crypto: " + String (bootloader_data[9 ]));
17
+ }
18
+
19
+ void loop () {
21
20
delay (1000 );
22
21
}
You can’t perform that action at this time.
0 commit comments