Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devt #1013

Merged
merged 24 commits into from
Sep 4, 2023
Merged

Devt #1013

merged 24 commits into from
Sep 4, 2023

Conversation

bdring
Copy link
Owner

@bdring bdring commented Sep 4, 2023

  • New setting $STA/SSDP/Enable This allows you to disable SSDP and mDNS to save memory.
  • Fixed display of hex numbers in messages.
  • Fixed reporting display of Haunyang registers
  • Updated RS485 spindle examples to use uart_num:
  • Fixed problems with reset during arcs and kinematic segments.
  • Fixed crashes with macro buttons

vector76 and others added 24 commits August 14, 2023 23:55
Uniform (and not redundant) treatment of "0x" with to_hex()
Raising priority of i2s task prevents main task time-slicing in
Breaks the cycle where reporting low memory can trigger more reporting
Fixes possible deadlock when pollLine grabs mutex and autoreport blocks
There were two problems.  The first was that, after the reset, the
arc calculation code was still trying to send more segments.

The second was that the file input channel was closed, but the
line processing code was trying to send an ack to it.
SSDP can momentarily use a considerable amount (11k at least) of heap
If an arc is in progress when a feedhold followed by
a ctrl-x reset comes in, the next move after the reset
is wrong.  For example:

G0 X0 Y0
G3 X0 Y0 I-100 J0 F500
!
CTRL-X
$J=G91 Z0.1 F100

Instead of the jog going only in the Z direction, there
will be motion in X and Y too.  The problem is caused
by incorrect synchronization of the GCode position after
the aborted arc.  The code incorrectly sets the GCode position
to the target of the arc, as if the arc had completed,
instead of setting it to the actual position that existed
at the time of the hold+reset.  (It is possible that the
same problem might occur without the feedhold, only the
reset.  In any case, this patch works in both scenarios.)
Fix crash when running numbered macros
Add an option to enable/disable SSDP and mDNS to save memory
@bdring bdring merged commit 7c65125 into main Sep 4, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants