Skip to content

Commit 7f381d0

Browse files
authored
Merge pull request #58 from sbhklr/bl-info-improvement
Prevents repeated BL info output
2 parents 43105c7 + cef4249 commit 7f381d0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
uint8_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
}

0 commit comments

Comments
 (0)