Tweak tests, consolidate pins target validation (#21254)
This commit is contained in:
26
Marlin/src/pins/lpc1769/env_validate.h
Normal file
26
Marlin/src/pins/lpc1769/env_validate.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
@@ -25,9 +25,7 @@
|
||||
* Azteeg X5 GT pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Azteeg X5 GT"
|
||||
#define BOARD_WEBSITE_URL "tinyurl.com/yx8tdqa3"
|
||||
|
@@ -24,10 +24,7 @@
|
||||
/**
|
||||
* Azteeg X5 MINI pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "Azteeg X5 MINI"
|
||||
|
@@ -22,12 +22,10 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* Azteeg X5 MINI pin assignments
|
||||
* Azteeg X5 MINI WIFI pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Azteeg X5 MINI WIFI"
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "env_validate.h"
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "BTT SKR E3 Turbo"
|
||||
#endif
|
||||
|
@@ -22,9 +22,9 @@
|
||||
#pragma once
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR V1.4 TURBO"
|
||||
#define SKR_HAS_LPC1769
|
||||
|
||||
//
|
||||
// Include SKR 1.4 pins
|
||||
//
|
||||
#define REQUIRE_LPC1769
|
||||
#include "../lpc1768/pins_BTT_SKR_V1_4.h"
|
||||
|
@@ -25,9 +25,7 @@
|
||||
* Cohesion3D Mini pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Cohesion3D Mini"
|
||||
|
||||
|
@@ -25,9 +25,7 @@
|
||||
* Cohesion3D ReMix pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Cohesion3D ReMix"
|
||||
|
||||
|
@@ -21,9 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "FLY-CDY"
|
||||
#define BOARD_WEBSITE_URL "github.com/FLYmaker/FLY-CDY"
|
||||
|
@@ -28,14 +28,10 @@
|
||||
* https://github.com/makerbase-mks/MKS-SGen/blob/master/Hardware/MKS%20SGEN%20V1.0_001/MKS%20SGEN%20V1.0_001%20PIN.pdf
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "MKS SGen"
|
||||
#define BOARD_WEBSITE_URL "github.com/makerbase-mks/MKS-SGEN"
|
||||
|
||||
#define MKS_HAS_LPC1769
|
||||
#define REQUIRE_LPC1769
|
||||
#include "../lpc1768/pins_MKS_SBASE.h"
|
||||
|
||||
#if HAS_TMC_UART
|
||||
|
@@ -25,9 +25,7 @@
|
||||
* MKS SGen pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "MKS SGEN_L V2"
|
||||
#define BOARD_WEBSITE_URL "github.com/makerbase-mks"
|
||||
|
@@ -25,9 +25,7 @@
|
||||
* Smoothieboard pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Smoothieboard"
|
||||
#define BOARD_WEBSITE_URL "smoothieware.org/smoothieboard"
|
||||
|
@@ -25,9 +25,7 @@
|
||||
* TH3D EZBoard pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(MCU_LPC1769)
|
||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "TH3D EZBoard"
|
||||
#define BOARD_WEBSITE_URL "th3dstudio.com"
|
||||
|
Reference in New Issue
Block a user