File tree 1 file changed +3
-3
lines changed
libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ uint8_t* bootloader_identification = (uint8_t*)(0x80002F0);
3
3
4
4
#if __has_include("portenta_info.h")
5
5
#include " portenta_info.h"
6
- #define GET_PORENTA_OTP_BOARD_INFO
6
+ #define GET_PORTENTA_OTP_BOARD_INFO
7
7
PortentaBoardInfo *info;
8
8
PortentaBoardInfo* boardInfo ();
9
9
#endif
@@ -30,7 +30,7 @@ void setup() {
30
30
Serial.println (" Magic Number (validation): " + String (bootloader_data[0 ], HEX));
31
31
Serial.println (" Bootloader version: " + String (bootloader_data[1 ]));
32
32
33
- #if defined(GET_PORENTA_OTP_BOARD_INFO )
33
+ #if defined(GET_PORTENTA_OTP_BOARD_INFO )
34
34
printPortentaSecureInfo ();
35
35
#elif defined(GET_OPTA_OTP_BOARD_INFO)
36
36
printOptaSecureInfo ();
@@ -39,7 +39,7 @@ void setup() {
39
39
#endif
40
40
}
41
41
42
- #if defined(GET_PORENTA_OTP_BOARD_INFO )
42
+ #if defined(GET_PORTENTA_OTP_BOARD_INFO )
43
43
void printPortentaSecureInfo () {
44
44
info = boardInfo ();
45
45
if (info->magic == 0xB5 ) {
You can’t perform that action at this time.
0 commit comments