Skip to content

Commit 4cc32a1

Browse files
committed
On Portenta C33 only provide a warning of what's going to happen if turning off SW.
1 parent 30672ae commit 4cc32a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PF1550.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ class PF1550
6868
bool const enable,
6969
bool const enable_in_standby,
7070
bool const enable_in_sleep)
71-
#if defined(ARDUINO_PORTENTA_H33) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION)
71+
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION)
7272
__attribute__ ((error("Erroneous usage of this API can cause board damage.")))
73+
#elif defined(ARDUINO_PORTENTA_H33)
74+
__attribute__ ((warning("Using this API you can turn off ESP32 (WiFi), SE051 (Crypto) and Ethernet PHY. Proceed with caution.")))
7375
#endif
7476
;
7577

0 commit comments

Comments
 (0)