chiark / gitweb /
marlin.git
11 years agopop
Ian Jackson [Fri, 10 Aug 2012 17:10:26 +0000 (18:10 +0100)]
pop

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

11 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>
11 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 724 bytes of program memory.

We make use of XYZ_CONSTS_FROM_CONFIG to provide convenient
array-shaped access to MAX_LENGTH, HOME_RETRACT_MM and HOME_DIR.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
11 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>
11 years agohide
Ian Jackson [Fri, 10 Aug 2012 17:10:23 +0000 (18:10 +0100)]
hide

11 years agohide
Ian Jackson [Fri, 10 Aug 2012 17:10:23 +0000 (18:10 +0100)]
hide

11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 17:10:18 +0000 (18:10 +0100)]
goto

11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 17:10:18 +0000 (18:10 +0100)]
goto

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

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

11 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>
11 years agorefresh
Ian Jackson [Fri, 10 Aug 2012 16:55:35 +0000 (17:55 +0100)]
refresh

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

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

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

11 years agoRefresh of homeaxis-function
Ian Jackson [Fri, 10 Aug 2012 16:55:25 +0000 (17:55 +0100)]
Refresh of homeaxis-function

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

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

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

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

11 years agoRefresh of homeaxis-function
Ian Jackson [Fri, 10 Aug 2012 16:54:27 +0000 (17:54 +0100)]
Refresh of homeaxis-function

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

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

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

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

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

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

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

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

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

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

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

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

11 years agoRefresh of homeaxis-function
Ian Jackson [Fri, 10 Aug 2012 16:52:55 +0000 (17:52 +0100)]
Refresh of homeaxis-function

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

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

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

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

11 years agoRefresh of homeaxis-function
Ian Jackson [Fri, 10 Aug 2012 16:49:22 +0000 (17:49 +0100)]
Refresh of homeaxis-function

11 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 724 bytes of program memory.

We make use of XYZ_CONSTS_FROM_CONFIG to provide convenient
array-shaped access to MAX_LENGTH, HOME_RETRACT_MM and HOME_DIR.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
11 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>
11 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>
11 years agopop
Ian Jackson [Fri, 10 Aug 2012 16:41:14 +0000 (17:41 +0100)]
pop

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

11 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>
11 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>
11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 16:41:12 +0000 (17:41 +0100)]
goto

11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 16:41:12 +0000 (17:41 +0100)]
goto

11 years agoENABLE EEPROM SETTINGS AND SDSUPPORT NOT FOR UPSTREAM
Ian Jackson [Wed, 8 Aug 2012 16:57:15 +0000 (17:57 +0100)]
ENABLE EEPROM SETTINGS AND SDSUPPORT NOT FOR UPSTREAM

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

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

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

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

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

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

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

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

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

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

11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 16:34:54 +0000 (17:34 +0100)]
goto

11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 16:34:54 +0000 (17:34 +0100)]
goto

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

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

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

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

11 years agoRefresh of homeaxis-function
Ian Jackson [Fri, 10 Aug 2012 16:34:47 +0000 (17:34 +0100)]
Refresh of homeaxis-function

11 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>
11 years agopop
Ian Jackson [Fri, 10 Aug 2012 16:33:05 +0000 (17:33 +0100)]
pop

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

11 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>
11 years agopop
Ian Jackson [Fri, 10 Aug 2012 16:32:57 +0000 (17:32 +0100)]
pop

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

11 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>
11 years agopop
Ian Jackson [Fri, 10 Aug 2012 16:32:54 +0000 (17:32 +0100)]
pop

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

11 years agoENABLE EEPROM SETTINGS AND SDSUPPORT NOT FOR UPSTREAM
Ian Jackson [Wed, 8 Aug 2012 16:57:15 +0000 (17:57 +0100)]
ENABLE EEPROM SETTINGS AND SDSUPPORT NOT FOR UPSTREAM

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

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

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

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

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

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

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

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

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

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

11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 16:27:04 +0000 (17:27 +0100)]
goto

11 years agogoto
Ian Jackson [Fri, 10 Aug 2012 16:27:04 +0000 (17:27 +0100)]
goto

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

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

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

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

11 years agoRefresh of homeaxis-function
Ian Jackson [Fri, 10 Aug 2012 16:26:46 +0000 (17:26 +0100)]
Refresh of homeaxis-function

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

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

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

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

11 years agoRefresh of homeaxis-function
Ian Jackson [Fri, 10 Aug 2012 16:21:46 +0000 (17:21 +0100)]
Refresh of homeaxis-function

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