update code base to Marlin 2.0.9.2
This commit is contained in:
24
Marlin/src/pins/sam/pins_ARCHIM1.h
Executable file → Normal file
24
Marlin/src/pins/sam/pins_ARCHIM1.h
Executable file → Normal file
@@ -16,7 +16,7 @@
|
||||
* 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
|
||||
@@ -37,7 +37,7 @@
|
||||
* https://github.com/ultimachine/Archim/wiki
|
||||
*/
|
||||
|
||||
#ifndef __SAM3X8E__
|
||||
#if NOT_TARGET(__SAM3X8E__)
|
||||
#error "Oops! Select 'Archim' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
//
|
||||
// Timers
|
||||
//
|
||||
// These are already defined in DUE, so must be undefined first
|
||||
#define STEP_TIMER_NUM 3
|
||||
#define HAL_STEP_TIMER_ISR() void TC3_Handler()
|
||||
|
||||
@@ -169,9 +170,9 @@
|
||||
#define INT_SDSS 55 // D55 PA24/MCDA3
|
||||
|
||||
// External SD card reader on SC2
|
||||
#define SCK_PIN 76 // D76 PA27
|
||||
#define MISO_PIN 74 // D74 PA25
|
||||
#define MOSI_PIN 75 // D75 PA26
|
||||
#define SD_SCK_PIN 76 // D76 PA27
|
||||
#define SD_MISO_PIN 74 // D74 PA25
|
||||
#define SD_MOSI_PIN 75 // D75 PA26
|
||||
#define SDSS 87 // D87 PA29
|
||||
|
||||
// 2MB SPI Flash
|
||||
@@ -180,7 +181,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if HAS_SPI_LCD
|
||||
#if HAS_WIRED_LCD
|
||||
#define BEEPER_PIN 23 // D24 PA15_CTS1
|
||||
#define LCD_PINS_RS 17 // D17 PA12_RXD1
|
||||
#define LCD_PINS_ENABLE 24 // D23 PA14_RTS1
|
||||
@@ -191,10 +192,15 @@
|
||||
|
||||
#define SD_DETECT_PIN 2 // D2 PB25_TIOA0
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
#if IS_NEWPANEL
|
||||
// Buttons on AUX-2
|
||||
#define BTN_EN1 60 // D60 PA3_TIOB1
|
||||
#define BTN_EN2 13 // D13 PB27_TIOB0
|
||||
#define BTN_ENC 16 // D16 PA13_TXD1
|
||||
#endif // NEWPANEL
|
||||
#endif // HAS_SPI_LCD
|
||||
#endif // IS_NEWPANEL
|
||||
|
||||
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
|
||||
#endif
|
||||
|
||||
#endif // HAS_WIRED_LCD
|
||||
|
Reference in New Issue
Block a user