Tweak tests, consolidate pins target validation (#21254)

This commit is contained in:
Scott Lahteine
2021-03-05 04:30:52 -06:00
committed by GitHub
parent f56929d0df
commit 3ea56ba4c7
220 changed files with 631 additions and 509 deletions

View 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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"