Teacup_Firmware/testcases
Markus Hitter da08c35edd run-in-simulavr.sh: add support for timing measurements.
The idea is simple: if you want to time a portion of code
precisely, turn on the Debug LED (see config.h for
DEBUG_LED_PIN) at the start of sequence and turn it off when
done. Running this in SimulAVR, you have two flanges precise
to the clock cycle which exactly reflect the time taken to
run this code sequence. Ideally, you run this code n a loop
to get a number of samples, if it doesn't run in a loop anyways.

Time taken can then be measured in GTKWave. For convenience and
for a better overview, run-in-simulavr.sh also extracts all the
delays into it's own signal, so it can be viewed as an ongoing
number.
2014-08-31 19:06:05 +02:00
..
.gitignore Add a draft of a script running testcases in SimulAVR. 2013-12-06 19:24:58 +01:00
excessive-digits.gcode Testcases review: 2013-12-06 19:24:58 +01:00
nullmoves.gcode Testcases review: 2013-12-06 19:24:58 +01:00
run-in-simulavr.sh run-in-simulavr.sh: add support for timing measurements. 2014-08-31 19:06:05 +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