1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 02:21:46 +02:00
Commit Graph

1021 Commits

Author SHA1 Message Date
Mitch Bradley
4f09112ad4 Assert improvements 2021-06-28 21:45:49 -10:00
Mitch Bradley
cf13e6f9f8 Attempt to stabilize startup in the face of config errors 2021-06-28 20:36:43 -10:00
bdring
14e59a4392 Added new config for testing 2021-06-28 17:57:30 -05:00
Mitch Bradley
1be772c1ba Handle macros in protocol real time handler 2021-06-28 10:48:32 -10:00
Mitch Bradley
f7bdd404bd Added Macros.h 2021-06-28 09:26:43 -10:00
Mitch Bradley
32c879264a No more LATERs 2021-06-27 15:26:12 -10:00
Mitch Bradley
2c27b3755f Removed a LATER in 10vSpindle 2021-06-27 12:59:53 -10:00
Mitch Bradley
ebd021ceac Fixed some virtual / override problems
In some cases, virtual and override were used simultaneously
In other cases, destructors were virtual in non-base classes.
2021-06-27 12:55:59 -10:00
Mitch Bradley
e2599de958 Fixed motor_disable, removing a LATER
In the process, cleaned up the axis index to name mapping
so it happens in one place, in Axes.
2021-06-27 12:27:29 -10:00
Mitch Bradley
e60e5fae4c Macros and Startup Lines to YAML
Also cleaned out some commentary references to dead defines
2021-06-27 10:15:15 -10:00
Mitch Bradley
ea8aa1c921 Applied UART configurable to TrinamicUart 2021-06-26 12:09:34 -10:00
Mitch Bradley
2f06f1a2af Applied UART configurable to Dynamixel 2021-06-26 11:58:28 -10:00
Mitch Bradley
2c638b9b1c Clarified VFD UART config message 2021-06-26 11:04:26 -10:00
Stefan de Bruijn
555411a9c8 Merge branch 'YamlSettings' of https://github.com/bdring/Grbl_Esp32 into YamlSettings 2021-06-26 22:47:00 +02:00
Stefan de Bruijn
4e93cd292c Implemented UART configurable. Removed some obsolete code. Added UART configurable in VFD. 2021-06-26 22:46:56 +02:00
Mitch Bradley
c45bc1950f Deleted useless test in Axes
It always returns true and is confusing.
2021-06-26 09:44:26 -10:00
Mitch Bradley
07f405d82b Duplicate line in axes. 2021-06-26 08:33:57 -10:00
Mitch Bradley
47f0b89f4d Fixed homing rate bug 2021-06-26 08:26:53 -10:00
Mitch Bradley
75b2255dce Fixed $cd for axes
A typo in 1e7b468fb broke it
2021-06-26 07:43:40 -10:00
Mitch Bradley
7f44d21c01 Eliminated spurious I2SO WS message 2021-06-25 19:03:12 -10:00
Mitch Bradley
c0a9819435 Eliminate unused argument to system_execute_startup. 2021-06-25 10:03:14 -10:00
Mitch Bradley
9f46d3adb4 Enter config alarm state if homing failed due to bad config 2021-06-25 10:02:29 -10:00
Mitch Bradley
3c1ac49a17 Added new limits_enable to avoid full re-init of limits after homing
thus suppressing unnessary messages.
2021-06-25 10:01:15 -10:00
Mitch Bradley
ec89155860 Deleted dead commentary in Config.h 2021-06-25 10:00:06 -10:00
Mitch Bradley
1e7b468fb9 Axes skipped the validate phase 2021-06-25 09:59:16 -10:00
Mitch Bradley
5409c71402 Moved protocol_main_loop() inside of try .. catch
and added a lot of commentary about the implications.
2021-06-25 09:04:08 -10:00
Mitch Bradley
5bd32c2690 Changed debug message for stepper ISR.
Not used when compiled normally.
2021-06-25 09:01:18 -10:00
Mitch Bradley
b540a8eec8 Fixed stepper ISR 2021-06-25 06:04:47 -10:00
bdring
54db6f2abc WIP PWM
Updated yaml
changed _zero_speed_with_disable default to be same as POAG (Plain Ole Arduino Grbl)
2021-06-24 20:51:41 -05:00
Mitch Bradley
60d5c294c0 Missing files for last commit 2021-06-24 10:48:50 -10:00
Mitch Bradley
dedd84702a LEDC honors :low on output pin 2021-06-24 10:44:21 -10:00
Stefan de Bruijn
f19c790e48 Fixed two minor bugs in homing 2021-06-24 21:22:59 +02:00
Mitch Bradley
bb53280341 Swag at handling PWM invert in hardware
TODO:
1. if it works, do the same for other users of LEDC
2. Remove invert_pwm
2021-06-24 08:14:16 -10:00
Mitch Bradley
76493e0cf8 Accept NO_PIN (case independent) as a pin name.
Also, the pin parser no longer requires a . , so you can
have pin names without a numeric suffix, and it no longer
limits the numeric suffix to 254.
2021-06-24 07:09:31 -10:00
Mitch Bradley
97b2fae2f6 Add $bye as alternative to $system/control=restart
Just because
2021-06-23 19:43:48 -10:00
Mitch Bradley
a6dfd9257c Create default speed map for Laser and Null spindles 2021-06-23 19:42:39 -10:00
Mitch Bradley
c32e8a5e3c Report limit pin before setting it up
so that, if the setup fails, you have a clue about
which one.
2021-06-23 14:16:04 -10:00
Mitch Bradley
7fd1391712 Only start the limits task if there are limit switches
Also added an "Initializing endstops..." message.
2021-06-23 14:00:36 -10:00
Mitch Bradley
93fefa43b0 Changed the top-level catches so they do not hang the system
Instead, alarm state is entered any the main loop is run,
giving you at least some chance of looking around.
2021-06-23 13:58:53 -10:00
Mitch Bradley
c44b309571 sys_pl_data_inflight -> mc_pl_data_inflight
It seemed pretty strange to have a variable that is only
used in MotionControl.cpp with a name like sys_ .  Now it
is private to MotionControl.cpp
2021-06-23 13:56:26 -10:00
Mitch Bradley
f46015247e Fixed stepping hang problem
The timer reload code was missing a clear of the timer register.
Also switched to autoreload; either change fixes the problem.
2021-06-23 12:29:13 -10:00
Mitch Bradley
07499e254b Fixed $system/control=reset problem
It was fairly insidious - the client read loop alway thought that
serial data is available, due to a problem with uint8_t vs int.
With uint8_t, there was no way to receive a -1 return value from
the various low level read routines.

I also fixed an ordering problem with config vs client input.
It is necessary to do the config first because client input
depends on the config.
2021-06-23 11:54:54 -10:00
bdring
8160d247b5 Create 6_pack_besc.yaml 2021-06-23 10:20:10 -05:00
Stefan de Bruijn
34efe1970a Fixed all the includes. 2021-06-23 11:31:50 +02:00
Stefan de Bruijn
258e619564 Squashed a few more defines. 2021-06-23 08:49:28 +02:00
Mitch Bradley
56483804bd Fixed bug in BESC speed scaling 2021-06-22 15:30:44 -10:00
Mitch Bradley
0158784c46 Killed some #defines 2021-06-22 14:18:56 -10:00
Mitch Bradley
a5af8d43f1 Trinamic define elimination and factoring 2021-06-22 12:13:59 -10:00
Mitch Bradley
221900d201 Fixed BESC spindle speed handling 2021-06-22 08:53:48 -10:00
Mitch Bradley
1846923fbd Brought BESC Spindle into the new mapSpeeds framework. 2021-06-21 13:03:58 -10:00