update code base to Marlin 2.0.9.2
This commit is contained in:
31
Marlin/src/pins/sam/pins_ALLIGATOR_R2.h
Executable file → Normal file
31
Marlin/src/pins/sam/pins_ALLIGATOR_R2.h
Executable file → Normal file
@@ -16,19 +16,17 @@
|
||||
* 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
|
||||
|
||||
/**
|
||||
* Alligator Board R2
|
||||
* http://www.3dartists.org/
|
||||
* https://reprap.org/wiki/Alligator_Board
|
||||
*/
|
||||
|
||||
#ifndef __SAM3X8E__
|
||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Alligator Board R2"
|
||||
|
||||
@@ -125,36 +123,35 @@
|
||||
|
||||
#define SPI_CHAN_DAC 1
|
||||
|
||||
#define DAC0_SYNC 53 // PB14
|
||||
#define DAC1_SYNC 6 // PC24
|
||||
#define DAC0_SYNC_PIN 53 // PB14
|
||||
#define DAC1_SYNC_PIN 6 // PC24
|
||||
|
||||
// 64K SPI EEPROM
|
||||
#define SPI_EEPROM
|
||||
#define SPI_CHAN_EEPROM1 2
|
||||
#define SPI_EEPROM1_CS 25 // PD0
|
||||
#define SPI_EEPROM1_CS_PIN 25 // PD0
|
||||
|
||||
// 2K SPI EEPROM
|
||||
#define SPI_EEPROM2_CS 26 // PD1
|
||||
#define SPI_EEPROM2_CS_PIN 26 // PD1
|
||||
|
||||
// FLASH SPI
|
||||
// 32Mb
|
||||
#define SPI_FLASH_CS 23 // PA14
|
||||
#define SPI_FLASH_CS_PIN 23 // PA14
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||
|
||||
#if IS_RRD_FG_SC
|
||||
#define LCD_PINS_RS 18
|
||||
#define LCD_PINS_ENABLE 15
|
||||
#define LCD_PINS_D4 19
|
||||
#define BEEPER_PIN 64
|
||||
#undef UI_VOLTAGE_LEVEL
|
||||
#define UI_VOLTAGE_LEVEL 1
|
||||
#endif
|
||||
|
||||
#if IS_NEWPANEL
|
||||
#define BTN_EN1 14
|
||||
#define BTN_EN2 16
|
||||
#define BTN_ENC 17
|
||||
|
||||
#undef UI_VOLTAGE_LEVEL
|
||||
#define UI_VOLTAGE_LEVEL 1
|
||||
|
||||
#endif // REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user