Tweak tests, consolidate pins target validation (#21254)
This commit is contained in:
26
Marlin/src/pins/rambo/env_validate.h
Normal file
26
Marlin/src/pins/rambo/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(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
|
||||
#endif
|
@ -25,9 +25,7 @@
|
||||
* Einsy-Rambo pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Einsy Rambo"
|
||||
|
||||
|
@ -25,9 +25,7 @@
|
||||
* Einsy-Retro pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Einsy Retro"
|
||||
|
||||
|
@ -25,9 +25,7 @@
|
||||
* Mini-RAMBo pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'RAMBo' in 'Tools > Board' or the Mega2560 environment in PlatformIO."
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#if MB(MINIRAMBO_10A)
|
||||
#define BOARD_INFO_NAME "Mini RAMBo 1.0a"
|
||||
|
@ -41,9 +41,7 @@
|
||||
* Rambo pin assignments
|
||||
*/
|
||||
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "Rambo"
|
||||
|
@ -25,9 +25,7 @@
|
||||
* Rambo pin assignments MODIFIED FOR Scoovo X9H
|
||||
************************************************/
|
||||
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
#include "env_target.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Scoovo X9H"
|
||||
|
||||
|
Reference in New Issue
Block a user