Increased buffer sizes, makefile improvements

backlash
Patrick Felixberger 2018-05-24 18:12:04 +02:00
rodzic 81d5c5fa22
commit 6030757b50
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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