File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -48,5 +48,8 @@ static int const CS_PIN = 25;
48
48
static int const RESET_PIN = 6 ; /* D6 (Uno form factor) -> PWM6 (Mid carrier headers) = P601 (Portenta C33 high-density connectors) = D6 */
49
49
static int const IRQ_PIN = 2 ;
50
50
#else
51
- # error "No pins defined for your board"
51
+ static int const CS_PIN = -1 ;
52
+ static int const RESET_PIN = -1 ;
53
+ static int const IRQ_PIN = -1 ;
54
+ # warning "No pins defined for your board"
52
55
#endif
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ void get_unique_chip_id_3(uint8_t * uid)
97
97
memcpy (uid, &stm32_uid, 3 );
98
98
}
99
99
#else
100
- # error "Retrieving a unique chip ID for MAC generation is not supported on this platform."
100
+ # warning "Retrieving a unique chip ID for MAC generation is not supported on this platform."
101
101
#endif
102
102
}
103
103
You can’t perform that action at this time.
0 commit comments