1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 21:36:21 +00:00

🚸 Improve MKS SGEN_L V2, Robin Nano V3 pins (#24147)

This commit is contained in:
Keith Bennett 2022-05-13 17:27:13 -07:00 committed by Scott Lahteine
parent 5c25ed60c8
commit a13cceaad1
2 changed files with 23 additions and 3 deletions

View File

@ -36,9 +36,7 @@
// EEPROM, MKS SGEN_L V2.0 hardware has 4K EEPROM on the board
//
#if NO_EEPROM_SELECTED
//#define SDCARD_EEPROM_EMULATION
//#define I2C_EEPROM // AT24C32
#define FLASH_EEPROM_EMULATION
#define I2C_EEPROM // AT24C32
#define MARLIN_EEPROM_SIZE 0x1000 // 4K
#endif
@ -103,6 +101,12 @@
#define Z_MIN_PROBE_PIN P1_24
#endif
//
// Filament Runout Sensor
//
#define FIL_RUNOUT_PIN P1_28 // X+
#define FIL_RUNOUT2_PIN P1_26 // Y+
//
// Steppers
//
@ -203,6 +207,14 @@
#define TEMP_1_PIN P0_25_A2 // Analog Input A2 (TH2)
#define TEMP_2_PIN P0_26_A3 // Analog Input A3 (P0.26, No pull up)
#if HOTENDS == 1 && !REDUNDANT_TEMP_MATCH(SOURCE, E1)
#if TEMP_SENSOR_PROBE
#define TEMP_PROBE_PIN TEMP_1_PIN
#elif TEMP_SENSOR_CHAMBER
#define TEMP_CHAMBER_PIN TEMP_1_PIN
#endif
#endif
//
// Heaters / Fans
//

View File

@ -119,6 +119,14 @@
#define TEMP_1_PIN PA2 // TH2
#define TEMP_BED_PIN PC0 // TB1
#if HOTENDS == 1 && !REDUNDANT_TEMP_MATCH(SOURCE, E1)
#if TEMP_SENSOR_PROBE
#define TEMP_PROBE_PIN TEMP_1_PIN
#elif TEMP_SENSOR_CHAMBER
#define TEMP_CHAMBER_PIN TEMP_1_PIN
#endif
#endif
//
// Heaters / Fans
//