Remove extraneous USBCON defines for AT90USB boards

USBCON is definied by serial.h pullikng in MarlinConfig.h which in turn pulls in Arduino.h.  Defining in later includes has shown to cause compile issues so removing all extraneous calls for and potentially easier future linker troubleshooting.
more USBCON unification
2.0.x
Dave Johnson 8 years ago
parent 21591352d7
commit 4718c09c48

@ -74,7 +74,6 @@
#define DEFAULT_MACHINE_NAME "Makibox" #define DEFAULT_MACHINE_NAME "Makibox"
#define BOARD_NAME "5DPrint D8" #define BOARD_NAME "5DPrint D8"
#define USBCON 1286 // Disable MarlinSerial etc.
#define LARGE_FLASH true #define LARGE_FLASH true
// //

@ -73,8 +73,6 @@
#define BOARD_NAME "Brainwave" #define BOARD_NAME "Brainwave"
#define USBCON 646 // Disable MarlinSerial etc.
// //
// Limit Switches // Limit Switches
// //

@ -80,7 +80,6 @@
#define BOARD_NAME "Brainwave Pro" #define BOARD_NAME "Brainwave Pro"
#define USBCON 1286 // Disable MarlinSerial etc.
#define LARGE_FLASH true #define LARGE_FLASH true
// //

@ -67,7 +67,6 @@
#define BOARD_NAME "Printrboard" #define BOARD_NAME "Printrboard"
#define USBCON 1286 // Disable MarlinSerial etc.
#define LARGE_FLASH true #define LARGE_FLASH true
// Disable JTAG pins so they can be used for the Extrudrboard // Disable JTAG pins so they can be used for the Extrudrboard

@ -69,7 +69,6 @@
#define DEFAULT_SOURCE_CODE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config" #define DEFAULT_SOURCE_CODE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
#define BOARD_NAME "SAV MkI" #define BOARD_NAME "SAV MkI"
#define USBCON 1286 // Disable MarlinSerial etc.
#define LARGE_FLASH true #define LARGE_FLASH true
// //

@ -112,7 +112,6 @@
#define BOARD_NAME "Teensy++2.0" #define BOARD_NAME "Teensy++2.0"
#define USBCON 1286 // Disable MarlinSerial etc.
#define LARGE_FLASH true #define LARGE_FLASH true
// //

@ -79,7 +79,6 @@
#define BOARD_NAME "Teensylu" #define BOARD_NAME "Teensylu"
#define USBCON 1286 // Disable MarlinSerial etc.
#define LARGE_FLASH true #define LARGE_FLASH true

Loading…
Cancel
Save