Skip to content

Commit

Permalink
CONFIG_DUMP schema json, yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 4, 2022
1 parent 93706ce commit 13a8e32
Show file tree
Hide file tree
Showing 4 changed files with 572 additions and 39 deletions.
57 changes: 45 additions & 12 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
*/
#define BAUDRATE 250000

//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate

/**
Expand All @@ -120,15 +121,15 @@
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
//#define SERIAL_PORT_2 -1
//#define BAUDRATE_2 250000 // Enable to override BAUDRATE
//#define BAUDRATE_2 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE

/**
* Select a third serial port on the board to use for communication with the host.
* Currently only supported for AVR, DUE, LPC1768/9 and STM32/STM32F1
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
//#define SERIAL_PORT_3 1
//#define BAUDRATE_3 250000 // Enable to override BAUDRATE
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE

// Enable the Bluetooth serial interface on AT90USB devices
//#define BLUETOOTH
Expand Down Expand Up @@ -386,7 +387,7 @@
//#define HOTEND_OFFSET_Y { 0.0, 5.00 } // (mm) relative Y-offset for each nozzle
//#define HOTEND_OFFSET_Z { 0.0, 0.00 } // (mm) relative Z-offset for each nozzle

// @section machine
// @section psu control

/**
* Power Supply Control
Expand Down Expand Up @@ -632,6 +633,8 @@
//============================= PID Settings ================================
//===========================================================================

// @section hotend temp

// Enable PIDTEMP for PID control or MPCTEMP for Predictive Model.
// temperature control. Disable both for bang-bang heating.
#define PIDTEMP // See the PID Tuning Guide at https://reprap.org/wiki/PID_Tuning
Expand Down Expand Up @@ -665,6 +668,7 @@
* Use a physical model of the hotend to control temperature. When configured correctly
* this gives better responsiveness and stability than PID and it also removes the need
* for PID_EXTRUSION_SCALING and PID_FAN_SCALING. Use M306 T to autotune the model.
* @section mpctemp
*/
#if ENABLED(MPCTEMP)
//#define MPC_EDIT_MENU // Add MPC editing to the "Advanced Settings" menu. (~1300 bytes of flash)
Expand Down Expand Up @@ -717,6 +721,7 @@
* impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W
* heater. If your configuration is significantly different than this and you don't understand
* the issues involved, don't use bed PID until someone else verifies that your hardware works.
* @section bed temp
*/
//#define PIDTEMPBED

Expand Down Expand Up @@ -760,6 +765,7 @@
* impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 200W
* heater. If your configuration is significantly different than this and you don't understand
* the issues involved, don't use chamber PID until someone else verifies that your hardware works.
* @section chamber temp
*/
//#define PIDTEMPCHAMBER
//#define CHAMBER_LIMIT_SWITCHING
Expand Down Expand Up @@ -797,7 +803,7 @@
//#define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of flash)
#endif

// @section extruder
// @section safety

/**
* Prevent extrusion if the temperature is below EXTRUDE_MINTEMP.
Expand Down Expand Up @@ -865,6 +871,8 @@
#define POLAR_SEGMENTS_PER_SECOND 5
#endif

// @section delta

// Enable for DELTA kinematics and configure below
//#define DELTA
#if ENABLED(DELTA)
Expand Down Expand Up @@ -924,6 +932,8 @@
//#define DELTA_DIAGONAL_ROD_TRIM_TOWER { 0.0, 0.0, 0.0 }
#endif

// @section scara

/**
* MORGAN_SCARA was developed by QHARLEY in South Africa in 2012-2013.
* Implemented and slightly reworked by JCERNY in June, 2014.
Expand Down Expand Up @@ -967,6 +977,8 @@

#endif

// @section tpara

// Enable for TPARA kinematics and configure below
//#define AXEL_TPARA
#if ENABLED(AXEL_TPARA)
Expand All @@ -993,6 +1005,8 @@
#define PSI_HOMING_OFFSET 0
#endif

// @section machine

// Articulated robot (arm). Joints are directly mapped to axes with no kinematics.
//#define ARTICULATED_ROBOT_ARM

Expand All @@ -1004,7 +1018,7 @@
//============================== Endstop Settings ===========================
//===========================================================================

// @section homing
// @section endstops

// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
Expand Down Expand Up @@ -1668,7 +1682,7 @@
//#define V_HOME_DIR -1
//#define W_HOME_DIR -1

// @section machine
// @section geometry

// The size of the printable area
#define X_BED_SIZE 200
Expand Down Expand Up @@ -2128,7 +2142,7 @@
//============================= Additional Features ===========================
//=============================================================================

// @section extras
// @section eeprom

/**
* EEPROM
Expand All @@ -2148,6 +2162,8 @@
//#define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build.
#endif

// @section host

//
// Host Keepalive
//
Expand All @@ -2158,6 +2174,8 @@
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
#define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating

// @section units

//
// G20/G21 Inch mode support
//
Expand Down Expand Up @@ -2185,6 +2203,8 @@
#define PREHEAT_2_TEMP_CHAMBER 35
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255

// @section motion

/**
* Nozzle Park
*
Expand Down Expand Up @@ -2283,6 +2303,8 @@

#endif

// @section host

/**
* Print Job Timer
*
Expand All @@ -2309,6 +2331,8 @@
*/
#define PRINTJOB_TIMER_AUTOSTART

// @section stats

/**
* Print Counter
*
Expand All @@ -2326,6 +2350,8 @@
#define PRINTCOUNTER_SAVE_INTERVAL 60 // (minutes) EEPROM save interval during print
#endif

// @section security

/**
* Password
*
Expand Down Expand Up @@ -2361,7 +2387,7 @@
//============================= LCD and SD support ============================
//=============================================================================

// @section lcd
// @section interface

/**
* LCD LANGUAGE
Expand Down Expand Up @@ -2517,6 +2543,7 @@
//======================== LCD / Controller Selection =========================
//======================== (Character-based LCDs) =========================
//=============================================================================
// @section lcd

//
// RepRapDiscount Smart Controller.
Expand Down Expand Up @@ -3151,7 +3178,7 @@
//=============================== Extra Features ==============================
//=============================================================================

// @section extras
// @section fans

// Set number of user-controlled fans. Disable to use all board-defined fans.
// :[1,2,3,4,5,6,7,8]
Expand All @@ -3175,14 +3202,18 @@
// duty cycle is attained.
//#define SOFT_PWM_DITHER

// @section extras

// Support for the BariCUDA Paste Extruder
//#define BARICUDA

// @section lights

// Temperature status LEDs that display the hotend and bed temperature.
// If all hotends, bed temperature, and target temperature are under 54C
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS

// Support for the BariCUDA Paste Extruder
//#define BARICUDA

// Support for BlinkM/CyzRgb
//#define BLINKM

Expand Down Expand Up @@ -3268,6 +3299,8 @@
#define PRINTER_EVENT_LEDS
#endif

// @section servos

/**
* Number of servos
*
Expand Down
Loading

0 comments on commit 13a8e32

Please sign in to comment.