From 90ad129ad262bd6e785cf11b8387a1c376cdd11a Mon Sep 17 00:00:00 2001 From: Sonny Jeon Date: Sun, 16 Aug 2015 22:43:30 -0600 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d6d6a9..c18c710 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Grbl includes full acceleration management with look ahead. That means the contr *** ### Official Supporters of the Grbl CNC Project -[![Carbide3D](http://carbide3d.com/files/logo_240px.png)](http://carbide3d.com) [![Inventables](https://dzevsq2emy08i.cloudfront.net/paperclip/press_image_uploads/62/low_res/inventables-logo.png)](http://inventables.com) +![Official Supporters](https://dl.dropboxusercontent.com/u/2221997/Contributors.png) *** From d226555810cc95a10971f57f685483d1a81af79f Mon Sep 17 00:00:00 2001 From: Sonny Jeon Date: Wed, 30 Sep 2015 20:53:35 -0600 Subject: [PATCH 2/2] Minor bug fixes. - G38.x was not printing correctly in the $G g-code state reports. Now fixed. - Potential bug regarding volatile variables inside a struct. It has never been a problem in v0.9, but ran into this during v1.0 development. Just to be safe, the fixes are applied here. - Updated pre-built firmwares with these two bug fixes. --- README.md | 4 ++-- doc/log/commit_log_v0.9i.txt | 14 ++++++++++++++ grbl/gcode.c | 2 +- grbl/grbl.h | 2 +- grbl/limits.c | 22 +++++++++++----------- grbl/main.c | 4 ++-- grbl/motion_control.c | 22 +++++++++++----------- grbl/probe.c | 6 +++--- grbl/protocol.c | 28 ++++++++++++++-------------- grbl/report.c | 2 +- grbl/serial.c | 10 +++++----- grbl/stepper.c | 4 ++-- grbl/system.c | 10 +++++----- grbl/system.h | 12 ++++++------ 14 files changed, 78 insertions(+), 64 deletions(-) diff --git a/README.md b/README.md index c18c710..7facb9a 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ Grbl includes full acceleration management with look ahead. That means the contr *** _**Master Branch:**_ -* [Grbl v0.9j Atmega328p 16mhz 115200baud with generic defaults](http://bit.ly/1I8Ey4S) _(2015-07-17)_ -* [Grbl v0.9j Atmega328p 16mhz 115200baud with ShapeOko2 defaults](http://bit.ly/1OjUSia) _(2015-07-17)_ +* [Grbl v0.9j Atmega328p 16mhz 115200baud with generic defaults](http://bit.ly/1I8Ey4S) _(2015-09-30)_ +* [Grbl v0.9j Atmega328p 16mhz 115200baud with ShapeOko2 defaults](http://bit.ly/1OjUSia) _(2015-09-30)_ - **IMPORTANT INFO WHEN UPGRADING TO GRBL v0.9 :** - Baudrate is now **115200** (Up from 9600). - Homing cycle updated. Located based on switch trigger, rather than release point. diff --git a/doc/log/commit_log_v0.9i.txt b/doc/log/commit_log_v0.9i.txt index 4208a60..a3401c2 100644 --- a/doc/log/commit_log_v0.9i.txt +++ b/doc/log/commit_log_v0.9i.txt @@ -1,3 +1,17 @@ +---------------- +Date: 2015-08-16 +Author: Sonny Jeon +Subject: Update README.md + +---------------- +Date: 2015-08-14 +Author: Sonny Jeon +Subject: Individual control pin invert compile-option. + +- Control pins may be individually inverted through a +CONTROL_INVERT_MASK macro. This mask is define in the cpu_map.h file. + + ---------------- Date: 2015-07-17 Author: Sonny Jeon diff --git a/grbl/gcode.c b/grbl/gcode.c index c47808e..a0a8ad1 100644 --- a/grbl/gcode.c +++ b/grbl/gcode.c @@ -1037,7 +1037,7 @@ uint8_t gc_execute_line(char *line) protocol_buffer_synchronize(); // Sync and finish all remaining buffered motions before moving on. if (gc_state.modal.program_flow == PROGRAM_FLOW_PAUSED) { if (sys.state != STATE_CHECK_MODE) { - bit_true_atomic(sys.rt_exec_state, EXEC_FEED_HOLD); // Use feed hold for program pause. + bit_true_atomic(sys_rt_exec_state, EXEC_FEED_HOLD); // Use feed hold for program pause. protocol_execute_realtime(); // Execute suspend. } } else { // == PROGRAM_FLOW_COMPLETED diff --git a/grbl/grbl.h b/grbl/grbl.h index 0913592..85e94e5 100644 --- a/grbl/grbl.h +++ b/grbl/grbl.h @@ -23,7 +23,7 @@ // Grbl versioning system #define GRBL_VERSION "0.9j" -#define GRBL_VERSION_BUILD "20150811" +#define GRBL_VERSION_BUILD "20150930" // Define standard libraries used by Grbl. #include diff --git a/grbl/limits.c b/grbl/limits.c index 65869d1..9742a32 100644 --- a/grbl/limits.c +++ b/grbl/limits.c @@ -101,16 +101,16 @@ uint8_t limits_get_state() // locked out until a homing cycle or a kill lock command. Allows the user to disable the hard // limit setting if their limits are constantly triggering after a reset and move their axes. if (sys.state != STATE_ALARM) { - if (!(sys.rt_exec_alarm)) { + if (!(sys_rt_exec_alarm)) { #ifdef HARD_LIMIT_FORCE_STATE_CHECK // Check limit pin state. if (limits_get_state()) { mc_reset(); // Initiate system kill. - bit_true_atomic(sys.rt_exec_alarm, (EXEC_ALARM_HARD_LIMIT|EXEC_CRITICAL_EVENT)); // Indicate hard limit critical event + bit_true_atomic(sys_rt_exec_alarm, (EXEC_ALARM_HARD_LIMIT|EXEC_CRITICAL_EVENT)); // Indicate hard limit critical event } #else mc_reset(); // Initiate system kill. - bit_true_atomic(sys.rt_exec_alarm, (EXEC_ALARM_HARD_LIMIT|EXEC_CRITICAL_EVENT)); // Indicate hard limit critical event + bit_true_atomic(sys_rt_exec_alarm, (EXEC_ALARM_HARD_LIMIT|EXEC_CRITICAL_EVENT)); // Indicate hard limit critical event #endif } } @@ -122,11 +122,11 @@ uint8_t limits_get_state() { WDTCSR &= ~(1<