From 6030757b50db7094988a709f05023f762f28636f Mon Sep 17 00:00:00 2001 From: Patrick Felixberger Date: Thu, 24 May 2018 18:12:04 +0200 Subject: [PATCH] Increased buffer sizes, makefile improvements --- Makefile | 2 +- grbl/Config.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4c9f49c..badf617 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ $(BUILD): #--------------------------------------------------------------------------------- clean: - @rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).bin $(OUTPUT).hex + @rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).bin $(OUTPUT).hex $(OUTPUT).map $(OUTPUT).lst #--------------------------------------------------------------------------------- flash: $(OUTPUT).bin diff --git a/grbl/Config.h b/grbl/Config.h index 7758323..d0bfa69 100644 --- a/grbl/Config.h +++ b/grbl/Config.h @@ -381,7 +381,7 @@ // available RAM, like when re-compiling for a Mega2560. Or decrease if the Arduino begins to // crash due to the lack of available RAM or if the CPU is having trouble keeping up with planning // new incoming motions as they are executed. -#define BLOCK_BUFFER_SIZE 32 // Uncomment to override default in planner.h. +#define BLOCK_BUFFER_SIZE 64 // Uncomment to override default in planner.h. // Governs the size of the intermediary step segment buffer between the step execution algorithm // and the planner blocks. Each segment is set of steps executed at a constant velocity over a @@ -389,7 +389,7 @@ // block velocity profile is traced exactly. The size of this buffer governs how much step // execution lead time there is for other Grbl processes have to compute and do their thing // before having to come back and refill this buffer, currently at ~50msec of step moves. -#define SEGMENT_BUFFER_SIZE 24 // Uncomment to override default in stepper.h. +#define SEGMENT_BUFFER_SIZE 32 // Uncomment to override default in stepper.h. // Line buffer size from the serial input stream to be executed. Also, governs the size of // each of the startup blocks, as they are each stored as a string of this size. Make sure