Browse Source

Reformat pins files

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
98ec7b61a9
  1. 2
      Marlin/src/pins/linux/pins_RAMPS_LINUX.h
  2. 2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h
  3. 2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
  4. 2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h
  5. 4
      Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h
  6. 2
      Marlin/src/pins/lpc1768/pins_MKS_SBASE.h
  7. 2
      Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h
  8. 2
      Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
  9. 4
      Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h
  10. 2
      Marlin/src/pins/lpc1769/pins_MKS_SGEN.h
  11. 2
      Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h
  12. 2
      Marlin/src/pins/mega/pins_INTAMSYS40.h
  13. 2
      Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h
  14. 4
      Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h
  15. 2
      Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h
  16. 2
      Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h
  17. 2
      Marlin/src/pins/sam/pins_RADDS.h
  18. 2
      Marlin/src/pins/sam/pins_RAMPS_SMART.h
  19. 2
      Marlin/src/pins/sam/pins_RURAMPS4D_11.h
  20. 2
      Marlin/src/pins/sam/pins_RURAMPS4D_13.h
  21. 2
      Marlin/src/pins/samd/pins_RAMPS_144.h
  22. 4
      Marlin/src/pins/stm32f0/pins_MALYAN_M300.h
  23. 10
      Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h
  24. 8
      Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h
  25. 4
      Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_V1_1.h
  26. 8
      Marlin/src/pins/stm32f1/pins_CCROBOT_MEEB_3DP.h
  27. 2
      Marlin/src/pins/stm32f1/pins_CHITU3D.h
  28. 2
      Marlin/src/pins/stm32f1/pins_CHITU3D_V5.h
  29. 2
      Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h
  30. 6
      Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
  31. 6
      Marlin/src/pins/stm32f1/pins_FYSETC_AIO_II.h
  32. 6
      Marlin/src/pins/stm32f1/pins_FYSETC_CHEETAH.h
  33. 8
      Marlin/src/pins/stm32f1/pins_GTM32_MINI.h
  34. 8
      Marlin/src/pins/stm32f1/pins_GTM32_MINI_A30.h
  35. 8
      Marlin/src/pins/stm32f1/pins_GTM32_PRO_VB.h
  36. 8
      Marlin/src/pins/stm32f1/pins_GTM32_REV_B.h
  37. 4
      Marlin/src/pins/stm32f1/pins_JGAURORA_A5S_A1.h
  38. 2
      Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h
  39. 4
      Marlin/src/pins/stm32f1/pins_MALYAN_M200.h
  40. 2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN.h
  41. 2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_common.h
  42. 11
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h
  43. 4
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h
  44. 2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h
  45. 2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h
  46. 148
      Marlin/src/pins/stm32f1/pins_STM32F1R.h
  47. 148
      Marlin/src/pins/stm32f1/pins_STM3R_MINI.h
  48. 2
      Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h
  49. 4
      Marlin/src/pins/stm32f4/pins_ARMED.h
  50. 148
      Marlin/src/pins/stm32f4/pins_BEAST.h
  51. 2
      Marlin/src/pins/stm32f4/pins_BLACK_STM32F407VE.h
  52. 4
      Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h
  53. 4
      Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h
  54. 4
      Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_common.h
  55. 4
      Marlin/src/pins/stm32f4/pins_FLYF407ZG.h
  56. 4
      Marlin/src/pins/stm32f4/pins_FYSETC_S6.h
  57. 4
      Marlin/src/pins/stm32f4/pins_GENERIC_STM32F4.h
  58. 4
      Marlin/src/pins/stm32f4/pins_LERDGE_K.h
  59. 10
      Marlin/src/pins/stm32f4/pins_LERDGE_S.h
  60. 6
      Marlin/src/pins/stm32f4/pins_LERDGE_X.h
  61. 4
      Marlin/src/pins/stm32f4/pins_RUMBA32_AUS3D.h
  62. 2
      Marlin/src/pins/stm32f4/pins_RUMBA32_MKS.h
  63. 4
      Marlin/src/pins/stm32f4/pins_RUMBA32_common.h
  64. 2
      Marlin/src/pins/stm32f4/pins_VAKE403D.h
  65. 4
      Marlin/src/pins/stm32f7/pins_THE_BORG.h
  66. 2
      Marlin/src/pins/teensy2/pins_5DPRINT.h
  67. 2
      Marlin/src/pins/teensy2/pins_PRINTRBOARD_REVF.h

2
Marlin/src/pins/linux/pins_RAMPS_LINUX.h

@ -50,7 +50,7 @@
#endif #endif
#ifndef MARLIN_EEPROM_SIZE #ifndef MARLIN_EEPROM_SIZE
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
#define IS_RAMPS_EFB #define IS_RAMPS_EFB

2
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h

@ -182,7 +182,7 @@
#define E1_SERIAL_RX_PIN P1_01 #define E1_SERIAL_RX_PIN P1_01
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
/** /**

2
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

@ -208,7 +208,7 @@
#define Z2_SERIAL_RX_PIN P1_01 #define Z2_SERIAL_RX_PIN P1_01
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //

2
Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h

@ -30,7 +30,7 @@
#endif #endif
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Steppers // Steppers

4
Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h

@ -28,7 +28,7 @@
#define BOARD_INFO_NAME "GMARSH X6 REV1" #define BOARD_INFO_NAME "GMARSH X6 REV1"
// Ignore temp readings during develpment. // Ignore temp readings during develpment.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Enable 12MHz clock output on P1.27 pin to sync TMC2208 chip clocks // Enable 12MHz clock output on P1.27 pin to sync TMC2208 chip clocks
@ -97,7 +97,7 @@
#define E2_SERIAL_RX_PIN P2_06 #define E2_SERIAL_RX_PIN P2_06
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#else #else
#error "TMC2208 UART configuration is required for GMarsh X6." #error "TMC2208 UART configuration is required for GMarsh X6."
#endif #endif

2
Marlin/src/pins/lpc1768/pins_MKS_SBASE.h

@ -324,7 +324,7 @@
#define E0_SERIAL_RX_PIN P0_26 // TH4 #define E0_SERIAL_RX_PIN P0_26 // TH4
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// UNUSED // UNUSED

2
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h

@ -188,7 +188,7 @@
#define Z2_SERIAL_RX_PIN P1_17 #define Z2_SERIAL_RX_PIN P1_17
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif // TMC2208 || TMC2209 #endif // TMC2208 || TMC2209
// //

2
Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h

@ -158,7 +158,7 @@
#endif #endif
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //

4
Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h

@ -82,11 +82,11 @@
// DIGIPOT slave addresses // DIGIPOT slave addresses
// //
#ifndef DIGIPOT_I2C_ADDRESS_A #ifndef DIGIPOT_I2C_ADDRESS_A
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT #define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
#endif #endif
#ifndef DIGIPOT_I2C_ADDRESS_B #ifndef DIGIPOT_I2C_ADDRESS_B
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT #define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT
#endif #endif
// //

2
Marlin/src/pins/lpc1769/pins_MKS_SGEN.h

@ -56,5 +56,5 @@
#define E1_SERIAL_RX_PIN P4_28 // J8-6 #define E1_SERIAL_RX_PIN P4_28 // J8-6
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif

2
Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h

@ -89,7 +89,7 @@
#define E0_SERIAL_RX_PIN P0_21 #define E0_SERIAL_RX_PIN P0_21
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //

2
Marlin/src/pins/mega/pins_INTAMSYS40.h

@ -82,7 +82,7 @@
// Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
#ifndef MOTOR_CURRENT_PWM_RANGE #ifndef MOTOR_CURRENT_PWM_RANGE
#define MOTOR_CURRENT_PWM_RANGE 2000 #define MOTOR_CURRENT_PWM_RANGE 2000
#endif #endif
#define DEFAULT_PWM_MOTOR_CURRENT { 1300, 1300, 1250 } #define DEFAULT_PWM_MOTOR_CURRENT { 1300, 1300, 1250 }

2
Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h

@ -116,7 +116,7 @@
#define DIGIPOTS_I2C_SDA_E1 77 // J6 #define DIGIPOTS_I2C_SDA_E1 77 // J6
#ifndef DIGIPOT_I2C_ADDRESS_A #ifndef DIGIPOT_I2C_ADDRESS_A
#define DIGIPOT_I2C_ADDRESS_A 0x2F // unshifted slave address (5E <- 2F << 1) #define DIGIPOT_I2C_ADDRESS_A 0x2F // unshifted slave address (5E <- 2F << 1)
#endif #endif
// //

4
Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h

@ -67,10 +67,10 @@
// DIGIPOT slave addresses // DIGIPOT slave addresses
#ifndef DIGIPOT_I2C_ADDRESS_A #ifndef DIGIPOT_I2C_ADDRESS_A
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1) #define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1)
#endif #endif
#ifndef DIGIPOT_I2C_ADDRESS_B #ifndef DIGIPOT_I2C_ADDRESS_B
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1) #define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
#endif #endif
// //

2
Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h

@ -64,5 +64,5 @@
#define SUICIDE_PIN 12 // Used by CR2020 Industrial series #define SUICIDE_PIN 12 // Used by CR2020 Industrial series
#ifndef SUICIDE_PIN_INVERTING #ifndef SUICIDE_PIN_INVERTING
#define SUICIDE_PIN_INVERTING true #define SUICIDE_PIN_INVERTING true
#endif #endif

2
Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h

@ -147,7 +147,7 @@
#define FET_SAFETY_PIN 31 // PA7 must be pulsed low every 50 mS or FETs are turned off #define FET_SAFETY_PIN 31 // PA7 must be pulsed low every 50 mS or FETs are turned off
#define FET_SAFETY_DELAY 50 // 50 mS delay between pulses #define FET_SAFETY_DELAY 50 // 50 mS delay between pulses
#define FET_SAFETY_INVERTED true // true - negative going pulse of 2 uS #define FET_SAFETY_INVERTED true // true - negative going pulse of 2 uS
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////

2
Marlin/src/pins/sam/pins_RADDS.h

@ -36,7 +36,7 @@
// //
#if EITHER(NO_EEPROM_SELECTED, I2C_EEPROM) #if EITHER(NO_EEPROM_SELECTED, I2C_EEPROM)
#define I2C_EEPROM #define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x2000 // 8KB #define MARLIN_EEPROM_SIZE 0x2000 // 8KB
#endif #endif
// //

2
Marlin/src/pins/sam/pins_RAMPS_SMART.h

@ -70,7 +70,7 @@
// I2C EEPROM with 4K of space // I2C EEPROM with 4K of space
#define I2C_EEPROM #define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x1000 #define MARLIN_EEPROM_SIZE 0x1000
#define RESET_PIN 42 // Resets the board if the jumper is attached #define RESET_PIN 42 // Resets the board if the jumper is attached

2
Marlin/src/pins/sam/pins_RURAMPS4D_11.h

@ -186,7 +186,7 @@
// //
// EEPROM // EEPROM
// //
#define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256) #define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256)
#define I2C_EEPROM // EEPROM on I2C-0 #define I2C_EEPROM // EEPROM on I2C-0
//#define EEPROM_SD // EEPROM on SDCARD //#define EEPROM_SD // EEPROM on SDCARD
//#define SPI_EEPROM // EEPROM on SPI-0 //#define SPI_EEPROM // EEPROM on SPI-0

2
Marlin/src/pins/sam/pins_RURAMPS4D_13.h

@ -172,7 +172,7 @@
// //
// EEPROM // EEPROM
// //
#define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256) #define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256)
#define I2C_EEPROM // EEPROM on I2C-0 #define I2C_EEPROM // EEPROM on I2C-0
//#define EEPROM_SD // EEPROM on SDCARD //#define EEPROM_SD // EEPROM on SDCARD
//#define SPI_EEPROM // EEPROM on SPI-0 //#define SPI_EEPROM // EEPROM on SPI-0

2
Marlin/src/pins/samd/pins_RAMPS_144.h

@ -46,7 +46,7 @@
// //
//#define QSPI_EEPROM // Use AGCM4 onboard QSPI EEPROM (Uses 4K of RAM) //#define QSPI_EEPROM // Use AGCM4 onboard QSPI EEPROM (Uses 4K of RAM)
#define I2C_EEPROM // EEPROM on I2C-0 #define I2C_EEPROM // EEPROM on I2C-0
#define MARLIN_EEPROM_SIZE 0x8000 // 32K (24lc256) #define MARLIN_EEPROM_SIZE 0x8000 // 32K (24lc256)
// //
// Limit Switches // Limit Switches

4
Marlin/src/pins/stm32f0/pins_MALYAN_M300.h

@ -43,8 +43,8 @@
// //
// Timers // Timers
// //
#define STEP_TIMER 6 #define STEP_TIMER 6
#define TEMP_TIMER 7 #define TEMP_TIMER 7
// //
// Limit Switches // Limit Switches

10
Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h

@ -31,7 +31,7 @@
#define DISABLE_JTAG #define DISABLE_JTAG
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
@ -138,7 +138,7 @@
#define E0_SERIAL_RX_PIN PD2 #define E0_SERIAL_RX_PIN PD2
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //
@ -158,7 +158,7 @@
// USB connect control // USB connect control
// //
#define USB_CONNECT_PIN PC13 #define USB_CONNECT_PIN PC13
#define USB_CONNECT_INVERTING false #define USB_CONNECT_INVERTING false
/** /**
* _____ * _____
@ -260,7 +260,7 @@
* *
*/ */
#define CLCD_SPI_BUS 1 // SPI1 connector #define CLCD_SPI_BUS 1 // SPI1 connector
#define BEEPER_PIN PB6 #define BEEPER_PIN PB6
@ -288,5 +288,5 @@
#error "SD CUSTOM_CABLE is not compatible with SKR E3 DIP." #error "SD CUSTOM_CABLE is not compatible with SKR E3 DIP."
#endif #endif
#define ON_BOARD_SPI_DEVICE 1 // SPI1 #define ON_BOARD_SPI_DEVICE 1 // SPI1
#define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card

8
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h

@ -29,7 +29,7 @@
#define DISABLE_JTAG #define DISABLE_JTAG
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
@ -108,7 +108,7 @@
#define USB_CONNECT_PIN PC13 #define USB_CONNECT_PIN PC13
#endif #endif
#define USB_CONNECT_INVERTING false #define USB_CONNECT_INVERTING false
/** /**
* SKR Mini E3 V1.0, V1.2 SKR Mini E3 V2.0 * SKR Mini E3 V1.0, V1.2 SKR Mini E3 V2.0
@ -208,7 +208,7 @@
* *
*/ */
#define CLCD_SPI_BUS 1 // SPI1 connector #define CLCD_SPI_BUS 1 // SPI1 connector
#define BEEPER_PIN EXP1_9 #define BEEPER_PIN EXP1_9
@ -236,5 +236,5 @@
#error "SD CUSTOM_CABLE is not compatible with SKR Mini E3." #error "SD CUSTOM_CABLE is not compatible with SKR Mini E3."
#endif #endif
#define ON_BOARD_SPI_DEVICE 1 // SPI1 #define ON_BOARD_SPI_DEVICE 1 // SPI1
#define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card

4
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_V1_1.h

@ -31,7 +31,7 @@
#define DISABLE_JTAG #define DISABLE_JTAG
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
@ -213,5 +213,5 @@
#define MOSI_PIN PA7 #define MOSI_PIN PA7
#define SS_PIN PA4 #define SS_PIN PA4
#endif #endif
#define ON_BOARD_SPI_DEVICE 1 // SPI1 #define ON_BOARD_SPI_DEVICE 1 // SPI1
#define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card #define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card

8
Marlin/src/pins/stm32f1/pins_CCROBOT_MEEB_3DP.h

@ -43,9 +43,9 @@
// //
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#define EEPROM_PAGE_SIZE 0x800U // 2KB #define EEPROM_PAGE_SIZE 0x800U // 2KB
#define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL) #define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL)
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// //
@ -95,7 +95,7 @@
#define E0_SERIAL_RX_PIN PC4 #define E0_SERIAL_RX_PIN PC4
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
// //
// Temperature Sensors // Temperature Sensors
@ -173,7 +173,7 @@
#define SS_PIN PA4 #define SS_PIN PA4
#endif #endif
#define ON_BOARD_SPI_DEVICE 1 // SPI1 #define ON_BOARD_SPI_DEVICE 1 // SPI1
#define ONBOARD_SD_CS_PIN PA4 // Chip select for SD-NAND #define ONBOARD_SD_CS_PIN PA4 // Chip select for SD-NAND
#endif #endif

2
Marlin/src/pins/stm32f1/pins_CHITU3D.h

@ -36,7 +36,7 @@
//#define I2C_EEPROM //#define I2C_EEPROM
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Steppers // Steppers

2
Marlin/src/pins/stm32f1/pins_CHITU3D_V5.h

@ -177,7 +177,7 @@
// Emulated DOGM // Emulated DOGM
#define GRAPHICAL_TFT_UPSCALE 3 #define GRAPHICAL_TFT_UPSCALE 3
#ifndef XPT2046_X_CALIBRATION #ifndef XPT2046_X_CALIBRATION
#define XPT2046_X_CALIBRATION -12316 #define XPT2046_X_CALIBRATION -12316
#endif #endif

2
Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h

@ -186,7 +186,7 @@
// Emulated DOGM // Emulated DOGM
#elif ENABLED(FSMC_GRAPHICAL_TFT) #elif ENABLED(FSMC_GRAPHICAL_TFT)
#define GRAPHICAL_TFT_UPSCALE 3 #define GRAPHICAL_TFT_UPSCALE 3
#ifndef XPT2046_X_CALIBRATION #ifndef XPT2046_X_CALIBRATION
#define XPT2046_X_CALIBRATION -12316 #define XPT2046_X_CALIBRATION -12316

6
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h

@ -51,10 +51,10 @@
#if ENABLED(IIC_BL24CXX_EEPROM) #if ENABLED(IIC_BL24CXX_EEPROM)
#define IIC_EEPROM_SDA PA11 #define IIC_EEPROM_SDA PA11
#define IIC_EEPROM_SCL PA12 #define IIC_EEPROM_SCL PA12
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16) #define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
#else #else
#define SDCARD_EEPROM_EMULATION // SD EEPROM until all EEPROM is BL24CXX #define SDCARD_EEPROM_EMULATION // SD EEPROM until all EEPROM is BL24CXX
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb #define MARLIN_EEPROM_SIZE 0x800 // 2Kb
#endif #endif
// SPI // SPI
@ -150,7 +150,7 @@
// //
#define SD_DETECT_PIN PC7 #define SD_DETECT_PIN PC7
#define SDCARD_CONNECTION ONBOARD #define SDCARD_CONNECTION ONBOARD
#define ON_BOARD_SPI_DEVICE 1 #define ON_BOARD_SPI_DEVICE 1
#define ONBOARD_SD_CS_PIN PA4 // SDSS #define ONBOARD_SD_CS_PIN PA4 // SDSS
#define SDIO_SUPPORT #define SDIO_SUPPORT

6
Marlin/src/pins/stm32f1/pins_FYSETC_AIO_II.h

@ -33,7 +33,7 @@
#define pins_v2_20190128 // new pins define #define pins_v2_20190128 // new pins define
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Flash EEPROM Emulation // Flash EEPROM Emulation
@ -112,7 +112,7 @@
// Stepper current PWM // Stepper current PWM
// //
#ifndef MOTOR_CURRENT_PWM_RANGE #ifndef MOTOR_CURRENT_PWM_RANGE
#define MOTOR_CURRENT_PWM_RANGE 1500 // origin:2000 #define MOTOR_CURRENT_PWM_RANGE 1500 // origin:2000
#endif #endif
#define DEFAULT_PWM_MOTOR_CURRENT { 500, 500, 400 } // origin: {1300,1300,1250} #define DEFAULT_PWM_MOTOR_CURRENT { 500, 500, 400 } // origin: {1300,1300,1250}
@ -152,7 +152,7 @@
#define DOGLCD_CS PB7 #define DOGLCD_CS PB7
#endif #endif
//#define LCD_CONTRAST_INIT 190 //#define LCD_CONTRAST_INIT 190
//#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270

6
Marlin/src/pins/stm32f1/pins_FYSETC_CHEETAH.h

@ -32,7 +32,7 @@
// https://github.com/FYSETC/Cheetah // https://github.com/FYSETC/Cheetah
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
#define DISABLE_JTAG #define DISABLE_JTAG
@ -151,7 +151,7 @@
#define LCD_PINS_D4 PB13 // SCLK #define LCD_PINS_D4 PB13 // SCLK
#define LCD_PINS_ENABLE PB15 // DATA MOSI #define LCD_PINS_ENABLE PB15 // DATA MOSI
//#define LCD_CONTRAST_INIT 190 //#define LCD_CONTRAST_INIT 190
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define BTN_EN1 PC10 #define BTN_EN1 PC10
@ -172,6 +172,6 @@
#define CLCD_SOFT_SPI_MISO PB14 #define CLCD_SOFT_SPI_MISO PB14
#define CLCD_SOFT_SPI_SCLK PB13 #define CLCD_SOFT_SPI_SCLK PB13
#else #else
#define CLCD_SPI_BUS 2 #define CLCD_SPI_BUS 2
#endif #endif
#endif #endif

8
Marlin/src/pins/stm32f1/pins_GTM32_MINI.h

@ -49,12 +49,12 @@
//#define DISABLE_JTAGSWD //#define DISABLE_JTAGSWD
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// Enable EEPROM Emulation for this board as it doesn't have EEPROM // Enable EEPROM Emulation for this board as it doesn't have EEPROM
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// //
@ -236,6 +236,6 @@
// ESP WiFi can be soldered to J9 connector which is wired to USART2. // ESP WiFi can be soldered to J9 connector which is wired to USART2.
// Must define WIFISUPPORT in Configuration.h for the printer. // Must define WIFISUPPORT in Configuration.h for the printer.
// //
#define ESP_WIFI_MODULE_COM 2 #define ESP_WIFI_MODULE_COM 2
#define ESP_WIFI_MODULE_BAUDRATE 115200 #define ESP_WIFI_MODULE_BAUDRATE 115200
#define ESP_WIFI_MODULE_RESET_PIN -1 #define ESP_WIFI_MODULE_RESET_PIN -1

8
Marlin/src/pins/stm32f1/pins_GTM32_MINI_A30.h

@ -49,12 +49,12 @@
//#define DISABLE_JTAGSWD //#define DISABLE_JTAGSWD
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// Enable EEPROM Emulation for this board as it doesn't have EEPROM // Enable EEPROM Emulation for this board as it doesn't have EEPROM
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// //
@ -230,6 +230,6 @@
// ESP WiFi can be soldered to J9 connector which is wired to USART2. // ESP WiFi can be soldered to J9 connector which is wired to USART2.
// Must define WIFISUPPORT in Configuration.h for the printer. // Must define WIFISUPPORT in Configuration.h for the printer.
// //
#define ESP_WIFI_MODULE_COM 2 #define ESP_WIFI_MODULE_COM 2
#define ESP_WIFI_MODULE_BAUDRATE 115200 #define ESP_WIFI_MODULE_BAUDRATE 115200
#define ESP_WIFI_MODULE_RESET_PIN -1 #define ESP_WIFI_MODULE_RESET_PIN -1

8
Marlin/src/pins/stm32f1/pins_GTM32_PRO_VB.h

@ -49,12 +49,12 @@
//#define DISABLE_JTAGSWD //#define DISABLE_JTAGSWD
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// Enable EEPROM Emulation for this board as it doesn't have EEPROM // Enable EEPROM Emulation for this board as it doesn't have EEPROM
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// //
@ -236,6 +236,6 @@
// ESP WiFi can be soldered to J9 connector which is wired to USART2. // ESP WiFi can be soldered to J9 connector which is wired to USART2.
// Must define WIFISUPPORT in Configuration.h for the printer. // Must define WIFISUPPORT in Configuration.h for the printer.
// //
#define ESP_WIFI_MODULE_COM 2 #define ESP_WIFI_MODULE_COM 2
#define ESP_WIFI_MODULE_BAUDRATE 115200 #define ESP_WIFI_MODULE_BAUDRATE 115200
#define ESP_WIFI_MODULE_RESET_PIN -1 #define ESP_WIFI_MODULE_RESET_PIN -1

8
Marlin/src/pins/stm32f1/pins_GTM32_REV_B.h

@ -49,12 +49,12 @@
//#define DISABLE_JTAGSWD //#define DISABLE_JTAGSWD
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// Enable EEPROM Emulation for this board as it doesn't have EEPROM // Enable EEPROM Emulation for this board as it doesn't have EEPROM
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// //
@ -233,6 +233,6 @@
// ESP WiFi can be soldered to J9 connector which is wired to USART2. // ESP WiFi can be soldered to J9 connector which is wired to USART2.
// Must define WIFISUPPORT in Configuration.h for the printer. // Must define WIFISUPPORT in Configuration.h for the printer.
// //
#define ESP_WIFI_MODULE_COM 2 #define ESP_WIFI_MODULE_COM 2
#define ESP_WIFI_MODULE_BAUDRATE 115200 #define ESP_WIFI_MODULE_BAUDRATE 115200
#define ESP_WIFI_MODULE_RESET_PIN -1 #define ESP_WIFI_MODULE_RESET_PIN -1

4
Marlin/src/pins/stm32f1/pins_JGAURORA_A5S_A1.h

@ -43,10 +43,10 @@
// Enable EEPROM Emulation for this board, so that we don't overwrite factory data // Enable EEPROM Emulation for this board, so that we don't overwrite factory data
//#define I2C_EEPROM // AT24C64 //#define I2C_EEPROM // AT24C64
//#define MARLIN_EEPROM_SIZE 0x8000UL // 64KB //#define MARLIN_EEPROM_SIZE 0x8000UL // 64KB
//#define FLASH_EEPROM_EMULATION //#define FLASH_EEPROM_EMULATION
//#define MARLIN_EEPROM_SIZE 0x1000UL // 4KB //#define MARLIN_EEPROM_SIZE 0x1000UL // 4KB
//#define MARLIN_EEPROM_SIZE (EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE) * 2UL) //#define MARLIN_EEPROM_SIZE (EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE) * 2UL)
//#define EEPROM_CHITCHAT //#define EEPROM_CHITCHAT

2
Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h

@ -130,7 +130,7 @@
#define DOGLCD_MOSI -1 // Prevent auto-define by Conditionals_post.h #define DOGLCD_MOSI -1 // Prevent auto-define by Conditionals_post.h
#define DOGLCD_SCK -1 #define DOGLCD_SCK -1
#define GRAPHICAL_TFT_UPSCALE 2 #define GRAPHICAL_TFT_UPSCALE 2
#define TFT_WIDTH 320 #define TFT_WIDTH 320
#define TFT_HEIGHT 240 #define TFT_HEIGHT 240
#define TFT_PIXEL_OFFSET_X 32 #define TFT_PIXEL_OFFSET_X 32

4
Marlin/src/pins/stm32f1/pins_MALYAN_M200.h

@ -44,8 +44,8 @@
// On STM32F103: // On STM32F103:
// PB3, PB6, PB7, and PB8 can be used with pwm, which rules out TIM2 and TIM4. // PB3, PB6, PB7, and PB8 can be used with pwm, which rules out TIM2 and TIM4.
// On STM32F070, 16 and 17 are in use, but 1 and 3 are available. // On STM32F070, 16 and 17 are in use, but 1 and 3 are available.
#define STEP_TIMER 1 #define STEP_TIMER 1
#define TEMP_TIMER 3 #define TEMP_TIMER 3
// //
// Limit Switches // Limit Switches

2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN.h

@ -212,6 +212,6 @@
// Reduce baud rate for software serial reliability // Reduce baud rate for software serial reliability
#if HAS_TMC_SW_SERIAL #if HAS_TMC_SW_SERIAL
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
#endif #endif

2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_common.h

@ -105,7 +105,7 @@
#define E0_SERIAL_RX_PIN PC11 #define E0_SERIAL_RX_PIN PC11
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //

11
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h

@ -81,7 +81,6 @@
#define E0_STEP_PIN PD6 #define E0_STEP_PIN PD6
#define E0_DIR_PIN PD3 #define E0_DIR_PIN PD3
// Motor current PWM pins // Motor current PWM pins
#define MOTOR_CURRENT_PWM_XY_PIN PA6 #define MOTOR_CURRENT_PWM_XY_PIN PA6
#define MOTOR_CURRENT_PWM_Z_PIN PA7 #define MOTOR_CURRENT_PWM_Z_PIN PA7
@ -113,7 +112,7 @@
#define SERVO0_PIN PA8 // Enable BLTOUCH support on IO0 (WIFI connector) #define SERVO0_PIN PA8 // Enable BLTOUCH support on IO0 (WIFI connector)
#define MT_DET_1_PIN PA4 #define MT_DET_1_PIN PA4
#define MT_DET_PIN_INVERTING false #define MT_DET_PIN_INVERTING false
#define WIFI_IO0_PIN PC13 #define WIFI_IO0_PIN PC13
@ -149,9 +148,9 @@
#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_USE_DMA_FSMC // Use DMA transfers to send data to the TFT #define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT
#define FSMC_DMA_DEV DMA2 #define FSMC_DMA_DEV DMA2
#define FSMC_DMA_CHANNEL DMA_CH5 #define FSMC_DMA_CHANNEL DMA_CH5
#define LCD_RESET_PIN PC6 // FSMC_RST #define LCD_RESET_PIN PC6 // FSMC_RST
#define LCD_BACKLIGHT_PIN PD13 #define LCD_BACKLIGHT_PIN PD13
@ -163,7 +162,7 @@
#define TOUCH_MOSI_PIN PB15 // SPI2_MOSI #define TOUCH_MOSI_PIN PB15 // SPI2_MOSI
#endif #endif
#elif ENABLED(TFT_320x240) //TFT32/28 #elif ENABLED(TFT_320x240) //TFT32/28
#define TFT_RESET_PIN PC6 #define TFT_RESET_PIN PC6
#define TFT_BACKLIGHT_PIN PD13 #define TFT_BACKLIGHT_PIN PD13
@ -190,7 +189,7 @@
#define ILI9341_COLOR_RGB #define ILI9341_COLOR_RGB
#endif #endif
#define HAS_SPI_FLASH 1 #define HAS_SPI_FLASH 1
#define SPI_FLASH_SIZE 0x1000000 // 16MB #define SPI_FLASH_SIZE 0x1000000 // 16MB
#if HAS_SPI_FLASH #if HAS_SPI_FLASH
#define W25QXX_CS_PIN PB12 // Flash chip-select #define W25QXX_CS_PIN PB12 // Flash chip-select

4
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

@ -188,7 +188,7 @@
#define FSMC_DMA_CHANNEL DMA_CH5 #define FSMC_DMA_CHANNEL DMA_CH5
#define TOUCH_BUTTONS_HW_SPI #define TOUCH_BUTTONS_HW_SPI
#define TOUCH_BUTTONS_HW_SPI_DEVICE 2 #define TOUCH_BUTTONS_HW_SPI_DEVICE 2
#endif #endif
// LVGL Configs // LVGL Configs
@ -206,7 +206,7 @@
#define DOGLCD_SCK -1 #define DOGLCD_SCK -1
#ifndef GRAPHICAL_TFT_UPSCALE #ifndef GRAPHICAL_TFT_UPSCALE
#define GRAPHICAL_TFT_UPSCALE 3 #define GRAPHICAL_TFT_UPSCALE 3
#endif #endif
#ifndef TFT_WIDTH #ifndef TFT_WIDTH
#define TFT_WIDTH 480 #define TFT_WIDTH 480

2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h

@ -311,7 +311,7 @@
#endif #endif
#ifndef GRAPHICAL_TFT_UPSCALE #ifndef GRAPHICAL_TFT_UPSCALE
#define GRAPHICAL_TFT_UPSCALE 3 #define GRAPHICAL_TFT_UPSCALE 3
#endif #endif
#ifndef TFT_PIXEL_OFFSET_Y #ifndef TFT_PIXEL_OFFSET_Y
#define TFT_PIXEL_OFFSET_Y 32 #define TFT_PIXEL_OFFSET_Y 32

2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h

@ -41,7 +41,7 @@
// //
// Note: MKS Robin board is using SPI2 interface. // Note: MKS Robin board is using SPI2 interface.
// //
//#define SPI_MODULE 2 //#define SPI_MODULE 2
#define ENABLE_SPI2 #define ENABLE_SPI2
// //

148
Marlin/src/pins/stm32f1/pins_STM32F1R.h

@ -33,7 +33,7 @@
#define DEFAULT_MACHINE_NAME "STM32F103RET6" #define DEFAULT_MACHINE_NAME "STM32F103RET6"
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Limit Switches // Limit Switches
@ -100,9 +100,9 @@
#if HAS_SPI_LCD #if HAS_SPI_LCD
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
#define LCD_PINS_ENABLE 51 // SID (MOSI) #define LCD_PINS_ENABLE 51 // SID (MOSI)
#define LCD_PINS_D4 52 // SCK (CLK) clock #define LCD_PINS_D4 52 // SCK (CLK) clock
#elif BOTH(NEWPANEL, PANEL_ONE) #elif BOTH(NEWPANEL, PANEL_ONE)
#define LCD_PINS_RS PB8 #define LCD_PINS_RS PB8
#define LCD_PINS_ENABLE PD2 #define LCD_PINS_ENABLE PD2
@ -118,13 +118,13 @@
#define LCD_PINS_D6 PB14 #define LCD_PINS_D6 PB14
#define LCD_PINS_D7 PB15 #define LCD_PINS_D7 PB15
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons attached to a shift register // Buttons attached to a shift register
// Not wired yet // Not wired yet
//#define SHIFT_CLK 38 //#define SHIFT_CLK 38
//#define SHIFT_LD 42 //#define SHIFT_LD 42
//#define SHIFT_OUT 40 //#define SHIFT_OUT 40
//#define SHIFT_EN 17 //#define SHIFT_EN 17
#endif #endif
#endif #endif
@ -132,125 +132,125 @@
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#if ENABLED(BQ_LCD_SMART_CONTROLLER) #if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 39 #define LCD_BACKLIGHT_PIN 39
#endif #endif
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SD_DETECT_PIN 42 #define SD_DETECT_PIN 42
#elif ENABLED(LCD_I2C_PANELOLU2) #elif ENABLED(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 #define BTN_EN1 47
#define BTN_EN2 43 #define BTN_EN2 43
#define BTN_ENC 32 #define BTN_ENC 32
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#define KILL_PIN 41 #define KILL_PIN 41
#elif ENABLED(LCD_I2C_VIKI) #elif ENABLED(LCD_I2C_VIKI)
#define BTN_EN1 22 // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42. #define BTN_EN1 22 // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13. #define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
#define BTN_ENC -1 #define BTN_ENC -1
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#elif ANY(VIKI2, miniVIKI) #elif ANY(VIKI2, miniVIKI)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define BTN_EN1 22 #define BTN_EN1 22
#define BTN_EN2 7 #define BTN_EN2 7
#define BTN_ENC 39 #define BTN_ENC 39
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board #define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
#define KILL_PIN 31 #define KILL_PIN 31
#define STAT_LED_RED_PIN 32 #define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35 #define STAT_LED_BLUE_PIN 35
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 37 #define BTN_EN2 37
#define BTN_ENC 31 #define BTN_ENC 31
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define LCD_SDSS 53 #define LCD_SDSS 53
#define KILL_PIN 41 #define KILL_PIN 41
#define BEEPER_PIN 23 #define BEEPER_PIN 23
#define DOGLCD_CS 29 #define DOGLCD_CS 29
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define LCD_BACKLIGHT_PIN 33 #define LCD_BACKLIGHT_PIN 33
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#define BEEPER_PIN 42 #define BEEPER_PIN 42
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 66 #define DOGLCD_CS 66
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define SDSS 53 #define SDSS 53
#define KILL_PIN 64 #define KILL_PIN 64
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
//#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
// The encoder and click button // The encoder and click button
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 63 #define BTN_EN2 63
#define BTN_ENC 59 #define BTN_ENC 59
// not connected to a pin // not connected to a pin
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#else #else
// Beeper on AUX-4 // Beeper on AUX-4
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons directly attached to AUX-2 // Buttons directly attached to AUX-2
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_CLK 44 #define SHIFT_CLK 44
#define SHIFT_LD 42 #define SHIFT_LD 42
#elif ENABLED(PANEL_ONE) #elif ENABLED(PANEL_ONE)
#define BTN_EN1 59 // AUX2 PIN 3 #define BTN_EN1 59 // AUX2 PIN 3
#define BTN_EN2 63 // AUX2 PIN 4 #define BTN_EN2 63 // AUX2 PIN 4
#define BTN_ENC 49 // AUX3 PIN 7 #define BTN_ENC 49 // AUX3 PIN 7
#else #else
#define BTN_EN1 37 #define BTN_EN1 37
#define BTN_EN2 35 #define BTN_EN2 35
#define BTN_ENC 31 #define BTN_ENC 31
#endif #endif
#if ENABLED(G3D_PANEL) #if ENABLED(G3D_PANEL)
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#else #else
//#define SD_DETECT_PIN -1 // Ramps doesn't use this //#define SD_DETECT_PIN -1 // Ramps doesn't use this
#endif #endif

148
Marlin/src/pins/stm32f1/pins_STM3R_MINI.h

@ -36,7 +36,7 @@
#define I2C_EEPROM #define I2C_EEPROM
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Limit Switches // Limit Switches
@ -115,9 +115,9 @@
#if HAS_SPI_LCD #if HAS_SPI_LCD
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
#define LCD_PINS_ENABLE 51 // SID (MOSI) #define LCD_PINS_ENABLE 51 // SID (MOSI)
#define LCD_PINS_D4 52 // SCK (CLK) clock #define LCD_PINS_D4 52 // SCK (CLK) clock
#elif BOTH(NEWPANEL, PANEL_ONE) #elif BOTH(NEWPANEL, PANEL_ONE)
#define LCD_PINS_RS PB8 #define LCD_PINS_RS PB8
#define LCD_PINS_ENABLE PD2 #define LCD_PINS_ENABLE PD2
@ -133,13 +133,13 @@
#define LCD_PINS_D6 PB14 #define LCD_PINS_D6 PB14
#define LCD_PINS_D7 PB15 #define LCD_PINS_D7 PB15
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons attached to a shift register // Buttons attached to a shift register
// Not wired yet // Not wired yet
//#define SHIFT_CLK 38 //#define SHIFT_CLK 38
//#define SHIFT_LD 42 //#define SHIFT_LD 42
//#define SHIFT_OUT 40 //#define SHIFT_OUT 40
//#define SHIFT_EN 17 //#define SHIFT_EN 17
#endif #endif
#endif #endif
@ -155,126 +155,126 @@
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#if ENABLED(BQ_LCD_SMART_CONTROLLER) #if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 39 #define LCD_BACKLIGHT_PIN 39
#endif #endif
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SD_DETECT_PIN 42 #define SD_DETECT_PIN 42
#elif ENABLED(LCD_I2C_PANELOLU2) #elif ENABLED(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 #define BTN_EN1 47
#define BTN_EN2 43 #define BTN_EN2 43
#define BTN_ENC 32 #define BTN_ENC 32
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#define KILL_PIN 41 #define KILL_PIN 41
#elif ENABLED(LCD_I2C_VIKI) #elif ENABLED(LCD_I2C_VIKI)
#define BTN_EN1 22 // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42. #define BTN_EN1 22 // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13. #define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
#define BTN_ENC -1 #define BTN_ENC -1
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#elif ANY(VIKI2, miniVIKI) #elif ANY(VIKI2, miniVIKI)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define BTN_EN1 22 #define BTN_EN1 22
#define BTN_EN2 7 #define BTN_EN2 7
#define BTN_ENC 39 #define BTN_ENC 39
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board #define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
#define KILL_PIN 31 #define KILL_PIN 31
#define STAT_LED_RED_PIN 32 #define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35 #define STAT_LED_BLUE_PIN 35
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 37 #define BTN_EN2 37
#define BTN_ENC 31 #define BTN_ENC 31
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define LCD_SDSS 53 #define LCD_SDSS 53
#define KILL_PIN 41 #define KILL_PIN 41
#define BEEPER_PIN 23 #define BEEPER_PIN 23
#define DOGLCD_CS 29 #define DOGLCD_CS 29
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define LCD_BACKLIGHT_PIN 33 #define LCD_BACKLIGHT_PIN 33
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#define BEEPER_PIN 42 #define BEEPER_PIN 42
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 66 #define DOGLCD_CS 66
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define SDSS 53 #define SDSS 53
#define KILL_PIN 64 #define KILL_PIN 64
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
//#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
// The encoder and click button // The encoder and click button
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 63 #define BTN_EN2 63
#define BTN_ENC 59 #define BTN_ENC 59
// not connected to a pin // not connected to a pin
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#else #else
// Beeper on AUX-4 // Beeper on AUX-4
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons directly attached to AUX-2 // Buttons directly attached to AUX-2
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_CLK 44 #define SHIFT_CLK 44
#define SHIFT_LD 42 #define SHIFT_LD 42
#elif ENABLED(PANEL_ONE) #elif ENABLED(PANEL_ONE)
#define BTN_EN1 59 // AUX2 PIN 3 #define BTN_EN1 59 // AUX2 PIN 3
#define BTN_EN2 63 // AUX2 PIN 4 #define BTN_EN2 63 // AUX2 PIN 4
#define BTN_ENC 49 // AUX3 PIN 7 #define BTN_ENC 49 // AUX3 PIN 7
#else #else
#define BTN_EN1 37 #define BTN_EN1 37
#define BTN_EN2 35 #define BTN_EN2 35
#define BTN_ENC 31 #define BTN_ENC 31
#endif #endif
#if ENABLED(G3D_PANEL) #if ENABLED(G3D_PANEL)
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#else #else
//#define SD_DETECT_PIN -1 // Ramps doesn't use this //#define SD_DETECT_PIN -1 // Ramps doesn't use this
#endif #endif

2
Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h

@ -92,7 +92,7 @@
// //
#define HEATER_0_PIN PG12 // HEATER1 #define HEATER_0_PIN PG12 // HEATER1
#define HEATER_BED_PIN PG11 // HOT BED #define HEATER_BED_PIN PG11 // HOT BED
#define HEATER_BED_INVERTING true #define HEATER_BED_INVERTING true
// //
// Fans // Fans

4
Marlin/src/pins/stm32f4/pins_ARMED.h

@ -39,7 +39,7 @@
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
#define I2C_EEPROM #define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
// //
// Limit Switches // Limit Switches
@ -225,5 +225,5 @@
#define Z2_SERIAL_RX_PIN EXT4_PIN #define Z2_SERIAL_RX_PIN EXT4_PIN
#define Z2_SERIAL_TX_PIN EXT4_PIN #define Z2_SERIAL_TX_PIN EXT4_PIN
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif

148
Marlin/src/pins/stm32f4/pins_BEAST.h

@ -36,7 +36,7 @@
#define I2C_EEPROM #define I2C_EEPROM
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Steppers // Steppers
@ -123,9 +123,9 @@
#if HAS_SPI_LCD #if HAS_SPI_LCD
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
#define LCD_PINS_ENABLE 51 // SID (MOSI) #define LCD_PINS_ENABLE 51 // SID (MOSI)
#define LCD_PINS_D4 52 // SCK (CLK) clock #define LCD_PINS_D4 52 // SCK (CLK) clock
#elif BOTH(NEWPANEL, PANEL_ONE) #elif BOTH(NEWPANEL, PANEL_ONE)
#define LCD_PINS_RS PB8 #define LCD_PINS_RS PB8
#define LCD_PINS_ENABLE PD2 #define LCD_PINS_ENABLE PD2
@ -141,13 +141,13 @@
#define LCD_PINS_D6 PB14 #define LCD_PINS_D6 PB14
#define LCD_PINS_D7 PB15 #define LCD_PINS_D7 PB15
#if DISABLED(NEWPANEL) #if DISABLED(NEWPANEL)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons attached to a shift register // Buttons attached to a shift register
// Not wired yet // Not wired yet
//#define SHIFT_CLK 38 //#define SHIFT_CLK 38
//#define SHIFT_LD 42 //#define SHIFT_LD 42
//#define SHIFT_OUT 40 //#define SHIFT_OUT 40
//#define SHIFT_EN 17 //#define SHIFT_EN 17
#endif #endif
#endif #endif
@ -155,126 +155,126 @@
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 37 #define BEEPER_PIN 37
#define BTN_EN1 31 #define BTN_EN1 31
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#if ENABLED(BQ_LCD_SMART_CONTROLLER) #if ENABLED(BQ_LCD_SMART_CONTROLLER)
#define LCD_BACKLIGHT_PIN 39 #define LCD_BACKLIGHT_PIN 39
#endif #endif
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD) #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SD_DETECT_PIN 42 #define SD_DETECT_PIN 42
#elif ENABLED(LCD_I2C_PANELOLU2) #elif ENABLED(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 #define BTN_EN1 47
#define BTN_EN2 43 #define BTN_EN2 43
#define BTN_ENC 32 #define BTN_ENC 32
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN -1 #define SD_DETECT_PIN -1
#define KILL_PIN 41 #define KILL_PIN 41
#elif ENABLED(LCD_I2C_VIKI) #elif ENABLED(LCD_I2C_VIKI)
#define BTN_EN1 22 // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42. #define BTN_EN1 22 // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13. #define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
#define BTN_ENC -1 #define BTN_ENC -1
#define LCD_SDSS 53 #define LCD_SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#elif ANY(VIKI2, miniVIKI) #elif ANY(VIKI2, miniVIKI)
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 45 #define DOGLCD_CS 45
#define LCD_SCREEN_ROT_180 #define LCD_SCREEN_ROT_180
#define BTN_EN1 22 #define BTN_EN1 22
#define BTN_EN2 7 #define BTN_EN2 7
#define BTN_ENC 39 #define BTN_ENC 39
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board #define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
#define KILL_PIN 31 #define KILL_PIN 31
#define STAT_LED_RED_PIN 32 #define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35 #define STAT_LED_BLUE_PIN 35
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define BTN_EN1 35 #define BTN_EN1 35
#define BTN_EN2 37 #define BTN_EN2 37
#define BTN_ENC 31 #define BTN_ENC 31
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define LCD_SDSS 53 #define LCD_SDSS 53
#define KILL_PIN 41 #define KILL_PIN 41
#define BEEPER_PIN 23 #define BEEPER_PIN 23
#define DOGLCD_CS 29 #define DOGLCD_CS 29
#define DOGLCD_A0 27 #define DOGLCD_A0 27
#define LCD_BACKLIGHT_PIN 33 #define LCD_BACKLIGHT_PIN 33
#elif ENABLED(MINIPANEL) #elif ENABLED(MINIPANEL)
#define BEEPER_PIN 42 #define BEEPER_PIN 42
// Pins for DOGM SPI LCD Support // Pins for DOGM SPI LCD Support
#define DOGLCD_A0 44 #define DOGLCD_A0 44
#define DOGLCD_CS 66 #define DOGLCD_CS 66
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65 #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
#define SDSS 53 #define SDSS 53
#define KILL_PIN 64 #define KILL_PIN 64
// GLCD features // GLCD features
// Uncomment screen orientation // Uncomment screen orientation
//#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270 //#define LCD_SCREEN_ROT_270
// The encoder and click button // The encoder and click button
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 63 #define BTN_EN2 63
#define BTN_ENC 59 #define BTN_ENC 59
// not connected to a pin // not connected to a pin
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#else #else
// Beeper on AUX-4 // Beeper on AUX-4
#define BEEPER_PIN 33 #define BEEPER_PIN 33
// Buttons directly attached to AUX-2 // Buttons directly attached to AUX-2
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)
#define BTN_EN1 64 #define BTN_EN1 64
#define BTN_EN2 59 #define BTN_EN2 59
#define BTN_ENC 63 #define BTN_ENC 63
#define SHIFT_OUT 40 #define SHIFT_OUT 40
#define SHIFT_CLK 44 #define SHIFT_CLK 44
#define SHIFT_LD 42 #define SHIFT_LD 42
#elif ENABLED(PANEL_ONE) #elif ENABLED(PANEL_ONE)
#define BTN_EN1 59 // AUX2 PIN 3 #define BTN_EN1 59 // AUX2 PIN 3
#define BTN_EN2 63 // AUX2 PIN 4 #define BTN_EN2 63 // AUX2 PIN 4
#define BTN_ENC 49 // AUX3 PIN 7 #define BTN_ENC 49 // AUX3 PIN 7
#else #else
#define BTN_EN1 37 #define BTN_EN1 37
#define BTN_EN2 35 #define BTN_EN2 35
#define BTN_ENC 31 #define BTN_ENC 31
#endif #endif
#if ENABLED(G3D_PANEL) #if ENABLED(G3D_PANEL)
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define KILL_PIN 41 #define KILL_PIN 41
#else #else
//#define SD_DETECT_PIN -1 // Ramps doesn't use this //#define SD_DETECT_PIN -1 // Ramps doesn't use this
#endif #endif

2
Marlin/src/pins/stm32f4/pins_BLACK_STM32F407VE.h

@ -41,7 +41,7 @@
//#define I2C_EEPROM //#define I2C_EEPROM
#define SRAM_EEPROM_EMULATION #define SRAM_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x2000 // 8KB #define MARLIN_EEPROM_SIZE 0x2000 // 8KB
// //
// Servos // Servos

4
Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h

@ -42,7 +42,7 @@
#endif #endif
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Limit Switches // Limit Switches
@ -153,7 +153,7 @@
#define E0_SERIAL_RX_PIN PD7 #define E0_SERIAL_RX_PIN PD7
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //

4
Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h

@ -33,7 +33,7 @@
// Onboard I2C EEPROM // Onboard I2C EEPROM
#define I2C_EEPROM #define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x2000 // 8KB (24C64 ... 64Kb = 8KB) #define MARLIN_EEPROM_SIZE 0x2000 // 8KB (24C64 ... 64Kb = 8KB)
#define TP // Enable to define servo and probe pins #define TP // Enable to define servo and probe pins
@ -223,7 +223,7 @@
#define E7_SERIAL_RX_PIN PH14 #define E7_SERIAL_RX_PIN PH14
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //

4
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_common.h

@ -212,7 +212,7 @@
#define E2_SERIAL_RX_PIN PD6 #define E2_SERIAL_RX_PIN PD6
// Reduce baud rate to improve software serial reliability // Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200 #define TMC_BAUD_RATE 19200
#endif #endif
// //
@ -366,7 +366,7 @@
* *
* W1 * W1
*/ */
#define ESP_WIFI_MODULE_COM 6 // Must also set either SERIAL_PORT or SERIAL_PORT_2 to this #define ESP_WIFI_MODULE_COM 6 // Must also set either SERIAL_PORT or SERIAL_PORT_2 to this
#define ESP_WIFI_MODULE_BAUDRATE BAUDRATE // Must use same BAUDRATE as SERIAL_PORT & SERIAL_PORT_2 #define ESP_WIFI_MODULE_BAUDRATE BAUDRATE // Must use same BAUDRATE as SERIAL_PORT & SERIAL_PORT_2
#define ESP_WIFI_MODULE_RESET_PIN PG0 #define ESP_WIFI_MODULE_RESET_PIN PG0
#define ESP_WIFI_MODULE_ENABLE_PIN PG1 #define ESP_WIFI_MODULE_ENABLE_PIN PG1

4
Marlin/src/pins/stm32f4/pins_FLYF407ZG.h

@ -45,11 +45,11 @@
// the 128kB sector allocated for EEPROM emulation. // the 128kB sector allocated for EEPROM emulation.
#define FLASH_EEPROM_LEVELING #define FLASH_EEPROM_LEVELING
#elif ENABLED(I2C_EEPROM) #elif ENABLED(I2C_EEPROM)
#define MARLIN_EEPROM_SIZE 0x2000 // 8KB #define MARLIN_EEPROM_SIZE 0x2000 // 8KB
#endif #endif
#ifndef MARLIN_EEPROM_SIZE #ifndef MARLIN_EEPROM_SIZE
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// //

4
Marlin/src/pins/stm32f4/pins_FYSETC_S6.h

@ -35,7 +35,7 @@
#endif #endif
// Change the priority to 3. Priority 2 is for software serial. // Change the priority to 3. Priority 2 is for software serial.
//#define TEMP_TIMER_IRQ_PRIO 3 //#define TEMP_TIMER_IRQ_PRIO 3
// //
// EEPROM Emulation // EEPROM Emulation
@ -51,7 +51,7 @@
// 128 kB sector allocated for EEPROM emulation. // 128 kB sector allocated for EEPROM emulation.
#define FLASH_EEPROM_LEVELING #define FLASH_EEPROM_LEVELING
#elif ENABLED(I2C_EEPROM) #elif ENABLED(I2C_EEPROM)
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// //

4
Marlin/src/pins/stm32f4/pins_GENERIC_STM32F4.h

@ -37,11 +37,11 @@
//#define I2C_EEPROM //#define I2C_EEPROM
#ifndef MARLIN_EEPROM_SIZE #ifndef MARLIN_EEPROM_SIZE
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Limit Switches // Limit Switches

4
Marlin/src/pins/stm32f4/pins_LERDGE_K.h

@ -147,10 +147,10 @@
// Misc. Functions // Misc. Functions
// //
#define SDSS PC11 #define SDSS PC11
#define LED_PIN PA15 // Alive #define LED_PIN PA15 // Alive
#define PS_ON_PIN -1 #define PS_ON_PIN -1
#define KILL_PIN -1 #define KILL_PIN -1
#define POWER_LOSS_PIN PA4 // Power-loss / nAC_FAULT #define POWER_LOSS_PIN PA4 // Power-loss / nAC_FAULT
#define SCK_PIN PC12 #define SCK_PIN PC12
#define MISO_PIN PC8 #define MISO_PIN PC8

10
Marlin/src/pins/stm32f4/pins_LERDGE_S.h

@ -27,8 +27,8 @@
#define BOARD_INFO_NAME "Lerdge S" #define BOARD_INFO_NAME "Lerdge S"
#define DEFAULT_MACHINE_NAME "LERDGE" #define DEFAULT_MACHINE_NAME "LERDGE"
#define STEP_TIMER 4 #define STEP_TIMER 4
#define TEMP_TIMER 2 #define TEMP_TIMER 2
//#define I2C_EEPROM //#define I2C_EEPROM
@ -173,15 +173,15 @@
#if ENABLED(SPI_EEPROM) #if ENABLED(SPI_EEPROM)
// Lerdge has an SPI EEPROM Winbond W25Q128 (128Mbits) https://www.pjrc.com/teensy/W25Q128FV.pdf // Lerdge has an SPI EEPROM Winbond W25Q128 (128Mbits) https://www.pjrc.com/teensy/W25Q128FV.pdf
#define SPI_CHAN_EEPROM1 1 #define SPI_CHAN_EEPROM1 1
#define SPI_EEPROM1_CS PB12 // datasheet: /CS pin, found with multimeter, not tested #define SPI_EEPROM1_CS PB12 // datasheet: /CS pin, found with multimeter, not tested
#define EEPROM_SCK PB13 // datasheet: CLK pin, found with multimeter, not tested #define EEPROM_SCK PB13 // datasheet: CLK pin, found with multimeter, not tested
#define EEPROM_MISO PB14 // datasheet: DO pin, found with multimeter, not tested #define EEPROM_MISO PB14 // datasheet: DO pin, found with multimeter, not tested
#define EEPROM_MOSI PB15 // datasheet: DI pin, found with multimeter, not tested #define EEPROM_MOSI PB15 // datasheet: DI pin, found with multimeter, not tested
#define EEPROM_PAGE_SIZE 0x1000U // 4KB (from datasheet) #define EEPROM_PAGE_SIZE 0x1000U // 4KB (from datasheet)
#define MARLIN_EEPROM_SIZE 16UL * (EEPROM_PAGE_SIZE) // Limit to 64KB for now... #define MARLIN_EEPROM_SIZE 16UL * (EEPROM_PAGE_SIZE) // Limit to 64KB for now...
#else #else
#define MARLIN_EEPROM_SIZE 0x800U // On SD, Limit to 2KB, require this amount of RAM #define MARLIN_EEPROM_SIZE 0x800U // On SD, Limit to 2KB, require this amount of RAM
#endif #endif
// //

6
Marlin/src/pins/stm32f4/pins_LERDGE_X.h

@ -27,8 +27,8 @@
#define BOARD_INFO_NAME "Lerdge X" #define BOARD_INFO_NAME "Lerdge X"
#define DEFAULT_MACHINE_NAME "LERDGE" #define DEFAULT_MACHINE_NAME "LERDGE"
#define STEP_TIMER 4 #define STEP_TIMER 4
#define TEMP_TIMER 2 #define TEMP_TIMER 2
#define I2C_EEPROM #define I2C_EEPROM
@ -115,7 +115,7 @@
#define KILL_PIN -1 #define KILL_PIN -1
// Lerdge supports auto-power off and power loss sense through a single pin. // Lerdge supports auto-power off and power loss sense through a single pin.
#define POWER_LOSS_PIN PC14 // Power-loss / nAC_FAULT #define POWER_LOSS_PIN PC14 // Power-loss / nAC_FAULT
#define SCK_PIN PC12 #define SCK_PIN PC12
#define MISO_PIN PC8 #define MISO_PIN PC8

4
Marlin/src/pins/stm32f4/pins_RUMBA32_AUS3D.h

@ -33,10 +33,10 @@
#if NO_EEPROM_SELECTED #if NO_EEPROM_SELECTED
#if MB(RUMBA32_V1_0) #if MB(RUMBA32_V1_0)
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#elif MB(RUMBA32_V1_1) #elif MB(RUMBA32_V1_1)
#define I2C_EEPROM #define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x2000 // 8KB (24LC64T-I/OT) #define MARLIN_EEPROM_SIZE 0x2000 // 8KB (24LC64T-I/OT)
#endif #endif
#endif #endif

2
Marlin/src/pins/stm32f4/pins_RUMBA32_MKS.h

@ -37,7 +37,7 @@
#if NO_EEPROM_SELECTED #if NO_EEPROM_SELECTED
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
#endif #endif
#if ENABLED(FLASH_EEPROM_EMULATION) #if ENABLED(FLASH_EEPROM_EMULATION)

4
Marlin/src/pins/stm32f4/pins_RUMBA32_common.h

@ -44,8 +44,8 @@
// TIM7 is used for SERVO // TIM7 is used for SERVO
// TIMER_SERIAL defaults to TIM7 so we'll override it here // TIMER_SERIAL defaults to TIM7 so we'll override it here
// //
#define STEP_TIMER 10 #define STEP_TIMER 10
#define TEMP_TIMER 14 #define TEMP_TIMER 14
#define TIMER_SERIAL TIM9 #define TIMER_SERIAL TIM9
#define HAL_TIMER_RATE F_CPU #define HAL_TIMER_RATE F_CPU

2
Marlin/src/pins/stm32f4/pins_VAKE403D.h

@ -31,7 +31,7 @@
#define BOARD_INFO_NAME "STM32F4 VAkE" #define BOARD_INFO_NAME "STM32F4 VAkE"
//#define I2C_EEPROM //#define I2C_EEPROM
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
// //
// Servos // Servos

4
Marlin/src/pins/stm32f7/pins_THE_BORG.h

@ -31,11 +31,11 @@
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
#ifndef MARLIN_EEPROM_SIZE #ifndef MARLIN_EEPROM_SIZE
#define MARLIN_EEPROM_SIZE 0x1000 #define MARLIN_EEPROM_SIZE 0x1000
#endif #endif
// Ignore temp readings during development. // Ignore temp readings during development.
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
// //
// Limit Switches // Limit Switches

2
Marlin/src/pins/teensy2/pins_5DPRINT.h

@ -144,5 +144,5 @@
//DIGIPOTS slave addresses //DIGIPOTS slave addresses
#ifndef DIGIPOT_I2C_ADDRESS_A #ifndef DIGIPOT_I2C_ADDRESS_A
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for DIGIPOT 0x2C (0x58 <- 0x2C << 1) #define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for DIGIPOT 0x2C (0x58 <- 0x2C << 1)
#endif #endif

2
Marlin/src/pins/teensy2/pins_PRINTRBOARD_REVF.h

@ -158,7 +158,7 @@
#define DAC_STEPPER_MAX 3520 #define DAC_STEPPER_MAX 3520
#define DAC_STEPPER_VREF 1 // internal Vref, gain 1x = 2.048V #define DAC_STEPPER_VREF 1 // internal Vref, gain 1x = 2.048V
#define DAC_STEPPER_GAIN 0 #define DAC_STEPPER_GAIN 0
#define DAC_OR_ADDRESS 0x00 #define DAC_OR_ADDRESS 0x00
// //
// Temperature Sensors // Temperature Sensors

Loading…
Cancel
Save