Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#8220 from thinkyhead/bf2_serial_por…
Browse files Browse the repository at this point in the history
…t_-1

[2.0] Add SERIAL_PORT -1 option for configurators
  • Loading branch information
thinkyhead authored Nov 3, 2017
2 parents b561ee2 + 93ba72e commit d83a9a5
Show file tree
Hide file tree
Showing 44 changed files with 1,863 additions and 135 deletions.
6 changes: 3 additions & 3 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/default/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Anet/A6/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Anet/A8/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
8 changes: 4 additions & 4 deletions Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT -1
#define SERIAL_PORT 0

/**
* This setting determines the communication speed of the printer.
Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/BQ/Hephestos/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/BQ/WITBOX/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Cartesio/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Creality/CR-10/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Felix/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Felix/DUAL/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Malyan/M150/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
7 changes: 3 additions & 4 deletions Marlin/src/config/examples/Mks/Sbase/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#define CONFIGURATION_H_VERSION 020000
#define USE_AUTOMATIC_VERSIONING

//===========================================================================
//============================= Getting Started =============================
Expand Down Expand Up @@ -96,11 +95,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/RigidBot/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/config/examples/SCARA/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@
// @section machine

/**
* Select which serial port on the board will be used for communication with the host.
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 0

Expand Down
Loading

0 comments on commit d83a9a5

Please sign in to comment.