1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 07:17:59 +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 GitHub
parent 0e4348c718
commit a62dc7c70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 // EEPROM, MKS SGEN_L V2.0 hardware has 4K EEPROM on the board
// //
#if NO_EEPROM_SELECTED #if NO_EEPROM_SELECTED
//#define SDCARD_EEPROM_EMULATION #define I2C_EEPROM // AT24C32
//#define I2C_EEPROM // AT24C32
#define FLASH_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x1000 // 4K #define MARLIN_EEPROM_SIZE 0x1000 // 4K
#endif #endif
@ -103,6 +101,12 @@
#define Z_MIN_PROBE_PIN P1_24 #define Z_MIN_PROBE_PIN P1_24
#endif #endif
//
// Filament Runout Sensor
//
#define FIL_RUNOUT_PIN P1_28 // X+
#define FIL_RUNOUT2_PIN P1_26 // Y+
// //
// Steppers // Steppers
// //
@ -203,6 +207,14 @@
#define TEMP_1_PIN P0_25_A2 // Analog Input A2 (TH2) #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) #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 // Heaters / Fans
// //

View File

@ -119,6 +119,14 @@
#define TEMP_1_PIN PA2 // TH2 #define TEMP_1_PIN PA2 // TH2
#define TEMP_BED_PIN PC0 // TB1 #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 // Heaters / Fans
// //