File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo Expand file tree Collapse file tree 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);
33
44#if __has_include("portenta_info.h")
55#include " portenta_info.h"
6- #define GET_PORENTA_OTP_BOARD_INFO
6+ #define GET_PORTENTA_OTP_BOARD_INFO
77PortentaBoardInfo *info;
88PortentaBoardInfo* boardInfo ();
99#endif
@@ -30,7 +30,7 @@ void setup() {
3030 Serial.println (" Magic Number (validation): " + String (bootloader_data[0 ], HEX));
3131 Serial.println (" Bootloader version: " + String (bootloader_data[1 ]));
3232
33- #if defined(GET_PORENTA_OTP_BOARD_INFO )
33+ #if defined(GET_PORTENTA_OTP_BOARD_INFO )
3434 printPortentaSecureInfo ();
3535#elif defined(GET_OPTA_OTP_BOARD_INFO)
3636 printOptaSecureInfo ();
@@ -39,7 +39,7 @@ void setup() {
3939#endif
4040}
4141
42- #if defined(GET_PORENTA_OTP_BOARD_INFO )
42+ #if defined(GET_PORTENTA_OTP_BOARD_INFO )
4343void printPortentaSecureInfo () {
4444 info = boardInfo ();
4545 if (info->magic == 0xB5 ) {
You can’t perform that action at this time.
0 commit comments