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
Markus Hitter
85b09112b9
Moved REQUIRE_LINENUMBER and REQUIRE_CHECKSUM #defines to gcode.h.
2010-07-13 16:04:32 +02:00
Markus Hitter
c591d3330d
RepRap host software expects a lowercase "ok" for confirmation.
2010-07-13 15:35:26 +02:00
Markus Hitter
f249724efd
Account for different Power Reduction Registers (PRR) on the
...
various chips.
2010-07-13 15:31:15 +02:00
Markus Hitter
6f0dced422
Achieve C89 compatibility, Arduino IDE's default.
2010-07-09 21:03:46 +02:00
Markus Hitter
8c56c080fe
Make sources buildable with the Arduino IDE.
2010-07-09 21:03:23 +02:00
Michael Moon
505a744d54
time to save
2010-03-29 13:53:57 +11:00
Michael Moon
bce08901d8
time to save, added a tiny printf implementation which actually gives less code than printing everything out manually, waiting for temperature is now queueable so subsequent moves can be buffered ahead of time, and a debug flags system for dynamic enable/disable of debug. btw, atmega168 doesn't have enough space for debug so turn it off if you have one.
2010-03-17 04:11:33 +11:00
Michael Moon
06cdfaa251
a ton of work on the heater PID loop, it's working great now
2010-03-15 18:27:14 +11:00
Michael Moon
2182d7b77a
time to save, updated M253 read memory to accept a length, updated utility functions
2010-03-14 09:54:55 +11:00
Michael Moon
ee4e71da1a
preliminary support for line numbers and checksums, also some handy host-side functions
2010-03-05 21:24:10 +11:00
Michael Moon
76834e6636
time to save, also changed makefile to atmega328 because I fried my 168
2010-03-04 21:19:18 +11:00
Michael Moon
8575ae3480
time to save, bugfixes in linear acceleration code, fixed point delta t instead of integer, etc
2010-02-22 12:10:35 +11:00