Skip to content

Fix boot, GPIO, tool-import, and OM budget regressions on v0.7.0-beta.1.#17

Open
kadders wants to merge 3 commits into
v0.7.0from
v0.7.0-beta.1-bugs
Open

Fix boot, GPIO, tool-import, and OM budget regressions on v0.7.0-beta.1.#17
kadders wants to merge 3 commits into
v0.7.0from
v0.7.0-beta.1-bugs

Conversation

@kadders

@kadders kadders commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Fix boot, GPIO, tool-import, and OM budget regressions on v0.7.0-beta.1.

  • Fix OM global overflow (~8 KiB) that discarded DSF responses and caused DWC timeouts after boot and tool load
  • Fix Scylla GPIO crash when nxtBoardFanPins was a string or "none"
  • Fix silent board-pack skip on first M999 (bootstrap auto / non-empty sentinel)
  • Fix spindle and fan-pin declare-or-set aborts mid nxt-vars / user-vars
  • Fix Tool Library import disconnect from burst M4000 HTTP (scratch upload + one M98)
  • Fix Fusion import dropping high pockets by reserving only the probe slot
  • Replace nxtToolCache vector with nxtToolCacheIdx / nxtToolCacheZ
  • Defer nxtPinStates and nxtToolLife vectors until first use
  • Gate Custom A-axis globals behind nxt-custom-a.requested
  • Declare board-pack telemetry globals on use instead of always-on nulls
  • Strengthen OM budget checker (size estimate + known cliff bans)
  • Harden Scylla GPIO role defaults and fan-mode pin create (CSV membership, clearer locals)

- Fix OM global overflow (~8 KiB) that discarded DSF responses and caused DWC timeouts after boot and tool load
- Fix Scylla GPIO crash when nxtBoardFanPins was a string or "none"
- Fix silent board-pack skip on first M999 (bootstrap auto / non-empty sentinel)
- Fix spindle and fan-pin declare-or-set aborts mid nxt-vars / user-vars
- Fix Tool Library import disconnect from burst M4000 HTTP (scratch upload + one M98)
- Fix Fusion import dropping high pockets by reserving only the probe slot
- Replace nxtToolCache vector with nxtToolCacheIdx / nxtToolCacheZ
- Defer nxtPinStates and nxtToolLife vectors until first use
- Gate Custom A-axis globals behind nxt-custom-a.requested
- Declare board-pack telemetry globals on use instead of always-on nulls
- Strengthen OM budget checker (size estimate + known cliff bans)
- Harden Scylla GPIO role defaults and fan-mode pin create (CSV membership, clearer locals)

Co-authored-by: Cursor <cursoragent@cursor.com>
@kadders kadders added bug Something isn't working enhancement New feature or request labels Jul 14, 2026
@kadders kadders self-assigned this Jul 14, 2026
kadders and others added 2 commits July 17, 2026 23:02
Replace the unused LED strip index control with a 1–256 count field
persisted in nxt-user-vars.g, stop writing count from nxt-save-rgb.g,
and re-apply user-vars after colour load so boot M950 keeps the
configured length.

Co-authored-by: Cursor <cursoragent@cursor.com>
Load MosAtc from nxt.g only when the feature flag and SD init macros
are present (skip plugin-init dispatch for OM budget), expose the ATC
toggle in Configuration, remap Scylla named outputs to aux0–2 →
coolant → mist → relay with fan default aux0, and harden Custom
homing travel/Z-clearance expressions for RRF.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread macros/probing/G6512.g
if { exists(param.I) && exists(global.nxtTouchProbeID) && global.nxtTouchProbeID != null }
if { param.I == global.nxtTouchProbeID }
set var.applyTouchDefl = true
if { var.applyTouchDefl && exists(global.nxtProbeDeflection) && global.nxtProbeDeflection != null }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check the use of these indexes, if we are referencing Z it should be index [2]

Comment thread docs/CONFIGURATION_UI.md Outdated
| Air Blast | Any free named gpOut | Aux 2 |
| Mist Coolant | Prefer Mist pin | Mist (`A.7`) |
| Flood / Coolant | Prefer Coolant pin | Coolant (`C.4`) |
Configure GPIO outputs from **named board pins** (Mist, Coolant, Relay, Aux, …). On Scylla, the board pack creates ports and fills null role IDs in order **mist → coolant → aux0 → aux1 → aux2 → relay**.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pin mapping is up for discussion in terms of order (mainly due to legacy config pin map)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to drop this file going forward if no longer needed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will eventually need to be updated for a startup fan needing to be set in the future

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flagging this file for removal if not needed going forward

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New file for defining GPIO things, let's make sure this is not duplicated with with the other gpio.g

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New config file for the uart settings if configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant