Make serial port configurable.

This change makes the choice of serial port configurable so that
wireless capability can be easily added by connecting Bluetooth modules
(such as BlueSmirf or JY-MCU) to the expansion port pins.
This commit is contained in:
Robert F-C
2012-11-05 21:34:27 +11:00
parent a7e40b2903
commit ab9d183024
3 changed files with 69 additions and 30 deletions

View File

@ -331,6 +331,13 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
// SF send wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX
// SERIAL_PORT selects which serial port should be used for communication with the host.
// This allows the use of wireless adapters (for instance) which are connected to
// non-default serial port pins.
#define SERIAL_PORT 2
#include "Configuration_adv.h"
#include "thermistortables.h"