Prevent BOARD_NAME conflict with env
This commit is contained in:
@ -25,12 +25,12 @@
|
||||
* 3DRAG (and K8200 / K8400) Arduino Mega with RAMPS v1.4 pin assignments
|
||||
*/
|
||||
|
||||
#ifndef BOARD_NAME
|
||||
#define BOARD_NAME "3Drag"
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "3Drag"
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_MACHINE_NAME
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_SOURCE_CODE_URL
|
||||
|
@ -34,7 +34,7 @@
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
||||
#define CASE_LIGHT_PIN 6 // Define before RAMPS pins include
|
||||
#endif
|
||||
#define BOARD_NAME "Azteeg X3"
|
||||
#define BOARD_INFO_NAME "Azteeg X3"
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
@ -31,7 +31,7 @@
|
||||
#error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Azteeg X3 Pro"
|
||||
#define BOARD_INFO_NAME "Azteeg X3 Pro"
|
||||
|
||||
//
|
||||
// RAMPS pins overrides
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "2PrintBeta Due supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "2PrintBeta Due"
|
||||
#define BOARD_INFO_NAME "2PrintBeta Due"
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "KFB 2.0 supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "KFB 2.0"
|
||||
#define BOARD_INFO_NAME "KFB 2.0"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "ZUM Mega 3D"
|
||||
#define BOARD_INFO_NAME "ZUM Mega 3D"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Duplicator i3 Plus"
|
||||
#define BOARD_INFO_NAME "Duplicator i3 Plus"
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "Felix 2.0+ supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Felix 2.0+"
|
||||
#define BOARD_INFO_NAME "Felix 2.0+"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -31,8 +31,8 @@
|
||||
#error "Formbot supports up to 3 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Formbot Raptor"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define BOARD_INFO_NAME "Formbot Raptor"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
@ -25,8 +25,8 @@
|
||||
* Formbot Raptor 2 pin assignments
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "Formbot Raptor2"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define BOARD_INFO_NAME "Formbot Raptor2"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
#define FAN_PIN 6
|
||||
|
||||
|
@ -31,8 +31,8 @@
|
||||
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Formbot"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define BOARD_INFO_NAME "Formbot"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
@ -31,8 +31,8 @@
|
||||
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Formbot"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define BOARD_INFO_NAME "Formbot"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
@ -33,7 +33,7 @@
|
||||
//#error "SD_DETECT_INVERTED must be disabled for the FYSETC_F6_13 board."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "FYSETC F6 1.3"
|
||||
#define BOARD_INFO_NAME "FYSETC F6 1.3"
|
||||
|
||||
#define RESET_PIN 30
|
||||
#define SPI_FLASH_CS 83
|
||||
|
@ -26,7 +26,7 @@
|
||||
* Identical to 3DRAG
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "Velleman K8200"
|
||||
#define BOARD_INFO_NAME "Velleman K8200"
|
||||
#define DEFAULT_MACHINE_NAME "K8200"
|
||||
#define DEFAULT_SOURCE_CODE_URL "https://github.com/CONSULitAS/Marlin-K8200"
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
* - Second heater has moved pin
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "K8400"
|
||||
#define BOARD_INFO_NAME "K8400"
|
||||
#define DEFAULT_MACHINE_NAME "Vertex"
|
||||
|
||||
#include "pins_3DRAG.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "K8800"
|
||||
#define BOARD_INFO_NAME "K8800"
|
||||
#define DEFAULT_MACHINE_NAME "Vertex Delta"
|
||||
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define BOARD_NAME "MAKEboard Mini"
|
||||
#define BOARD_INFO_NAME "MAKEboard Mini"
|
||||
|
||||
//
|
||||
// Only 3 Limit Switch plugs on Micromake C1
|
||||
|
@ -31,7 +31,7 @@
|
||||
#error "MKS BASE 1.0 supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "MKS BASE 1.0"
|
||||
#define BOARD_INFO_NAME "MKS BASE 1.0"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "MKS BASE 1.4 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "MKS BASE 1.4"
|
||||
#define BOARD_INFO_NAME "MKS BASE 1.4"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -34,7 +34,7 @@
|
||||
#error "MKS GEN 1.3/1.4 supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "MKS GEN >= v1.3"
|
||||
#define BOARD_INFO_NAME "MKS GEN >= v1.3"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "MKS GEN L supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "MKS GEN L"
|
||||
#define BOARD_INFO_NAME "MKS GEN L"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -57,8 +57,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_NAME
|
||||
#define BOARD_NAME "RAMPS 1.4"
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "RAMPS 1.4"
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -34,8 +34,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef BOARD_NAME
|
||||
#define BOARD_NAME "RAMPS 1.3"
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "RAMPS 1.3"
|
||||
#endif
|
||||
|
||||
#define IS_RAMPS_13
|
||||
|
@ -25,7 +25,7 @@
|
||||
#error "Creality3D RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Creality3D RAMPS"
|
||||
#define BOARD_INFO_NAME "Creality3D RAMPS"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -25,7 +25,7 @@
|
||||
#error "Dagoma3D F5 RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Dagoma3D F5 RAMPS"
|
||||
#define BOARD_INFO_NAME "Dagoma3D F5 RAMPS"
|
||||
|
||||
#define X_STOP_PIN 2
|
||||
#define Y_STOP_PIN 3
|
||||
|
@ -25,7 +25,7 @@
|
||||
#error "Ender-4 supports only 1 hotend / E-stepper. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Ender-4"
|
||||
#define BOARD_INFO_NAME "Ender-4"
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "RAMPS <1.2"
|
||||
#define BOARD_INFO_NAME "RAMPS <1.2"
|
||||
|
||||
// Uncomment the following line for RAMPS v1.0
|
||||
//#define RAMPS_V_1_0
|
||||
|
@ -42,7 +42,7 @@
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "RAMPS 1.4 Plus"
|
||||
#define BOARD_INFO_NAME "RAMPS 1.4 Plus"
|
||||
|
||||
#define RAMPS_D8_PIN 10
|
||||
#define RAMPS_D10_PIN 8
|
||||
|
@ -25,8 +25,8 @@
|
||||
* RIGIDBOARD Arduino Mega with RAMPS v1.4 pin assignments
|
||||
*/
|
||||
|
||||
#ifndef BOARD_NAME
|
||||
#define BOARD_NAME "RigidBoard"
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "RigidBoard"
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -25,7 +25,7 @@
|
||||
* RIGIDBOARD V2 Arduino Mega with RAMPS v1.4 pin assignments
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "RigidBoard V2"
|
||||
#define BOARD_INFO_NAME "RigidBoard V2"
|
||||
|
||||
#include "pins_RIGIDBOARD.h"
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* extruder motors due to dual Z motors. Pinout therefore based on pins_RUMBA.h.
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "RL200"
|
||||
#define BOARD_INFO_NAME "RL200"
|
||||
#define DEFAULT_MACHINE_NAME "Rapide Lite 200"
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@ -31,11 +31,11 @@
|
||||
#error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_NAME
|
||||
#define BOARD_NAME "Rumba"
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "Rumba"
|
||||
#endif
|
||||
#ifndef DEFAULT_MACHINE_NAME
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define BOARD_NAME "Raise3D Rumba"
|
||||
#define BOARD_INFO_NAME "Raise3D Rumba"
|
||||
#define DEFAULT_MACHINE_NAME "Raise3D N Series"
|
||||
|
||||
// Raise3D uses thermocouples on the standard input pins
|
||||
|
@ -29,7 +29,7 @@
|
||||
#error "Sainsmart 2-in-1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Sainsmart"
|
||||
#define BOARD_INFO_NAME "Sainsmart"
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Arduino Mega with RAMPS v1.3 for Anycubic
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "Anycubic RAMPS 1.3"
|
||||
#define BOARD_INFO_NAME "Anycubic RAMPS 1.3"
|
||||
|
||||
#define IS_RAMPS_EFB
|
||||
#define RAMPS_D9_PIN 44
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Arduino Mega with RAMPS v1.4 for Anycubic
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "Anycubic RAMPS 1.4"
|
||||
#define BOARD_INFO_NAME "Anycubic RAMPS 1.4"
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
@ -31,7 +31,7 @@
|
||||
#error "TRONXY-V3-1.0 supports only 2 hotends/E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "TRONXY-V3-1.0"
|
||||
#define BOARD_INFO_NAME "TRONXY-V3-1.0"
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
@ -28,8 +28,8 @@
|
||||
#error "TTOSCAR supports up to 5 hotends / E-steppers. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "TT OSCAR"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define BOARD_INFO_NAME "TT OSCAR"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
@ -37,7 +37,7 @@
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Ultimaker 2.x"
|
||||
#define BOARD_INFO_NAME "Ultimaker 2.x"
|
||||
#define DEFAULT_MACHINE_NAME "Ultimaker"
|
||||
#define DEFAULT_SOURCE_CODE_URL "https://github.com/Ultimaker/Marlin"
|
||||
|
||||
|
@ -37,8 +37,8 @@
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Ultimaker"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_NAME
|
||||
#define BOARD_INFO_NAME "Ultimaker"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
#define DEFAULT_SOURCE_CODE_URL "https://github.com/Ultimaker/Marlin"
|
||||
|
||||
//
|
||||
|
@ -36,7 +36,7 @@
|
||||
* the revisions provided inconsistent information.
|
||||
*
|
||||
* As best I can determine:
|
||||
* 1.5.3 boards should use the pins_ULTIMAKER.h file which means the BOARD_NAME
|
||||
* 1.5.3 boards should use the pins_ULTIMAKER.h file which means the BOARD_INFO_NAME
|
||||
* define in this file should say 1.5.3 rather than 1.5.4
|
||||
* This file is meant for 1.1 - 1.3 boards.
|
||||
* The endstops for the 1.0 boards use different definitions than on the 1.1 - 1.3
|
||||
@ -65,13 +65,13 @@
|
||||
#endif
|
||||
|
||||
#ifdef BOARD_REV_1_1_TO_1_3
|
||||
#define BOARD_NAME "Ultimaker 1.1-1.3"
|
||||
#define BOARD_INFO_NAME "Ultimaker 1.1-1.3"
|
||||
#elif defined(BOARD_REV_1_0)
|
||||
#define BOARD_NAME "Ultimaker 1.0"
|
||||
#define BOARD_INFO_NAME "Ultimaker 1.0"
|
||||
#elif defined(BOARD_REV_1_5)
|
||||
#define BOARD_NAME "Ultimaker 1.5"
|
||||
#define BOARD_INFO_NAME "Ultimaker 1.5"
|
||||
#else
|
||||
#define BOARD_NAME "Ultimaker 1.5.4+"
|
||||
#define BOARD_INFO_NAME "Ultimaker 1.5.4+"
|
||||
#endif
|
||||
#define DEFAULT_MACHINE_NAME "Ultimaker"
|
||||
#define DEFAULT_SOURCE_CODE_URL "https://github.com/Ultimaker/Marlin"
|
||||
|
@ -26,7 +26,7 @@
|
||||
* See https://github.com/mzbotreprap/VORON/blob/master/Firmware/Marlin/pins_RAMPS_VORON.h
|
||||
*/
|
||||
|
||||
#define BOARD_NAME "VORON Design v2"
|
||||
#define BOARD_INFO_NAME "VORON Design v2"
|
||||
|
||||
#define RAMPS_D8_PIN 11
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
#error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_NAME "Z-Bolt X Series"
|
||||
#define BOARD_INFO_NAME "Z-Bolt X Series"
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
Reference in New Issue
Block a user