Refactored g-code parser. Saved 60bytes flash and some ram. Edited Readme.
- Freed up another 60 bytes of flash and 12-24 bytes of stack RAM by using the pre-allocated IJK arc offset vector that is guaranteed to be not in use. Only G10 and G28/30 require fetching from EEPROM and retaining extra data. Both commands use axis words, which rules out G2/3 arcs using IJK offsets existing in same block. Not ideal, but every byte helps. - Edited README.
This commit is contained in:
parent
669735bea9
commit
bf5fc48074
4 changed files with 36 additions and 27 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
// Grbl versioning system
|
||||
#define GRBL_VERSION "1.1b"
|
||||
#define GRBL_VERSION_BUILD "20160926"
|
||||
#define GRBL_VERSION_BUILD "20160927"
|
||||
|
||||
// Define standard libraries used by Grbl.
|
||||
#include <avr/io.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue