mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-24 07:04:02 -06:00
✅ Add build variant hints
This commit is contained in:
parent
a2ae0dd72e
commit
3a47c01a4c
12 changed files with 133 additions and 26 deletions
14
config/examples/Elegoo/Neptune 2/variants.json
Normal file
14
config/examples/Elegoo/Neptune 2/variants.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"permute": {
|
||||
"IS_BOARD_1_3": { "0":"Board <= 1.2", "1":"Board 1.3" },
|
||||
"IS_2D": { "0":"Single Extruder", "1":"Neptune 2D" },
|
||||
"IS_BMG": { "0":"Standard Extruder", "1":"BMG Extruder" },
|
||||
"USB_MOD": { "0":"No USB Mods", "1":"Native USB Mods" },
|
||||
},
|
||||
"default": {
|
||||
"IS_BOARD_1_3": 0,
|
||||
"IS_2D": 0,
|
||||
"IS_BMG": 0,
|
||||
"USB_MOD": 0
|
||||
}
|
||||
}
|
19
config/examples/Simulator/variants.json
Normal file
19
config/examples/Simulator/variants.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"groups": [{
|
||||
"type": "exclusive",
|
||||
"options": [
|
||||
"REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER",
|
||||
"REPRAP_DISCOUNT_SMART_CONTROLLER",
|
||||
"TFT_CLASSIC_UI",
|
||||
"TFT_COLOR_UI",
|
||||
"TFT_LVGL_UI",
|
||||
],
|
||||
}],
|
||||
"default": {
|
||||
"REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER": 1,
|
||||
"REPRAP_DISCOUNT_SMART_CONTROLLER": 0,
|
||||
"TFT_CLASSIC_UI": 0,
|
||||
"TFT_COLOR_UI": 0,
|
||||
"TFT_LVGL_UI": 0
|
||||
}
|
||||
}
|
15
config/examples/TinyBoy2/variants.json
Normal file
15
config/examples/TinyBoy2/variants.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"groups": [{
|
||||
"type": "exclusive",
|
||||
"required": 1,
|
||||
"options": [ "TB2_L10", "TB2_L16" ],
|
||||
}],
|
||||
"permute": {
|
||||
"TB2_HEATBED_MOD": { "0":"Standard Bed", "1":"TB2 Heatbed Mod" }
|
||||
},
|
||||
"default": {
|
||||
"TB2_L10": 1,
|
||||
"TB2_L16": 0,
|
||||
"TB2_HEATBED_MOD": 1
|
||||
}
|
||||
}
|
|
@ -56,12 +56,10 @@
|
|||
// Full Graphic Controller
|
||||
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
||||
// or https://www.open-electronics.org/full-graphic-smart-controller-display-for-3drag-3dprinter/
|
||||
#define FULLGRAPHIC_CONTROLLER_LCD_SD
|
||||
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
|
||||
// K8204 Z axis upgrade rod and coupler
|
||||
#define K8200_K8204
|
||||
// K8203 direct drive extruder -> TODO
|
||||
//#define K8200_K8203
|
||||
|
||||
//===========================================================================
|
||||
//============================= Getting Started =============================
|
||||
|
@ -2726,7 +2724,7 @@
|
|||
// @section interface
|
||||
|
||||
// K8200: for Display VM8201 with SD slot
|
||||
#if ANY(K8200_VM8201, FULLGRAPHIC_CONTROLLER_LCD_SD)
|
||||
#if ANY(K8200_VM8201, REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||
|
||||
/**
|
||||
* LCD LANGUAGE
|
||||
|
@ -2787,13 +2785,13 @@
|
|||
// produce one step. Should be increased for high-resolution encoders.
|
||||
//
|
||||
#define ENCODER_PULSES_PER_STEP 4 // K8200_VM8201: four steps per encoder step
|
||||
// FULLGRAPHIC_CONTROLLER_LCD_SD: four steps per menu item
|
||||
|
||||
//
|
||||
// Use this option to override the number of step signals required to
|
||||
// move between next/prev menu items.
|
||||
//
|
||||
#define ENCODER_STEPS_PER_MENU_ITEM 1 // K8200_VM8201: One step per menu item
|
||||
// FULLGRAPHIC_CONTROLLER_LCD_SD: One step per menu item
|
||||
|
||||
|
||||
/**
|
||||
* Encoder Direction Options
|
||||
|
@ -2810,9 +2808,10 @@
|
|||
//
|
||||
// Set this option if CLOCKWISE causes values to DECREASE
|
||||
//
|
||||
#if ENABLED(FULLGRAPHIC_CONTROLLER_LCD_SD)
|
||||
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||
#define REVERSE_ENCODER_DIRECTION
|
||||
#endif
|
||||
|
||||
//
|
||||
// This option reverses the encoder direction for navigating LCD menus.
|
||||
//
|
||||
|
@ -2822,6 +2821,7 @@
|
|||
#if ENABLED(K8200_VM8201)
|
||||
#define REVERSE_MENU_DIRECTION // K8200: for Display VM8201 encoder on right side
|
||||
#endif
|
||||
|
||||
//
|
||||
// This option reverses the encoder direction for Select Screen.
|
||||
//
|
||||
|
@ -2848,6 +2848,8 @@
|
|||
#define INDIVIDUAL_AXIS_HOMING_MENU
|
||||
//#define INDIVIDUAL_AXIS_HOMING_SUBMENU
|
||||
|
||||
#endif // K8200_VM8201, REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
|
||||
//
|
||||
// SPEAKER/BUZZER
|
||||
//
|
||||
|
@ -3049,11 +3051,8 @@
|
|||
// RepRapDiscount FULL GRAPHIC Smart Controller
|
||||
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
||||
//
|
||||
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
|
||||
|
||||
#if ENABLED(FULLGRAPHIC_CONTROLLER_LCD_SD)
|
||||
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
#endif
|
||||
//
|
||||
// K.3D Full Graphic Smart Controller
|
||||
//
|
||||
|
@ -3193,8 +3192,6 @@
|
|||
//
|
||||
//#define SILVER_GATE_GLCD_CONTROLLER
|
||||
|
||||
#endif // K8200_VM8201, FULLGRAPHIC_CONTROLLER_LCD_SD
|
||||
|
||||
//
|
||||
// eMotion Tech LCD with SD
|
||||
// https://www.reprap-france.com/produit/1234568748-ecran-graphique-128-x-64-points-2-1
|
||||
|
|
15
config/examples/Velleman/K8200 Upgraded/variants.json
Normal file
15
config/examples/Velleman/K8200 Upgraded/variants.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"groups": [{
|
||||
"type": "exclusive",
|
||||
"required": 1,
|
||||
"options": [ "K8200_VM8201", "REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER" ],
|
||||
}],
|
||||
//"permute": {
|
||||
// "K8200_VM8204": { "0":"Standard Z Axis", "1":"K8204 Z Axis Upgrade" }
|
||||
//},
|
||||
"default": {
|
||||
"K8200_VM8204": 1,
|
||||
"K8200_VM8201": 0,
|
||||
"REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER": 1
|
||||
}
|
||||
}
|
|
@ -56,9 +56,6 @@
|
|||
// K8204 Z axis upgrade rod and coupler -> TODO
|
||||
//#define K8200_K8204
|
||||
|
||||
// K8203 direct drive extruder -> TODO
|
||||
//#define K8200_K8203
|
||||
|
||||
//
|
||||
// Full Graphic Controller
|
||||
// e.g., https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
||||
|
@ -2852,6 +2849,8 @@
|
|||
#define INDIVIDUAL_AXIS_HOMING_MENU
|
||||
//#define INDIVIDUAL_AXIS_HOMING_SUBMENU
|
||||
|
||||
#endif // K8200_VM8201 || REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
|
||||
//
|
||||
// SPEAKER/BUZZER
|
||||
//
|
||||
|
@ -3195,8 +3194,6 @@
|
|||
//
|
||||
//#define SILVER_GATE_GLCD_CONTROLLER
|
||||
|
||||
#endif // K8200_VM8201 || REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
|
||||
//
|
||||
// eMotion Tech LCD with SD
|
||||
// https://www.reprap-france.com/produit/1234568748-ecran-graphique-128-x-64-points-2-1
|
||||
|
|
15
config/examples/Velleman/K8200/variants.json
Normal file
15
config/examples/Velleman/K8200/variants.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"groups": [{
|
||||
"type": "exclusive",
|
||||
"required": 1,
|
||||
"options": [ "K8200_VM8201", "REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER" ],
|
||||
}],
|
||||
//"permute": {
|
||||
// "K8200_VM8204": { "0":"Standard Z Axis", "1":"K8204 Z Axis Upgrade" }
|
||||
//},
|
||||
"default": {
|
||||
"K8200_VM8204": 0,
|
||||
"K8200_VM8201": 0,
|
||||
"REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER": 1
|
||||
}
|
||||
}
|
|
@ -26,16 +26,17 @@
|
|||
/**
|
||||
* Choose your version:
|
||||
*/
|
||||
// normal size or plus?
|
||||
|
||||
// Normal or Plus size?
|
||||
#define ANYCUBIC_KOSSEL_PLUS
|
||||
|
||||
// Anycubic Probe version 1 or 2 see README.md; 0 for no probe
|
||||
#define ANYCUBIC_PROBE_VERSION 2
|
||||
|
||||
// Heated Bed:
|
||||
// 0 ... no heated bed
|
||||
// 1 ... aluminium heated bed with "BuildTak-like" sticker
|
||||
// 2 ... ultrabase heated bed
|
||||
// 0 ... No heated bed
|
||||
// 1 ... Aluminium heated bed with "BuildTak-like" sticker
|
||||
// 2 ... Ultrabase heated bed
|
||||
#define ANYCUBIC_KOSSEL_ENABLE_BED 2
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"ANYCUBIC_KOSSEL_PLUS": { "0":"Kossel", "1":"Kossel Plus" },
|
||||
"ANYCUBIC_PROBE_VERSION": { "0":"No Probe", "1":"Anycubic Probe V1", "2":"Anycubic Probe V2" },
|
||||
"ANYCUBIC_KOSSEL_ENABLE_BED": { "0":"No Bed", "1":"Aluminum Bed", "2":"Ultrabase Bed" },
|
||||
"default": {
|
||||
"ANYCUBIC_KOSSEL_PLUS": 1,
|
||||
"ANYCUBIC_PROBE_VERSION": 2,
|
||||
"ANYCUBIC_KOSSEL_ENABLE_BED": 2
|
||||
}
|
||||
}
|
|
@ -26,16 +26,17 @@
|
|||
/**
|
||||
* Choose your version:
|
||||
*/
|
||||
// normal size or plus?
|
||||
|
||||
// Normal or Plus size?
|
||||
//#define ANYCUBIC_KOSSEL_PLUS
|
||||
|
||||
// Anycubic Probe version 1 or 2 see README.md; 0 for no probe
|
||||
#define ANYCUBIC_PROBE_VERSION 0
|
||||
|
||||
// Heated Bed:
|
||||
// 0 ... no heated bed
|
||||
// 1 ... aluminium heated bed with "BuildTak-like" sticker
|
||||
// 2 ... ultrabase heated bed
|
||||
// 0 ... No heated bed
|
||||
// 1 ... Aluminium heated bed with "BuildTak-like" sticker
|
||||
// 2 ... Ultrabase heated bed
|
||||
#define ANYCUBIC_KOSSEL_ENABLE_BED 0
|
||||
|
||||
/**
|
||||
|
|
12
config/examples/delta/Anycubic/Kossel/variants.json
Normal file
12
config/examples/delta/Anycubic/Kossel/variants.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"permute": {
|
||||
"ANYCUBIC_KOSSEL_PLUS": { "0":"Kossel", "1":"Kossel Plus" },
|
||||
"ANYCUBIC_PROBE_VERSION": { "0":"No Probe", "1":"Anycubic Probe V1", "2":"Anycubic Probe V2" },
|
||||
"ANYCUBIC_KOSSEL_ENABLE_BED": { "0":"No Bed", "1":"Aluminum Bed", "2":"Ultrabase Bed" }
|
||||
},
|
||||
"default": {
|
||||
"ANYCUBIC_KOSSEL_PLUS": 0,
|
||||
"ANYCUBIC_PROBE_VERSION": 0,
|
||||
"ANYCUBIC_KOSSEL_ENABLE_BED": 0
|
||||
}
|
||||
}
|
11
config/examples/delta/Velleman/K8800/variants.json
Normal file
11
config/examples/delta/Velleman/K8800/variants.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"groups": [{
|
||||
"type": "exclusive",
|
||||
"required": 1,
|
||||
"options": [ "K8800_UBL", "K8800_BILINEAR" ],
|
||||
}],
|
||||
"default": {
|
||||
"K8800_UBL": 1,
|
||||
"K8800_BILINEAR": 0
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue