Commit Graph

124 Commits

Author SHA1 Message Date
Michael Moon fb82865dfc Add eeprom to size display 2010-09-12 16:21:41 +10:00
Michael Moon 9e21f6c811 move temp_residency back to temp.h 2010-09-12 16:07:28 +10:00
Michael Moon 273d63f242 splitting heater stuff out into a separate file 2010-09-12 14:47:49 +10:00
Michael Moon e5d393a592 more code cleanup 2010-09-12 14:24:19 +10:00
Michael Moon c5b3408b52 check passed feedrates vs maximums in machine.h. 2010-09-12 13:57:58 +10:00
Michael Moon eac7f2a5f7 added analog stuff to machine.h, rearranged a bit and expanded and tidied some of the explanations 2010-09-12 13:42:45 +10:00
Michael Moon f2b6f536d7 more work on analog system, still untested 2010-09-12 13:31:41 +10:00
Michael Moon 48cf0e05d7 some code cleanup, added M114, wrapped M25[0..5] in ifdef DEBUG wrapper 2010-09-12 12:54:58 +10:00
Michael Moon c46db07f26 separate ringbuffers no longer necessary as pointed out by jakepoz 2010-09-12 12:33:12 +10:00
Michael Moon 53a0978529 stty ixoff enables host-side support of XON/XOFF flow control, rather than ixon 2010-09-11 23:14:13 +10:00
Michael Moon 22dbf8658a update shell scripts to handle lowercase OK 2010-09-11 22:44:19 +10:00
Michael Moon 632ddaa216 added some descriptions of available defines 2010-09-10 13:19:59 +10:00
Michael Moon 2be7485409 Merge branch 'master' of github.com:triffid/FiveD_on_Arduino 2010-09-10 11:33:05 +10:00
Michael Moon 16069d9ffb added FIXME tag 2010-09-10 11:25:11 +10:00
Markus Hitter 2178ff4ac1 Implement acceleration ramping. Enjoy always smooth rides! 2010-09-10 02:09:04 +02:00
Markus Hitter 639f5237be Make acceleration, RepRap-style, disable-able. This is also
in preparation for introducing acceleration ramping.
2010-09-08 22:35:27 +02:00
Markus Hitter 8b5e21be51 Make XON/XOFF flow control actually work. Still disabled by default. 2010-09-08 19:17:50 +02:00
Markus Hitter b2e1cfd8b5 Make XON/XOFF flow control compile. 2010-09-08 19:16:18 +02:00
Markus Hitter 548b79f3d6 dda.c: replaced can_step() with a more simple solution. This
saves a whopping 270 bytes in interrupt context.
2010-09-08 19:14:04 +02:00
Markus Hitter 7f57634e8c Allow comments in parentheses. Some GCode generators
and machine controller implementations prefer this.
2010-09-08 16:48:06 +02:00
Markus Hitter 446b2223cc Makefile: add a variable for avrdude.conf, as the location
of this file depends on the environment.
2010-09-08 16:27:02 +02:00
Markus Hitter 54f9598ef1 Turn off the DEBUG flag by default for making the default
build fit onto a '168. There's a commented line for turning it on easily.
2010-09-08 16:20:58 +02:00
Markus Hitter 0572687cb2 dda_create(): clear _all_ flags before proceeding. 2010-09-08 15:57:32 +02:00
Michael Moon 9eb6c519ab Merge branch 'master' of github.com:triffid/FiveD_on_Arduino 2010-09-06 08:09:53 +10:00
Michael Moon 3ec34e5761 Fixed makefile to use avr-objdump to calculate size 2010-09-06 08:05:03 +10:00
Markus Hitter fdea890a37 Make stuff buildable with Arduino IDE again. 2010-09-05 02:02:06 +02:00
Michael Moon 6a58efbfa4 try out analog stuff, probably needs more work 2010-08-24 15:49:21 +10:00
Michael Moon 488e42605b skeleton of analog read subsystem 2010-08-16 14:06:37 +10:00
Michael Moon bb1d964712 re-adding gitignore and pde 2010-08-11 09:58:56 +10:00
Michael Moon c2881c47a7 fixed typo in sender- probably needs more work 2010-08-11 09:29:00 +10:00
Michael Moon 883c488107 fixed some mess from moving stuff around 2010-08-10 14:59:41 +10:00
Michael Moon 0b51c1d0ab Merge branch 'mendel-triffid'
Conflicts:
	dda.c
	gcode.c
	machine.h
	temp.c
2010-08-10 14:55:06 +10:00
Michael Moon a8a623de9c wrote some stuff in README 2010-08-10 14:53:48 +10:00
Michael Moon 595b66a341 setting up new branch 2 2010-08-10 14:26:24 +10:00
Michael Moon 994fa1b4c7 setting up new branch 2010-08-10 14:24:01 +10:00
Markus Hitter b655480583 Added a .gitignore to clean up git status' output. 2010-07-23 12:51:56 +02:00
Markus Hitter 81fd2c3773 Fix a few warnings. 2010-07-23 12:01:29 +02:00
Markus Hitter 31dcf28fd4 dda.c: eliminated abs32() in favour of the ABS() macro.
Saves 50 bytes.
2010-07-13 17:00:01 +02:00
Markus Hitter 8468f22e58 Eliminate serial_writechar_P(). serial_writechar() perfoms better and
uses less memory. Also, reviewed all code for usage of single-character
strings.
2010-07-13 16:57:23 +02:00
Markus Hitter e79c7c4759 Major overhaul of machine.h. All those calculations were confusing
complex and made for one type of machine, only.
2010-07-13 16:56:54 +02:00
Markus Hitter 884fdf5c25 Achieve RepRap Host compatibility for temperature readouts as well. 2010-07-13 16:56:37 +02:00
Markus Hitter c013a185e8 Every character, plus *, starts a new field. Previously,
unknown commands would mess up decimals handling.
Failing testcase was "N11 T22", which was interpreted as "N1122".

The new code now also compiles to 56 bytes less.
2010-07-13 16:55:14 +02:00
Markus Hitter abc0edc635 Add the option to not include the asterisk in checksum calculation.
RepRap host software does it this way.
2010-07-13 16:50:08 +02:00
Markus Hitter 5409e1da19 Remove a leftover LOWERCASE_OK. 2010-07-13 16:48:49 +02:00
Markus Hitter 0bd0848dd5 Make resend requests RepRap host compatible, too. 2010-07-13 16:43:38 +02:00
Markus Hitter aa590c4502 Don't fail on unknown commands. For example, RepRap host sends T commands,
which are not (yet) known.

Previously, the firmware would fail silently, which was even worse.
2010-07-13 16:33:06 +02:00
Markus Hitter a83f301a54 Count only line numbers with N seen. 2010-07-13 16:31:36 +02:00
Markus Hitter 877ffce572 Allow non-consecutive line numbers. 2010-07-13 16:28:35 +02:00
Markus Hitter ff25c6847b If line numbers aren't required, don't bother about their
actual value either. Failing case was RepRap host software,
sending
N0 T8 *18
N0 G21 *58
on each build start.

Also saves a whopping 124 bytes of memory on ignoring line
numbers. next_target.N_expected is never used and it's handling
should be optimized out.
2010-07-13 16:24:19 +02:00
Markus Hitter 2004f04d4a An M-code stuck when receiving G commands and vice-versa.
Testcase:
M105
G1 F100
--> Temperatures would be sent the second time as well.
2010-07-13 16:14:36 +02:00