Mitch Bradley
26a7dd9b48
homing_single_axis_commands is always true
...
no longer configurable
2021-07-05 12:30:10 -10:00
Mitch Bradley
8dd1de3de2
Baby steps toward better steps
...
Created beginLowLatency() and endLowLatency() to
eliminate switch_stepper()
2021-07-05 12:30:10 -10:00
Mitch Bradley
31bc285bf9
st_ naming convention -> Stepper:: namespace
...
Also fixed a potential number wraparound bug with
idle timer comparision.
2021-07-05 12:30:09 -10:00
Stefan de Bruijn
7e153cdb26
Merge branch 'YamlSettings' of https://github.com/bdring/Grbl_Esp32 into YamlSettings
2021-07-05 21:25:38 +02:00
Stefan de Bruijn
c785ae3332
Added more x86 wrappers. Only 35 remain, and then we can do some serious testing.
2021-07-05 21:25:33 +02:00
bdring
1bd58f4aea
Fixed logic error calculating homing cycles
2021-07-05 14:05:57 -05:00
Stefan de Bruijn
a6be38ff7f
Changed analogoutput to uint32_t
...
Added a few more support classes.
2021-07-05 17:00:31 +02:00
Mitch Bradley
e8099f9548
Consistent and concise startup messages
2021-07-04 14:50:40 -10:00
Mitch Bradley
897b93fe9a
Better error handling in SDCard
2021-07-04 14:50:39 -10:00
Stefan de Bruijn
52fa482b03
Added todo list to x64 support
2021-07-03 23:16:49 +02:00
Stefan de Bruijn
412cff88f3
Fixed a few more implicit casts, removed a few unused variables
2021-07-03 23:00:44 +02:00
Stefan de Bruijn
9a9f9db18c
Fixed a bunch of signed/unsigned comparisons and implicit type conversions.
2021-07-03 22:29:35 +02:00
Stefan de Bruijn
6b7f9116b0
'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _itoa.
2021-07-03 21:59:35 +02:00
Stefan de Bruijn
d9c76505c0
Changed trinamic to use pinmapper [untested]. Fixed a few minor bugs.
2021-07-03 21:36:16 +02:00
Mitch Bradley
56081e4786
Axis step factors are back to float per phorton1
2021-07-02 18:41:23 -10:00
Mitch Bradley
a5e05db193
Fixed typo in RCServo reported by phorton1
2021-07-02 18:40:28 -10:00
Mitch Bradley
b7a1546c30
Fixed homing. I broke it yesterday.
2021-07-02 18:39:35 -10:00
Mitch Bradley
06d5d7b51e
Better error checking for GPIO pins.
...
Also fixed some missing .c_str()s.
2021-07-01 23:15:25 -10:00
Mitch Bradley
39fda6a642
Case-insensitive enums for runtime settings
2021-07-01 22:55:30 -10:00
Mitch Bradley
42a349aa22
Changed "search_scaler" to "seek_scaler"
2021-07-01 22:44:48 -10:00
Mitch Bradley
c090f96a2e
Homing cycle 0 means not homed with home-all, but $HA would work
2021-07-01 22:37:58 -10:00
Mitch Bradley
96b0f93872
Added synchronousWrite() for Pins
...
Needed for the SPI CS pin.
2021-07-01 22:16:00 -10:00
Mitch Bradley
4201c178db
Cleared out some dead code in Stepper.cpp
2021-07-01 21:21:18 -10:00
Mitch Bradley
acaed84ab2
I2SO works with this fix
...
It removes the delay from I2SOPinDetail::write, which was causing
crashes when it was called via step(). The delay messed up the ISR.
2021-07-01 19:45:22 -10:00
Mitch Bradley
589dc3aa93
Big limits and homing cleanup
...
1. Factor out homing error handler into a subroutine
to shorten the enormous main homing routine.
2. Created new limit switch sensing factor limits_check(axis_mask)
that look only at the switches under the mask. For most uses,
this reduces the number of pin values that must be fetched.
3. Moved some routines from MotionControl.cpp to Limits.cpp
where they really belong.
4. Cleaned up the interface list in Limits.cpp to show what
is public and what is private.
5. Collapsed some redundant routines that do nearly the same
thing into variables homingAxes and limitAxes that are set
once during init.
2021-07-01 18:39:16 -10:00
Mitch Bradley
270e145950
Removed the deleted MachineCommon.h from vcxproj files
2021-07-01 14:08:07 -10:00
Mitch Bradley
995a3d0b74
Use axisName() in Report.cpp instead of the hardcoded list
2021-07-01 14:07:08 -10:00
Mitch Bradley
2813938c9f
Reinstated locate_scaler, defaulting it to 1.0
2021-07-01 14:06:03 -10:00
Mitch Bradley
5e698f2a09
Eliminated MachineCommon.h
...
It had only a few consts that were either unnecessary or module
specific. I eliminated the former and moved the latter.
2021-07-01 14:03:42 -10:00
Mitch Bradley
a06ea69af4
Simplified includes by adding Serial.h to Report.h
...
... since they are nearly always coupled. You need Serial.h
for the CLIENT_x values that you pass to report_
2021-07-01 13:56:37 -10:00
Stefan de Bruijn
4a2241b07d
Fixed a few bugs in steppping: direction delays and step pulse initialization.
2021-07-01 22:33:31 +02:00
bdring
0f62e7efb3
Merge branch 'YamlSettings' of https://github.com/bdring/Grbl_Esp32 into YamlSettings
2021-07-01 14:30:39 -05:00
bdring
c98d40eefe
Fixed hard limit reset issue.
2021-07-01 14:30:33 -05:00
Stefan de Bruijn
9f123f0f3e
Added ConfigAlarm to listAlarms. Fixed a bug of ConfigAlarm triggered incorrectly.
2021-07-01 21:03:39 +02:00
bdring
c1baa2f4c8
Fixing homing stuff
2021-07-01 08:17:18 -05:00
bdring
18f2ad6bd1
Fixed homing speeds and pulloff
2021-06-30 21:19:55 -05:00
bdring
ec957aa212
Defaults for homing speeds were flipped. Seek should be faster than
2021-06-30 16:48:28 -05:00
Mitch Bradley
cf2ac08030
0xff -> 255 for clarity. The hex representation makes no sense here
2021-06-29 10:53:04 -10:00
Mitch Bradley
d15ca365ab
Better solution to no_pin reporting.
2021-06-29 10:51:54 -10:00
bdring
0ff2304992
Remove unneeded test.
2021-06-29 15:08:58 -05:00
bdring
86ef045ca1
Merge branch 'YamlSettings' of https://github.com/bdring/Grbl_Esp32 into YamlSettings
2021-06-29 15:03:25 -05:00
bdring
f9a5ae3bc5
Fixed control pin reporting
2021-06-29 15:02:32 -05:00
Mitch Bradley
66b74ec410
ss -> cs in yaml
2021-06-29 08:52:45 -10:00
Mitch Bradley
1572d0791e
Handle NO_PIN for control and user_output pins
2021-06-29 08:39:54 -10:00
Mitch Bradley
4077660f52
Changed "ss" to "cs" everywhere
2021-06-29 08:22:46 -10:00
bdring
a8d823fe26
Cleanup for I2SO machine testing
2021-06-29 10:38:20 -05:00
Stefan de Bruijn
811235a5b5
Merge branch 'YamlSettings' of https://github.com/bdring/Grbl_Esp32 into YamlSettings
2021-06-29 16:12:57 +02:00
Stefan de Bruijn
654c4082a3
Fixed a bunch of minor bugs.
...
Added more X86 test support code.
2021-06-29 16:12:53 +02:00
bdring
acb9a70524
Update config.yaml
2021-06-29 08:41:07 -05:00
Stefan de Bruijn
2daad23e04
Made some changes to the way error handling works. ConfigAlarm is now more rigid; you just cannot get out. Pin and error handling should be better, and paths from the hierarchy are emitted.
2021-06-29 11:24:51 +02:00