update code base to Marlin 2.0.9.2
This commit is contained in:
33
Marlin/src/pins/esp32/pins_MRR_ESPE.h
Executable file → Normal file
33
Marlin/src/pins/esp32/pins_MRR_ESPE.h
Executable file → Normal file
@@ -1,9 +1,9 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
* 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
|
||||
@@ -16,24 +16,25 @@
|
||||
* 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/>.
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* MRR ESPE pin assignments
|
||||
* MRR ESPE is a 3D printer control board based on the ESP32 microcontroller.
|
||||
*
|
||||
* 3D printer control board based on the ESP32 microcontroller.
|
||||
* Supports 5 stepper drivers (using I2S stepper stream), heated bed,
|
||||
* single hotend, and LCD controller.
|
||||
*/
|
||||
|
||||
#ifndef ARDUINO_ARCH_ESP32
|
||||
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
|
||||
#elif EXTRUDERS > 2 || E_STEPPERS > 2
|
||||
#include "env_validate.h"
|
||||
|
||||
#if EXTRUDERS > 2 || E_STEPPERS > 2
|
||||
#error "MRR ESPE only supports two E Steppers. Comment out this line to continue."
|
||||
#elif HOTENDS > 1
|
||||
#error "MRR ESPE currently supports only one hotend. Comment out this line to continue."
|
||||
#error "MRR ESPE only supports one hotend / E-stepper. Comment out this line to continue."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "MRR ESPE"
|
||||
@@ -52,12 +53,10 @@
|
||||
//
|
||||
#undef I2S_STEPPER_STREAM
|
||||
#define I2S_STEPPER_STREAM
|
||||
|
||||
#undef LIN_ADVANCE // Currently, I2S stream does not work with linear advance
|
||||
|
||||
#define I2S_WS 26
|
||||
#define I2S_BCK 25
|
||||
#define I2S_DATA 27
|
||||
#undef LIN_ADVANCE // Currently, I2S stream does not work with linear advance
|
||||
|
||||
//
|
||||
// Steppers
|
||||
@@ -114,9 +113,9 @@
|
||||
//
|
||||
// MicroSD card
|
||||
//
|
||||
#define MOSI_PIN 23
|
||||
#define MISO_PIN 19
|
||||
#define SCK_PIN 18
|
||||
#define SD_MOSI_PIN 23
|
||||
#define SD_MISO_PIN 19
|
||||
#define SD_SCK_PIN 18
|
||||
#define SDSS 5
|
||||
#define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers
|
||||
|
||||
@@ -124,7 +123,7 @@
|
||||
// LCDs and Controllers //
|
||||
//////////////////////////
|
||||
|
||||
#if HAS_GRAPHICAL_LCD
|
||||
#if HAS_WIRED_LCD
|
||||
|
||||
#define LCD_PINS_RS 13
|
||||
#define LCD_PINS_ENABLE 17
|
||||
@@ -134,7 +133,7 @@
|
||||
|
||||
#define BEEPER_PIN 151
|
||||
|
||||
#elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||
#elif IS_RRD_FG_SC
|
||||
|
||||
#define BEEPER_PIN 151
|
||||
|
||||
@@ -152,7 +151,7 @@
|
||||
#define BTN_EN2 12
|
||||
#define BTN_ENC 14
|
||||
|
||||
#endif // HAS_GRAPHICAL_LCD
|
||||
#endif // HAS_MARLINUI_U8GLIB
|
||||
|
||||
// Hardware serial pins
|
||||
// Add the following to Configuration.h or Configuration_adv.h to assign
|
||||
|
Reference in New Issue
Block a user