Commit Graph

725 Commits

Author SHA1 Message Date
chamnit
ea5b8942db Moved comment and block delete handling to be done in protocol.c rather than gcode.c. Prevents these from being held in memory. Also, fixes bug when comments and block delete character are mixed with g-code. 2011-08-15 17:06:50 -06:00
Simen Svale Skogsrud
517a0f659a reordered a couple of functions for consistency 2011-08-02 22:44:32 +02:00
Simen Svale Skogsrud
5f09dba95d Merge pull request #34 from beardicus/pulse_error_msg
Step Pulse Error Message thanks to beardicus.
2011-07-19 04:04:55 -07:00
Brian Boucheron
d3f1f82e5f added error message for step pulses < 3 microseconds 2011-07-17 13:35:44 -04:00
Simen Svale Skogsrud
5466bc0c33 fixed a nil dereferencing bug in planner_forward_pass_kernel thanks to jv4779 2011-07-10 21:54:03 +02:00
Simen Svale Skogsrud
74576a8a0c Merge pull request #32 from jv4779/master
minor grbl code issues
2011-07-10 12:47:59 -07:00
Simen Svale Skogsrud
804837a111 corrected an outdated comment 2011-07-09 22:35:25 +02:00
jvangrin
d9a7fc4680 Make sure we don't accelerate above the nominal_rate 2011-07-05 16:57:03 -05:00
jvangrin
926d74fcb7 Reset the overflow flag to stop a queued overflow interrupt from resetting the step pulse right after sei() is called 2011-07-05 16:50:40 -05:00
jvangrin
d4f3fdd4bb fix sign of fractional part in printFloat 2011-07-04 13:07:32 -05:00
jvangrin
2be3a6cc61 fixed null pointer dereference in planner_forward_pass_kernel 2011-07-04 13:05:20 -05:00
Simen Svale Skogsrud
a9aa7d4d39 need to bump the version number because of the serial refactoring 2011-06-06 20:00:57 +02:00
Simen Svale Skogsrud
391efe37ed avoid line buffer overflow 2011-06-06 08:38:38 +02:00
Simen Svale Skogsrud
c3fda5ac21 fixed a bug where the default step mask would not actually reflect the real pin out 2011-06-05 21:34:53 +02:00
Simen Svale Skogsrud
9e09a502e9 updated readme to reflect real state of 168-compatibility 2011-06-05 21:12:56 +02:00
Simen Svale Skogsrud
bd336867a6 changed default fp decimal places to 3 2011-06-05 20:58:21 +02:00
Simen Svale Skogsrud
553c44a93f Fixed serial.c after tests on real hardware 2011-06-05 20:54:23 +02:00
Simen Svale Skogsrud
74db3e6c5b undid changes to printIntegerInBase that resulted in the integers being printed in reverse... 2011-06-04 22:17:51 +02:00
Simen Svale Skogsrud
903303579f NOW printFloat probably works 2011-06-03 21:56:55 +02:00
Simen Svale Skogsrud
a7c13c497a a new printFloat that probably works 2011-06-03 21:56:18 +02:00
Simen Svale Skogsrud
f0843db46e refactored printIntegerInBase to work without a buffer + minor cleanup 2011-06-03 21:50:02 +02:00
Simen Svale Skogsrud
69be1240be refactored a complex comment 2011-06-03 15:43:14 +02:00
Simen Svale Skogsrud
bfe7a2ad84 flossed the serial module 2011-06-03 15:42:28 +02:00
Simen Svale Skogsrud
9488cb329c cleaned up function definitions for serial and print modules and added a comment about the deeply flawed printFloat method 2011-06-03 15:36:14 +02:00
Simen Svale Skogsrud
5eea9f4c7c pruned extraneous comment 2011-06-03 15:33:56 +02:00
Simen Svale Skogsrud
ab8bae74c1 pruned some undefined declarations from the print module 2011-06-03 15:33:12 +02:00
Simen Svale Skogsrud
9a5fed4fda changed file headers to reflect the totally refactored state of the serial and print modules 2011-06-03 15:31:59 +02:00
Simen Svale Skogsrud
c0b4b8309a cleaned up serial completing support for non blocking tx and refactoring formatting functions into a new module 'print' 2011-06-03 15:28:14 +02:00
Simen Svale Skogsrud
8793b555e0 cleaned up data types in serial module, all data now uint8_t 2011-06-01 09:45:15 +02:00
Simen Svale Skogsrud
ee3139d283 changed serialAvailable to serialAnyAvailable which does not calculate the number of bytes, only if there are any at all 2011-06-01 09:36:15 +02:00
Simen Svale Skogsrud
defabc80ed renamed wiring_serial to serial to reflect its complete remake 2011-05-31 22:45:38 +02:00
Simen Svale Skogsrud
33a940cdf8 added asynchronous write as provided by Arthur Wolf 2011-05-31 22:29:50 +02:00
Simen Svale Skogsrud
f4c1cbac3c added a fix for division by zero errors that would occur on very low feed rates (thanks to Arthur Wolf for hardcore investigation) 2011-05-31 18:37:37 +02:00
Simen Svale Skogsrud
a25812f36b made inverted stepper driving the default as per the request of the Grbl Shield team and frankly myself. Who doesn't need their stepper signals inverted anyway? 2011-05-31 13:13:45 +02:00
Simen Svale Skogsrud
c2aec12004 converted the STEPPER_ENABLE_PIN to a STEPPER_DISABLE_PIN as per the request of Alden Hart of Grbl Shield fame. 2011-05-31 13:08:42 +02:00
Simen Svale Skogsrud
74dcf58c5c simplification in gcode.c also thanks to etienne 2011-02-25 15:02:55 +01:00
Simen Svale Skogsrud
d914089e91 spindle could not be stopped. Thanks again to Etienne for reporting 2011-02-25 15:00:47 +01:00
Simen Svale Skogsrud
cd074bc590 foolproofed steps/mm setting (must be > 0) 2011-02-25 13:40:48 +01:00
Simen Svale Skogsrud
4cac11ec86 fixed synchronization problem with spindle_control 2011-02-25 13:30:03 +01:00
Simen Svale Skogsrud
a18a89c779 fixed linebreaks, was LFCR, is CRLF 2011-02-24 16:08:06 +01:00
Simen Svale Skogsrud
87b6364aa0 added missing line from G92 patch 2011-02-24 15:03:45 +01:00
Simen Svale Skogsrud
60f417b570 fixed a double rounding error compensation bug in mc_arc thanks to Etienne Chové 2011-02-23 20:06:55 +01:00
Simen Svale Skogsrud
ef20be9f4c result of G92 also affects planner 2011-02-21 22:32:42 +01:00
Simen Svale Skogsrud
c491324e89 added support for G92 2011-02-21 22:26:02 +01:00
Simen Svale Skogsrud
68ff56a8b1 stepper enable pin now toggles to reflect the active/passive state of the stepper subsystem 2011-02-21 10:00:16 +01:00
Simen Svale Skogsrud
2c913a00bd acceleration-Grbl now works with atmega 168 by disabling arc motion 2011-02-20 22:13:31 +01:00
Simen Svale Skogsrud
67d7607e60 acceleration-Grbl now works with atmega 168 by disabling arc motion 2011-02-20 22:00:12 +01:00
Simen Svale Skogsrud
d5d6298de3 added support for limit switches and homing action 2011-02-20 00:29:56 +01:00
Simen Svale Skogsrud
9c8c259153 made most internal function static to allow gcc to inline them 2011-02-19 23:03:10 +01:00
Simen Svale Skogsrud
d21a791eae spindle operations are now synchronized 2011-02-19 21:04:40 +01:00