Browse Source

Reformat pins files

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

+ 1
- 1
Marlin/src/pins/linux/pins_RAMPS_LINUX.h View File

50
 #endif
50
 #endif
51
 
51
 
52
 #ifndef MARLIN_EEPROM_SIZE
52
 #ifndef MARLIN_EEPROM_SIZE
53
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
53
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
54
 #endif
54
 #endif
55
 
55
 
56
 #define IS_RAMPS_EFB
56
 #define IS_RAMPS_EFB

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h View File

182
   #define E1_SERIAL_RX_PIN                 P1_01
182
   #define E1_SERIAL_RX_PIN                 P1_01
183
 
183
 
184
   // Reduce baud rate to improve software serial reliability
184
   // Reduce baud rate to improve software serial reliability
185
-  #define TMC_BAUD_RATE 19200
185
+  #define TMC_BAUD_RATE                    19200
186
 #endif
186
 #endif
187
 
187
 
188
 /**
188
 /**

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h View File

208
   #define Z2_SERIAL_RX_PIN                 P1_01
208
   #define Z2_SERIAL_RX_PIN                 P1_01
209
 
209
 
210
   // Reduce baud rate to improve software serial reliability
210
   // Reduce baud rate to improve software serial reliability
211
-  #define TMC_BAUD_RATE 19200
211
+  #define TMC_BAUD_RATE                    19200
212
 #endif
212
 #endif
213
 
213
 
214
 //
214
 //

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h View File

30
 #endif
30
 #endif
31
 
31
 
32
 // Ignore temp readings during development.
32
 // Ignore temp readings during development.
33
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
33
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
34
 
34
 
35
 //
35
 //
36
 // Steppers
36
 // Steppers

+ 2
- 2
Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h View File

28
 #define BOARD_INFO_NAME "GMARSH X6 REV1"
28
 #define BOARD_INFO_NAME "GMARSH X6 REV1"
29
 
29
 
30
 // Ignore temp readings during develpment.
30
 // Ignore temp readings during develpment.
31
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
31
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
32
 
32
 
33
 //
33
 //
34
 // Enable 12MHz clock output on P1.27 pin to sync TMC2208 chip clocks
34
 // Enable 12MHz clock output on P1.27 pin to sync TMC2208 chip clocks
97
   #define E2_SERIAL_RX_PIN                 P2_06
97
   #define E2_SERIAL_RX_PIN                 P2_06
98
 
98
 
99
   // Reduce baud rate to improve software serial reliability
99
   // Reduce baud rate to improve software serial reliability
100
-  #define TMC_BAUD_RATE 19200
100
+  #define TMC_BAUD_RATE                    19200
101
 #else
101
 #else
102
   #error "TMC2208 UART configuration is required for GMarsh X6."
102
   #error "TMC2208 UART configuration is required for GMarsh X6."
103
 #endif
103
 #endif

+ 1
- 1
Marlin/src/pins/lpc1768/pins_MKS_SBASE.h View File

324
   #define E0_SERIAL_RX_PIN                 P0_26  // TH4
324
   #define E0_SERIAL_RX_PIN                 P0_26  // TH4
325
 
325
 
326
   // Reduce baud rate to improve software serial reliability
326
   // Reduce baud rate to improve software serial reliability
327
-  #define TMC_BAUD_RATE 19200
327
+  #define TMC_BAUD_RATE                    19200
328
 #endif
328
 #endif
329
 
329
 
330
 // UNUSED
330
 // UNUSED

+ 1
- 1
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h View File

188
   #define Z2_SERIAL_RX_PIN                 P1_17
188
   #define Z2_SERIAL_RX_PIN                 P1_17
189
 
189
 
190
   // Reduce baud rate to improve software serial reliability
190
   // Reduce baud rate to improve software serial reliability
191
-  #define TMC_BAUD_RATE 19200
191
+  #define TMC_BAUD_RATE                    19200
192
 #endif // TMC2208 || TMC2209
192
 #endif // TMC2208 || TMC2209
193
 
193
 
194
 //
194
 //

+ 1
- 1
Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h View File

158
   #endif
158
   #endif
159
 
159
 
160
   // Reduce baud rate to improve software serial reliability
160
   // Reduce baud rate to improve software serial reliability
161
-  #define TMC_BAUD_RATE 19200
161
+  #define TMC_BAUD_RATE                    19200
162
 #endif
162
 #endif
163
 
163
 
164
 //
164
 //

+ 2
- 2
Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h View File

82
 // DIGIPOT slave addresses
82
 // DIGIPOT slave addresses
83
 //
83
 //
84
 #ifndef DIGIPOT_I2C_ADDRESS_A
84
 #ifndef DIGIPOT_I2C_ADDRESS_A
85
-  #define DIGIPOT_I2C_ADDRESS_A 0x2C              // unshifted slave address for first DIGIPOT
85
+  #define DIGIPOT_I2C_ADDRESS_A             0x2C  // unshifted slave address for first DIGIPOT
86
 #endif
86
 #endif
87
 
87
 
88
 #ifndef DIGIPOT_I2C_ADDRESS_B
88
 #ifndef DIGIPOT_I2C_ADDRESS_B
89
-  #define DIGIPOT_I2C_ADDRESS_B 0x2E              // unshifted slave address for second DIGIPOT
89
+  #define DIGIPOT_I2C_ADDRESS_B             0x2E  // unshifted slave address for second DIGIPOT
90
 #endif
90
 #endif
91
 
91
 
92
 //
92
 //

+ 1
- 1
Marlin/src/pins/lpc1769/pins_MKS_SGEN.h View File

56
   #define E1_SERIAL_RX_PIN                 P4_28  // J8-6
56
   #define E1_SERIAL_RX_PIN                 P4_28  // J8-6
57
 
57
 
58
   // Reduce baud rate to improve software serial reliability
58
   // Reduce baud rate to improve software serial reliability
59
-  #define TMC_BAUD_RATE 19200
59
+  #define TMC_BAUD_RATE                    19200
60
 #endif
60
 #endif

+ 1
- 1
Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h View File

89
   #define E0_SERIAL_RX_PIN                 P0_21
89
   #define E0_SERIAL_RX_PIN                 P0_21
90
 
90
 
91
   // Reduce baud rate to improve software serial reliability
91
   // Reduce baud rate to improve software serial reliability
92
-  #define TMC_BAUD_RATE 19200
92
+  #define TMC_BAUD_RATE                    19200
93
 #endif
93
 #endif
94
 
94
 
95
 //
95
 //

+ 1
- 1
Marlin/src/pins/mega/pins_INTAMSYS40.h View File

82
 
82
 
83
 // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
83
 // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
84
 #ifndef MOTOR_CURRENT_PWM_RANGE
84
 #ifndef MOTOR_CURRENT_PWM_RANGE
85
-  #define MOTOR_CURRENT_PWM_RANGE  2000
85
+  #define MOTOR_CURRENT_PWM_RANGE            2000
86
 #endif
86
 #endif
87
 #define DEFAULT_PWM_MOTOR_CURRENT  { 1300, 1300, 1250 }
87
 #define DEFAULT_PWM_MOTOR_CURRENT  { 1300, 1300, 1250 }
88
 
88
 

+ 1
- 1
Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h View File

116
 #define DIGIPOTS_I2C_SDA_E1                   77  // J6
116
 #define DIGIPOTS_I2C_SDA_E1                   77  // J6
117
 
117
 
118
 #ifndef DIGIPOT_I2C_ADDRESS_A
118
 #ifndef DIGIPOT_I2C_ADDRESS_A
119
-  #define DIGIPOT_I2C_ADDRESS_A 0x2F              // unshifted slave address (5E <- 2F << 1)
119
+  #define DIGIPOT_I2C_ADDRESS_A             0x2F  // unshifted slave address (5E <- 2F << 1)
120
 #endif
120
 #endif
121
 
121
 
122
 //
122
 //

+ 2
- 2
Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h View File

67
 
67
 
68
 // DIGIPOT slave addresses
68
 // DIGIPOT slave addresses
69
 #ifndef DIGIPOT_I2C_ADDRESS_A
69
 #ifndef DIGIPOT_I2C_ADDRESS_A
70
-  #define DIGIPOT_I2C_ADDRESS_A 0x2C              // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1)
70
+  #define DIGIPOT_I2C_ADDRESS_A             0x2C  // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1)
71
 #endif
71
 #endif
72
 #ifndef DIGIPOT_I2C_ADDRESS_B
72
 #ifndef DIGIPOT_I2C_ADDRESS_B
73
-  #define DIGIPOT_I2C_ADDRESS_B 0x2E              // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
73
+  #define DIGIPOT_I2C_ADDRESS_B             0x2E  // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
74
 #endif
74
 #endif
75
 
75
 
76
 //
76
 //

+ 1
- 1
Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h View File

64
 
64
 
65
 #define SUICIDE_PIN                           12  // Used by CR2020 Industrial series
65
 #define SUICIDE_PIN                           12  // Used by CR2020 Industrial series
66
 #ifndef SUICIDE_PIN_INVERTING
66
 #ifndef SUICIDE_PIN_INVERTING
67
-  #define SUICIDE_PIN_INVERTING true
67
+  #define SUICIDE_PIN_INVERTING             true
68
 #endif
68
 #endif

+ 1
- 1
Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h View File

147
 
147
 
148
 #define FET_SAFETY_PIN                        31  // PA7  must be pulsed low every 50 mS or FETs are turned off
148
 #define FET_SAFETY_PIN                        31  // PA7  must be pulsed low every 50 mS or FETs are turned off
149
 #define FET_SAFETY_DELAY                      50  // 50 mS delay between pulses
149
 #define FET_SAFETY_DELAY                      50  // 50 mS delay between pulses
150
-#define FET_SAFETY_INVERTED true                  // true - negative going pulse of 2 uS
150
+#define FET_SAFETY_INVERTED                 true  // true - negative going pulse of 2 uS
151
 
151
 
152
 /////////////////////////////////////////////////////////
152
 /////////////////////////////////////////////////////////
153
 
153
 

+ 1
- 1
Marlin/src/pins/sam/pins_RADDS.h View File

36
 //
36
 //
37
 #if EITHER(NO_EEPROM_SELECTED, I2C_EEPROM)
37
 #if EITHER(NO_EEPROM_SELECTED, I2C_EEPROM)
38
   #define I2C_EEPROM
38
   #define I2C_EEPROM
39
-  #define MARLIN_EEPROM_SIZE 0x2000               // 8KB
39
+  #define MARLIN_EEPROM_SIZE              0x2000  // 8KB
40
 #endif
40
 #endif
41
 
41
 
42
 //
42
 //

+ 1
- 1
Marlin/src/pins/sam/pins_RAMPS_SMART.h View File

70
 
70
 
71
 // I2C EEPROM with 4K of space
71
 // I2C EEPROM with 4K of space
72
 #define I2C_EEPROM
72
 #define I2C_EEPROM
73
-#define MARLIN_EEPROM_SIZE 0x1000
73
+#define MARLIN_EEPROM_SIZE                0x1000
74
 
74
 
75
 #define RESET_PIN                             42  // Resets the board if the jumper is attached
75
 #define RESET_PIN                             42  // Resets the board if the jumper is attached
76
 
76
 

+ 1
- 1
Marlin/src/pins/sam/pins_RURAMPS4D_11.h View File

186
 //
186
 //
187
 // EEPROM
187
 // EEPROM
188
 //
188
 //
189
-#define MARLIN_EEPROM_SIZE 0x8000                 // 32Kb (24lc256)
189
+#define MARLIN_EEPROM_SIZE                0x8000  // 32Kb (24lc256)
190
 #define I2C_EEPROM                                // EEPROM on I2C-0
190
 #define I2C_EEPROM                                // EEPROM on I2C-0
191
 //#define EEPROM_SD                               // EEPROM on SDCARD
191
 //#define EEPROM_SD                               // EEPROM on SDCARD
192
 //#define SPI_EEPROM                              // EEPROM on SPI-0
192
 //#define SPI_EEPROM                              // EEPROM on SPI-0

+ 1
- 1
Marlin/src/pins/sam/pins_RURAMPS4D_13.h View File

172
 //
172
 //
173
 // EEPROM
173
 // EEPROM
174
 //
174
 //
175
-#define MARLIN_EEPROM_SIZE 0x8000                 // 32Kb (24lc256)
175
+#define MARLIN_EEPROM_SIZE                0x8000  // 32Kb (24lc256)
176
 #define I2C_EEPROM                                // EEPROM on I2C-0
176
 #define I2C_EEPROM                                // EEPROM on I2C-0
177
 //#define EEPROM_SD                               // EEPROM on SDCARD
177
 //#define EEPROM_SD                               // EEPROM on SDCARD
178
 //#define SPI_EEPROM                              // EEPROM on SPI-0
178
 //#define SPI_EEPROM                              // EEPROM on SPI-0

+ 1
- 1
Marlin/src/pins/samd/pins_RAMPS_144.h View File

46
 //
46
 //
47
 //#define QSPI_EEPROM                             // Use AGCM4 onboard QSPI EEPROM (Uses 4K of RAM)
47
 //#define QSPI_EEPROM                             // Use AGCM4 onboard QSPI EEPROM (Uses 4K of RAM)
48
 #define I2C_EEPROM                                // EEPROM on I2C-0
48
 #define I2C_EEPROM                                // EEPROM on I2C-0
49
-#define MARLIN_EEPROM_SIZE 0x8000                 // 32K (24lc256)
49
+#define MARLIN_EEPROM_SIZE                0x8000  // 32K (24lc256)
50
 
50
 
51
 //
51
 //
52
 // Limit Switches
52
 // Limit Switches

+ 2
- 2
Marlin/src/pins/stm32f0/pins_MALYAN_M300.h View File

43
 //
43
 //
44
 // Timers
44
 // Timers
45
 //
45
 //
46
-#define STEP_TIMER 6
47
-#define TEMP_TIMER 7
46
+#define STEP_TIMER                             6
47
+#define TEMP_TIMER                             7
48
 
48
 
49
 //
49
 //
50
 // Limit Switches
50
 // Limit Switches

+ 5
- 5
Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h View File

31
 #define DISABLE_JTAG
31
 #define DISABLE_JTAG
32
 
32
 
33
 // Ignore temp readings during development.
33
 // Ignore temp readings during development.
34
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
34
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
35
 
35
 
36
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
36
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
37
   #define FLASH_EEPROM_EMULATION
37
   #define FLASH_EEPROM_EMULATION
138
   #define E0_SERIAL_RX_PIN                  PD2
138
   #define E0_SERIAL_RX_PIN                  PD2
139
 
139
 
140
   // Reduce baud rate to improve software serial reliability
140
   // Reduce baud rate to improve software serial reliability
141
-  #define TMC_BAUD_RATE 19200
141
+  #define TMC_BAUD_RATE                    19200
142
 #endif
142
 #endif
143
 
143
 
144
 //
144
 //
158
 // USB connect control
158
 // USB connect control
159
 //
159
 //
160
 #define USB_CONNECT_PIN                     PC13
160
 #define USB_CONNECT_PIN                     PC13
161
-#define USB_CONNECT_INVERTING false
161
+#define USB_CONNECT_INVERTING              false
162
 
162
 
163
 /**
163
 /**
164
  *                 _____
164
  *                 _____
260
    *
260
    *
261
    */
261
    */
262
 
262
 
263
-  #define CLCD_SPI_BUS 1                          // SPI1 connector
263
+  #define CLCD_SPI_BUS                         1  // SPI1 connector
264
 
264
 
265
   #define BEEPER_PIN                        PB6
265
   #define BEEPER_PIN                        PB6
266
 
266
 
288
   #error "SD CUSTOM_CABLE is not compatible with SKR E3 DIP."
288
   #error "SD CUSTOM_CABLE is not compatible with SKR E3 DIP."
289
 #endif
289
 #endif
290
 
290
 
291
-#define ON_BOARD_SPI_DEVICE 1                     // SPI1
291
+#define ON_BOARD_SPI_DEVICE                    1  // SPI1
292
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for "System" SD card
292
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for "System" SD card

+ 4
- 4
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h View File

29
 #define DISABLE_JTAG
29
 #define DISABLE_JTAG
30
 
30
 
31
 // Ignore temp readings during development.
31
 // Ignore temp readings during development.
32
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
32
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
33
 
33
 
34
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
34
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
35
   #define FLASH_EEPROM_EMULATION
35
   #define FLASH_EEPROM_EMULATION
108
   #define USB_CONNECT_PIN                   PC13
108
   #define USB_CONNECT_PIN                   PC13
109
 #endif
109
 #endif
110
 
110
 
111
-#define USB_CONNECT_INVERTING false
111
+#define USB_CONNECT_INVERTING              false
112
 
112
 
113
 /**
113
 /**
114
  *        SKR Mini E3 V1.0, V1.2                      SKR Mini E3 V2.0
114
  *        SKR Mini E3 V1.0, V1.2                      SKR Mini E3 V2.0
208
    *
208
    *
209
    */
209
    */
210
 
210
 
211
-  #define CLCD_SPI_BUS 1                          // SPI1 connector
211
+  #define CLCD_SPI_BUS                         1  // SPI1 connector
212
 
212
 
213
   #define BEEPER_PIN                      EXP1_9
213
   #define BEEPER_PIN                      EXP1_9
214
 
214
 
236
   #error "SD CUSTOM_CABLE is not compatible with SKR Mini E3."
236
   #error "SD CUSTOM_CABLE is not compatible with SKR Mini E3."
237
 #endif
237
 #endif
238
 
238
 
239
-#define ON_BOARD_SPI_DEVICE 1                     // SPI1
239
+#define ON_BOARD_SPI_DEVICE                    1  // SPI1
240
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for "System" SD card
240
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for "System" SD card

+ 2
- 2
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_V1_1.h View File

31
 #define DISABLE_JTAG
31
 #define DISABLE_JTAG
32
 
32
 
33
 // Ignore temp readings during development.
33
 // Ignore temp readings during development.
34
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
34
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
35
 
35
 
36
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
36
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
37
   #define FLASH_EEPROM_EMULATION
37
   #define FLASH_EEPROM_EMULATION
213
   #define MOSI_PIN                          PA7
213
   #define MOSI_PIN                          PA7
214
   #define SS_PIN                            PA4
214
   #define SS_PIN                            PA4
215
 #endif
215
 #endif
216
-#define ON_BOARD_SPI_DEVICE 1                     // SPI1
216
+#define ON_BOARD_SPI_DEVICE                    1  // SPI1
217
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for "System" SD card
217
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for "System" SD card

+ 4
- 4
Marlin/src/pins/stm32f1/pins_CCROBOT_MEEB_3DP.h View File

43
 //
43
 //
44
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
44
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
45
   #define FLASH_EEPROM_EMULATION
45
   #define FLASH_EEPROM_EMULATION
46
-  #define EEPROM_PAGE_SIZE 0x800U                 // 2KB
46
+  #define EEPROM_PAGE_SIZE                0x800U  // 2KB
47
   #define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL)
47
   #define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL)
48
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
48
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
49
 #endif
49
 #endif
50
 
50
 
51
 //
51
 //
95
 #define E0_SERIAL_RX_PIN                    PC4
95
 #define E0_SERIAL_RX_PIN                    PC4
96
 
96
 
97
 // Reduce baud rate to improve software serial reliability
97
 // Reduce baud rate to improve software serial reliability
98
-#define TMC_BAUD_RATE 19200
98
+#define TMC_BAUD_RATE                      19200
99
 
99
 
100
 //
100
 //
101
 // Temperature Sensors
101
 // Temperature Sensors
173
   #define SS_PIN                            PA4
173
   #define SS_PIN                            PA4
174
 #endif
174
 #endif
175
 
175
 
176
-#define ON_BOARD_SPI_DEVICE 1                     // SPI1
176
+#define ON_BOARD_SPI_DEVICE                    1  // SPI1
177
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for SD-NAND
177
 #define ONBOARD_SD_CS_PIN                   PA4   // Chip select for SD-NAND
178
 
178
 
179
 #endif
179
 #endif

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CHITU3D.h View File

36
 //#define I2C_EEPROM
36
 //#define I2C_EEPROM
37
 
37
 
38
 // Ignore temp readings during development.
38
 // Ignore temp readings during development.
39
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
39
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
40
 
40
 
41
 //
41
 //
42
 // Steppers
42
 // Steppers

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CHITU3D_V5.h View File

177
 
177
 
178
   // Emulated DOGM
178
   // Emulated DOGM
179
 
179
 
180
-  #define GRAPHICAL_TFT_UPSCALE                         3
180
+  #define GRAPHICAL_TFT_UPSCALE                3
181
   #ifndef XPT2046_X_CALIBRATION
181
   #ifndef XPT2046_X_CALIBRATION
182
     #define XPT2046_X_CALIBRATION         -12316
182
     #define XPT2046_X_CALIBRATION         -12316
183
   #endif
183
   #endif

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h View File

186
 
186
 
187
 // Emulated DOGM
187
 // Emulated DOGM
188
 #elif ENABLED(FSMC_GRAPHICAL_TFT)
188
 #elif ENABLED(FSMC_GRAPHICAL_TFT)
189
-  #define GRAPHICAL_TFT_UPSCALE                         3
189
+  #define GRAPHICAL_TFT_UPSCALE                3
190
 
190
 
191
   #ifndef XPT2046_X_CALIBRATION
191
   #ifndef XPT2046_X_CALIBRATION
192
     #define XPT2046_X_CALIBRATION         -12316
192
     #define XPT2046_X_CALIBRATION         -12316

+ 3
- 3
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h View File

51
   #if ENABLED(IIC_BL24CXX_EEPROM)
51
   #if ENABLED(IIC_BL24CXX_EEPROM)
52
     #define IIC_EEPROM_SDA                  PA11
52
     #define IIC_EEPROM_SDA                  PA11
53
     #define IIC_EEPROM_SCL                  PA12
53
     #define IIC_EEPROM_SCL                  PA12
54
-    #define MARLIN_EEPROM_SIZE 0x800              // 2Kb (24C16)
54
+    #define MARLIN_EEPROM_SIZE             0x800  // 2Kb (24C16)
55
   #else
55
   #else
56
     #define SDCARD_EEPROM_EMULATION               // SD EEPROM until all EEPROM is BL24CXX
56
     #define SDCARD_EEPROM_EMULATION               // SD EEPROM until all EEPROM is BL24CXX
57
-    #define MARLIN_EEPROM_SIZE 0x800              // 2Kb
57
+    #define MARLIN_EEPROM_SIZE             0x800  // 2Kb
58
   #endif
58
   #endif
59
 
59
 
60
   // SPI
60
   // SPI
150
 //
150
 //
151
 #define SD_DETECT_PIN                       PC7
151
 #define SD_DETECT_PIN                       PC7
152
 #define SDCARD_CONNECTION                ONBOARD
152
 #define SDCARD_CONNECTION                ONBOARD
153
-#define ON_BOARD_SPI_DEVICE 1
153
+#define ON_BOARD_SPI_DEVICE                    1
154
 #define ONBOARD_SD_CS_PIN                   PA4   // SDSS
154
 #define ONBOARD_SD_CS_PIN                   PA4   // SDSS
155
 #define SDIO_SUPPORT
155
 #define SDIO_SUPPORT
156
 
156
 

+ 3
- 3
Marlin/src/pins/stm32f1/pins_FYSETC_AIO_II.h View File

33
 #define pins_v2_20190128                          // new pins define
33
 #define pins_v2_20190128                          // new pins define
34
 
34
 
35
 // Ignore temp readings during development.
35
 // Ignore temp readings during development.
36
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
36
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
37
 
37
 
38
 //
38
 //
39
 // Flash EEPROM Emulation
39
 // Flash EEPROM Emulation
112
 // Stepper current PWM
112
 // Stepper current PWM
113
 //
113
 //
114
 #ifndef MOTOR_CURRENT_PWM_RANGE
114
 #ifndef MOTOR_CURRENT_PWM_RANGE
115
-  #define MOTOR_CURRENT_PWM_RANGE 1500            // origin:2000
115
+  #define MOTOR_CURRENT_PWM_RANGE           1500  // origin:2000
116
 #endif
116
 #endif
117
 #define DEFAULT_PWM_MOTOR_CURRENT { 500, 500, 400 } // origin: {1300,1300,1250}
117
 #define DEFAULT_PWM_MOTOR_CURRENT { 500, 500, 400 } // origin: {1300,1300,1250}
118
 
118
 
152
       #define DOGLCD_CS                     PB7
152
       #define DOGLCD_CS                     PB7
153
     #endif
153
     #endif
154
 
154
 
155
-    //#define LCD_CONTRAST_INIT 190
155
+    //#define LCD_CONTRAST_INIT              190
156
     //#define LCD_SCREEN_ROT_90
156
     //#define LCD_SCREEN_ROT_90
157
     //#define LCD_SCREEN_ROT_180
157
     //#define LCD_SCREEN_ROT_180
158
     //#define LCD_SCREEN_ROT_270
158
     //#define LCD_SCREEN_ROT_270

+ 3
- 3
Marlin/src/pins/stm32f1/pins_FYSETC_CHEETAH.h View File

32
 // https://github.com/FYSETC/Cheetah
32
 // https://github.com/FYSETC/Cheetah
33
 
33
 
34
 // Ignore temp readings during development.
34
 // Ignore temp readings during development.
35
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
35
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
36
 
36
 
37
 #define DISABLE_JTAG
37
 #define DISABLE_JTAG
38
 
38
 
151
   #define LCD_PINS_D4                       PB13  // SCLK
151
   #define LCD_PINS_D4                       PB13  // SCLK
152
   #define LCD_PINS_ENABLE                   PB15  // DATA MOSI
152
   #define LCD_PINS_ENABLE                   PB15  // DATA MOSI
153
 
153
 
154
-  //#define LCD_CONTRAST_INIT 190
154
+  //#define LCD_CONTRAST_INIT                190
155
 
155
 
156
   #if ENABLED(NEWPANEL)
156
   #if ENABLED(NEWPANEL)
157
     #define BTN_EN1                         PC10
157
     #define BTN_EN1                         PC10
172
     #define CLCD_SOFT_SPI_MISO              PB14
172
     #define CLCD_SOFT_SPI_MISO              PB14
173
     #define CLCD_SOFT_SPI_SCLK              PB13
173
     #define CLCD_SOFT_SPI_SCLK              PB13
174
   #else
174
   #else
175
-    #define CLCD_SPI_BUS 2
175
+    #define CLCD_SPI_BUS                       2
176
   #endif
176
   #endif
177
 #endif
177
 #endif

+ 4
- 4
Marlin/src/pins/stm32f1/pins_GTM32_MINI.h View File

49
 //#define DISABLE_JTAGSWD
49
 //#define DISABLE_JTAGSWD
50
 
50
 
51
 // Ignore temp readings during development.
51
 // Ignore temp readings during development.
52
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
52
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
53
 
53
 
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
56
   #define FLASH_EEPROM_EMULATION
56
   #define FLASH_EEPROM_EMULATION
57
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
57
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
58
 #endif
58
 #endif
59
 
59
 
60
 //
60
 //
236
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
236
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
237
 // Must define WIFISUPPORT in Configuration.h for the printer.
237
 // Must define WIFISUPPORT in Configuration.h for the printer.
238
 //
238
 //
239
-#define ESP_WIFI_MODULE_COM 2
240
-#define ESP_WIFI_MODULE_BAUDRATE 115200
239
+#define ESP_WIFI_MODULE_COM                    2
240
+#define ESP_WIFI_MODULE_BAUDRATE          115200
241
 #define ESP_WIFI_MODULE_RESET_PIN           -1
241
 #define ESP_WIFI_MODULE_RESET_PIN           -1

+ 4
- 4
Marlin/src/pins/stm32f1/pins_GTM32_MINI_A30.h View File

49
 //#define DISABLE_JTAGSWD
49
 //#define DISABLE_JTAGSWD
50
 
50
 
51
 // Ignore temp readings during development.
51
 // Ignore temp readings during development.
52
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
52
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
53
 
53
 
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
56
   #define FLASH_EEPROM_EMULATION
56
   #define FLASH_EEPROM_EMULATION
57
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
57
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
58
 #endif
58
 #endif
59
 
59
 
60
 //
60
 //
230
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
230
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
231
 // Must define WIFISUPPORT in Configuration.h for the printer.
231
 // Must define WIFISUPPORT in Configuration.h for the printer.
232
 //
232
 //
233
-#define ESP_WIFI_MODULE_COM 2
234
-#define ESP_WIFI_MODULE_BAUDRATE 115200
233
+#define ESP_WIFI_MODULE_COM                    2
234
+#define ESP_WIFI_MODULE_BAUDRATE          115200
235
 #define ESP_WIFI_MODULE_RESET_PIN           -1
235
 #define ESP_WIFI_MODULE_RESET_PIN           -1

+ 4
- 4
Marlin/src/pins/stm32f1/pins_GTM32_PRO_VB.h View File

49
 //#define DISABLE_JTAGSWD
49
 //#define DISABLE_JTAGSWD
50
 
50
 
51
 // Ignore temp readings during development.
51
 // Ignore temp readings during development.
52
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
52
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
53
 
53
 
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
56
   #define FLASH_EEPROM_EMULATION
56
   #define FLASH_EEPROM_EMULATION
57
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
57
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
58
 #endif
58
 #endif
59
 
59
 
60
 //
60
 //
236
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
236
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
237
 // Must define WIFISUPPORT in Configuration.h for the printer.
237
 // Must define WIFISUPPORT in Configuration.h for the printer.
238
 //
238
 //
239
-#define ESP_WIFI_MODULE_COM 2
240
-#define ESP_WIFI_MODULE_BAUDRATE 115200
239
+#define ESP_WIFI_MODULE_COM                    2
240
+#define ESP_WIFI_MODULE_BAUDRATE          115200
241
 #define ESP_WIFI_MODULE_RESET_PIN           -1
241
 #define ESP_WIFI_MODULE_RESET_PIN           -1

+ 4
- 4
Marlin/src/pins/stm32f1/pins_GTM32_REV_B.h View File

49
 //#define DISABLE_JTAGSWD
49
 //#define DISABLE_JTAGSWD
50
 
50
 
51
 // Ignore temp readings during development.
51
 // Ignore temp readings during development.
52
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
52
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
53
 
53
 
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
54
 // Enable EEPROM Emulation for this board as it doesn't have EEPROM
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
55
 #if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
56
   #define FLASH_EEPROM_EMULATION
56
   #define FLASH_EEPROM_EMULATION
57
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
57
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
58
 #endif
58
 #endif
59
 
59
 
60
 //
60
 //
233
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
233
 // ESP WiFi can be soldered to J9 connector which is wired to USART2.
234
 // Must define WIFISUPPORT in Configuration.h for the printer.
234
 // Must define WIFISUPPORT in Configuration.h for the printer.
235
 //
235
 //
236
-#define ESP_WIFI_MODULE_COM 2
237
-#define ESP_WIFI_MODULE_BAUDRATE 115200
236
+#define ESP_WIFI_MODULE_COM                    2
237
+#define ESP_WIFI_MODULE_BAUDRATE          115200
238
 #define ESP_WIFI_MODULE_RESET_PIN           -1
238
 #define ESP_WIFI_MODULE_RESET_PIN           -1

+ 2
- 2
Marlin/src/pins/stm32f1/pins_JGAURORA_A5S_A1.h View File

43
 // Enable EEPROM Emulation for this board, so that we don't overwrite factory data
43
 // Enable EEPROM Emulation for this board, so that we don't overwrite factory data
44
 
44
 
45
 //#define I2C_EEPROM                              // AT24C64
45
 //#define I2C_EEPROM                              // AT24C64
46
-//#define MARLIN_EEPROM_SIZE 0x8000UL             // 64KB
46
+//#define MARLIN_EEPROM_SIZE            0x8000UL  // 64KB
47
 
47
 
48
 //#define FLASH_EEPROM_EMULATION
48
 //#define FLASH_EEPROM_EMULATION
49
-//#define MARLIN_EEPROM_SIZE 0x1000UL             // 4KB
49
+//#define MARLIN_EEPROM_SIZE            0x1000UL  // 4KB
50
 //#define MARLIN_EEPROM_SIZE (EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE) * 2UL)
50
 //#define MARLIN_EEPROM_SIZE (EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE) * 2UL)
51
 
51
 
52
 //#define EEPROM_CHITCHAT
52
 //#define EEPROM_CHITCHAT

+ 1
- 1
Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h View File

130
 #define DOGLCD_MOSI                         -1    // Prevent auto-define by Conditionals_post.h
130
 #define DOGLCD_MOSI                         -1    // Prevent auto-define by Conditionals_post.h
131
 #define DOGLCD_SCK                          -1
131
 #define DOGLCD_SCK                          -1
132
 
132
 
133
-#define GRAPHICAL_TFT_UPSCALE                           2
133
+#define GRAPHICAL_TFT_UPSCALE                  2
134
 #define TFT_WIDTH                            320
134
 #define TFT_WIDTH                            320
135
 #define TFT_HEIGHT                           240
135
 #define TFT_HEIGHT                           240
136
 #define TFT_PIXEL_OFFSET_X                    32
136
 #define TFT_PIXEL_OFFSET_X                    32

+ 2
- 2
Marlin/src/pins/stm32f1/pins_MALYAN_M200.h View File

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

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN.h View File

212
 
212
 
213
   // Reduce baud rate for software serial reliability
213
   // Reduce baud rate for software serial reliability
214
   #if HAS_TMC_SW_SERIAL
214
   #if HAS_TMC_SW_SERIAL
215
-    #define TMC_BAUD_RATE 19200
215
+    #define TMC_BAUD_RATE                  19200
216
   #endif
216
   #endif
217
 #endif
217
 #endif

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_common.h View File

105
   #define E0_SERIAL_RX_PIN                  PC11
105
   #define E0_SERIAL_RX_PIN                  PC11
106
 
106
 
107
   // Reduce baud rate to improve software serial reliability
107
   // Reduce baud rate to improve software serial reliability
108
-  #define TMC_BAUD_RATE 19200
108
+  #define TMC_BAUD_RATE                    19200
109
 #endif
109
 #endif
110
 
110
 
111
 //
111
 //

+ 5
- 6
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h View File

81
 #define E0_STEP_PIN                         PD6
81
 #define E0_STEP_PIN                         PD6
82
 #define E0_DIR_PIN                          PD3
82
 #define E0_DIR_PIN                          PD3
83
 
83
 
84
-
85
 // Motor current PWM pins
84
 // Motor current PWM pins
86
 #define MOTOR_CURRENT_PWM_XY_PIN            PA6
85
 #define MOTOR_CURRENT_PWM_XY_PIN            PA6
87
 #define MOTOR_CURRENT_PWM_Z_PIN             PA7
86
 #define MOTOR_CURRENT_PWM_Z_PIN             PA7
113
 #define SERVO0_PIN                          PA8   // Enable BLTOUCH support on IO0 (WIFI connector)
112
 #define SERVO0_PIN                          PA8   // Enable BLTOUCH support on IO0 (WIFI connector)
114
 
113
 
115
 #define MT_DET_1_PIN                        PA4
114
 #define MT_DET_1_PIN                        PA4
116
-#define MT_DET_PIN_INVERTING false
115
+#define MT_DET_PIN_INVERTING               false
117
 
116
 
118
 #define WIFI_IO0_PIN                        PC13
117
 #define WIFI_IO0_PIN                        PC13
119
 
118
 
149
   #define FSMC_CS_PIN                       PD7   // NE4
148
   #define FSMC_CS_PIN                       PD7   // NE4
150
   #define FSMC_RS_PIN                       PD11  // A0
149
   #define FSMC_RS_PIN                       PD11  // A0
151
 
150
 
152
-  #define LCD_USE_DMA_FSMC                  // Use DMA transfers to send data to the TFT
151
+  #define LCD_USE_DMA_FSMC                        // Use DMA transfers to send data to the TFT
153
   #define FSMC_DMA_DEV                      DMA2
152
   #define FSMC_DMA_DEV                      DMA2
154
-  #define FSMC_DMA_CHANNEL                  DMA_CH5
153
+  #define FSMC_DMA_CHANNEL               DMA_CH5
155
 
154
 
156
   #define LCD_RESET_PIN                     PC6   // FSMC_RST
155
   #define LCD_RESET_PIN                     PC6   // FSMC_RST
157
   #define LCD_BACKLIGHT_PIN                 PD13
156
   #define LCD_BACKLIGHT_PIN                 PD13
163
     #define TOUCH_MOSI_PIN                  PB15  // SPI2_MOSI
162
     #define TOUCH_MOSI_PIN                  PB15  // SPI2_MOSI
164
   #endif
163
   #endif
165
 
164
 
166
-#elif ENABLED(TFT_320x240) //TFT32/28
165
+#elif ENABLED(TFT_320x240)                        //TFT32/28
167
 
166
 
168
   #define TFT_RESET_PIN                     PC6
167
   #define TFT_RESET_PIN                     PC6
169
   #define TFT_BACKLIGHT_PIN                 PD13
168
   #define TFT_BACKLIGHT_PIN                 PD13
190
   #define ILI9341_COLOR_RGB
189
   #define ILI9341_COLOR_RGB
191
 #endif
190
 #endif
192
 
191
 
193
-#define HAS_SPI_FLASH 1
192
+#define HAS_SPI_FLASH                          1
194
 #define SPI_FLASH_SIZE                 0x1000000  // 16MB
193
 #define SPI_FLASH_SIZE                 0x1000000  // 16MB
195
 #if HAS_SPI_FLASH
194
 #if HAS_SPI_FLASH
196
   #define W25QXX_CS_PIN                     PB12  // Flash chip-select
195
   #define W25QXX_CS_PIN                     PB12  // Flash chip-select

+ 2
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h View File

188
   #define FSMC_DMA_CHANNEL               DMA_CH5
188
   #define FSMC_DMA_CHANNEL               DMA_CH5
189
 
189
 
190
   #define TOUCH_BUTTONS_HW_SPI
190
   #define TOUCH_BUTTONS_HW_SPI
191
-  #define TOUCH_BUTTONS_HW_SPI_DEVICE       2
191
+  #define TOUCH_BUTTONS_HW_SPI_DEVICE          2
192
 #endif
192
 #endif
193
 
193
 
194
 // LVGL Configs
194
 // LVGL Configs
206
   #define DOGLCD_SCK                        -1
206
   #define DOGLCD_SCK                        -1
207
 
207
 
208
   #ifndef GRAPHICAL_TFT_UPSCALE
208
   #ifndef GRAPHICAL_TFT_UPSCALE
209
-    #define GRAPHICAL_TFT_UPSCALE                       3
209
+    #define GRAPHICAL_TFT_UPSCALE              3
210
   #endif
210
   #endif
211
   #ifndef TFT_WIDTH
211
   #ifndef TFT_WIDTH
212
     #define TFT_WIDTH                        480
212
     #define TFT_WIDTH                        480

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h View File

311
   #endif
311
   #endif
312
 
312
 
313
   #ifndef GRAPHICAL_TFT_UPSCALE
313
   #ifndef GRAPHICAL_TFT_UPSCALE
314
-    #define GRAPHICAL_TFT_UPSCALE                       3
314
+    #define GRAPHICAL_TFT_UPSCALE              3
315
   #endif
315
   #endif
316
   #ifndef TFT_PIXEL_OFFSET_Y
316
   #ifndef TFT_PIXEL_OFFSET_Y
317
     #define TFT_PIXEL_OFFSET_Y                32
317
     #define TFT_PIXEL_OFFSET_Y                32

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h View File

41
 //
41
 //
42
 // Note: MKS Robin board is using SPI2 interface.
42
 // Note: MKS Robin board is using SPI2 interface.
43
 //
43
 //
44
-//#define SPI_MODULE 2
44
+//#define SPI_MODULE                           2
45
 #define ENABLE_SPI2
45
 #define ENABLE_SPI2
46
 
46
 
47
 //
47
 //

+ 74
- 74
Marlin/src/pins/stm32f1/pins_STM32F1R.h View File

33
 #define DEFAULT_MACHINE_NAME "STM32F103RET6"
33
 #define DEFAULT_MACHINE_NAME "STM32F103RET6"
34
 
34
 
35
 // Ignore temp readings during development.
35
 // Ignore temp readings during development.
36
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
36
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
37
 
37
 
38
 //
38
 //
39
 // Limit Switches
39
 // Limit Switches
100
 #if HAS_SPI_LCD
100
 #if HAS_SPI_LCD
101
 
101
 
102
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
102
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
103
-    #define LCD_PINS_RS 49                        // CS chip select /SS chip slave select
104
-    #define LCD_PINS_ENABLE 51                    // SID (MOSI)
105
-    #define LCD_PINS_D4 52                        // SCK (CLK) clock
103
+    #define LCD_PINS_RS                       49  // CS chip select /SS chip slave select
104
+    #define LCD_PINS_ENABLE                   51  // SID (MOSI)
105
+    #define LCD_PINS_D4                       52  // SCK (CLK) clock
106
   #elif BOTH(NEWPANEL, PANEL_ONE)
106
   #elif BOTH(NEWPANEL, PANEL_ONE)
107
     #define LCD_PINS_RS                     PB8
107
     #define LCD_PINS_RS                     PB8
108
     #define LCD_PINS_ENABLE                 PD2
108
     #define LCD_PINS_ENABLE                 PD2
118
     #define LCD_PINS_D6                     PB14
118
     #define LCD_PINS_D6                     PB14
119
     #define LCD_PINS_D7                     PB15
119
     #define LCD_PINS_D7                     PB15
120
     #if DISABLED(NEWPANEL)
120
     #if DISABLED(NEWPANEL)
121
-      #define BEEPER_PIN 33
121
+      #define BEEPER_PIN                      33
122
       // Buttons attached to a shift register
122
       // Buttons attached to a shift register
123
       // Not wired yet
123
       // Not wired yet
124
-      //#define SHIFT_CLK 38
125
-      //#define SHIFT_LD 42
126
-      //#define SHIFT_OUT 40
127
-      //#define SHIFT_EN 17
124
+      //#define SHIFT_CLK                     38
125
+      //#define SHIFT_LD                      42
126
+      //#define SHIFT_OUT                     40
127
+      //#define SHIFT_EN                      17
128
     #endif
128
     #endif
129
   #endif
129
   #endif
130
 
130
 
132
 
132
 
133
     #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
133
     #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
134
 
134
 
135
-      #define BEEPER_PIN 37
135
+      #define BEEPER_PIN                      37
136
 
136
 
137
-      #define BTN_EN1 31
138
-      #define BTN_EN2 33
139
-      #define BTN_ENC 35
137
+      #define BTN_EN1                         31
138
+      #define BTN_EN2                         33
139
+      #define BTN_ENC                         35
140
 
140
 
141
-      #define SD_DETECT_PIN 49
142
-      #define KILL_PIN 41
141
+      #define SD_DETECT_PIN                   49
142
+      #define KILL_PIN                        41
143
 
143
 
144
       #if ENABLED(BQ_LCD_SMART_CONTROLLER)
144
       #if ENABLED(BQ_LCD_SMART_CONTROLLER)
145
-        #define LCD_BACKLIGHT_PIN 39
145
+        #define LCD_BACKLIGHT_PIN             39
146
       #endif
146
       #endif
147
 
147
 
148
     #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
148
     #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
149
 
149
 
150
-      #define BTN_EN1 64
151
-      #define BTN_EN2 59
152
-      #define BTN_ENC 63
153
-      #define SD_DETECT_PIN 42
150
+      #define BTN_EN1                         64
151
+      #define BTN_EN2                         59
152
+      #define BTN_ENC                         63
153
+      #define SD_DETECT_PIN                   42
154
 
154
 
155
     #elif ENABLED(LCD_I2C_PANELOLU2)
155
     #elif ENABLED(LCD_I2C_PANELOLU2)
156
 
156
 
157
-      #define BTN_EN1 47
158
-      #define BTN_EN2 43
159
-      #define BTN_ENC 32
160
-      #define LCD_SDSS 53
157
+      #define BTN_EN1                         47
158
+      #define BTN_EN2                         43
159
+      #define BTN_ENC                         32
160
+      #define LCD_SDSS                        53
161
       #define SD_DETECT_PIN                 -1
161
       #define SD_DETECT_PIN                 -1
162
-      #define KILL_PIN 41
162
+      #define KILL_PIN                        41
163
 
163
 
164
     #elif ENABLED(LCD_I2C_VIKI)
164
     #elif ENABLED(LCD_I2C_VIKI)
165
 
165
 
166
-      #define BTN_EN1 22                          // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
167
-      #define BTN_EN2 7                           // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
166
+      #define BTN_EN1                         22  // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
167
+      #define BTN_EN2                          7  // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
168
 
168
 
169
       #define BTN_ENC                       -1
169
       #define BTN_ENC                       -1
170
-      #define LCD_SDSS 53
171
-      #define SD_DETECT_PIN 49
170
+      #define LCD_SDSS                        53
171
+      #define SD_DETECT_PIN                   49
172
 
172
 
173
     #elif ANY(VIKI2, miniVIKI)
173
     #elif ANY(VIKI2, miniVIKI)
174
 
174
 
175
-      #define BEEPER_PIN 33
175
+      #define BEEPER_PIN                      33
176
 
176
 
177
       // Pins for DOGM SPI LCD Support
177
       // Pins for DOGM SPI LCD Support
178
-      #define DOGLCD_A0 44
179
-      #define DOGLCD_CS 45
178
+      #define DOGLCD_A0                       44
179
+      #define DOGLCD_CS                       45
180
       #define LCD_SCREEN_ROT_180
180
       #define LCD_SCREEN_ROT_180
181
 
181
 
182
-      #define BTN_EN1 22
183
-      #define BTN_EN2 7
184
-      #define BTN_ENC 39
182
+      #define BTN_EN1                         22
183
+      #define BTN_EN2                          7
184
+      #define BTN_ENC                         39
185
 
185
 
186
-      #define SDSS 53
186
+      #define SDSS                            53
187
       #define SD_DETECT_PIN                 -1    // Pin 49 for display sd interface, 72 for easy adapter board
187
       #define SD_DETECT_PIN                 -1    // Pin 49 for display sd interface, 72 for easy adapter board
188
 
188
 
189
-      #define KILL_PIN 31
189
+      #define KILL_PIN                        31
190
 
190
 
191
-      #define STAT_LED_RED_PIN 32
192
-      #define STAT_LED_BLUE_PIN 35
191
+      #define STAT_LED_RED_PIN                32
192
+      #define STAT_LED_BLUE_PIN               35
193
 
193
 
194
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
194
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
195
-      #define BTN_EN1 35
196
-      #define BTN_EN2 37
197
-      #define BTN_ENC 31
198
-      #define SD_DETECT_PIN 49
199
-      #define LCD_SDSS 53
200
-      #define KILL_PIN 41
201
-      #define BEEPER_PIN 23
202
-      #define DOGLCD_CS 29
203
-      #define DOGLCD_A0 27
204
-      #define LCD_BACKLIGHT_PIN 33
195
+      #define BTN_EN1                         35
196
+      #define BTN_EN2                         37
197
+      #define BTN_ENC                         31
198
+      #define SD_DETECT_PIN                   49
199
+      #define LCD_SDSS                        53
200
+      #define KILL_PIN                        41
201
+      #define BEEPER_PIN                      23
202
+      #define DOGLCD_CS                       29
203
+      #define DOGLCD_A0                       27
204
+      #define LCD_BACKLIGHT_PIN               33
205
 
205
 
206
     #elif ENABLED(MINIPANEL)
206
     #elif ENABLED(MINIPANEL)
207
 
207
 
208
-      #define BEEPER_PIN 42
208
+      #define BEEPER_PIN                      42
209
       // Pins for DOGM SPI LCD Support
209
       // Pins for DOGM SPI LCD Support
210
-      #define DOGLCD_A0 44
211
-      #define DOGLCD_CS 66
212
-      #define LCD_BACKLIGHT_PIN 65                // backlight LED on A11/D65
213
-      #define SDSS 53
210
+      #define DOGLCD_A0                       44
211
+      #define DOGLCD_CS                       66
212
+      #define LCD_BACKLIGHT_PIN               65  // backlight LED on A11/D65
213
+      #define SDSS                            53
214
 
214
 
215
-      #define KILL_PIN 64
215
+      #define KILL_PIN                        64
216
       // GLCD features
216
       // GLCD features
217
       // Uncomment screen orientation
217
       // Uncomment screen orientation
218
       //#define LCD_SCREEN_ROT_90
218
       //#define LCD_SCREEN_ROT_90
219
       //#define LCD_SCREEN_ROT_180
219
       //#define LCD_SCREEN_ROT_180
220
       //#define LCD_SCREEN_ROT_270
220
       //#define LCD_SCREEN_ROT_270
221
       // The encoder and click button
221
       // The encoder and click button
222
-      #define BTN_EN1 40
223
-      #define BTN_EN2 63
224
-      #define BTN_ENC 59
222
+      #define BTN_EN1                         40
223
+      #define BTN_EN2                         63
224
+      #define BTN_ENC                         59
225
       // not connected to a pin
225
       // not connected to a pin
226
-      #define SD_DETECT_PIN 49
226
+      #define SD_DETECT_PIN                   49
227
 
227
 
228
     #else
228
     #else
229
 
229
 
230
       // Beeper on AUX-4
230
       // Beeper on AUX-4
231
-      #define BEEPER_PIN 33
231
+      #define BEEPER_PIN                      33
232
 
232
 
233
       // Buttons directly attached to AUX-2
233
       // Buttons directly attached to AUX-2
234
       #if ENABLED(REPRAPWORLD_KEYPAD)
234
       #if ENABLED(REPRAPWORLD_KEYPAD)
235
-        #define BTN_EN1 64
236
-        #define BTN_EN2 59
237
-        #define BTN_ENC 63
238
-        #define SHIFT_OUT 40
239
-        #define SHIFT_CLK 44
240
-        #define SHIFT_LD 42
235
+        #define BTN_EN1                       64
236
+        #define BTN_EN2                       59
237
+        #define BTN_ENC                       63
238
+        #define SHIFT_OUT                     40
239
+        #define SHIFT_CLK                     44
240
+        #define SHIFT_LD                      42
241
       #elif ENABLED(PANEL_ONE)
241
       #elif ENABLED(PANEL_ONE)
242
-        #define BTN_EN1 59                        // AUX2 PIN 3
243
-        #define BTN_EN2 63                        // AUX2 PIN 4
244
-        #define BTN_ENC 49                        // AUX3 PIN 7
242
+        #define BTN_EN1                       59  // AUX2 PIN 3
243
+        #define BTN_EN2                       63  // AUX2 PIN 4
244
+        #define BTN_ENC                       49  // AUX3 PIN 7
245
       #else
245
       #else
246
-        #define BTN_EN1 37
247
-        #define BTN_EN2 35
248
-        #define BTN_ENC 31
246
+        #define BTN_EN1                       37
247
+        #define BTN_EN2                       35
248
+        #define BTN_ENC                       31
249
       #endif
249
       #endif
250
 
250
 
251
       #if ENABLED(G3D_PANEL)
251
       #if ENABLED(G3D_PANEL)
252
-        #define SD_DETECT_PIN 49
253
-        #define KILL_PIN 41
252
+        #define SD_DETECT_PIN                 49
253
+        #define KILL_PIN                      41
254
       #else
254
       #else
255
         //#define SD_DETECT_PIN             -1    // Ramps doesn't use this
255
         //#define SD_DETECT_PIN             -1    // Ramps doesn't use this
256
       #endif
256
       #endif

+ 74
- 74
Marlin/src/pins/stm32f1/pins_STM3R_MINI.h View File

36
 #define I2C_EEPROM
36
 #define I2C_EEPROM
37
 
37
 
38
 // Ignore temp readings during development.
38
 // Ignore temp readings during development.
39
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
39
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
40
 
40
 
41
 //
41
 //
42
 // Limit Switches
42
 // Limit Switches
115
 #if HAS_SPI_LCD
115
 #if HAS_SPI_LCD
116
 
116
 
117
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
117
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
118
-    #define LCD_PINS_RS 49                        // CS chip select /SS chip slave select
119
-    #define LCD_PINS_ENABLE 51                    // SID (MOSI)
120
-    #define LCD_PINS_D4 52                        // SCK (CLK) clock
118
+    #define LCD_PINS_RS                       49  // CS chip select /SS chip slave select
119
+    #define LCD_PINS_ENABLE                   51  // SID (MOSI)
120
+    #define LCD_PINS_D4                       52  // SCK (CLK) clock
121
   #elif BOTH(NEWPANEL, PANEL_ONE)
121
   #elif BOTH(NEWPANEL, PANEL_ONE)
122
     #define LCD_PINS_RS                     PB8
122
     #define LCD_PINS_RS                     PB8
123
     #define LCD_PINS_ENABLE                 PD2
123
     #define LCD_PINS_ENABLE                 PD2
133
     #define LCD_PINS_D6                     PB14
133
     #define LCD_PINS_D6                     PB14
134
     #define LCD_PINS_D7                     PB15
134
     #define LCD_PINS_D7                     PB15
135
     #if DISABLED(NEWPANEL)
135
     #if DISABLED(NEWPANEL)
136
-      #define BEEPER_PIN 33
136
+      #define BEEPER_PIN                      33
137
       // Buttons attached to a shift register
137
       // Buttons attached to a shift register
138
       // Not wired yet
138
       // Not wired yet
139
-      //#define SHIFT_CLK 38
140
-      //#define SHIFT_LD 42
141
-      //#define SHIFT_OUT 40
142
-      //#define SHIFT_EN 17
139
+      //#define SHIFT_CLK                     38
140
+      //#define SHIFT_LD                      42
141
+      //#define SHIFT_OUT                     40
142
+      //#define SHIFT_EN                      17
143
     #endif
143
     #endif
144
   #endif
144
   #endif
145
 
145
 
155
 
155
 
156
     #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
156
     #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
157
 
157
 
158
-      #define BEEPER_PIN 37
158
+      #define BEEPER_PIN                      37
159
 
159
 
160
-      #define BTN_EN1 31
161
-      #define BTN_EN2 33
162
-      #define BTN_ENC 35
160
+      #define BTN_EN1                         31
161
+      #define BTN_EN2                         33
162
+      #define BTN_ENC                         35
163
 
163
 
164
-      #define SD_DETECT_PIN 49
165
-      #define KILL_PIN 41
164
+      #define SD_DETECT_PIN                   49
165
+      #define KILL_PIN                        41
166
 
166
 
167
       #if ENABLED(BQ_LCD_SMART_CONTROLLER)
167
       #if ENABLED(BQ_LCD_SMART_CONTROLLER)
168
-        #define LCD_BACKLIGHT_PIN 39
168
+        #define LCD_BACKLIGHT_PIN             39
169
       #endif
169
       #endif
170
 
170
 
171
     #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
171
     #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
172
 
172
 
173
-      #define BTN_EN1 64
174
-      #define BTN_EN2 59
175
-      #define BTN_ENC 63
176
-      #define SD_DETECT_PIN 42
173
+      #define BTN_EN1                         64
174
+      #define BTN_EN2                         59
175
+      #define BTN_ENC                         63
176
+      #define SD_DETECT_PIN                   42
177
 
177
 
178
     #elif ENABLED(LCD_I2C_PANELOLU2)
178
     #elif ENABLED(LCD_I2C_PANELOLU2)
179
 
179
 
180
-      #define BTN_EN1 47
181
-      #define BTN_EN2 43
182
-      #define BTN_ENC 32
183
-      #define LCD_SDSS 53
180
+      #define BTN_EN1                         47
181
+      #define BTN_EN2                         43
182
+      #define BTN_ENC                         32
183
+      #define LCD_SDSS                        53
184
       #define SD_DETECT_PIN                 -1
184
       #define SD_DETECT_PIN                 -1
185
-      #define KILL_PIN 41
185
+      #define KILL_PIN                        41
186
 
186
 
187
     #elif ENABLED(LCD_I2C_VIKI)
187
     #elif ENABLED(LCD_I2C_VIKI)
188
 
188
 
189
-      #define BTN_EN1 22                          // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
190
-      #define BTN_EN2 7                           // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
189
+      #define BTN_EN1                         22  // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
190
+      #define BTN_EN2                          7  // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
191
 
191
 
192
       #define BTN_ENC                       -1
192
       #define BTN_ENC                       -1
193
-      #define LCD_SDSS 53
194
-      #define SD_DETECT_PIN 49
193
+      #define LCD_SDSS                        53
194
+      #define SD_DETECT_PIN                   49
195
 
195
 
196
     #elif ANY(VIKI2, miniVIKI)
196
     #elif ANY(VIKI2, miniVIKI)
197
 
197
 
198
-      #define BEEPER_PIN 33
198
+      #define BEEPER_PIN                      33
199
 
199
 
200
       // Pins for DOGM SPI LCD Support
200
       // Pins for DOGM SPI LCD Support
201
-      #define DOGLCD_A0 44
202
-      #define DOGLCD_CS 45
201
+      #define DOGLCD_A0                       44
202
+      #define DOGLCD_CS                       45
203
       #define LCD_SCREEN_ROT_180
203
       #define LCD_SCREEN_ROT_180
204
 
204
 
205
-      #define BTN_EN1 22
206
-      #define BTN_EN2 7
207
-      #define BTN_ENC 39
205
+      #define BTN_EN1                         22
206
+      #define BTN_EN2                          7
207
+      #define BTN_ENC                         39
208
 
208
 
209
-      #define SDSS 53
209
+      #define SDSS                            53
210
       #define SD_DETECT_PIN                 -1    // Pin 49 for display sd interface, 72 for easy adapter board
210
       #define SD_DETECT_PIN                 -1    // Pin 49 for display sd interface, 72 for easy adapter board
211
 
211
 
212
-      #define KILL_PIN 31
212
+      #define KILL_PIN                        31
213
 
213
 
214
-      #define STAT_LED_RED_PIN 32
215
-      #define STAT_LED_BLUE_PIN 35
214
+      #define STAT_LED_RED_PIN                32
215
+      #define STAT_LED_BLUE_PIN               35
216
 
216
 
217
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
217
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
218
 
218
 
219
-      #define BTN_EN1 35
220
-      #define BTN_EN2 37
221
-      #define BTN_ENC 31
222
-      #define SD_DETECT_PIN 49
223
-      #define LCD_SDSS 53
224
-      #define KILL_PIN 41
225
-      #define BEEPER_PIN 23
226
-      #define DOGLCD_CS 29
227
-      #define DOGLCD_A0 27
228
-      #define LCD_BACKLIGHT_PIN 33
219
+      #define BTN_EN1                         35
220
+      #define BTN_EN2                         37
221
+      #define BTN_ENC                         31
222
+      #define SD_DETECT_PIN                   49
223
+      #define LCD_SDSS                        53
224
+      #define KILL_PIN                        41
225
+      #define BEEPER_PIN                      23
226
+      #define DOGLCD_CS                       29
227
+      #define DOGLCD_A0                       27
228
+      #define LCD_BACKLIGHT_PIN               33
229
 
229
 
230
     #elif ENABLED(MINIPANEL)
230
     #elif ENABLED(MINIPANEL)
231
 
231
 
232
-      #define BEEPER_PIN 42
232
+      #define BEEPER_PIN                      42
233
       // Pins for DOGM SPI LCD Support
233
       // Pins for DOGM SPI LCD Support
234
-      #define DOGLCD_A0 44
235
-      #define DOGLCD_CS 66
236
-      #define LCD_BACKLIGHT_PIN 65                // backlight LED on A11/D65
237
-      #define SDSS 53
234
+      #define DOGLCD_A0                       44
235
+      #define DOGLCD_CS                       66
236
+      #define LCD_BACKLIGHT_PIN               65  // backlight LED on A11/D65
237
+      #define SDSS                            53
238
 
238
 
239
-      #define KILL_PIN 64
239
+      #define KILL_PIN                        64
240
       // GLCD features
240
       // GLCD features
241
       // Uncomment screen orientation
241
       // Uncomment screen orientation
242
       //#define LCD_SCREEN_ROT_90
242
       //#define LCD_SCREEN_ROT_90
243
       //#define LCD_SCREEN_ROT_180
243
       //#define LCD_SCREEN_ROT_180
244
       //#define LCD_SCREEN_ROT_270
244
       //#define LCD_SCREEN_ROT_270
245
       // The encoder and click button
245
       // The encoder and click button
246
-      #define BTN_EN1 40
247
-      #define BTN_EN2 63
248
-      #define BTN_ENC 59
246
+      #define BTN_EN1                         40
247
+      #define BTN_EN2                         63
248
+      #define BTN_ENC                         59
249
       // not connected to a pin
249
       // not connected to a pin
250
-      #define SD_DETECT_PIN 49
250
+      #define SD_DETECT_PIN                   49
251
 
251
 
252
     #else
252
     #else
253
 
253
 
254
       // Beeper on AUX-4
254
       // Beeper on AUX-4
255
-      #define BEEPER_PIN 33
255
+      #define BEEPER_PIN                      33
256
 
256
 
257
       // Buttons directly attached to AUX-2
257
       // Buttons directly attached to AUX-2
258
       #if ENABLED(REPRAPWORLD_KEYPAD)
258
       #if ENABLED(REPRAPWORLD_KEYPAD)
259
-        #define BTN_EN1 64
260
-        #define BTN_EN2 59
261
-        #define BTN_ENC 63
262
-        #define SHIFT_OUT 40
263
-        #define SHIFT_CLK 44
264
-        #define SHIFT_LD 42
259
+        #define BTN_EN1                       64
260
+        #define BTN_EN2                       59
261
+        #define BTN_ENC                       63
262
+        #define SHIFT_OUT                     40
263
+        #define SHIFT_CLK                     44
264
+        #define SHIFT_LD                      42
265
       #elif ENABLED(PANEL_ONE)
265
       #elif ENABLED(PANEL_ONE)
266
-        #define BTN_EN1 59                        // AUX2 PIN 3
267
-        #define BTN_EN2 63                        // AUX2 PIN 4
268
-        #define BTN_ENC 49                        // AUX3 PIN 7
266
+        #define BTN_EN1                       59  // AUX2 PIN 3
267
+        #define BTN_EN2                       63  // AUX2 PIN 4
268
+        #define BTN_ENC                       49  // AUX3 PIN 7
269
       #else
269
       #else
270
-        #define BTN_EN1 37
271
-        #define BTN_EN2 35
272
-        #define BTN_ENC 31
270
+        #define BTN_EN1                       37
271
+        #define BTN_EN2                       35
272
+        #define BTN_ENC                       31
273
       #endif
273
       #endif
274
 
274
 
275
       #if ENABLED(G3D_PANEL)
275
       #if ENABLED(G3D_PANEL)
276
-        #define SD_DETECT_PIN 49
277
-        #define KILL_PIN 41
276
+        #define SD_DETECT_PIN                 49
277
+        #define KILL_PIN                      41
278
       #else
278
       #else
279
         //#define SD_DETECT_PIN             -1    // Ramps doesn't use this
279
         //#define SD_DETECT_PIN             -1    // Ramps doesn't use this
280
       #endif
280
       #endif

+ 1
- 1
Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h View File

92
 //
92
 //
93
 #define HEATER_0_PIN                        PG12  // HEATER1
93
 #define HEATER_0_PIN                        PG12  // HEATER1
94
 #define HEATER_BED_PIN                      PG11  // HOT BED
94
 #define HEATER_BED_PIN                      PG11  // HOT BED
95
-#define HEATER_BED_INVERTING true
95
+#define HEATER_BED_INVERTING                true
96
 
96
 
97
 //
97
 //
98
 // Fans
98
 // Fans

+ 2
- 2
Marlin/src/pins/stm32f4/pins_ARMED.h View File

39
 #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
39
 #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
40
 
40
 
41
 #define I2C_EEPROM
41
 #define I2C_EEPROM
42
-#define MARLIN_EEPROM_SIZE 0x1000                 // 4KB
42
+#define MARLIN_EEPROM_SIZE                0x1000  // 4KB
43
 
43
 
44
 //
44
 //
45
 // Limit Switches
45
 // Limit Switches
225
   #define Z2_SERIAL_RX_PIN              EXT4_PIN
225
   #define Z2_SERIAL_RX_PIN              EXT4_PIN
226
   #define Z2_SERIAL_TX_PIN              EXT4_PIN
226
   #define Z2_SERIAL_TX_PIN              EXT4_PIN
227
 
227
 
228
-  #define TMC_BAUD_RATE 19200
228
+  #define TMC_BAUD_RATE                    19200
229
 #endif
229
 #endif

+ 74
- 74
Marlin/src/pins/stm32f4/pins_BEAST.h View File

36
 #define I2C_EEPROM
36
 #define I2C_EEPROM
37
 
37
 
38
 // Ignore temp readings during development.
38
 // Ignore temp readings during development.
39
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
39
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
40
 
40
 
41
 //
41
 //
42
 // Steppers
42
 // Steppers
123
 #if HAS_SPI_LCD
123
 #if HAS_SPI_LCD
124
 
124
 
125
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
125
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
126
-    #define LCD_PINS_RS 49                        // CS chip select /SS chip slave select
127
-    #define LCD_PINS_ENABLE 51                    // SID (MOSI)
128
-    #define LCD_PINS_D4 52                        // SCK (CLK) clock
126
+    #define LCD_PINS_RS                       49  // CS chip select /SS chip slave select
127
+    #define LCD_PINS_ENABLE                   51  // SID (MOSI)
128
+    #define LCD_PINS_D4                       52  // SCK (CLK) clock
129
   #elif BOTH(NEWPANEL, PANEL_ONE)
129
   #elif BOTH(NEWPANEL, PANEL_ONE)
130
     #define LCD_PINS_RS                     PB8
130
     #define LCD_PINS_RS                     PB8
131
     #define LCD_PINS_ENABLE                 PD2
131
     #define LCD_PINS_ENABLE                 PD2
141
     #define LCD_PINS_D6                     PB14
141
     #define LCD_PINS_D6                     PB14
142
     #define LCD_PINS_D7                     PB15
142
     #define LCD_PINS_D7                     PB15
143
     #if DISABLED(NEWPANEL)
143
     #if DISABLED(NEWPANEL)
144
-      #define BEEPER_PIN 33
144
+      #define BEEPER_PIN                      33
145
       // Buttons attached to a shift register
145
       // Buttons attached to a shift register
146
       // Not wired yet
146
       // Not wired yet
147
-      //#define SHIFT_CLK 38
148
-      //#define SHIFT_LD 42
149
-      //#define SHIFT_OUT 40
150
-      //#define SHIFT_EN 17
147
+      //#define SHIFT_CLK                     38
148
+      //#define SHIFT_LD                      42
149
+      //#define SHIFT_OUT                     40
150
+      //#define SHIFT_EN                      17
151
     #endif
151
     #endif
152
   #endif
152
   #endif
153
 
153
 
155
 
155
 
156
     #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
156
     #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
157
 
157
 
158
-      #define BEEPER_PIN 37
158
+      #define BEEPER_PIN                      37
159
 
159
 
160
-      #define BTN_EN1 31
161
-      #define BTN_EN2 33
162
-      #define BTN_ENC 35
160
+      #define BTN_EN1                         31
161
+      #define BTN_EN2                         33
162
+      #define BTN_ENC                         35
163
 
163
 
164
-      #define SD_DETECT_PIN 49
165
-      #define KILL_PIN 41
164
+      #define SD_DETECT_PIN                   49
165
+      #define KILL_PIN                        41
166
 
166
 
167
       #if ENABLED(BQ_LCD_SMART_CONTROLLER)
167
       #if ENABLED(BQ_LCD_SMART_CONTROLLER)
168
-        #define LCD_BACKLIGHT_PIN 39
168
+        #define LCD_BACKLIGHT_PIN             39
169
       #endif
169
       #endif
170
 
170
 
171
     #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
171
     #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
172
 
172
 
173
-      #define BTN_EN1 64
174
-      #define BTN_EN2 59
175
-      #define BTN_ENC 63
176
-      #define SD_DETECT_PIN 42
173
+      #define BTN_EN1                         64
174
+      #define BTN_EN2                         59
175
+      #define BTN_ENC                         63
176
+      #define SD_DETECT_PIN                   42
177
 
177
 
178
     #elif ENABLED(LCD_I2C_PANELOLU2)
178
     #elif ENABLED(LCD_I2C_PANELOLU2)
179
 
179
 
180
-      #define BTN_EN1 47
181
-      #define BTN_EN2 43
182
-      #define BTN_ENC 32
183
-      #define LCD_SDSS 53
180
+      #define BTN_EN1                         47
181
+      #define BTN_EN2                         43
182
+      #define BTN_ENC                         32
183
+      #define LCD_SDSS                        53
184
       #define SD_DETECT_PIN                 -1
184
       #define SD_DETECT_PIN                 -1
185
-      #define KILL_PIN 41
185
+      #define KILL_PIN                        41
186
 
186
 
187
     #elif ENABLED(LCD_I2C_VIKI)
187
     #elif ENABLED(LCD_I2C_VIKI)
188
 
188
 
189
-      #define BTN_EN1 22                          // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
190
-      #define BTN_EN2 7                           // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
189
+      #define BTN_EN1                         22  // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
190
+      #define BTN_EN2                          7  // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
191
 
191
 
192
       #define BTN_ENC                       -1
192
       #define BTN_ENC                       -1
193
-      #define LCD_SDSS 53
194
-      #define SD_DETECT_PIN 49
193
+      #define LCD_SDSS                        53
194
+      #define SD_DETECT_PIN                   49
195
 
195
 
196
     #elif ANY(VIKI2, miniVIKI)
196
     #elif ANY(VIKI2, miniVIKI)
197
 
197
 
198
-      #define BEEPER_PIN 33
198
+      #define BEEPER_PIN                      33
199
 
199
 
200
       // Pins for DOGM SPI LCD Support
200
       // Pins for DOGM SPI LCD Support
201
-      #define DOGLCD_A0 44
202
-      #define DOGLCD_CS 45
201
+      #define DOGLCD_A0                       44
202
+      #define DOGLCD_CS                       45
203
       #define LCD_SCREEN_ROT_180
203
       #define LCD_SCREEN_ROT_180
204
 
204
 
205
-      #define BTN_EN1 22
206
-      #define BTN_EN2 7
207
-      #define BTN_ENC 39
205
+      #define BTN_EN1                         22
206
+      #define BTN_EN2                          7
207
+      #define BTN_ENC                         39
208
 
208
 
209
-      #define SDSS 53
209
+      #define SDSS                            53
210
       #define SD_DETECT_PIN                 -1    // Pin 49 for display sd interface, 72 for easy adapter board
210
       #define SD_DETECT_PIN                 -1    // Pin 49 for display sd interface, 72 for easy adapter board
211
 
211
 
212
-      #define KILL_PIN 31
212
+      #define KILL_PIN                        31
213
 
213
 
214
-      #define STAT_LED_RED_PIN 32
215
-      #define STAT_LED_BLUE_PIN 35
214
+      #define STAT_LED_RED_PIN                32
215
+      #define STAT_LED_BLUE_PIN               35
216
 
216
 
217
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
217
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
218
 
218
 
219
-      #define BTN_EN1 35
220
-      #define BTN_EN2 37
221
-      #define BTN_ENC 31
222
-      #define SD_DETECT_PIN 49
223
-      #define LCD_SDSS 53
224
-      #define KILL_PIN 41
225
-      #define BEEPER_PIN 23
226
-      #define DOGLCD_CS 29
227
-      #define DOGLCD_A0 27
228
-      #define LCD_BACKLIGHT_PIN 33
219
+      #define BTN_EN1                         35
220
+      #define BTN_EN2                         37
221
+      #define BTN_ENC                         31
222
+      #define SD_DETECT_PIN                   49
223
+      #define LCD_SDSS                        53
224
+      #define KILL_PIN                        41
225
+      #define BEEPER_PIN                      23
226
+      #define DOGLCD_CS                       29
227
+      #define DOGLCD_A0                       27
228
+      #define LCD_BACKLIGHT_PIN               33
229
 
229
 
230
     #elif ENABLED(MINIPANEL)
230
     #elif ENABLED(MINIPANEL)
231
 
231
 
232
-      #define BEEPER_PIN 42
232
+      #define BEEPER_PIN                      42
233
       // Pins for DOGM SPI LCD Support
233
       // Pins for DOGM SPI LCD Support
234
-      #define DOGLCD_A0 44
235
-      #define DOGLCD_CS 66
236
-      #define LCD_BACKLIGHT_PIN 65                // backlight LED on A11/D65
237
-      #define SDSS 53
234
+      #define DOGLCD_A0                       44
235
+      #define DOGLCD_CS                       66
236
+      #define LCD_BACKLIGHT_PIN               65  // backlight LED on A11/D65
237
+      #define SDSS                            53
238
 
238
 
239
-      #define KILL_PIN 64
239
+      #define KILL_PIN                        64
240
       // GLCD features
240
       // GLCD features
241
       // Uncomment screen orientation
241
       // Uncomment screen orientation
242
       //#define LCD_SCREEN_ROT_90
242
       //#define LCD_SCREEN_ROT_90
243
       //#define LCD_SCREEN_ROT_180
243
       //#define LCD_SCREEN_ROT_180
244
       //#define LCD_SCREEN_ROT_270
244
       //#define LCD_SCREEN_ROT_270
245
       // The encoder and click button
245
       // The encoder and click button
246
-      #define BTN_EN1 40
247
-      #define BTN_EN2 63
248
-      #define BTN_ENC 59
246
+      #define BTN_EN1                         40
247
+      #define BTN_EN2                         63
248
+      #define BTN_ENC                         59
249
       // not connected to a pin
249
       // not connected to a pin
250
-      #define SD_DETECT_PIN 49
250
+      #define SD_DETECT_PIN                   49
251
 
251
 
252
     #else
252
     #else
253
 
253
 
254
       // Beeper on AUX-4
254
       // Beeper on AUX-4
255
-      #define BEEPER_PIN 33
255
+      #define BEEPER_PIN                      33
256
 
256
 
257
       // Buttons directly attached to AUX-2
257
       // Buttons directly attached to AUX-2
258
       #if ENABLED(REPRAPWORLD_KEYPAD)
258
       #if ENABLED(REPRAPWORLD_KEYPAD)
259
-        #define BTN_EN1 64
260
-        #define BTN_EN2 59
261
-        #define BTN_ENC 63
262
-        #define SHIFT_OUT 40
263
-        #define SHIFT_CLK 44
264
-        #define SHIFT_LD 42
259
+        #define BTN_EN1                       64
260
+        #define BTN_EN2                       59
261
+        #define BTN_ENC                       63
262
+        #define SHIFT_OUT                     40
263
+        #define SHIFT_CLK                     44
264
+        #define SHIFT_LD                      42
265
       #elif ENABLED(PANEL_ONE)
265
       #elif ENABLED(PANEL_ONE)
266
-        #define BTN_EN1 59                        // AUX2 PIN 3
267
-        #define BTN_EN2 63                        // AUX2 PIN 4
268
-        #define BTN_ENC 49                        // AUX3 PIN 7
266
+        #define BTN_EN1                       59  // AUX2 PIN 3
267
+        #define BTN_EN2                       63  // AUX2 PIN 4
268
+        #define BTN_ENC                       49  // AUX3 PIN 7
269
       #else
269
       #else
270
-        #define BTN_EN1 37
271
-        #define BTN_EN2 35
272
-        #define BTN_ENC 31
270
+        #define BTN_EN1                       37
271
+        #define BTN_EN2                       35
272
+        #define BTN_ENC                       31
273
       #endif
273
       #endif
274
 
274
 
275
       #if ENABLED(G3D_PANEL)
275
       #if ENABLED(G3D_PANEL)
276
-        #define SD_DETECT_PIN 49
277
-        #define KILL_PIN 41
276
+        #define SD_DETECT_PIN                 49
277
+        #define KILL_PIN                      41
278
       #else
278
       #else
279
         //#define SD_DETECT_PIN             -1    // Ramps doesn't use this
279
         //#define SD_DETECT_PIN             -1    // Ramps doesn't use this
280
       #endif
280
       #endif

+ 1
- 1
Marlin/src/pins/stm32f4/pins_BLACK_STM32F407VE.h View File

41
 
41
 
42
 //#define I2C_EEPROM
42
 //#define I2C_EEPROM
43
 #define SRAM_EEPROM_EMULATION
43
 #define SRAM_EEPROM_EMULATION
44
-#define MARLIN_EEPROM_SIZE 0x2000                 // 8KB
44
+#define MARLIN_EEPROM_SIZE                0x2000  // 8KB
45
 
45
 
46
 //
46
 //
47
 // Servos
47
 // Servos

+ 2
- 2
Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h View File

42
 #endif
42
 #endif
43
 
43
 
44
 // Ignore temp readings during development.
44
 // Ignore temp readings during development.
45
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
45
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
46
 
46
 
47
 //
47
 //
48
 // Limit Switches
48
 // Limit Switches
153
   #define E0_SERIAL_RX_PIN                  PD7
153
   #define E0_SERIAL_RX_PIN                  PD7
154
 
154
 
155
   // Reduce baud rate to improve software serial reliability
155
   // Reduce baud rate to improve software serial reliability
156
-  #define TMC_BAUD_RATE 19200
156
+  #define TMC_BAUD_RATE                    19200
157
 #endif
157
 #endif
158
 
158
 
159
 //
159
 //

+ 2
- 2
Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h View File

33
 
33
 
34
 // Onboard I2C EEPROM
34
 // Onboard I2C EEPROM
35
 #define I2C_EEPROM
35
 #define I2C_EEPROM
36
-#define MARLIN_EEPROM_SIZE 0x2000                 // 8KB (24C64 ... 64Kb = 8KB)
36
+#define MARLIN_EEPROM_SIZE                0x2000  // 8KB (24C64 ... 64Kb = 8KB)
37
 
37
 
38
 #define TP                                        // Enable to define servo and probe pins
38
 #define TP                                        // Enable to define servo and probe pins
39
 
39
 
223
   #define E7_SERIAL_RX_PIN                  PH14
223
   #define E7_SERIAL_RX_PIN                  PH14
224
 
224
 
225
   // Reduce baud rate to improve software serial reliability
225
   // Reduce baud rate to improve software serial reliability
226
-  #define TMC_BAUD_RATE 19200
226
+  #define TMC_BAUD_RATE                    19200
227
 #endif
227
 #endif
228
 
228
 
229
 //
229
 //

+ 2
- 2
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_common.h View File

212
   #define E2_SERIAL_RX_PIN                  PD6
212
   #define E2_SERIAL_RX_PIN                  PD6
213
 
213
 
214
   // Reduce baud rate to improve software serial reliability
214
   // Reduce baud rate to improve software serial reliability
215
-  #define TMC_BAUD_RATE 19200
215
+  #define TMC_BAUD_RATE                    19200
216
 #endif
216
 #endif
217
 
217
 
218
 //
218
 //
366
  *            ̄ ̄
366
  *            ̄ ̄
367
  *            W1
367
  *            W1
368
  */
368
  */
369
-#define ESP_WIFI_MODULE_COM 6                     // Must also set either SERIAL_PORT or SERIAL_PORT_2 to this
369
+#define ESP_WIFI_MODULE_COM                    6  // Must also set either SERIAL_PORT or SERIAL_PORT_2 to this
370
 #define ESP_WIFI_MODULE_BAUDRATE        BAUDRATE  // Must use same BAUDRATE as SERIAL_PORT & SERIAL_PORT_2
370
 #define ESP_WIFI_MODULE_BAUDRATE        BAUDRATE  // Must use same BAUDRATE as SERIAL_PORT & SERIAL_PORT_2
371
 #define ESP_WIFI_MODULE_RESET_PIN           PG0
371
 #define ESP_WIFI_MODULE_RESET_PIN           PG0
372
 #define ESP_WIFI_MODULE_ENABLE_PIN          PG1
372
 #define ESP_WIFI_MODULE_ENABLE_PIN          PG1

+ 2
- 2
Marlin/src/pins/stm32f4/pins_FLYF407ZG.h View File

45
   // the 128kB sector allocated for EEPROM emulation.
45
   // the 128kB sector allocated for EEPROM emulation.
46
   #define FLASH_EEPROM_LEVELING
46
   #define FLASH_EEPROM_LEVELING
47
 #elif ENABLED(I2C_EEPROM)
47
 #elif ENABLED(I2C_EEPROM)
48
-  #define MARLIN_EEPROM_SIZE 0x2000               // 8KB
48
+  #define MARLIN_EEPROM_SIZE              0x2000  // 8KB
49
 #endif
49
 #endif
50
 
50
 
51
 #ifndef MARLIN_EEPROM_SIZE
51
 #ifndef MARLIN_EEPROM_SIZE
52
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
52
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
53
 #endif
53
 #endif
54
 
54
 
55
 //
55
 //

+ 2
- 2
Marlin/src/pins/stm32f4/pins_FYSETC_S6.h View File

35
 #endif
35
 #endif
36
 
36
 
37
 // Change the priority to 3. Priority 2 is for software serial.
37
 // Change the priority to 3. Priority 2 is for software serial.
38
-//#define TEMP_TIMER_IRQ_PRIO 3
38
+//#define TEMP_TIMER_IRQ_PRIO                  3
39
 
39
 
40
 //
40
 //
41
 // EEPROM Emulation
41
 // EEPROM Emulation
51
   // 128 kB sector allocated for EEPROM emulation.
51
   // 128 kB sector allocated for EEPROM emulation.
52
   #define FLASH_EEPROM_LEVELING
52
   #define FLASH_EEPROM_LEVELING
53
 #elif ENABLED(I2C_EEPROM)
53
 #elif ENABLED(I2C_EEPROM)
54
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
54
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
55
 #endif
55
 #endif
56
 
56
 
57
 //
57
 //

+ 2
- 2
Marlin/src/pins/stm32f4/pins_GENERIC_STM32F4.h View File

37
 //#define I2C_EEPROM
37
 //#define I2C_EEPROM
38
 
38
 
39
 #ifndef MARLIN_EEPROM_SIZE
39
 #ifndef MARLIN_EEPROM_SIZE
40
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
40
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
41
 #endif
41
 #endif
42
 
42
 
43
 // Ignore temp readings during development.
43
 // Ignore temp readings during development.
44
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
44
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
45
 
45
 
46
 //
46
 //
47
 // Limit Switches
47
 // Limit Switches

+ 2
- 2
Marlin/src/pins/stm32f4/pins_LERDGE_K.h View File

147
 // Misc. Functions
147
 // Misc. Functions
148
 //
148
 //
149
 #define SDSS                                PC11
149
 #define SDSS                                PC11
150
-#define LED_PIN                             PA15   // Alive
150
+#define LED_PIN                             PA15  // Alive
151
 #define PS_ON_PIN                           -1
151
 #define PS_ON_PIN                           -1
152
 #define KILL_PIN                            -1
152
 #define KILL_PIN                            -1
153
-#define POWER_LOSS_PIN                      PA4    // Power-loss / nAC_FAULT
153
+#define POWER_LOSS_PIN                      PA4   // Power-loss / nAC_FAULT
154
 
154
 
155
 #define SCK_PIN                             PC12
155
 #define SCK_PIN                             PC12
156
 #define MISO_PIN                            PC8
156
 #define MISO_PIN                            PC8

+ 5
- 5
Marlin/src/pins/stm32f4/pins_LERDGE_S.h View File

27
 #define BOARD_INFO_NAME      "Lerdge S"
27
 #define BOARD_INFO_NAME      "Lerdge S"
28
 #define DEFAULT_MACHINE_NAME "LERDGE"
28
 #define DEFAULT_MACHINE_NAME "LERDGE"
29
 
29
 
30
-#define STEP_TIMER 4
31
-#define TEMP_TIMER 2
30
+#define STEP_TIMER                             4
31
+#define TEMP_TIMER                             2
32
 
32
 
33
 //#define I2C_EEPROM
33
 //#define I2C_EEPROM
34
 
34
 
173
 
173
 
174
 #if ENABLED(SPI_EEPROM)
174
 #if ENABLED(SPI_EEPROM)
175
   // Lerdge has an SPI EEPROM Winbond W25Q128 (128Mbits) https://www.pjrc.com/teensy/W25Q128FV.pdf
175
   // Lerdge has an SPI EEPROM Winbond W25Q128 (128Mbits) https://www.pjrc.com/teensy/W25Q128FV.pdf
176
-  #define SPI_CHAN_EEPROM1 1
176
+  #define SPI_CHAN_EEPROM1                     1
177
   #define SPI_EEPROM1_CS                    PB12  // datasheet: /CS pin, found with multimeter, not tested
177
   #define SPI_EEPROM1_CS                    PB12  // datasheet: /CS pin, found with multimeter, not tested
178
   #define EEPROM_SCK                        PB13  // datasheet: CLK pin, found with multimeter, not tested
178
   #define EEPROM_SCK                        PB13  // datasheet: CLK pin, found with multimeter, not tested
179
   #define EEPROM_MISO                       PB14  // datasheet: DO pin, found with multimeter, not tested
179
   #define EEPROM_MISO                       PB14  // datasheet: DO pin, found with multimeter, not tested
180
   #define EEPROM_MOSI                       PB15  // datasheet: DI pin, found with multimeter, not tested
180
   #define EEPROM_MOSI                       PB15  // datasheet: DI pin, found with multimeter, not tested
181
-  #define EEPROM_PAGE_SIZE 0x1000U                // 4KB (from datasheet)
181
+  #define EEPROM_PAGE_SIZE               0x1000U  // 4KB (from datasheet)
182
   #define MARLIN_EEPROM_SIZE 16UL * (EEPROM_PAGE_SIZE)   // Limit to 64KB for now...
182
   #define MARLIN_EEPROM_SIZE 16UL * (EEPROM_PAGE_SIZE)   // Limit to 64KB for now...
183
 #else
183
 #else
184
-  #define MARLIN_EEPROM_SIZE 0x800U               // On SD, Limit to 2KB, require this amount of RAM
184
+  #define MARLIN_EEPROM_SIZE              0x800U  // On SD, Limit to 2KB, require this amount of RAM
185
 #endif
185
 #endif
186
 
186
 
187
 //
187
 //

+ 3
- 3
Marlin/src/pins/stm32f4/pins_LERDGE_X.h View File

27
 #define BOARD_INFO_NAME      "Lerdge X"
27
 #define BOARD_INFO_NAME      "Lerdge X"
28
 #define DEFAULT_MACHINE_NAME "LERDGE"
28
 #define DEFAULT_MACHINE_NAME "LERDGE"
29
 
29
 
30
-#define STEP_TIMER 4
31
-#define TEMP_TIMER 2
30
+#define STEP_TIMER                             4
31
+#define TEMP_TIMER                             2
32
 
32
 
33
 #define I2C_EEPROM
33
 #define I2C_EEPROM
34
 
34
 
115
 #define KILL_PIN                            -1
115
 #define KILL_PIN                            -1
116
 
116
 
117
 // Lerdge supports auto-power off and power loss sense through a single pin.
117
 // Lerdge supports auto-power off and power loss sense through a single pin.
118
-#define POWER_LOSS_PIN                      PC14    // Power-loss / nAC_FAULT
118
+#define POWER_LOSS_PIN                      PC14  // Power-loss / nAC_FAULT
119
 
119
 
120
 #define SCK_PIN                             PC12
120
 #define SCK_PIN                             PC12
121
 #define MISO_PIN                            PC8
121
 #define MISO_PIN                            PC8

+ 2
- 2
Marlin/src/pins/stm32f4/pins_RUMBA32_AUS3D.h View File

33
 #if NO_EEPROM_SELECTED
33
 #if NO_EEPROM_SELECTED
34
   #if MB(RUMBA32_V1_0)
34
   #if MB(RUMBA32_V1_0)
35
     #define FLASH_EEPROM_EMULATION
35
     #define FLASH_EEPROM_EMULATION
36
-    #define MARLIN_EEPROM_SIZE 0x1000             // 4KB
36
+    #define MARLIN_EEPROM_SIZE            0x1000  // 4KB
37
   #elif MB(RUMBA32_V1_1)
37
   #elif MB(RUMBA32_V1_1)
38
     #define I2C_EEPROM
38
     #define I2C_EEPROM
39
-    #define MARLIN_EEPROM_SIZE 0x2000             // 8KB (24LC64T-I/OT)
39
+    #define MARLIN_EEPROM_SIZE            0x2000  // 8KB (24LC64T-I/OT)
40
   #endif
40
   #endif
41
 #endif
41
 #endif
42
 
42
 

+ 1
- 1
Marlin/src/pins/stm32f4/pins_RUMBA32_MKS.h View File

37
 
37
 
38
 #if NO_EEPROM_SELECTED
38
 #if NO_EEPROM_SELECTED
39
   #define FLASH_EEPROM_EMULATION
39
   #define FLASH_EEPROM_EMULATION
40
-  #define MARLIN_EEPROM_SIZE 0x1000               // 4KB
40
+  #define MARLIN_EEPROM_SIZE              0x1000  // 4KB
41
 #endif
41
 #endif
42
 
42
 
43
 #if ENABLED(FLASH_EEPROM_EMULATION)
43
 #if ENABLED(FLASH_EEPROM_EMULATION)

+ 2
- 2
Marlin/src/pins/stm32f4/pins_RUMBA32_common.h View File

44
 // TIM7 is used for SERVO
44
 // TIM7 is used for SERVO
45
 // TIMER_SERIAL defaults to TIM7 so we'll override it here
45
 // TIMER_SERIAL defaults to TIM7 so we'll override it here
46
 //
46
 //
47
-#define STEP_TIMER 10
48
-#define TEMP_TIMER 14
47
+#define STEP_TIMER                            10
48
+#define TEMP_TIMER                            14
49
 #define TIMER_SERIAL                        TIM9
49
 #define TIMER_SERIAL                        TIM9
50
 #define HAL_TIMER_RATE                     F_CPU
50
 #define HAL_TIMER_RATE                     F_CPU
51
 
51
 

+ 1
- 1
Marlin/src/pins/stm32f4/pins_VAKE403D.h View File

31
 #define BOARD_INFO_NAME      "STM32F4 VAkE"
31
 #define BOARD_INFO_NAME      "STM32F4 VAkE"
32
 
32
 
33
 //#define I2C_EEPROM
33
 //#define I2C_EEPROM
34
-#define MARLIN_EEPROM_SIZE 0x1000                 // 4KB
34
+#define MARLIN_EEPROM_SIZE                0x1000  // 4KB
35
 
35
 
36
 //
36
 //
37
 // Servos
37
 // Servos

+ 2
- 2
Marlin/src/pins/stm32f7/pins_THE_BORG.h View File

31
 #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
31
 #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
32
 
32
 
33
 #ifndef MARLIN_EEPROM_SIZE
33
 #ifndef MARLIN_EEPROM_SIZE
34
-  #define MARLIN_EEPROM_SIZE 0x1000
34
+  #define MARLIN_EEPROM_SIZE              0x1000
35
 #endif
35
 #endif
36
 
36
 
37
 // Ignore temp readings during development.
37
 // Ignore temp readings during development.
38
-//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
38
+//#define BOGUS_TEMPERATURE_GRACE_PERIOD    2000
39
 
39
 
40
 //
40
 //
41
 // Limit Switches
41
 // Limit Switches

+ 1
- 1
Marlin/src/pins/teensy2/pins_5DPRINT.h View File

144
 
144
 
145
 //DIGIPOTS slave addresses
145
 //DIGIPOTS slave addresses
146
 #ifndef DIGIPOT_I2C_ADDRESS_A
146
 #ifndef DIGIPOT_I2C_ADDRESS_A
147
-  #define DIGIPOT_I2C_ADDRESS_A 0x2C              // unshifted slave address for DIGIPOT 0x2C (0x58 <- 0x2C << 1)
147
+  #define DIGIPOT_I2C_ADDRESS_A             0x2C  // unshifted slave address for DIGIPOT 0x2C (0x58 <- 0x2C << 1)
148
 #endif
148
 #endif

+ 1
- 1
Marlin/src/pins/teensy2/pins_PRINTRBOARD_REVF.h View File

158
 #define DAC_STEPPER_MAX                      3520
158
 #define DAC_STEPPER_MAX                      3520
159
 #define DAC_STEPPER_VREF                       1  // internal Vref, gain 1x = 2.048V
159
 #define DAC_STEPPER_VREF                       1  // internal Vref, gain 1x = 2.048V
160
 #define DAC_STEPPER_GAIN                       0
160
 #define DAC_STEPPER_GAIN                       0
161
-#define DAC_OR_ADDRESS 0x00
161
+#define DAC_OR_ADDRESS                      0x00
162
 
162
 
163
 //
163
 //
164
 // Temperature Sensors
164
 // Temperature Sensors

Loading…
Cancel
Save