From 37177c369a4c16e584f0f51d1a55c7481aef20a8 Mon Sep 17 00:00:00 2001 From: alrvid <126816223+alrvid@users.noreply.github.com> Date: Mon, 13 May 2024 08:53:30 +0200 Subject: [PATCH] Add warning about NO_ETHERNET_TURN_OFF Adds a warning that improper use of this #define can damage the Ethernet transmission termination resistors. --- examples/TurnPeripheralsOff/TurnPeripheralsOff.ino | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/TurnPeripheralsOff/TurnPeripheralsOff.ino b/examples/TurnPeripheralsOff/TurnPeripheralsOff.ino index 3acc293..9384a2c 100644 --- a/examples/TurnPeripheralsOff/TurnPeripheralsOff.ino +++ b/examples/TurnPeripheralsOff/TurnPeripheralsOff.ino @@ -13,7 +13,13 @@ * This code is in the public domain */ +// WARNING: The following #define disables automatically turning off the Ethernet chip when the +// microcontroller goes into Standby Mode. Doing so can damage the Ethernet transmission +// termination resistors unless the power to the Ethernet chip is turned off manually, +// as in this example sketch, before entering Standby Mode. +// --> #define NO_ETHERNET_TURN_OFF +// <-- #include "Arduino_LowPowerPortentaH7.h" #include "Arduino_PMIC.h" @@ -68,4 +74,4 @@ void setup() { #endif } -void loop() {} \ No newline at end of file +void loop() {}