Skip to content

Commit 8c19d8d

Browse files
committed
✨ RS485_SERIAL_PORT
MarlinFirmware/Marlin#25680
1 parent 0849d2a commit 8c19d8d

File tree

340 files changed

+3060
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

340 files changed

+3060
-0
lines changed

config/default/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
//#define SERIAL_PORT_3 1
114114
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
115115

116+
/**
117+
* Select a serial port to communicate with RS485 protocol
118+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
119+
*/
120+
//#define RS485_SERIAL_PORT 1
121+
#ifdef RS485_SERIAL_PORT
122+
//#define RS485_BUS_BUFFER_SIZE 128
123+
#endif
124+
116125
// Enable the Bluetooth serial interface on AT90USB devices
117126
//#define BLUETOOTH
118127

config/examples/3DFabXYZ/Migbot/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,15 @@
114114
//#define SERIAL_PORT_3 1
115115
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
116116

117+
/**
118+
* Select a serial port to communicate with RS485 protocol
119+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
120+
*/
121+
//#define RS485_SERIAL_PORT 1
122+
#ifdef RS485_SERIAL_PORT
123+
//#define RS485_BUS_BUFFER_SIZE 128
124+
#endif
125+
117126
// Enable the Bluetooth serial interface on AT90USB devices
118127
//#define BLUETOOTH
119128

config/examples/ADIMLab/Gantry v1/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
//#define SERIAL_PORT_3 1
114114
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
115115

116+
/**
117+
* Select a serial port to communicate with RS485 protocol
118+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
119+
*/
120+
//#define RS485_SERIAL_PORT 1
121+
#ifdef RS485_SERIAL_PORT
122+
//#define RS485_BUS_BUFFER_SIZE 128
123+
#endif
124+
116125
// Enable the Bluetooth serial interface on AT90USB devices
117126
//#define BLUETOOTH
118127

config/examples/ADIMLab/Gantry v2/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
//#define SERIAL_PORT_3 1
114114
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
115115

116+
/**
117+
* Select a serial port to communicate with RS485 protocol
118+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
119+
*/
120+
//#define RS485_SERIAL_PORT 1
121+
#ifdef RS485_SERIAL_PORT
122+
//#define RS485_BUS_BUFFER_SIZE 128
123+
#endif
124+
116125
// Enable the Bluetooth serial interface on AT90USB devices
117126
//#define BLUETOOTH
118127

config/examples/Alfawise/U20-bltouch/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@
151151
//#define SERIAL_PORT_3 3
152152
//#define BAUDRATE_3 115200 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
153153

154+
/**
155+
* Select a serial port to communicate with RS485 protocol
156+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
157+
*/
158+
//#define RS485_SERIAL_PORT 1
159+
#ifdef RS485_SERIAL_PORT
160+
//#define RS485_BUS_BUFFER_SIZE 128
161+
#endif
162+
154163
// Enable the Bluetooth serial interface on AT90USB devices
155164
//#define BLUETOOTH
156165

config/examples/Alfawise/U20/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@
151151
//#define SERIAL_PORT_3 3
152152
//#define BAUDRATE_3 115200 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
153153

154+
/**
155+
* Select a serial port to communicate with RS485 protocol
156+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
157+
*/
158+
//#define RS485_SERIAL_PORT 1
159+
#ifdef RS485_SERIAL_PORT
160+
//#define RS485_BUS_BUFFER_SIZE 128
161+
#endif
162+
154163
// Enable the Bluetooth serial interface on AT90USB devices
155164
//#define BLUETOOTH
156165

config/examples/AliExpress/CL-260/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
//#define SERIAL_PORT_3 1
114114
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
115115

116+
/**
117+
* Select a serial port to communicate with RS485 protocol
118+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
119+
*/
120+
//#define RS485_SERIAL_PORT 1
121+
#ifdef RS485_SERIAL_PORT
122+
//#define RS485_BUS_BUFFER_SIZE 128
123+
#endif
124+
116125
// Enable the Bluetooth serial interface on AT90USB devices
117126
//#define BLUETOOTH
118127

config/examples/AliExpress/UM2pExt/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
//#define SERIAL_PORT_3 1
114114
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
115115

116+
/**
117+
* Select a serial port to communicate with RS485 protocol
118+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
119+
*/
120+
//#define RS485_SERIAL_PORT 1
121+
#ifdef RS485_SERIAL_PORT
122+
//#define RS485_BUS_BUFFER_SIZE 128
123+
#endif
124+
116125
// Enable the Bluetooth serial interface on AT90USB devices
117126
//#define BLUETOOTH
118127

config/examples/Anet/A2/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
//#define SERIAL_PORT_3 1
114114
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
115115

116+
/**
117+
* Select a serial port to communicate with RS485 protocol
118+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
119+
*/
120+
//#define RS485_SERIAL_PORT 1
121+
#ifdef RS485_SERIAL_PORT
122+
//#define RS485_BUS_BUFFER_SIZE 128
123+
#endif
124+
116125
// Enable the Bluetooth serial interface on AT90USB devices
117126
//#define BLUETOOTH
118127

config/examples/Anet/A2plus/Configuration.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
//#define SERIAL_PORT_3 1
114114
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
115115

116+
/**
117+
* Select a serial port to communicate with RS485 protocol
118+
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
119+
*/
120+
//#define RS485_SERIAL_PORT 1
121+
#ifdef RS485_SERIAL_PORT
122+
//#define RS485_BUS_BUFFER_SIZE 128
123+
#endif
124+
116125
// Enable the Bluetooth serial interface on AT90USB devices
117126
//#define BLUETOOTH
118127

0 commit comments

Comments
 (0)