Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-05-23 21:40:12 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-05-23 21:40:12 +0300
commit93c65793846c22a204989d9acc64483b462e9a20 (patch)
treeb41bdf632278ff19d62dc7ae8a723a8003f099a4
parent386477f433041d9a74143d84605de24aacfd0838 (diff)
Added definitions of potential Ethernet DMA channels to Pins_DuetNG.h
-rw-r--r--src/Config/Pins_DuetNG.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Config/Pins_DuetNG.h b/src/Config/Pins_DuetNG.h
index c4339c34..09e53fe6 100644
--- a/src/Config/Pins_DuetNG.h
+++ b/src/Config/Pins_DuetNG.h
@@ -564,6 +564,12 @@ constexpr DmaChannel DmacChanWiFiTx = 1;
constexpr DmaChannel DmacChanWiFiRx = 2;
#endif
+#if HAS_W5500_NETWORKING
+// We can use the same DMA channels as for WiFi because only one of them will be present
+constexpr DmaChannel DmacChanW5500Tx = 1;
+constexpr DmaChannel DmacChanW5500Rx = 2;
+#endif
+
namespace StepPins
{
// *** These next three functions must use the same bit assignments in the drivers bitmap ***