![Scott Lahteine](/assets/img/avatar_default.png)
- When initializing fields use the configuration to determine the format - Cache the line for each option for fastest string compare / replace - Add logging levels for debugging
70 lines
2.9 KiB
HTML
70 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Marlin Configurator</title>
|
|
<script src="js/jquery-2.1.3.min.js"></script>
|
|
<script src="js/binarystring.js"></script>
|
|
<script src="js/binaryfileuploader.js"></script>
|
|
<script src="js/jcanvas.js"></script>
|
|
<script src="js/jstepper.js"></script>
|
|
<script src="js/configurator.js"></script>
|
|
<link rel="stylesheet" href="css/configurator.css" type="text/css" media="all" />
|
|
</head>
|
|
<body>
|
|
<section id="main">
|
|
<h1>Marlin Configurator 0.1a</h1>
|
|
<p>Enter values in the form, get a Marlin configuration.<br/>Will include a drop-down of known configurations.</p>
|
|
<ul id="help">
|
|
<li><strong>HELP</strong> - This is the help region</li>
|
|
</ul>
|
|
|
|
<form id="config_form">
|
|
|
|
<label>Drop Files Here:</label><input type="file" id="file-upload" />
|
|
|
|
<label class="newline">Serial Port:</label><select name="SERIAL_PORT"></select><div id="serial_stepper"></div>
|
|
|
|
<label>Baud Rate:</label><select name="BAUDRATE"></select>
|
|
|
|
<label>AT90USB BT IF:</label>
|
|
<input name="BTENABLED" type="checkbox" value="1" checked />
|
|
|
|
<label class="newline">Motherboard:</label><select name="MOTHERBOARD"></select>
|
|
|
|
<label class="newline">Custom Name:</label><input name="CUSTOM_MENDEL_NAME" class="switchable" type="text" size="14" maxlength="12" value="" />
|
|
|
|
<label class="newline">Machine UUID:</label><input name="MACHINE_UUID" class="switchable" type="text" size="38" maxlength="36" value="" />
|
|
|
|
<label class="newline">Extruders:</label><select name="EXTRUDERS"></select>
|
|
|
|
<label class="newline">Power Supply:</label><select name="POWER_SUPPLY"></select>
|
|
|
|
<label>PS Default Off:</label>
|
|
<input name="PS_DEFAULT_OFF" type="checkbox" value="1" checked />
|
|
|
|
<label class="newline">Temp Sensor 0:</label><select name="TEMP_SENSOR_0"></select>
|
|
<label class="newline">Temp Sensor 1:</label><select name="TEMP_SENSOR_1"></select>
|
|
<label class="newline">Temp Sensor 2:</label><select name="TEMP_SENSOR_2"></select>
|
|
<label class="newline">Bed Temp Sensor:</label><select name="TEMP_SENSOR_BED"></select>
|
|
|
|
<label class="newline">Redundant Sensor:</label>
|
|
<input name="TEMP_SENSOR_1_AS_REDUNDANT" type="checkbox" value="1" checked />
|
|
|
|
<label>Max Diff:</label>
|
|
<input name="MAX_REDUNDANT_TEMP_SENSOR_DIFF" type="text" size="3" maxlength="2" />
|
|
|
|
<label class="newline">Temp Residency Time (s):</label>
|
|
<input name="TEMP_RESIDENCY_TIME" type="text" size="3" maxlength="2" />
|
|
|
|
<h2>Marlin/Configuration.h</h2>
|
|
<pre id="config_text" class="prettyprint linenums"></pre>
|
|
<h2>Marlin/Configuration_adv.h</h2>
|
|
<pre id="config_adv_text" class="prettyprint linenums"></pre>
|
|
|
|
<br class="clear" />
|
|
</form>
|
|
<section>
|
|
</body>
|
|
</html>
|