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:
authorChristian Hammacher <bmasterc@gmail.com>2021-10-28 14:58:15 +0300
committerChristian Hammacher <bmasterc@gmail.com>2021-10-28 14:58:15 +0300
commit8207b22cc13e7893ae1cb43f4aef4a7632cac5b3 (patch)
treebd49861385980e72aeb6fe16fae0c3acc5895852 /src/DuetNG
parent5e9d621403eb54b00a84d4824b75c056121730aa (diff)
SBC improvements for 3.4-b6
Refactored various parts of the SBC interface Renamed Linux to SBC in various places CAN updater checks if file is present on SBC before update SBC task is only woken up when SPI transfers finish Bug fix: Codes that were sent back to the SBC (e.g. from USB) caused temp reports to be printed Bug fix: SBC reconnects could take longer than expected
Diffstat (limited to 'src/DuetNG')
-rw-r--r--src/DuetNG/Pins_DuetNG.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DuetNG/Pins_DuetNG.h b/src/DuetNG/Pins_DuetNG.h
index 579def4a..62b5e25f 100644
--- a/src/DuetNG/Pins_DuetNG.h
+++ b/src/DuetNG/Pins_DuetNG.h
@@ -42,12 +42,12 @@ constexpr uint32_t IAP_IMAGE_START = 0x20018000; // IAP is loaded into the last
#if defined(USE_SBC)
# define HAS_WIFI_NETWORKING 0
# define HAS_W5500_NETWORKING 0
-# define HAS_LINUX_INTERFACE 1
+# define HAS_SBC_INTERFACE 1
# define HAS_MASS_STORAGE 0
#else
# define HAS_WIFI_NETWORKING 1
# define HAS_W5500_NETWORKING 1
-# define HAS_LINUX_INTERFACE 0
+# define HAS_SBC_INTERFACE 0
#endif
#define HAS_CPU_TEMP_SENSOR 1
@@ -561,7 +561,7 @@ constexpr Pin SbcTfrReadyPin = PortDPin(31);
#define STEP_TC_ID ID_TC2
// DMA channel allocation
-#if HAS_LINUX_INTERFACE
+#if HAS_SBC_INTERFACE
constexpr DmaChannel DmacChanSbcTx = 1;
constexpr DmaChannel DmacChanSbcRx = 2;
#endif