chiark / gitweb /
marlin.git
12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:14:52 +0000 (17:14 +0100)]
refresh

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:14:52 +0000 (17:14 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:14:34 +0000 (17:14 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:14:34 +0000 (17:14 +0100)]
refresh (create temporary patch)

12 years agoRefresh of eeprom-provide-smaller-code-fo
Ian Jackson [Fri, 10 Aug 2012 16:14:34 +0000 (17:14 +0100)]
Refresh of eeprom-provide-smaller-code-fo

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:14:28 +0000 (17:14 +0100)]
refresh

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:14:28 +0000 (17:14 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:14:28 +0000 (17:14 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:14:28 +0000 (17:14 +0100)]
refresh (create temporary patch)

12 years agoRefresh of eeprom-provide-smaller-code-fo
Ian Jackson [Fri, 10 Aug 2012 16:14:28 +0000 (17:14 +0100)]
Refresh of eeprom-provide-smaller-code-fo

12 years agoeeprom: provide smaller code for SERIAL_ECHOPAIR
Ian Jackson [Sat, 4 Aug 2012 15:13:25 +0000 (16:13 +0100)]
eeprom: provide smaller code for SERIAL_ECHOPAIR

SERIAL_ECHOPAIR implies, eventually, two calls to MYSERIAL.print.  One
of these has FORCE_INLINE for a per-character loop, and both involve
constructing a method call rather than a simple function call.

Produce better and smaller code by providing three specialised
functions serial_echopair.  This saves 672 bytes of program memory
(with EEPROM_SETTINGS and SDSUPPORT enabled).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agopop
Ian Jackson [Fri, 10 Aug 2012 16:11:51 +0000 (17:11 +0100)]
pop

12 years agopop
Ian Jackson [Fri, 10 Aug 2012 16:11:51 +0000 (17:11 +0100)]
pop

12 years agoeeprom: provide smaller code for SERIAL_ECHOPAIR
Ian Jackson [Sat, 4 Aug 2012 15:13:25 +0000 (16:13 +0100)]
eeprom: provide smaller code for SERIAL_ECHOPAIR

SERIAL_ECHOPAIR implies, eventually, two calls to MYSERIAL.print.  One
of these has FORCE_INLINE for a per-character loop, and both involve
constructing a method call rather than a simple function call.

Produce better and smaller code by providing three specialised
functions serial_echopair.  This saves 672 bytes of program memory
(with EEPROM_SETTINGS and SDSUPPORT enabled).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:11:39 +0000 (17:11 +0100)]
refresh

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:11:39 +0000 (17:11 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:10:10 +0000 (17:10 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:10:10 +0000 (17:10 +0100)]
refresh (create temporary patch)

12 years agoRefresh of m206-always-use-homing-homeing
Ian Jackson [Fri, 10 Aug 2012 16:10:10 +0000 (17:10 +0100)]
Refresh of m206-always-use-homing-homeing

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:09:54 +0000 (17:09 +0100)]
refresh

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:09:54 +0000 (17:09 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:07:12 +0000 (17:07 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:07:12 +0000 (17:07 +0100)]
refresh (create temporary patch)

12 years agoRefresh of m206-always-use-homing-homeing
Ian Jackson [Fri, 10 Aug 2012 16:07:11 +0000 (17:07 +0100)]
Refresh of m206-always-use-homing-homeing

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:07:00 +0000 (17:07 +0100)]
refresh

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:07:00 +0000 (17:07 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:07:00 +0000 (17:07 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 16:07:00 +0000 (17:07 +0100)]
refresh (create temporary patch)

12 years agoRefresh of m206-always-use-homing-homeing
Ian Jackson [Fri, 10 Aug 2012 16:07:00 +0000 (17:07 +0100)]
Refresh of m206-always-use-homing-homeing

12 years agoM206: always use homing ("homeing") offsets
Ian Jackson [Wed, 1 Aug 2012 20:12:14 +0000 (21:12 +0100)]
M206: always use homing ("homeing") offsets

Previously the parameters set in M206 would only be used if a G82
command was sent with specific axis home values.  This limits its
usefulness.

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the first stage of this, make M206 affect every
home command.  The values set using M206 are now added to the
configuration variables [XYZ]_HOME_POS.

This is achieved by replacing all uses of [XYZ]_HOME_POS in the code
by a new home_pos[] which includes the adjustment.  We also have to
adjust the uses of [XYZ]_{MIN,MAX}_POS similarly - see below.

To allow axis_is_at_home to be written as a function taking an axis
index rather than a macro taking an axis letter, we provide
constant arrays in program memory containing the values of
[XYZ]_{MIN,MAX,HOME}_POS from the compiled-in configuration.

This is done with some helper macros to deal with the declaration
(XYZ_CONSTS_FROM_CONFIG) and program memory access (XYZ_CONFIG).

A question arises: if the M206 offset is set, should this adjustment
to the home position shift or change the possible range of movement
permitted by the software endstops ?

The documentation in Configuration.h describes these limits as:
    // Travel limits after homing
Since this is a file containing physical limits, and actual suggested
values for these configuration parameters appear to include a certain
amount of slop, I've taken the view that these should be regarded as
nominal physical distances from the limit switches, and that the
permissible travel should be unaffected by M206.

So for example with the (rather unrealistic)
  #define X_HOME_DIR -1
  #define X_MIN_POS -20
  #define X_HOME_POS 0
  #define X_MAX_POS 100
no matter the setting of M206 X, the machine would be permitted
to move from 20mm "beyond" the limit switch trigger point in
the negative X direction and 100mm away from the limit switch in
the positive X direction, for a total travel of 120mm.

With M206 X-10 that would be considered to correspond to X coordinates
-30 to +90.  With M206 X+10 that would be considered to correspond to
X coordinates -10 to +110.

fixes #200 (in ErikZalm/Marlin).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoM206: always use homing ("homeing") offsets
Ian Jackson [Wed, 1 Aug 2012 20:12:14 +0000 (21:12 +0100)]
M206: always use homing ("homeing") offsets

Previously the parameters set in M206 would only be used if a G82
command was sent with specific axis home values.  This limits its
usefulness.

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the first stage of this, make M206 affect every
home command.  The values set using M206 are now added to the
configuration variables [XYZ]_HOME_POS.

This is achieved by replacing all uses of [XYZ]_HOME_POS in the code
by [XYZ]_HOME_POS_A which is a macro which includes the adjustment.

A question arises: if the M206 offset is set, should this adjustment
to the home position shift or change the possible range of movement
permitted by the software endstops ?

The documentation in Configuration.h describes these limits as:
    // Travel limits after homing
Since this is a file containing physical limits, and actual suggested
values for these configuration parameters appear to include a certain
amount of slop, I've taken the view that these should be regarded as
nominal physical distances from the limit switches, and that the
permissible travel should be unaffected by M206.

So for example with the (rather unrealistic)
  #define X_HOME_DIR -1
  #define X_MIN_POS -20
  #define X_HOME_POS 0
  #define X_MAX_POS 100
no matter the setting of M206 X, the machine would be permitted
to move from 20mm "beyond" the limit switch trigger point in
the negative X direction and 100mm away from the limit switch in
the positive X direction, for a total travel of 120mm.

With M206 X-10 that would be considered to correspond to X coordinates
-30 to +90.  With M206 X+10 that would be considered to correspond to
X coordinates -10 to +110.

fixes #200 (in ErikZalm/Marlin).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agopop
Ian Jackson [Fri, 10 Aug 2012 15:53:31 +0000 (16:53 +0100)]
pop

12 years agopop
Ian Jackson [Fri, 10 Aug 2012 15:53:31 +0000 (16:53 +0100)]
pop

12 years agoM206: always use homing ("homeing") offsets
Ian Jackson [Wed, 1 Aug 2012 20:12:14 +0000 (21:12 +0100)]
M206: always use homing ("homeing") offsets

Previously the parameters set in M206 would only be used if a G82
command was sent with specific axis home values.  This limits its
usefulness.

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the first stage of this, make M206 affect every
home command.  The values set using M206 are now added to the
configuration variables [XYZ]_HOME_POS.

This is achieved by replacing all uses of [XYZ]_HOME_POS in the code
by [XYZ]_HOME_POS_A which is a macro which includes the adjustment.

A question arises: if the M206 offset is set, should this adjustment
to the home position shift or change the possible range of movement
permitted by the software endstops ?

The documentation in Configuration.h describes these limits as:
    // Travel limits after homing
Since this is a file containing physical limits, and actual suggested
values for these configuration parameters appear to include a certain
amount of slop, I've taken the view that these should be regarded as
nominal physical distances from the limit switches, and that the
permissible travel should be unaffected by M206.

So for example with the (rather unrealistic)
  #define X_HOME_DIR -1
  #define X_MIN_POS -20
  #define X_HOME_POS 0
  #define X_MAX_POS 100
no matter the setting of M206 X, the machine would be permitted
to move from 20mm "beyond" the limit switch trigger point in
the negative X direction and 100mm away from the limit switch in
the positive X direction, for a total travel of 120mm.

With M206 X-10 that would be considered to correspond to X coordinates
-30 to +90.  With M206 X+10 that would be considered to correspond to
X coordinates -10 to +110.

fixes #200 (in ErikZalm/Marlin).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agosoftware_endstops: use *_MIN_POS and *_MAX_POS for arcs
Ian Jackson [Thu, 9 Aug 2012 17:15:32 +0000 (18:15 +0100)]
software_endstops: use *_MIN_POS and *_MAX_POS for arcs

If [XYZ]_HOME_POS and [XYZ]_MIN_POS aren't 0, these corrections are
wrong.  Use the same logic as in Marlin.pde:prepare_move: ie, clamp to
[XYZ]_{MIN,MAX}_POS.

While we're here, put this cut-and-paste code in a function
clamp_to_software_endstops.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agopop
Ian Jackson [Fri, 10 Aug 2012 15:49:16 +0000 (16:49 +0100)]
pop

12 years agopop
Ian Jackson [Fri, 10 Aug 2012 15:49:16 +0000 (16:49 +0100)]
pop

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 15:49:09 +0000 (16:49 +0100)]
refresh

12 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 15:49:09 +0000 (16:49 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 15:48:54 +0000 (16:48 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Fri, 10 Aug 2012 15:48:54 +0000 (16:48 +0100)]
refresh (create temporary patch)

12 years agoRefresh of makefile-avr-size
Ian Jackson [Fri, 10 Aug 2012 15:48:54 +0000 (16:48 +0100)]
Refresh of makefile-avr-size

12 years agogoto
Ian Jackson [Fri, 10 Aug 2012 15:48:45 +0000 (16:48 +0100)]
goto

12 years agogoto
Ian Jackson [Fri, 10 Aug 2012 15:48:45 +0000 (16:48 +0100)]
goto

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:16:38 +0000 (20:16 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:16:38 +0000 (20:16 +0100)]
pop

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 19:16:15 +0000 (20:16 +0100)]
goto

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 19:16:15 +0000 (20:16 +0100)]
goto

12 years agosink
Ian Jackson [Thu, 9 Aug 2012 19:14:34 +0000 (20:14 +0100)]
sink

12 years agosink
Ian Jackson [Thu, 9 Aug 2012 19:14:34 +0000 (20:14 +0100)]
sink

12 years agoM206: save values in eeprom
Ian Jackson [Wed, 1 Aug 2012 20:18:08 +0000 (21:18 +0100)]
M206: save values in eeprom

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the second stage of this, make the M206 home offset
parameters subject to the M500/M501/M502/M503 eeprom commands.

Bump the eeprom version to "V06".

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoHOMEAXIS: make into a function
Ian Jackson [Wed, 8 Aug 2012 17:30:34 +0000 (18:30 +0100)]
HOMEAXIS: make into a function

Replace the large macro HOMEAXIS with a function.  This avoids the
compiler generating three copies of largely identical code.  The
saving is 704 bytes of program memory.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:14:25 +0000 (20:14 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:14:25 +0000 (20:14 +0100)]
pop

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 19:12:47 +0000 (20:12 +0100)]
goto

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 19:12:47 +0000 (20:12 +0100)]
goto

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:01:26 +0000 (20:01 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 19:01:26 +0000 (20:01 +0100)]
pop

12 years agoeeprom: provide smaller code for SERIAL_ECHOPAIR
Ian Jackson [Sat, 4 Aug 2012 15:13:25 +0000 (16:13 +0100)]
eeprom: provide smaller code for SERIAL_ECHOPAIR

SERIAL_ECHOPAIR implies, eventually, two calls to MYSERIAL.print.  One
of these has FORCE_INLINE for a per-character loop, and both involve
constructing a method call rather than a simple function call.

Produce better and smaller code by providing three specialised
functions serial_echopair.  This saves 672 bytes of program memory
(with EEPROM_SETTINGS and SDSUPPORT enabled).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoHOMEAXIS: make into a function
Ian Jackson [Wed, 8 Aug 2012 17:30:34 +0000 (18:30 +0100)]
HOMEAXIS: make into a function

Replace the large macro HOMEAXIS with a function.  This avoids the
compiler generating three copies of largely identical code.  The
saving is 704 bytes of program memory.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoM206: save values in eeprom
Ian Jackson [Wed, 1 Aug 2012 20:18:08 +0000 (21:18 +0100)]
M206: save values in eeprom

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the second stage of this, make the M206 home offset
parameters subject to the M500/M501/M502/M503 eeprom commands.

Bump the eeprom version to "V06".

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 19:01:12 +0000 (20:01 +0100)]
refresh

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 19:01:12 +0000 (20:01 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:54:45 +0000 (19:54 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:54:45 +0000 (19:54 +0100)]
refresh (create temporary patch)

12 years agoRefresh of m206-always-use-homing-homeing
Ian Jackson [Thu, 9 Aug 2012 18:54:45 +0000 (19:54 +0100)]
Refresh of m206-always-use-homing-homeing

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 18:52:36 +0000 (19:52 +0100)]
goto

12 years agogoto
Ian Jackson [Thu, 9 Aug 2012 18:52:35 +0000 (19:52 +0100)]
goto

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:20:24 +0000 (19:20 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:20:24 +0000 (19:20 +0100)]
pop

12 years agoMakefile: Better display of size (device memory usage)
Ian Jackson [Thu, 9 Aug 2012 18:03:12 +0000 (19:03 +0100)]
Makefile: Better display of size (device memory usage)

Run avr-size with the --mcu=... -C option as well.  That reports how
much actual device program and data memory is used along with a
percentage fullness.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoMakefile: Better size printing
Ian Jackson [Thu, 9 Aug 2012 18:03:12 +0000 (19:03 +0100)]
Makefile: Better size printing

Run avr-size with the --mcu=... -C option as well.  That reports how
much actual device program and data memory is used along with a
percentage fullness.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoM206: always use homing ("homeing") offsets
Ian Jackson [Wed, 1 Aug 2012 20:12:14 +0000 (21:12 +0100)]
M206: always use homing ("homeing") offsets

Previously the parameters set in M206 would only be used if a G82
command was sent with specific axis home values.  This limits its
usefulness.

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the first stage of this, make M206 affect every
home command.  The values set using M206 are now added to the
configuration variables [XYZ]_HOME_POS.

This is achieved by replacing all uses of [XYZ]_HOME_POS in the code
by [XYZ]_HOME_POS_A which is a macro which includes the adjustment.

A question arises: if the M206 offset is set, should this adjustment
to the home position shift or change the possible range of movement
permitted by the software endstops ?

The documentation in Configuration.h describes these limits as:
    // Travel limits after homing
Since this is a file containing physical limits, and actual suggested
values for these configuration parameters appear to include a certain
amount of slop, I've taken the view that these should be regarded as
nominal physical distances from the limit switches, and that the
permissible travel should be unaffected by M206.

So for example with the (rather unrealistic)
  #define X_HOME_DIR -1
  #define X_MIN_POS -20
  #define X_HOME_POS 0
  #define X_MAX_POS 100
no matter the setting of M206 X, the machine would be permitted
to move from 20mm "beyond" the limit switch trigger point in
the negative X direction and 100mm away from the limit switch in
the positive X direction, for a total travel of 120mm.

With M206 X-10 that would be considered to correspond to X coordinates
-30 to +90.  With M206 X+10 that would be considered to correspond to
X coordinates -10 to +110.

fixes #200 (in ErikZalm/Marlin).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoM206: always use homing ("homeing") offsets
Ian Jackson [Wed, 1 Aug 2012 20:12:14 +0000 (21:12 +0100)]
M206: always use homing ("homeing") offsets

Previously the parameters set in M206 would only be used if a G82
command was sent with specific axis home values.  This limits its
usefulness.

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the first stage of this, make M206 affect every
home command.  The values set using M206 are now added to the
configuration variables [XYZ]_HOME_POS.

This is achieved by replacing all uses of [XYZ]_HOME_POS in the code
by [XYZ]_HOME_POS_A which is a macro which includes the adjustment.

A question arises: if the M206 offset is set, should this adjustment
to the home position shift or change the possible range of movement
permitted by the software endstops ?

I have taken the view that the software endstops are a backstop safety
feature which is not necessarily entirely accurate, and that reducing
the scope of movement, at either end, is not desirable.  I have
therefore arranged that nonzero values for M206 increase the total
range of movement.

So for example with
  #define X_MIN_POS 0
  #define X_HOME_POS 0
  #define X_MAX_POS 100

M206 X-10 would permit the machine to move from the endstop
(considered X=-10) 110mm in the positive X direction (considered
X=+100).

M206 X+10 would permit the machine to move from the endstop
(considered X=-10) 110mm in the positive X direction (considered
X=+110).

fixes #200 (in ErikZalm/Marlin).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoHOMEAXIS: make into a function
Ian Jackson [Wed, 8 Aug 2012 17:30:34 +0000 (18:30 +0100)]
HOMEAXIS: make into a function

Replace the large macro HOMEAXIS with a function.  This avoids the
compiler generating three copies of largely identical code.  The
saving is 704 bytes of program memory.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoMakefile: support V=1
Ian Jackson [Wed, 1 Aug 2012 20:31:38 +0000 (21:31 +0100)]
Makefile: support V=1

Often it can be useful to see the actual commands being run by make.
Other projects (eg, the Linux kernel) support this with a "V=1" make
parameter.  Do the same here.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agosoftware_endstops: use *_MIN_POS and *_MAX_POS for arcs
Ian Jackson [Thu, 9 Aug 2012 17:15:32 +0000 (18:15 +0100)]
software_endstops: use *_MIN_POS and *_MAX_POS for arcs

If [XYZ]_HOME_POS and [XYZ]_MIN_POS aren't 0, these corrections are
wrong.  Use the same logic as in Marlin.pde:prepare_move: ie, clamp to
[XYZ]_{MIN,MAX}_POS.

While we're here, put this cut-and-paste code in a function
clamp_to_software_endstops.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoM206: save values in eeprom
Ian Jackson [Wed, 1 Aug 2012 20:18:08 +0000 (21:18 +0100)]
M206: save values in eeprom

Really, we should have a way to adjust the XYZ homing of a machine in
the eeprom.  So as the second stage of this, make the M206 home offset
parameters subject to the M500/M501/M502/M503 eeprom commands.

Bump the eeprom version to "V06".

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years ago.gitignore: Add *~, *.orig, *.rej, move to root directory
Ian Jackson [Wed, 8 Aug 2012 17:32:51 +0000 (18:32 +0100)]
.gitignore: Add *~, *.orig, *.rej, move to root directory

Move the .gitignore out of the Marlin subdirectory so it applies to
the whole tree, and add some missing patterns.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoeeprom: provide smaller code for SERIAL_ECHOPAIR
Ian Jackson [Sat, 4 Aug 2012 15:13:25 +0000 (16:13 +0100)]
eeprom: provide smaller code for SERIAL_ECHOPAIR

SERIAL_ECHOPAIR implies, eventually, two calls to MYSERIAL.print.  One
of these has FORCE_INLINE for a per-character loop, and both involve
constructing a method call rather than a simple function call.

Produce better and smaller code by providing three specialised
functions serial_echopair.  This saves 672 bytes of program memory
(with EEPROM_SETTINGS and SDSUPPORT enabled).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agoMarlin.pde: include comment for emacs mode
Ian Jackson [Wed, 8 Aug 2012 16:56:39 +0000 (17:56 +0100)]
Marlin.pde: include comment for emacs mode

Emacs by default doesn't recognise a ".pde" file as C++ source code.
Add the annotation to the top of the file to make it work.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
12 years agohide
Ian Jackson [Thu, 9 Aug 2012 18:20:17 +0000 (19:20 +0100)]
hide

12 years agohide
Ian Jackson [Thu, 9 Aug 2012 18:20:17 +0000 (19:20 +0100)]
hide

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:20:07 +0000 (19:20 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:20:07 +0000 (19:20 +0100)]
pop

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:19:23 +0000 (19:19 +0100)]
refresh

12 years agorefresh
Ian Jackson [Thu, 9 Aug 2012 18:19:23 +0000 (19:19 +0100)]
refresh

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:19:15 +0000 (19:19 +0100)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Ian Jackson [Thu, 9 Aug 2012 18:19:15 +0000 (19:19 +0100)]
refresh (create temporary patch)

12 years agoRefresh of homeaxis-function
Ian Jackson [Thu, 9 Aug 2012 18:19:15 +0000 (19:19 +0100)]
Refresh of homeaxis-function

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:19:12 +0000 (19:19 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:19:12 +0000 (19:19 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:50 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:50 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:30 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:30 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:01 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:18:01 +0000 (19:18 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:17:14 +0000 (19:17 +0100)]
pop

12 years agopop
Ian Jackson [Thu, 9 Aug 2012 18:17:14 +0000 (19:17 +0100)]
pop