clinton/Smoothieware.git
11 years agodifferenciate accel branch
Arthur Wolf [Wed, 20 Feb 2013 16:10:18 +0000 (17:10 +0100)]
differenciate accel branch

11 years agofixing the printfs in Endstops
Arthur Wolf [Tue, 19 Feb 2013 17:38:21 +0000 (18:38 +0100)]
fixing the printfs in Endstops

11 years agoSwitch heap start from __HeapBase to __end__.
Adam Green [Tue, 19 Feb 2013 16:04:45 +0000 (08:04 -0800)]
Switch heap start from __HeapBase to __end__.

I verified that these symbols point to the same address by diffing
the before and after main.bin output files.  This change caused no
change in the resulting binary.

The use of the __end__ variable is just more correct since it comes
from the linker script.

11 years agoKeep memory options together in makefile.
Adam Green [Tue, 19 Feb 2013 16:02:17 +0000 (08:02 -0800)]
Keep memory options together in makefile.

Moved the STACK_SIZE option up closer to the HEAP_TAGS and
WRITE_BUFFER_DISABLE options.

11 years agoMerge remote-tracking branch 'origin/edge' into track_allocs
Adam Green [Mon, 18 Feb 2013 22:02:29 +0000 (14:02 -0800)]
Merge remote-tracking branch 'origin/edge' into track_allocs

11 years agoMerge pull request #128 from logxen/edge
Logxen [Mon, 18 Feb 2013 16:54:03 +0000 (08:54 -0800)]
Merge pull request #128 from logxen/edge

fixed merge error from the rename of Conveyor

11 years agofixed merge error from the rename of Conveyor
Logxen [Mon, 18 Feb 2013 16:52:18 +0000 (08:52 -0800)]
fixed merge error from the rename of Conveyor

11 years agoMerge branch 'edge' into track_allocs
Adam Green [Mon, 18 Feb 2013 11:03:27 +0000 (03:03 -0800)]
Merge branch 'edge' into track_allocs

11 years agoremoving G90 from main.cpp
Arthur Wolf [Mon, 18 Feb 2013 10:24:38 +0000 (11:24 +0100)]
removing G90 from main.cpp

11 years agothe new Player module was not created in main.cpp, fixing
Arthur Wolf [Mon, 18 Feb 2013 10:20:42 +0000 (11:20 +0100)]
the new Player module was not created in main.cpp, fixing

11 years agocleaning up main.cpp
Arthur Wolf [Mon, 18 Feb 2013 10:17:25 +0000 (11:17 +0100)]
cleaning up main.cpp

11 years agoMerge pull request #125 from arthurwolf/fix/NullStream
Logxen [Mon, 18 Feb 2013 00:37:18 +0000 (16:37 -0800)]
Merge pull request #125 from arthurwolf/fix/NullStream

Fix/null stream

11 years agoGcode: simplify get_int, use get_int to derive cached M and G codes
Michael Moon [Sun, 17 Feb 2013 23:40:02 +0000 (10:40 +1100)]
Gcode: simplify get_int, use get_int to derive cached M and G codes

11 years agoButtonPool: silence warning from button_checksum being defined in both Button.h and...
Michael Moon [Sun, 17 Feb 2013 23:39:03 +0000 (10:39 +1100)]
ButtonPool: silence warning from button_checksum being defined in both Button.h and ButtonPool.h

11 years agoStreamOutput: implement static NullStream for code clarity; Button, Player: use stati...
Michael Moon [Sun, 17 Feb 2013 23:36:16 +0000 (10:36 +1100)]
StreamOutput: implement static NullStream for code clarity; Button, Player: use static NullStream when appropriate

11 years agoadd .o to gitignore
Arthur Wolf [Sun, 17 Feb 2013 20:04:04 +0000 (21:04 +0100)]
add .o to gitignore

11 years agomake -q work
Arthur Wolf [Sun, 17 Feb 2013 19:57:21 +0000 (20:57 +0100)]
make -q work

11 years agoMerge pull request #124 from logxen/onboot
arthurwolf [Sun, 17 Feb 2013 18:05:40 +0000 (10:05 -0800)]
Merge pull request #124 from logxen/onboot

Onboot

11 years agofixed Button
Logxen [Sun, 17 Feb 2013 17:56:32 +0000 (09:56 -0800)]
fixed Button

11 years agoMerge branch 'edge' into onboot
Logxen [Sun, 17 Feb 2013 17:53:48 +0000 (09:53 -0800)]
Merge branch 'edge' into onboot

Conflicts:
src/main.cpp

11 years agoonboot feedback now sent to hardware uart
Logxen [Sun, 17 Feb 2013 17:52:03 +0000 (09:52 -0800)]
onboot feedback now sent to hardware uart

11 years agoMerge pull request #123 from logxen/button
Logxen [Sun, 17 Feb 2013 17:51:23 +0000 (09:51 -0800)]
Merge pull request #123 from logxen/button

Button

11 years agoadded button normal_state
Logxen [Sun, 17 Feb 2013 17:37:40 +0000 (09:37 -0800)]
added button normal_state

11 years agogot things working with current edge
Logxen [Sun, 17 Feb 2013 17:33:46 +0000 (09:33 -0800)]
got things working with current edge

11 years agomake usbserial handle \r the same way the other serial inputs do
Arthur Wolf [Sun, 17 Feb 2013 16:56:57 +0000 (17:56 +0100)]
make usbserial handle \r the same way the other serial inputs do

11 years agopreparing Button for modern edge
Logxen [Sun, 17 Feb 2013 16:14:45 +0000 (08:14 -0800)]
preparing Button for modern edge

11 years agoMerge branch 'edge' into button
Logxen [Sun, 17 Feb 2013 04:43:19 +0000 (20:43 -0800)]
Merge branch 'edge' into button

11 years agoMerge branch 'edge' into onboot
Logxen [Sun, 17 Feb 2013 04:36:39 +0000 (20:36 -0800)]
Merge branch 'edge' into onboot

11 years agoMerge branch 'edge' into onboot
Logxen [Sun, 17 Feb 2013 04:35:52 +0000 (20:35 -0800)]
Merge branch 'edge' into onboot

Conflicts:
src/libs/Kernel.cpp
src/libs/Kernel.h
src/modules/robot/Block.cpp
src/modules/robot/Block.h
src/modules/robot/Conveyor.cpp
src/modules/utils/simpleshell/SimpleShell.cpp
src/modules/utils/simpleshell/SimpleShell.h

11 years agoMerge pull request #122 from logxen/edge
Logxen [Sat, 16 Feb 2013 22:15:39 +0000 (14:15 -0800)]
Merge pull request #122 from logxen/edge

make direction[] in the EndStop module always be boolean

11 years agomake direction[] in the EndStop module always be boolean
Logxen [Sat, 16 Feb 2013 22:13:04 +0000 (14:13 -0800)]
make direction[] in the EndStop module always be boolean

11 years agoMerge pull request #121 from logxen/debugbreak
Logxen [Sat, 16 Feb 2013 22:08:33 +0000 (14:08 -0800)]
Merge pull request #121 from logxen/debugbreak

Debugbreak

11 years agoMerge branch 'edge' into debugbreak
Logxen [Sat, 16 Feb 2013 22:05:39 +0000 (14:05 -0800)]
Merge branch 'edge' into debugbreak

Conflicts:
src/modules/utils/simpleshell/SimpleShell.cpp
src/modules/utils/simpleshell/SimpleShell.h

11 years agocleaned whitespace
Logxen [Sat, 16 Feb 2013 22:00:10 +0000 (14:00 -0800)]
cleaned whitespace

11 years agoMerge branch 'edge' into button
Logxen [Sat, 16 Feb 2013 19:16:25 +0000 (11:16 -0800)]
Merge branch 'edge' into button

11 years agoMerge pull request #119 from bgamari/fixes
Logxen [Sat, 16 Feb 2013 18:26:07 +0000 (10:26 -0800)]
Merge pull request #119 from bgamari/fixes

Endstops: Fix default direction

11 years agoEndstops: Fix default direction
Ben Gamari [Sat, 16 Feb 2013 15:31:01 +0000 (10:31 -0500)]
Endstops: Fix default direction

Not sure why parsing the default from a string didn't work (it seemed to
return 0), but regardless this is simpler and works.

11 years agoMerge branch 'edge' into button
Logxen [Sat, 16 Feb 2013 06:03:14 +0000 (22:03 -0800)]
Merge branch 'edge' into button

11 years agoMerge pull request #117 from logxen/edge
Logxen [Sat, 16 Feb 2013 04:26:40 +0000 (20:26 -0800)]
Merge pull request #117 from logxen/edge

updated rostock config defaults in code

11 years agoupdated rostock config defaults in code
Logxen [Sat, 16 Feb 2013 04:24:36 +0000 (20:24 -0800)]
updated rostock config defaults in code

11 years agoMerge pull request #116 from wolfmanjm/update/sampleconfigs
Logxen [Fri, 15 Feb 2013 22:17:47 +0000 (14:17 -0800)]
Merge pull request #116 from wolfmanjm/update/sampleconfigs

updated Sample configs with new endstop settings

11 years agoupdated Sample configs with new endstop settings
Jim Morris [Fri, 15 Feb 2013 22:07:36 +0000 (14:07 -0800)]
updated Sample configs with new endstop settings
Changed default settings for Kossel

11 years agoMerge pull request #114 from orcinus/HomingDirection
arthurwolf [Fri, 15 Feb 2013 21:09:42 +0000 (13:09 -0800)]
Merge pull request #114 from orcinus/HomingDirection

Homing direction

11 years agoMerge pull request #115 from logxen/rotatedcartesian
Logxen [Fri, 15 Feb 2013 20:56:48 +0000 (12:56 -0800)]
Merge pull request #115 from logxen/rotatedcartesian

adds support for a cartesian system that is rotated from the mechanical system on the z axis

11 years agoadded RotatableCartesionSolution.h to Robot.cpp
Logxen [Fri, 15 Feb 2013 16:10:14 +0000 (08:10 -0800)]
added RotatableCartesionSolution.h to Robot.cpp

11 years agoMerge branch 'edge' into rotatedcartesian
Logxen [Fri, 15 Feb 2013 16:06:20 +0000 (08:06 -0800)]
Merge branch 'edge' into rotatedcartesian

11 years agoMerge pull request #113 from wolfmanjm/fix/homing
Logxen [Fri, 15 Feb 2013 07:56:24 +0000 (23:56 -0800)]
Merge pull request #113 from wolfmanjm/fix/homing

making stepper::moving volatile fixes the homing cycle from hanging afte...

11 years agomaking stepper::moving volatile fixes the homing cycle from hanging after retract
Jim Morris [Fri, 15 Feb 2013 07:53:10 +0000 (23:53 -0800)]
making stepper::moving volatile fixes the homing cycle from hanging after retract

11 years agoMerge pull request #112 from logxen/edge
Logxen [Fri, 15 Feb 2013 07:51:58 +0000 (23:51 -0800)]
Merge pull request #112 from logxen/edge

made FileConfigSource tolerate tabs

11 years agomade FileConfigSource tolerate tabs
Logxen [Fri, 15 Feb 2013 07:49:04 +0000 (23:49 -0800)]
made FileConfigSource tolerate tabs

11 years agoinitial rotated cartesian solution implementation
Logxen [Fri, 15 Feb 2013 07:41:55 +0000 (23:41 -0800)]
initial rotated cartesian solution implementation

11 years agoMerge pull request #110 from logxen/rostock2
Logxen [Fri, 15 Feb 2013 04:28:14 +0000 (20:28 -0800)]
Merge pull request #110 from logxen/rostock2

Rostock2

11 years agoMerge branch 'edge' into rostock2
Logxen [Fri, 15 Feb 2013 04:08:56 +0000 (20:08 -0800)]
Merge branch 'edge' into rostock2

11 years agochanged solve_arm() to TriffidHunters's solution, which is reported to work
Logxen [Fri, 15 Feb 2013 04:07:52 +0000 (20:07 -0800)]
changed solve_arm() to TriffidHunters's solution, which is reported to work

11 years agoSmoothieSerial.inf should be DOS type.
Adam Green [Fri, 15 Feb 2013 00:51:21 +0000 (16:51 -0800)]
SmoothieSerial.inf should be DOS type.

11 years agoTry clarifing SerialConsole() UART selection.
Adam Green [Thu, 14 Feb 2013 20:34:14 +0000 (12:34 -0800)]
Try clarifing SerialConsole() UART selection.

11 years agoMerge branch 'edge' into rostock2
Logxen [Thu, 14 Feb 2013 08:31:44 +0000 (00:31 -0800)]
Merge branch 'edge' into rostock2

11 years agoMerge pull request #109 from logxen/edge
Logxen [Thu, 14 Feb 2013 08:30:46 +0000 (00:30 -0800)]
Merge pull request #109 from logxen/edge

added second_usb_serial_enable config option

11 years agoadded second_usb_serial_enable config option
Logxen [Thu, 14 Feb 2013 08:26:16 +0000 (00:26 -0800)]
added second_usb_serial_enable config option

11 years agorenamed beta_angle and gamma_angle to beta_relative_angle etc
Logxen [Thu, 14 Feb 2013 07:49:13 +0000 (23:49 -0800)]
renamed beta_angle and gamma_angle to beta_relative_angle etc

11 years agoadded alpha_angle config for rostock and abstracted the matrix rotation
Logxen [Thu, 14 Feb 2013 07:27:30 +0000 (23:27 -0800)]
added alpha_angle config for rostock and abstracted the matrix rotation

11 years agoadded configable beta and gamma angle offsets to the rostock solution
Logxen [Thu, 14 Feb 2013 06:58:24 +0000 (22:58 -0800)]
added configable beta and gamma angle offsets to the rostock solution

11 years agoremoved carriage_radius setting and made a sample rostock config file
Logxen [Thu, 14 Feb 2013 06:08:09 +0000 (22:08 -0800)]
removed carriage_radius setting and made a sample rostock config file

11 years agoMerge branch 'edge' of git://github.com/arthurwolf/Smoothie into HomingDirection
Ante Vukorepa [Thu, 14 Feb 2013 03:54:18 +0000 (04:54 +0100)]
Merge branch 'edge' of git://github.com/arthurwolf/Smoothie into HomingDirection

11 years agoAccidentally left a hard-coded position in.
Ante Vukorepa [Thu, 14 Feb 2013 03:53:56 +0000 (04:53 +0100)]
Accidentally left a hard-coded position in.

11 years agoAdded position reset at homing end; Added min and max axis positions.
Ante Vukorepa [Thu, 14 Feb 2013 03:45:12 +0000 (04:45 +0100)]
Added position reset at homing end; Added min and max axis positions.

11 years agoMerge branch 'edge' into track_allocs
Adam Green [Thu, 14 Feb 2013 03:10:23 +0000 (19:10 -0800)]
Merge branch 'edge' into track_allocs

11 years agoMerge branch 'edge' into rostock2
Logxen [Wed, 13 Feb 2013 23:44:52 +0000 (15:44 -0800)]
Merge branch 'edge' into rostock2

11 years agoMerge pull request #108 from logxen/edge
Logxen [Wed, 13 Feb 2013 23:06:51 +0000 (15:06 -0800)]
Merge pull request #108 from logxen/edge

commented the second usbserial to simplify life for new users

11 years agocommented the second usbserial to simplify life for new users
Logxen [Wed, 13 Feb 2013 23:05:32 +0000 (15:05 -0800)]
commented the second usbserial to simplify life for new users

11 years agoMerge pull request #1 from wolfmanjm/fix/solution-selection
Logxen [Wed, 13 Feb 2013 22:25:18 +0000 (14:25 -0800)]
Merge pull request #1 from wolfmanjm/fix/solution-selection

change switch to if/then/else for solution selection, so it compiles und...

11 years agochange switch to if/then/else for solution selection, so it compiles under DEBUG
Jim Morris [Wed, 13 Feb 2013 21:47:31 +0000 (13:47 -0800)]
change switch to if/then/else for solution selection, so it compiles under DEBUG

11 years agorebuilt rostock solution into modern edge
Logxen [Wed, 13 Feb 2013 20:57:44 +0000 (12:57 -0800)]
rebuilt rostock solution into modern edge

11 years agoMerge branch 'edge' into track_allocs
Adam Green [Wed, 13 Feb 2013 17:21:43 +0000 (09:21 -0800)]
Merge branch 'edge' into track_allocs

11 years agoMerge pull request #105 from wolfmanjm/feature/playprogress
arthurwolf [Wed, 13 Feb 2013 14:48:10 +0000 (06:48 -0800)]
Merge pull request #105 from wolfmanjm/feature/playprogress

added new simpleshell commands progress, abort and help

11 years agoMerge branch 'edge' into track_allocs
Adam Green [Wed, 13 Feb 2013 08:27:46 +0000 (00:27 -0800)]
Merge branch 'edge' into track_allocs

11 years agoReserve space for stack at runtime.
Adam Green [Wed, 13 Feb 2013 08:20:45 +0000 (00:20 -0800)]
Reserve space for stack at runtime.

Adds support for STACK_SIZE make variable.  When this is set to a
non-zero value, the heap's growth will not extend into this reserved
area for the stack.  The MPU is also used to make sure that the stack
doesn't exceed this reservation.  If it does then a memory fault will
occur.  WARNING: These faults can be a bit difficult to debug since
they will encounter a stacking exception when they attempt to enter the
hardfault handler.  It is possible to glean information manually from
RAM to figure out roughly what was going one when the stack overflowed
though since most of the stack still remains in RAM.

11 years agoadded new simplshell commands progress, abort and help
Jim Morris [Wed, 13 Feb 2013 07:58:31 +0000 (23:58 -0800)]
added new simplshell commands progress, abort and help

11 years agoFixed spelling error in lpc21isp URL in README file.
Adam Green [Wed, 13 Feb 2013 06:12:55 +0000 (22:12 -0800)]
Fixed spelling error in lpc21isp URL in README file.

11 years agoMerge branch 'feature/USBSerial-works-outside-ISR-context' into edge
Michael Moon [Wed, 13 Feb 2013 06:01:34 +0000 (17:01 +1100)]
Merge branch 'feature/USBSerial-works-outside-ISR-context' into edge

11 years agoUSBSerial: remove redundant commented code
Michael Moon [Wed, 13 Feb 2013 05:59:24 +0000 (16:59 +1100)]
USBSerial: remove redundant commented code

11 years agoSimpleShell: cat: use puts instead of printf("%s") for efficiency
Michael Moon [Wed, 13 Feb 2013 05:59:05 +0000 (16:59 +1100)]
SimpleShell: cat: use puts instead of printf("%s") for efficiency

11 years agoUSBSerial: call USBHW::usbisr() to drain queue when necessary
Michael Moon [Wed, 13 Feb 2013 05:57:29 +0000 (16:57 +1100)]
USBSerial: call USBHW::usbisr() to drain queue when necessary

11 years agoUSBSerial: enough room in buffer for 2 full USB packets, plus a little extra to maint...
Michael Moon [Wed, 13 Feb 2013 05:56:32 +0000 (16:56 +1100)]
USBSerial: enough room in buffer for 2 full USB packets, plus a little extra to maintain alignment

11 years agoCircBuffer: use actual size specified, report free space correctly
Michael Moon [Wed, 13 Feb 2013 05:55:22 +0000 (16:55 +1100)]
CircBuffer: use actual size specified, report free space correctly

11 years agoCircBuffer: move USBSerial buffers into USB ram to conserve main ram
Michael Moon [Wed, 13 Feb 2013 05:54:33 +0000 (16:54 +1100)]
CircBuffer: move USBSerial buffers into USB ram to conserve main ram

11 years agoMerge pull request #104 from bgamari/edge
Ben Gamari [Wed, 13 Feb 2013 05:46:02 +0000 (21:46 -0800)]
Merge pull request #104 from bgamari/edge

Gcode: Ensure queued is initialized

11 years agoGcode: Ensure queued is initialized
Ben Gamari [Wed, 13 Feb 2013 05:39:10 +0000 (00:39 -0500)]
Gcode: Ensure queued is initialized

This was a silly and obvious oversight from
6a3328dfe514e66a98c0cf5adc7252d333567e83. Thanks to wolfmanjm for
spotting it.

11 years agoAdd maxstacksize command for GDB.
Adam Green [Wed, 13 Feb 2013 04:45:42 +0000 (20:45 -0800)]
Add maxstacksize command for GDB.

Fills the area of SRAM between the top of the .bss section and the
top of the stack.  Can be used later with the maxstacksize command that
I added to .gdbinit.  This command searches the area between the
heap and stack to find where the fill has been overwritten and assumes
that the stack has grown into that area at some point in time.  This is
used to calculate the maximum stack size used.
NOTE: If your heap does ever shrink, then the maxstacksize command will
      be confused.  However, this has been a pretty rare case for
      Smoothie recently.

Also added these other commands:
heapsize - Displays the current heap size.
stacksize - Displays the current stack size.

11 years agoMerge branch 'edge' into track_allocs
Adam Green [Wed, 13 Feb 2013 01:43:39 +0000 (17:43 -0800)]
Merge branch 'edge' into track_allocs

11 years agoMerge pull request #102 from bgamari/fixes
Ben Gamari [Wed, 13 Feb 2013 00:34:27 +0000 (16:34 -0800)]
Merge pull request #102 from bgamari/fixes

Player: Reduce block queue depth to 16

11 years agoPlayer: Reduce block queue depth to 16
Ben Gamari [Tue, 12 Feb 2013 23:41:29 +0000 (18:41 -0500)]
Player: Reduce block queue depth to 16

It seems we don't have enough memory to keep this many blocks around;
the heap collides with the stack on LPC1769.

11 years agoMerge pull request #92 from wolfmanjm/move_digipot
arthurwolf [Wed, 13 Feb 2013 00:05:39 +0000 (16:05 -0800)]
Merge pull request #92 from wolfmanjm/move_digipot

move digipot to CurrentCOntrol Module

11 years agoMerge pull request #96 from wolfmanjm/upstreamedge
arthurwolf [Wed, 13 Feb 2013 00:04:41 +0000 (16:04 -0800)]
Merge pull request #96 from wolfmanjm/upstreamedge

add closedir to simpleshell commands that open directories

11 years agoFixes issue #101
Adam Green [Tue, 12 Feb 2013 07:26:50 +0000 (23:26 -0800)]
Fixes issue #101

Simplified naming convention of sample config file and re-organized into
directory structure where more than one sample can live with each sample having
the correct final name of "config".

I have included a sample README.TXT file in the ConfigSamples directory that
others more knowledgable about this area may want to update.

11 years agoCheck for double free with HEAP_TAG.
Adam Green [Tue, 12 Feb 2013 02:50:44 +0000 (18:50 -0800)]
Check for double free with HEAP_TAG.

If you enable HEAP_TAG, now wraps free() calls to make sure it isn't
already freed and debugbreak()'s if it is.

11 years agoMerge branch 'edge' into track_allocs
Adam Green [Mon, 11 Feb 2013 08:38:02 +0000 (00:38 -0800)]
Merge branch 'edge' into track_allocs

Conflicts:
gcc4mbed/src/gcc4mbed.cpp

11 years agoSwitch gcc4mbed.c license to Apache v2
Adam Green [Mon, 11 Feb 2013 08:11:16 +0000 (00:11 -0800)]
Switch gcc4mbed.c license to Apache v2

I never meant for this to have a LGPL license on it.  I must have
copied that from MRI code base at some point.  I should have been
Apache v2.

11 years agoMerge branch 'edge' into track_allocs
Adam Green [Mon, 11 Feb 2013 08:05:17 +0000 (00:05 -0800)]
Merge branch 'edge' into track_allocs

11 years agoWRITE_BUFFER_DISABLE support in makefile.
Adam Green [Mon, 11 Feb 2013 07:56:12 +0000 (23:56 -0800)]
WRITE_BUFFER_DISABLE support in makefile.

Setting to WRITE_BUFFER_DISABLE to 1 will configure the MPU to disable
write buffering and eliminate imprecise bus faults.  Can make debugging
write faults easier.