Skip to content

Commit

Permalink
🚸 Improve MKS SGEN_L V2, Robin Nano V3 pins (MarlinFirmware#24147)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored and Omkar Dhekne committed Mar 25, 2024
1 parent 24e6d5a commit bc83863
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
18 changes: 15 additions & 3 deletions Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
//
Expand Down Expand Up @@ -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
//
Expand Down
8 changes: 8 additions & 0 deletions Marlin/src/pins/stm32f4/pins_MKS_ROBIN_NANO_V3_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down

0 comments on commit bc83863

Please sign in to comment.