Browse Source

Organize boards.h by architecture

Scott Lahteine 6 years ago
parent
commit
f02ca2a9a3
1 changed files with 111 additions and 78 deletions
  1. 111
    78
      Marlin/boards.h

+ 111
- 78
Marlin/boards.h View File

@@ -25,84 +25,117 @@
25 25
 
26 26
 #define BOARD_UNKNOWN -1
27 27
 
28
-#define BOARD_GEN7_CUSTOM       10   // Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics"
29
-#define BOARD_GEN7_12           11   // Gen7 v1.1, v1.2
30
-#define BOARD_GEN7_13           12   // Gen7 v1.3
31
-#define BOARD_GEN7_14           13   // Gen7 v1.4
32
-#define BOARD_CNCONTROLS_11     111  // Cartesio CN Controls V11
33
-#define BOARD_CNCONTROLS_12     112  // Cartesio CN Controls V12
34
-#define BOARD_CHEAPTRONIC       2    // Cheaptronic v1.0
35
-#define BOARD_CHEAPTRONIC_V2    21   // Cheaptronic v2.0
36
-#define BOARD_SILVER_GATE       25   // Silvergate v1.0
37
-#define BOARD_SETHI             20   // Sethi 3D_1
38
-#define BOARD_MIGHTYBOARD_REVE  200  // Makerbot Mightyboard Revision E
39
-#define BOARD_RAMPS_OLD         3    // MEGA/RAMPS up to 1.2
40
-#define BOARD_RAMPS_13_EFB      33   // RAMPS 1.3 (Power outputs: Hotend, Fan, Bed)
41
-#define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Bed)
42
-#define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 (Power outputs: Hotend, Fan0, Fan1)
43
-#define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Fan)
44
-#define BOARD_RAMPS_13_SF       38   // RAMPS 1.3 (Power outputs: Spindle, Controller Fan)
45
-#define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
46
-#define BOARD_RIGIDBOARD        42   // Invent-A-Part RigidBoard
47
-#define BOARD_RIGIDBOARD_V2     52   // Invent-A-Part RigidBoard V2
48
-#define BOARD_RAMPS_14_EFB      43   // RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)
49
-#define BOARD_RAMPS_14_EEB      44   // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Bed)
50
-#define BOARD_RAMPS_14_EFF      45   // RAMPS 1.4 (Power outputs: Hotend, Fan0, Fan1)
51
-#define BOARD_RAMPS_14_EEF      46   // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Fan)
52
-#define BOARD_RAMPS_14_SF       48   // RAMPS 1.4 (Power outputs: Spindle, Controller Fan)
53
-#define BOARD_GEN6              5    // Gen6
54
-#define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
55
-#define BOARD_SANGUINOLOLU_11   6    // Sanguinololu < 1.2
56
-#define BOARD_SANGUINOLOLU_12   62   // Sanguinololu 1.2 and above
57
-#define BOARD_MELZI             63   // Melzi
58
-#define BOARD_MELZI_MAKR3D      66   // Melzi with ATmega1284 (MaKr3d version)
59
-#define BOARD_MELZI_CREALITY    89   // Melzi Creality3D board (for CR-10 etc)
60
-#define BOARD_STB_11            64   // STB V1.1
61
-#define BOARD_AZTEEG_X1         65   // Azteeg X1
62
-#define BOARD_AZTEEG_X3         67   // Azteeg X3
63
-#define BOARD_AZTEEG_X3_PRO     68   // Azteeg X3 Pro
64
-#define BOARD_ANET_10           69   // Anet 1.0 (Melzi clone)
65
-#define BOARD_ULTIMAKER         7    // Ultimaker
66
-#define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
67
-#define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
68
-#define BOARD_GT2560_REV_A      74   // Geeetech GT2560 Rev. A
69
-#define BOARD_GT2560_REV_A_PLUS 75   // Geeetech GT2560 Rev. A+ (with auto level probe)
70
-#define BOARD_3DRAG             77   // 3Drag Controller
71
-#define BOARD_K8200             78   // Velleman K8200 Controller (derived from 3Drag Controller)
72
-#define BOARD_K8400             79   // Velleman K8400 Controller (derived from 3Drag Controller)
73
-#define BOARD_TEENSYLU          8    // Teensylu
74
-#define BOARD_RUMBA             80   // Rumba
75
-#define BOARD_PRINTRBOARD       81   // Printrboard (AT90USB1286)
76
-#define BOARD_PRINTRBOARD_REVF  811  // Printrboard Revision F (AT90USB1286)
77
-#define BOARD_BRAINWAVE         82   // Brainwave (AT90USB646)
78
-#define BOARD_SAV_MKI           83   // SAV Mk-I (AT90USB1286)
79
-#define BOARD_TEENSY2           84   // Teensy++2.0 (AT90USB1286) - CLI compile: HARDWARE_MOTHERBOARD=84  make
80
-#define BOARD_BRAINWAVE_PRO     85   // Brainwave Pro (AT90USB1286)
81
-#define BOARD_GEN3_PLUS         9    // Gen3+
82
-#define BOARD_GEN3_MONOLITHIC   22   // Gen3 Monolithic Electronics
83
-#define BOARD_MEGATRONICS       70   // Megatronics
84
-#define BOARD_MEGATRONICS_2     701  // Megatronics v2.0
85
-#define BOARD_MINITRONICS       702  // Minitronics v1.0/1.1
86
-#define BOARD_MEGATRONICS_3     703  // Megatronics v3.0
87
-#define BOARD_MEGATRONICS_31    704  // Megatronics v3.1
88
-#define BOARD_OMCA_A            90   // Alpha OMCA board
89
-#define BOARD_OMCA              91   // Final OMCA board
90
-#define BOARD_RAMBO             301  // Rambo
91
-#define BOARD_MINIRAMBO         302  // Mini-Rambo
92
-#define BOARD_SCOOVO_X9H        303  // abee Scoovo X9H
93
-#define BOARD_MEGACONTROLLER    310  // Mega controller
94
-#define BOARD_ELEFU_3           21   // Elefu Ra Board (v3)
95
-#define BOARD_5DPRINT           88   // 5DPrint D8 Driver Board
96
-#define BOARD_LEAPFROG          999  // Leapfrog
97
-#define BOARD_MKS_BASE          40   // MKS BASE 1.0
98
-#define BOARD_MKS_13            47   // MKS v1.3 or 1.4 (maybe higher)
99
-#define BOARD_MKS_GEN_L         53   // MKS GEN L
100
-#define BOARD_SAINSMART_2IN1    49   // Sainsmart 2-in-1 board
101
-#define BOARD_BAM_DICE          401  // 2PrintBeta BAM&DICE with STK drivers
102
-#define BOARD_BAM_DICE_DUE      402  // 2PrintBeta BAM&DICE Due with STK drivers
103
-#define BOARD_BQ_ZUM_MEGA_3D    503  // bq ZUM Mega 3D
104
-#define BOARD_ZRIB_V20          504  // zrib V2.0 control board (Chinese knock off RAMPS replica)
105
-#define BOARD_MAKEBOARD_MINI    431  // MakeBoard Mini v2.1.2 is a control board sold by MicroMake
28
+//
29
+// RAMPS 1.3 / 1.4 - ATmega1280, ATmega2560
30
+//
31
+
32
+#define BOARD_RAMPS_OLD         3     // MEGA/RAMPS up to 1.2
33
+#define BOARD_RAMPS_13_EFB      33    // RAMPS 1.3 (Power outputs: Hotend, Fan, Bed)
34
+#define BOARD_RAMPS_13_EEB      34    // RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Bed)
35
+#define BOARD_RAMPS_13_EFF      35    // RAMPS 1.3 (Power outputs: Hotend, Fan0, Fan1)
36
+#define BOARD_RAMPS_13_EEF      36    // RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Fan)
37
+#define BOARD_RAMPS_13_SF       38    // RAMPS 1.3 (Power outputs: Spindle, Controller Fan)
38
+#define BOARD_RAMPS_14_EFB      43    // RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)
39
+#define BOARD_RAMPS_14_EEB      44    // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Bed)
40
+#define BOARD_RAMPS_14_EFF      45    // RAMPS 1.4 (Power outputs: Hotend, Fan0, Fan1)
41
+#define BOARD_RAMPS_14_EEF      46    // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Fan)
42
+#define BOARD_RAMPS_14_SF       48    // RAMPS 1.4 (Power outputs: Spindle, Controller Fan)
43
+
44
+//
45
+// RAMPS Derivatives - ATmega1280, ATmega2560
46
+//
47
+
48
+#define BOARD_3DRAG             77    // 3Drag Controller
49
+#define BOARD_K8200             78    // Velleman K8200 Controller (derived from 3Drag Controller)
50
+#define BOARD_K8400             79    // Velleman K8400 Controller (derived from 3Drag Controller)
51
+#define BOARD_BAM_DICE          401   // 2PrintBeta BAM&DICE with STK drivers
52
+#define BOARD_BAM_DICE_DUE      402   // 2PrintBeta BAM&DICE Due with STK drivers
53
+#define BOARD_MKS_BASE          40    // MKS BASE 1.0
54
+#define BOARD_MKS_13            47    // MKS v1.3 or 1.4 (maybe higher)
55
+#define BOARD_ZRIB_V20          504   // zrib V2.0 control board (Chinese knock off RAMPS replica)
56
+#define BOARD_FELIX2            37    // Felix 2.0+ Electronics Board (RAMPS like)
57
+#define BOARD_RIGIDBOARD        42    // Invent-A-Part RigidBoard
58
+#define BOARD_RIGIDBOARD_V2     52    // Invent-A-Part RigidBoard V2
59
+#define BOARD_SAINSMART_2IN1    49    // Sainsmart 2-in-1 board
60
+#define BOARD_ULTIMAKER         7     // Ultimaker
61
+#define BOARD_ULTIMAKER_OLD     71    // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
62
+#define BOARD_AZTEEG_X3         67    // Azteeg X3
63
+#define BOARD_AZTEEG_X3_PRO     68    // Azteeg X3 Pro
64
+#define BOARD_ULTIMAIN_2        72    // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
65
+#define BOARD_RUMBA             80    // Rumba
66
+#define BOARD_BQ_ZUM_MEGA_3D    503   // bq ZUM Mega 3D
67
+#define BOARD_MAKEBOARD_MINI    431   // MakeBoard Mini v2.1.2 is a control board sold by MicroMake
68
+
69
+//
70
+// Other ATmega1280, ATmega2560
71
+//
72
+
73
+#define BOARD_CNCONTROLS_11     111   // Cartesio CN Controls V11
74
+#define BOARD_CNCONTROLS_12     112   // Cartesio CN Controls V12
75
+#define BOARD_CHEAPTRONIC       2     // Cheaptronic v1.0
76
+#define BOARD_CHEAPTRONIC_V2    21    // Cheaptronic v2.0
77
+#define BOARD_MIGHTYBOARD_REVE  200   // Makerbot Mightyboard Revision E
78
+#define BOARD_MEGATRONICS       70    // Megatronics
79
+#define BOARD_MEGATRONICS_2     701   // Megatronics v2.0
80
+#define BOARD_MEGATRONICS_3     703   // Megatronics v3.0
81
+#define BOARD_MEGATRONICS_31    704   // Megatronics v3.1
82
+#define BOARD_RAMBO             301   // Rambo
83
+#define BOARD_MINIRAMBO         302   // Mini-Rambo
84
+#define BOARD_ELEFU_3           21    // Elefu Ra Board (v3)
85
+#define BOARD_LEAPFROG          999   // Leapfrog
86
+#define BOARD_MEGACONTROLLER    310   // Mega controller
87
+#define BOARD_SCOOVO_X9H        303   // abee Scoovo X9H
88
+#define BOARD_GT2560_REV_A      74    // Geeetech GT2560 Rev. A
89
+#define BOARD_GT2560_REV_A_PLUS 75    // Geeetech GT2560 Rev. A+ (with auto level probe)
90
+
91
+//
92
+// ATmega1281, ATmega2561
93
+//
94
+
95
+#define BOARD_MINITRONICS       702   // Minitronics v1.0/1.1
96
+#define BOARD_SILVER_GATE       25    // Silvergate v1.0
97
+
98
+//
99
+// Sanguinololu and Derivatives - ATmega644P, ATmega1284P
100
+//
101
+
102
+#define BOARD_SANGUINOLOLU_11   6     // Sanguinololu < 1.2
103
+#define BOARD_SANGUINOLOLU_12   62    // Sanguinololu 1.2 and above
104
+#define BOARD_MELZI             63    // Melzi
105
+#define BOARD_MELZI_MAKR3D      66    // Melzi with ATmega1284 (MaKr3d version)
106
+#define BOARD_MELZI_CREALITY    89    // Melzi Creality3D board (for CR-10 etc)
107
+#define BOARD_STB_11            64    // STB V1.1
108
+#define BOARD_AZTEEG_X1         65    // Azteeg X1
109
+
110
+//
111
+// Other ATmega644P, ATmega644, ATmega1284P
112
+//
113
+
114
+#define BOARD_GEN3_MONOLITHIC   22    // Gen3 Monolithic Electronics
115
+#define BOARD_GEN3_PLUS         9     // Gen3+
116
+#define BOARD_GEN6              5     // Gen6
117
+#define BOARD_GEN6_DELUXE       51    // Gen6 deluxe
118
+#define BOARD_GEN7_CUSTOM       10    // Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics"
119
+#define BOARD_GEN7_12           11    // Gen7 v1.1, v1.2
120
+#define BOARD_GEN7_13           12    // Gen7 v1.3
121
+#define BOARD_GEN7_14           13    // Gen7 v1.4
122
+#define BOARD_OMCA_A            90    // Alpha OMCA board
123
+#define BOARD_OMCA              91    // Final OMCA board
124
+#define BOARD_SETHI             20    // Sethi 3D_1
125
+#define BOARD_ANET_10           69    // Anet 1.0 (Melzi clone)
126
+
127
+//
128
+// Teensyduino - AT90USB1286, AT90USB1286P
129
+//
130
+
131
+#define BOARD_TEENSYLU          8     // Teensylu
132
+#define BOARD_PRINTRBOARD       81    // Printrboard (AT90USB1286)
133
+#define BOARD_PRINTRBOARD_REVF  811   // Printrboard Revision F (AT90USB1286)
134
+#define BOARD_BRAINWAVE         82    // Brainwave (AT90USB646)
135
+#define BOARD_BRAINWAVE_PRO     85    // Brainwave Pro (AT90USB1286)
136
+#define BOARD_SAV_MKI           83    // SAV Mk-I (AT90USB1286)
137
+#define BOARD_TEENSY2           84    // Teensy++2.0 (AT90USB1286) - CLI compile: HARDWARE_MOTHERBOARD=84  make
138
+#define BOARD_5DPRINT           88    // 5DPrint D8 Driver Board
106 139
 
107 140
 #define MB(board) (MOTHERBOARD==BOARD_##board)
108 141
 

Loading…
Cancel
Save