Skip to content

Commit 27c74bd

Browse files
committed
updates
1 parent ff9ea17 commit 27c74bd

File tree

8 files changed

+58
-18
lines changed

8 files changed

+58
-18
lines changed

app/console.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var EventEmitter = require('events');
22
var sio = require('socket.io');
33
var fs = require('fs');
44
var path = require('path');
5-
var SerialPort = require('serialport-v5');
5+
var SerialPort = require('serialport');
66
var linuxList = require('./linux-list');
77
var promisify = require('./helpers').promisify;
88

@@ -15,7 +15,7 @@ var open=(http,p,speed)=>new Promise((done,fail)=>{
1515
root=p; //root='\\\\.\\'+p;
1616
var port = new SerialPort(root, {
1717
autoOpen: false,
18-
parser0: SerialPort.parsers.readline('\n'),
18+
// parser0: SerialPort.parsers.readline('\n'),
1919
baudRate: speed,
2020
// rtscts: true,
2121
});

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "marlin-conf",
3-
"version": "2.7.10",
3+
"version": "2.7.11",
44
"description": "configuration tool for Marlin project",
55
"main": "./index.js",
66
"scripts": {
77
"start": "electron . -G ~/TEST",
88
"build": "build --dir",
99
"build-dev": "build -m --x64",
10-
"dist": "node builder.js",
10+
"dist": "GH_TOKEN=`./node_modules/.bin/json -f ~/.github.json -c 'console.log(this.OAuth)'` build -mwl --x64 --ia32 -p always",
1111
"test": "echo \"Error: no test specified\" && exit 1",
1212
"lint": "eslint .",
1313
"rebuild": "npm rebuild serialport-v4 --update-binary",
@@ -17,7 +17,11 @@
1717
},
1818
"build": {
1919
"appId": "com.akajes.marlin.conf",
20+
"publish": {
21+
"provider": "github"
22+
},
2023
"linux": {
24+
"category": "Development",
2125
"target": [
2226
"deb",
2327
"AppImage"
@@ -73,7 +77,7 @@
7377
"opn": "^5.0.0",
7478
"qr-image": "^3.2.0",
7579
"rtcmulticonnection-v3": "^3.4.4",
76-
"serialport-v5": "*",
80+
"serialport": "6.0.0-beta1",
7781
"simple-git": "^1.72.0",
7882
"socket.io": "^2.0.1",
7983
"swig-templates": "^2.0.2",
@@ -84,7 +88,7 @@
8488
},
8589
"devDependencies": {
8690
"devtron": "^1.4.0",
87-
"electron": "^1.6.10",
91+
"electron": "*",
8892
"electron-builder": "*",
8993
"eslint": "^4.3.0",
9094
"json": "^9.0.6",

views/configuration.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -921,15 +921,21 @@ Set to `true` to enable the option to constrain movement to the physical boundar
921921
922922
### Movement Bounds
923923
924+
```cpp
925+
#define X_BED_SIZE 200
926+
#define Y_BED_SIZE 200
927+
```
928+
With Marlin 1.1.5 and up you can directly specify the bed size. This allows Marlin to do extra logic related to the bed size when it differs from the movement limits below. If the XY carriage is able to move outside of the bed, you can specify a wider range below.
929+
924930
```cpp
925931
#define X_MIN_POS 0
926932
#define Y_MIN_POS 0
927933
#define Z_MIN_POS 0
928-
#define X_MAX_POS 200
929-
#define Y_MAX_POS 200
934+
#define X_MAX_POS X_BED_SIZE
935+
#define Y_MAX_POS Y_BED_SIZE
930936
#define Z_MAX_POS 170
931937
```
932-
These values specify the physical limits of the machine. Usually the `[XYZ]_MIN_POS` values are set to 0, because endstops are positioned at the bed limits. `[XYZ]_MAX_POS` should be set to the farthest reachable point. By default, these positions are used for homing as well. However, the `MANUAL_[XYZ]_HOME_POS` options can be used to override these, if needed.
938+
These values specify the physical limits of the machine. Usually the `[XYZ]_MIN_POS` values are set to 0, because endstops are positioned at the bed limits. `[XYZ]_MAX_POS` should be set to the farthest reachable point. By default, these are used as your homing positions as well. However, the `MANUAL_[XYZ]_HOME_POS` options can be used to override these, if needed.
933939
934940
{% panel info Home Offset %}
935941
Although home positions are fixed, `M206` can be used to apply offsets to the home position if needed.
@@ -1177,21 +1183,29 @@ The EEPROM-related commands are:
11771183
- `M502`: Reset all settings to their default values (as set by `Configuration.h`)
11781184
- `M503`: Print the current settings (in RAM, not EEPROM)
11791185

1186+
#### EEPROM Options
1187+
```cpp
1188+
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
1189+
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
1190+
```
1191+
These EEPROM options should be left as they are, but for 128K and smaller boards they may be used to recover some program memory. Vendors are strongly discouraged from using `DISABLE_M503`.
1192+
11801193
{% alert info %}
11811194
Settings that can be changed and saved to EEPROM are marked with <em class="fa fa-sticky-note-o" aria-hidden="true"></em>. Options marked with <em class="fa fa-desktop" aria-hidden="true"></em> can be changed from the LCD controller.
11821195
{% endalert %}
11831196
11841197
{% alert info %}
1185-
Certain EEPROM behaviors may be confusing. For example, when you edit the configurations and re-flash the firmware, you may discover that your new settings don't have any effect! What's going on? They are still overridden by the settings last saved to EEPROM! Use `M502` to restore settings to defaults, then `M500` to save them. Note that `M503` shows current settings in volatile memory even without `EEPROM_SETTINGS`.
1198+
When you change saveable settings in the configuration files and re-flash, the new values don't take effect right away. They are still overridden by the saved values in EEPROM. To get your new default settings into the EEPROM, use `M502` followed by `M500`.
11861199
{% endalert %}
11871200
11881201
### Host Keepalive
11891202
11901203
```cpp
1191-
#define HOST_KEEPALIVE_FEATURE
1192-
#define DEFAULT_KEEPALIVE_INTERVAL 2
1204+
#define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
1205+
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
1206+
#define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating
11931207
```
1194-
When Host Keepalive is enabled Marlin will send a busy status message to the host every couple of seconds when it can't accept commands. Disable if your host doesn't like keepalive messages. Use `DEFAULT_KEEPALIVE_INTERVAL` for the default number of seconds between "busy" messages. Override with [`M113`](/docs/gcode/M113.html).
1208+
When Host Keepalive is enabled Marlin will send a busy status message to the host every couple of seconds when it can't accept commands. Disable if your host doesn't like keepalive messages. Use `DEFAULT_KEEPALIVE_INTERVAL` for the default number of seconds between "busy" messages. Override with [`M113`](/docs/gcode/M113.html). Marlin 1.1.5 and up include the `BUSY_WHILE_HEATING` option for hosts that treat host keepalive as a strict busy protocol.
11951209

11961210
### Free Memory Watcher
11971211
```cpp

views/gcode/G010.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,23 @@ group: planner
1212
codes:
1313
- G10
1414

15-
long: Retract the filament according to settings of [`M207`](/docs/gcode/M207.html).
15+
long:
16+
- Retract the filament according to settings of [`M207`](/docs/gcode/M207.html).
17+
- Firmware retraction allows you to tune retraction at the machine level and can significantly reduce the size of G-code files.
1618

17-
notes: Requires `FWRETRACT`.
19+
notes:
20+
- Requires `FWRETRACT`.
21+
- See related codes [`G11`](/docs/gcode/G011.html), [`M207`](/docs/gcode/M207.html), [`M208`](/docs/gcode/M208.html), and [`M209`](/docs/gcode/M209.html).
22+
23+
parameters:
24+
-
25+
tag: S
26+
optional: true
27+
description: Use `G10 S1` to do a swap retraction, before changing extruders. The subsequent `G11` (after tool change) will do a swap recover. (Requires `EXTRUDERS` > 1)
28+
values:
29+
-
30+
tag: flag
31+
type: bool
1832

1933
example:
2034
-

views/gcode/G011.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ codes:
1414

1515
long: Unretract (i.e., recover, prime) the filament according to settings of [`M208`](/docs/gcode/M208.html).
1616

17-
notes: Requires `FWRETRACT`.
17+
notes:
18+
- Requires `FWRETRACT`.
19+
- See related codes [`G10`](/docs/gcode/G010.html), [`M207`](/docs/gcode/M207.html), [`M208`](/docs/gcode/M208.html), and [`M209`](/docs/gcode/M209.html).
1820

1921
example:
2022
-

views/gcode/M207.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ codes:
1313

1414
long: Set lengths, feedrate, and Z lift for firmware-based retraction. See parameters below.
1515

16-
notes: Requires `FWRETRACT`.
16+
notes:
17+
- Requires `FWRETRACT`.
18+
- See related codes [`G10`](/docs/gcode/G010.html), [`G11`](/docs/gcode/G010.html), [`M208`](/docs/gcode/M208.html), and [`M209`](/docs/gcode/M209.html).
1719

1820
parameters:
1921
-

views/gcode/M208.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ codes:
1313

1414
long: Set lengths and feedrate for firmware-based retract recovery. The new values will apply to all subsequent G11
1515

16-
notes: Requires `FWRETRACT`.
16+
notes:
17+
- Requires `FWRETRACT`.
18+
- See related codes [`G10`](/docs/gcode/G010.html), [`G11`](/docs/gcode/G010.html), [`M207`](/docs/gcode/M207.html), and [`M209`](/docs/gcode/M209.html).
1719

1820
parameters:
1921
-

views/gcode/M209.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ long:
1616
- When auto-retract is enabled, all reversed E-only moves are treated as retraction. (Recover moves are also automatically overridden.) When disabled, E retraction derives from G-code.
1717

1818
notes:
19+
- Requires `FWRETRACT`.
1920
- Most slicers today can generate `G10`/`G11`. But this option is useful for older G-code.
2021
- Though not currently very popular, both volumetric extrusion and firmware-based retraction (and/or `M209`) make G-code more immune to changes from one machine to another, and permit changing the hardware without needing to re-slice.
22+
- See related codes [`G10`](/docs/gcode/G010.html), [`G11`](/docs/gcode/G010.html), [`M207`](/docs/gcode/M207.html), and [`M208`](/docs/gcode/M208.html).
2123

2224
parameters:
2325
-

0 commit comments

Comments
 (0)