Michael Moon
4b41a5eeab
use avr-libc atomic stuff instead of manual SREG manipulation
2010-10-21 11:05:56 +11:00
Michael Moon
3e0b40a2cf
get .al files for simulation, fix file list for split gcode parser
2010-10-21 11:05:55 +11:00
Stephan Walter
cbf41dd4ad
document simulation
2010-10-21 11:05:55 +11:00
Stephan Walter
3028b297f3
Add simulation code: use "make sim"
2010-10-21 11:05:55 +11:00
Michael Moon
c94d2a4f1e
mention license in README
2010-10-20 18:18:42 +11:00
Michael Moon
74e954c170
licensing- GPL-2 at the moment
2010-10-20 18:15:09 +11:00
Michael Moon
97c5218304
reduce analog subsystem use of interrupts
2010-10-20 17:54:36 +11:00
Michael Moon
d0c3744f92
add flush queue for emergency stop
2010-10-20 17:54:13 +11:00
Michael Moon
6169dadae7
split arduino pin definitions out into different files
2010-10-20 17:52:55 +11:00
Michael Moon
930b042aab
only print temperature if we're not talking to reprap host
2010-10-20 17:52:26 +11:00
Michael Moon
56c355c5bd
split gcode parse/process into separate files for readability
2010-10-20 17:51:49 +11:00
Michael Moon
dd8a5cd377
UM_PER_STEP stayed floating a bit too long
2010-10-20 17:39:57 +11:00
Michael Moon
18565b776f
attempt to fix precision underflow in UM_PER_STEP macros
2010-10-20 17:23:18 +11:00
Markus Hitter
a0543d3329
Merge branch 'master' of git@github.com:triffid/FiveD_on_Arduino
...
Conflicts:
gcode.c
2010-10-11 23:49:34 +02:00
dps.lwk
a565f31dbb
Resend Request changed from "Resend:" to "rs "
...
As of reprap-mendel-20100806, the RepRap java host expects resend requests using the new "rs " format only, the version before this only excepted "Resend:"
Repsnapper as of SVN 348 accepts both formats.
Also fixed typo in config.h.dist
Traumflug: to avoid breaking compatibility with earlier host versions, I took the chance to additionally introduce a sort of rudimentary version compatibility system.
2010-10-11 23:46:51 +02:00
dps.lwk
77a4e1d7f1
Resend Request changed from "Resend:" to "rs "
...
As of reprap-mendel-20100806, the RepRap java host expects resend requests using the new "rs " format only, the version before this only excepted "Resend:"
Repsnapper as of SVN 348 accepts both formats.
Also fixed typo in config.h.dist
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2010-10-11 11:00:06 +11:00
Michael Moon
e3d0aa7b62
split delay functions into separate files
2010-10-11 10:12:35 +11:00
Michael Moon
ab1155ffb9
clarify enable pin stuff
2010-10-11 09:58:19 +11:00
Markus Hitter
91eb11bd1e
Raise precision of STEP_PER_MM_x by factor 1000.
2010-10-10 18:51:39 +02:00
Markus Hitter
2aa98b3131
Fix a typo.
2010-10-10 18:37:19 +02:00
Markus Hitter
e4536dc93c
Merge branch 'master' of git@github.com:triffid/FiveD_on_Arduino
2010-10-10 18:15:19 +02:00
dps.lwk
d83c80e383
Added ATmega1280 pin map for Arduino Mega
2010-10-10 13:51:00 +01:00
Michael Moon
6a06eb7169
atmega644 has a 2.56v reference
2010-10-10 19:55:46 +11:00
Michael Moon
0d7020bf5b
add M190 power on, M191 power off
2010-10-10 19:55:28 +11:00
Michael Moon
9b894de669
fixed some defines that were spitting errors
2010-10-10 19:55:10 +11:00
Markus Hitter
1ad0b2680e
Merge branch 'master' of git@github.com:triffid/FiveD_on_Arduino
2010-10-08 12:54:07 +02:00
Markus Hitter
80d3fc5233
Revert "heater.h: simplify macros.", as there are in fact situations
...
where this seemingly obsolete code makes sense.
This reverts commit 896f6e140f .
2010-10-08 12:49:02 +02:00
Casainho
3898626534
alter temperature reporting in reprap host compatibility mode
...
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2010-10-08 21:09:34 +11:00
Michael Moon
99c03b8d26
fixed typo pointed out by dazed.dnc in forum thread
2010-10-08 21:03:29 +11:00
Michael Moon
a77986784e
slightly simplified and clarified xon/xoff
2010-10-08 21:00:48 +11:00
Michael Moon
f1e318ac1a
clarify some macros
2010-10-08 21:00:48 +11:00
Michael Moon
775f5400e3
Added atmega644 to size display
2010-10-08 20:48:47 +11:00
Markus Hitter
90c00d0eff
heater.h: remove the temp_achieved() declaration, which has
...
no definition in heater.c (but is properly coded in temp.h/.c).
2010-10-07 23:43:51 +02:00
Markus Hitter
2391dc2901
If there's no HEATER_PIN, there's no heater, so disable the
...
heater code. Also remove the temp_achieved() declaration
in heater.h, which has no definition in heater.c.
If you wonder about what might be the use of not having a heater,
think about a paste dispenser or an externally heated extruder :-)
Having no heater removes a whopping 1200 bytes of program size.
2010-10-07 23:43:46 +02:00
Markus Hitter
896f6e140f
heater.h: simplify macros.
2010-10-07 23:43:44 +02:00
Markus Hitter
68f4610e79
heater.h/.c: remove a few obsolete #includes.
2010-10-07 23:43:36 +02:00
Markus Hitter
9839ac9fff
Move heater macros from config.h to heater.h, as they're
...
not meant to be user configurable.
2010-10-07 23:43:22 +02:00
Markus Hitter
468b212077
Move micrometer conversion from config.h(.dist) to
...
dda.c, where it's used.
2010-10-07 21:34:38 +02:00
Markus Hitter
e0ffa134bf
Move mm -> inch conversion macros from config.h(.dist) to gcode.c,
...
as this isn't meant to be user configurable.
2010-10-07 21:34:36 +02:00
Markus Hitter
da5194a54e
Tidy up config.h.dist a bit.
2010-10-07 21:34:34 +02:00
Markus Hitter
4bddf3452f
Move stepper macros from config.h(.dist) to dda.c, as they're not
...
meant to be configured by the user.
2010-10-07 21:34:29 +02:00
Markus Hitter
f799228a8e
Remove old XON/XOFF implementation, as it's redundant now.
2010-10-05 21:04:06 +02:00
Markus Hitter
a438a3fa2f
Implement XON/XOFF handling for the serial read queue. The former
...
solution was less computing intensive, but failed when the GCode
interpreter couldn't keep up with the incoming stream, e.g. when
handling a lot of tiny moves.
The old implementation is still in place but somewhat redundant
now, so stay tuned ...
Oh, and G4 Dwell works now as well.
2010-10-05 21:04:03 +02:00
Markus Hitter
5e1ce4ec96
Refined the check wether the timer interrupt is enabled,
...
as per triffid's request.
2010-10-05 13:20:28 +02:00
Markus Hitter
af53d2350e
Makefile: different solution for commit f5a26de775, as suggested
...
by triffid.
2010-10-05 12:19:34 +02:00
Markus Hitter
95939ecc22
Don't disable the stepper timer interrupt while stepping.
...
After lots of try and error the conclusion was, disabling this
interrupt makes the timer vulnerable to be messed up by
characters incoming over the serial line. So, now the
interrupt is enabled as a move starts and not disabled before
the move, and all subsequent moves are done.
2010-10-04 16:05:01 +02:00
Markus Hitter
fb53c2c0a8
serial.c: make sure to read incoming characters even if we don't
...
have space to store them.
2010-10-04 16:04:54 +02:00
Markus Hitter
f56e121473
dda_queue.c: clean out an unused comment.
2010-10-04 16:04:49 +02:00
Markus Hitter
bdfc4c5507
clock.c: Add a comment about interrupt priorities.
2010-10-04 16:04:47 +02:00
Markus Hitter
2fac65d172
dda_queue.c: restart XON/XOFF only if the queue is at least half drained.
2010-10-04 16:04:43 +02:00