mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
70be4d206e
* UltiMachine Archim2 support * SPI gets included by the library * Invert TMC2130 diag pin state * Clean up Archim2 pins * Update Archim2 config * FAN2 -> FAN1 * Cleanup * Add brief Archim installation instructions * Bring pins into compliance * Update 1.0 SD Detect pin for 1.1 * Update Configuration.h * Update pins_ARCHIM2.h
64 lines
1.7 KiB
C++
64 lines
1.7 KiB
C++
/**
|
|
* Marlin 3D Printer Firmware
|
|
* Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#include "src/inc/MarlinConfig.h"
|
|
|
|
#if ENABLED(ULTRA_LCD)
|
|
#if ENABLED(LCD_I2C_TYPE_PCF8575)
|
|
#include <Wire.h>
|
|
#include <LiquidCrystal_I2C.h>
|
|
#elif ENABLED(LCD_I2C_TYPE_MCP23017) || ENABLED(LCD_I2C_TYPE_MCP23008)
|
|
#include <Wire.h>
|
|
#include <LiquidTWI2.h>
|
|
#elif ENABLED(LCM1602)
|
|
#include <Wire.h>
|
|
#include <LCD.h>
|
|
#include <LiquidCrystal_I2C.h>
|
|
#elif ENABLED(DOGLCD)
|
|
#include <U8glib.h> // library for graphics LCD by Oli Kraus (https://github.com/olikraus/U8glib_Arduino)
|
|
#else
|
|
#include <LiquidCrystal.h> // library for character LCD
|
|
#endif
|
|
#endif
|
|
|
|
#if HAS_DIGIPOTSS
|
|
#include <SPI.h>
|
|
#endif
|
|
|
|
#if ENABLED(DIGIPOT_I2C)
|
|
#include <Wire.h>
|
|
#endif
|
|
|
|
#if ENABLED(HAVE_TMCDRIVER)
|
|
#include <SPI.h>
|
|
#include <TMC26XStepper.h>
|
|
#endif
|
|
|
|
#if ENABLED(HAVE_TMC2130)
|
|
#include <TMC2130Stepper.h>
|
|
#endif
|
|
|
|
#if ENABLED(HAVE_L6470DRIVER)
|
|
#include <SPI.h>
|
|
#include <L6470.h>
|
|
#endif
|