Teacup_Firmware/testcases
Markus Hitter 6afddf5680 run-in-simulavr.sh: implement G-code sending handshaking.
Now it waits for an "ok" before sending the next line, like all
the G-code sending hosts do. This allows sending arbitrarily long
G-codes. The 60 seconds simulated time limit is still in place to
avoid endless simulations.

The standard performance simulation now runs more G-code and
results in slightly different numbers accordingly:

cd testcases
./run-in-simulavr.sh short-moves.gcode smooth-curves.gcode triangle-odd.gcode

    FLASH  : 20540 bytes         144%        67%        33%      16%
    RAM    :  2188 bytes         214%       107%        54%      27%
    EEPROM :    32 bytes           4%         2%         2%       1%

short-moves.gcode statistics:
LED on occurences: 888.
LED on time minimum: 304 clock cycles.
LED on time maximum: 720 clock cycles.
LED on time average: 313.256 clock cycles.

smooth-curves.gcode statistics:
LED on occurences: 36511.
LED on time minimum: 304 clock cycles.
LED on time maximum: 706 clock cycles.
LED on time average: 349.172 clock cycles.

triangle-odd.gcode statistics:
LED on occurences: 1636.
LED on time minimum: 304 clock cycles.
LED on time maximum: 710 clock cycles.
LED on time average: 332.32 clock cycles.
2015-04-21 02:51:32 +02:00
..
.gitignore Add a draft of a script running testcases in SimulAVR. 2013-12-06 19:24:58 +01:00
config.h.Profiling Get rid of STEP_INTERRUPT_INTERRUPTIBLE. 2015-04-21 02:11:01 +02:00
excessive-digits.gcode Testcases review: 2013-12-06 19:24:58 +01:00
nothing.gcode Testcases: add nothing.gcode. 2014-10-18 20:59:41 +02:00
nullmoves.gcode Testcases review: 2013-12-06 19:24:58 +01:00
run-in-simulavr.sh run-in-simulavr.sh: implement G-code sending handshaking. 2015-04-21 02:51:32 +02:00
save-file-velocities.gtkw Testcases: add save file for GTKWave. 2013-12-06 19:24:58 +01:00
short-moves.gcode Add a testcase for moves shorter than the acceleration ramps. 2013-12-06 19:24:58 +01:00
smooth-curves.gcode Testcases review: 2013-12-06 19:24:58 +01:00
straight-speeds.gcode Testcases review: 2013-12-06 19:24:58 +01:00
triangle-odd.gcode Testcases review: 2013-12-06 19:24:58 +01:00
triangle.gcode Testcases review: 2013-12-06 19:24:58 +01:00