Browse Source

Fix controller and SD on Robin Nano (#16187)

pull/1/head
Antti Andreimann 5 years ago
committed by Scott Lahteine
parent
commit
1465fc0632
  1. 21
      Marlin/src/pins/stm32/pins_MKS_ROBIN_NANO.h

21
Marlin/src/pins/stm32/pins_MKS_ROBIN_NANO.h

@ -38,11 +38,6 @@
// //
#define DISABLE_DEBUG #define DISABLE_DEBUG
//
// Note: MKS Robin board is using SPI2 interface.
//
#define SPI_MODULE 2
// //
// Limit Switches // Limit Switches
// //
@ -108,11 +103,16 @@
#define LED_PIN PB2 #define LED_PIN PB2
//
// SD Card
//
#define SDIO_SUPPORT
#define SD_DETECT_PIN PD12
// //
// LCD / Controller // LCD / Controller
// //
#define BEEPER_PIN PC5 #define BEEPER_PIN PC5
#define SD_DETECT_PIN PD12
/** /**
* Note: MKS Robin TFT screens use various TFT controllers. * Note: MKS Robin TFT screens use various TFT controllers.
@ -123,12 +123,15 @@
#define FSMC_CS_PIN PD7 // NE4 #define FSMC_CS_PIN PD7 // NE4
#define FSMC_RS_PIN PD11 // A0 #define FSMC_RS_PIN PD11 // A0
#define LCD_RESET_PIN PF6 #define LCD_RESET_PIN PC6 // FSMC_RST
#define NO_LCD_REINIT // Suppress LCD re-initialization #define NO_LCD_REINIT // Suppress LCD re-initialization
#define LCD_BACKLIGHT_PIN PD13 #define LCD_BACKLIGHT_PIN PD13
#if ENABLED(TOUCH_BUTTONS) #if ENABLED(TOUCH_BUTTONS)
#define TOUCH_CS_PIN PA7 #define TOUCH_CS_PIN PA7 // SPI2_NSS
#define TOUCH_SCK_PIN PB13 // SPI2_SCK
#define TOUCH_MISO_PIN PB14 // SPI2_MISO
#define TOUCH_MOSI_PIN PB15 // SPI2_MOSI
#endif #endif
#endif #endif
Loading…
Cancel
Save