Skip to content

Commit

Permalink
Prevent BOARD_NAME conflict with env
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 21, 2019
1 parent 33f6d77 commit 0cc524b
Show file tree
Hide file tree
Showing 164 changed files with 212 additions and 212 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/menu/menu_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void menu_info_thermistors() {
void menu_info_board() {
if (ui.use_click()) return ui.goto_previous_screen();
START_SCREEN();
STATIC_ITEM(BOARD_NAME, true, true); // MyPrinterController
STATIC_ITEM(BOARD_INFO_NAME, true, true); // MyPrinterController
STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000
STATIC_ITEM(MSG_INFO_PROTOCOL ": " PROTOCOL_VERSION, true); // Protocol: 1.0
STATIC_ITEM(MSG_INFO_PSU ": " PSU_NAME, true);
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/esp32/pins_ESP32.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"Oops! Select an ESP32 board in 'Tools > Board.'"
#endif

#define BOARD_NAME "Espressif ESP32"
#define BOARD_INFO_NAME "Espressif ESP32"

//
// I2S (steppers & other output-only pins)
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/linux/pins_RAMPS_LINUX.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
* 7 | 11
*/

#ifndef BOARD_NAME
#define BOARD_NAME "RAMPS 1.4"
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "RAMPS 1.4"
#endif

#define E2END 0xFFF // 4KB
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_AZSMZ_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "AZSMZ MINI"
#define BOARD_INFO_NAME "AZSMZ MINI"

//
// Servos
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.1.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "BIGTREE SKR 1.1"
#define BOARD_INFO_NAME "BIGTREE SKR 1.1"

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "BIGTREE SKR 1.3"
#define BOARD_INFO_NAME "BIGTREE SKR 1.3"

// Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/lpc1768/pins_BIQU_B300_V1.0.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#ifndef BOARD_NAME
#define BOARD_NAME "BIQU Thunder B300 V1.0"
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "BIQU Thunder B300 V1.0"
#endif

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_BIQU_BQ111_A4.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "BIQU BQ111-A4"
#define BOARD_INFO_NAME "BIQU BQ111-A4"

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "GMARSH X6 REV1"
#define BOARD_INFO_NAME "GMARSH X6 REV1"

// Ignore temp readings during develpment.
//#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/lpc1768/pins_MKS_SBASE.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#ifndef BOARD_NAME
#define BOARD_NAME "MKS SBASE"
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "MKS SBASE"
#endif
#ifndef BOARD_WEBSITE_URL
#define BOARD_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SBASE"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "MKS SGen-L"
#define BOARD_INFO_NAME "MKS SGen-L"
#define BOARD_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SGEN_L"

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "Re-ARM RAMPS 1.4"
#define BOARD_INFO_NAME "Re-ARM RAMPS 1.4"

//
// Servos
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#define BOARD_NAME "Selena Compact"
#define BOARD_INFO_NAME "Selena Compact"
#define BOARD_WEBSITE_URL "https://github.com/Ales2-k/Selena"

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_AZTEEG_X5_GT.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#define BOARD_NAME "Azteeg X5 GT"
#define BOARD_INFO_NAME "Azteeg X5 GT"
#define BOARD_WEBSITE_URL "https://tinyurl.com/yx8tdqa3"

//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#ifndef BOARD_NAME
#define BOARD_NAME "Azteeg X5 MINI"
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "Azteeg X5 MINI"
#endif
#define BOARD_WEBSITE_URL "http://www.panucatt.com/azteeg_X5_mini_reprap_3d_printer_controller_p/ax5mini.htm"

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI_WIFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#define BOARD_NAME "Azteeg X5 MINI WIFI"
#define BOARD_INFO_NAME "Azteeg X5 MINI WIFI"

//
// DIGIPOT slave addresses
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_COHESION3D_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#define BOARD_NAME "Cohesion3D Mini"
#define BOARD_INFO_NAME "Cohesion3D Mini"

//
// Servos
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_COHESION3D_REMIX.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#define BOARD_NAME "Cohesion3D ReMix"
#define BOARD_INFO_NAME "Cohesion3D ReMix"

//
// Servos
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_MKS_SGEN.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#define BOARD_NAME "MKS SGen"
#define BOARD_INFO_NAME "MKS SGen"
#define BOARD_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SGEN"

#include "../lpc1768/pins_MKS_SBASE.h"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_SMOOTHIEBOARD.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#define BOARD_NAME "Smoothieboard"
#define BOARD_INFO_NAME "Smoothieboard"
#define BOARD_WEBSITE_URL "http://smoothieware.org/smoothieboard"

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

#define BOARD_NAME "TH3D EZBoard"
#define BOARD_INFO_NAME "TH3D EZBoard"
#define BOARD_WEBSITE_URL "https://www.th3dstudio.com/product/ezboard-lite/"

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CHEAPTRONIC.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Cheaptronic v1.0"
#define BOARD_INFO_NAME "Cheaptronic v1.0"
//
// Limit Switches
//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CHEAPTRONICv2.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Cheaptronic v2.0"
#define BOARD_INFO_NAME "Cheaptronic v2.0"

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CNCONTROLS_11.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "CN Controls V11"
#define BOARD_INFO_NAME "CN Controls V11"

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CNCONTROLS_12.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "CN Controls V12"
#define BOARD_INFO_NAME "CN Controls V12"

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CNCONTROLS_15.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "CN Controls V15"
#define BOARD_INFO_NAME "CN Controls V15"

//
// Servos
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_EINSTART-S.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Einstart-S"
#define BOARD_INFO_NAME "Einstart-S"

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_ELEFU_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Elefu Ra v3"
#define BOARD_INFO_NAME "Elefu Ra v3"

//
// Limit Switches
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/mega/pins_GT2560_REV_A.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#ifndef BOARD_NAME
#define BOARD_NAME "GT2560 Rev.A"
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "GT2560 Rev.A"
#endif
#define DEFAULT_MACHINE_NAME "Prusa i3 Pro B"

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_GT2560_REV_A_PLUS.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Geeetech GT2560 Revision A+ board pin assignments
*/

#define BOARD_NAME "GT2560 Rev.A+"
#define BOARD_INFO_NAME "GT2560 Rev.A+"

#include "pins_GT2560_REV_A.h"

Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/mega/pins_GT2560_V3.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#ifndef BOARD_NAME
#define BOARD_NAME "GT2560 V3.0"
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "GT2560 V3.0"
#endif

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_GT2560_V3_MC2.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* GT2560 V3.0 pin assignment (for Mecreator 2)
*****************************************************************/

#define BOARD_NAME "GT2560 V3.0 (MC2)"
#define BOARD_INFO_NAME "GT2560 V3.0 (MC2)"

#define X_MIN_PIN 22
#define X_MAX_PIN 24
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_LEAPFROG.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Leapfrog"
#define BOARD_INFO_NAME "Leapfrog"

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGACONTROLLER.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#error "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif

#define BOARD_NAME "Mega Controller"
#define BOARD_INFO_NAME "Mega Controller"

//
// Servos
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGATRONICS.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Megatronics"
#define BOARD_INFO_NAME "Megatronics"
//
// Limit Switches
//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGATRONICS_2.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Megatronics v2.0"
#define BOARD_INFO_NAME "Megatronics v2.0"
//
// Limit Switches
//
Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/pins/mega/pins_MEGATRONICS_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
#endif

#if MB(MEGATRONICS_32)
#define BOARD_NAME "Megatronics v3.2"
#define BOARD_INFO_NAME "Megatronics v3.2"
#elif MB(MEGATRONICS_31)
#define BOARD_NAME "Megatronics v3.1"
#define BOARD_INFO_NAME "Megatronics v3.1"
#else
#define BOARD_NAME "Megatronics v3.0"
#define BOARD_INFO_NAME "Megatronics v3.0"
#endif

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Mightyboard"
#define BOARD_INFO_NAME "Mightyboard"
#define DEFAULT_MACHINE_NAME "MB Replicator"

//
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MINITRONICS.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif

#define BOARD_NAME "Minitronics v1.0/1.1"
#define BOARD_INFO_NAME "Minitronics v1.0/1.1"
//
// Limit Switches
//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/mega/pins_OVERLORD.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#error "Overlord Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif

#define BOARD_NAME "OVERLORD"
#define DEFAULT_MACHINE_NAME BOARD_NAME
#define BOARD_INFO_NAME "OVERLORD"
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME

//
// Limit Switches
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_SILVER_GATE.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#error "Oops! Select 'Silvergate' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Silver Gate"
#define BOARD_INFO_NAME "Silver Gate"

#define X_STEP_PIN 43
#define X_DIR_PIN 44
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_WANHAO_ONEPLUS.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

#define BOARD_NAME "Wanhao i3 Mini 0ne+"
#define BOARD_INFO_NAME "Wanhao i3 Mini 0ne+"
#define DEFAULT_MACHINE_NAME "i3 Mini"
#define BOARD_WEBSITE_URL "https://tinyurl.com/yyxw7se7"

Expand Down
Loading

0 comments on commit 0cc524b

Please sign in to comment.