File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 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;
4848static int const RESET_PIN = 6 ; /* D6 (Uno form factor) -> PWM6 (Mid carrier headers) = P601 (Portenta C33 high-density connectors) = D6 */
4949static int const IRQ_PIN = 2 ;
5050#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"
5255#endif
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ void get_unique_chip_id_3(uint8_t * uid)
9797 memcpy (uid, &stm32_uid, 3 );
9898 }
9999#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."
101101#endif
102102}
103103
You can’t perform that action at this time.
0 commit comments