clinton/Smoothieware.git
11 years agoUpgrade gcc4mbed project used by Smoothie.
Adam Green [Wed, 12 Sep 2012 01:13:30 +0000 (18:13 -0700)]
Upgrade gcc4mbed project used by Smoothie.

Main updates:
* Now uses GCC ARM Embedded 4.6.2012-q1-update
* mbed SDK version upgraded from version 28 to 43.
* Now uses header dependencies to make incremental build more useful.  No
  longer do you need to run "make clean" before each build that contained
  header changes.
* Treats .c files as C code and not C++.  The mbed guys have finally made this
  change for the online compiler so I have switched to match it.  It does mean
  that some .c files now need to be renamed to .cpp if they #include a C++
  header such as mbed.h
* I have tried to trim out some of the fat in the build and produce smaller
  binaries than what were created previously by gcc4mbed based projects.  Still
  no where close to being as small as what the online compiler produces.

11 years agore-enabling serial
Arthur Wolf [Thu, 13 Sep 2012 22:10:49 +0000 (00:10 +0200)]
re-enabling serial

11 years agoadded -q ( quiet ) option to the play command
Arthur Wolf [Sat, 8 Sep 2012 09:11:37 +0000 (11:11 +0200)]
added -q ( quiet ) option to the play command

11 years agoS is not a command, this is bad : https://github.com/arthurwolf/Smoothie/commit/de917...
Arthur Wolf [Thu, 6 Sep 2012 16:50:51 +0000 (18:50 +0200)]
S is not a command, this is bad : https://github.com/arthurwolf/Smoothie/commit/de91760a051ab3231556131e0eaf65d58df5a3d5

11 years agolaser was broken, lines missing at the end of files
Arthur Wolf [Mon, 13 Aug 2012 12:17:25 +0000 (14:17 +0200)]
laser was broken, lines missing at the end of files

11 years agoMerge pull request #57 from gxurma/lasercontrol
arthurwolf [Sun, 29 Jul 2012 15:32:02 +0000 (08:32 -0700)]
Merge pull request #57 from gxurma/lasercontrol

Lasercontrol

11 years agoAdded laser control command. Forked from edge. Now command S can be also sent without...
Gyurkó Martin [Sun, 29 Jul 2012 15:04:41 +0000 (17:04 +0200)]
Added laser control command. Forked from edge. Now command S can be also sent without G commands. For example S0.5 sets maximum laser output to 50%. It still uses the acceleration power ramp. Useful only with continuous laser output, because diode lasers behave differently when not reaching threshold current at the beginning...

11 years agothose two were swapped
Arthur Wolf [Sun, 22 Jul 2012 14:21:30 +0000 (16:21 +0200)]
those two were swapped

11 years agoMerge pull request #51 from arthurwolf/streams
arthurwolf [Sun, 8 Jul 2012 11:59:32 +0000 (04:59 -0700)]
Merge pull request #51 from arthurwolf/streams

Streams

11 years agochanged back from mbed for merging
Arthur Wolf [Sun, 8 Jul 2012 11:51:04 +0000 (13:51 +0200)]
changed back from mbed for merging

11 years agokernel->serial is dead
Arthur Wolf [Sun, 8 Jul 2012 11:01:16 +0000 (13:01 +0200)]
kernel->serial is dead

11 years agochanged to work with mbed
Arthur Wolf [Sun, 8 Jul 2012 09:17:29 +0000 (11:17 +0200)]
changed to work with mbed

11 years agoMerge pull request #49 from arthurwolf/switch
arthurwolf [Sat, 7 Jul 2012 20:52:30 +0000 (13:52 -0700)]
Merge pull request #49 from arthurwolf/switch

Switch

11 years agoremoving mbed stuff
Arthur Wolf [Sat, 7 Jul 2012 20:44:31 +0000 (22:44 +0200)]
removing mbed stuff

11 years agoMerge pull request #48 from arthurwolf/edge
arthurwolf [Sat, 7 Jul 2012 19:00:49 +0000 (12:00 -0700)]
Merge pull request #48 from arthurwolf/edge

Edge

11 years agoversion change
Arthur Wolf [Sat, 7 Jul 2012 18:50:21 +0000 (20:50 +0200)]
version change

11 years agoworking Switch module
Arthur Wolf [Sat, 7 Jul 2012 18:28:07 +0000 (20:28 +0200)]
working Switch module

11 years agochanged for testing on mbed
Arthur Wolf [Sat, 7 Jul 2012 15:40:38 +0000 (17:40 +0200)]
changed for testing on mbed

11 years agoget_module_list was missing, adding, should make module pools work again
Arthur Wolf [Sun, 1 Jul 2012 15:51:06 +0000 (17:51 +0200)]
get_module_list was missing, adding, should make module pools work again

11 years agoMerge pull request #46 from logxen/config
Mark A. Cooper [Wed, 20 Jun 2012 08:46:21 +0000 (01:46 -0700)]
Merge pull request #46 from logxen/config

Config refactoring and Smoothification

11 years agomade the local and sd configs addressable by those names
Logxen [Wed, 20 Jun 2012 08:40:07 +0000 (01:40 -0700)]
made the local and sd configs addressable by those names

11 years agoimplemented config-load <filename> and did a little refactoring
Logxen [Wed, 20 Jun 2012 07:53:34 +0000 (00:53 -0700)]
implemented config-load <filename> and did a little refactoring

11 years agofixed small bug in the new config-load implementation
Logxen [Wed, 20 Jun 2012 01:16:26 +0000 (18:16 -0700)]
fixed small bug in the new config-load implementation

11 years agoimplemented config-load command with new config system
Logxen [Wed, 20 Jun 2012 01:10:40 +0000 (18:10 -0700)]
implemented config-load command with new config system

11 years agoremoved M50x stubs
Logxen [Wed, 20 Jun 2012 00:03:41 +0000 (17:03 -0700)]
removed M50x stubs

11 years agofinished implementing basic config-get and config-set for both live settings and...
Logxen [Tue, 19 Jun 2012 23:29:05 +0000 (16:29 -0700)]
finished implementing basic config-get and config-set for both live settings and storage settings

11 years agoimplemented FileConfigSource::read() by copying the old version with a few changes
Logxen [Tue, 19 Jun 2012 20:24:53 +0000 (13:24 -0700)]
implemented FileConfigSource::read() by copying the old version with a few changes

11 years agoimplemented FileConfigSource::write() by copying teh old implementation
Logxen [Tue, 19 Jun 2012 20:07:27 +0000 (13:07 -0700)]
implemented FileConfigSource::write() by copying teh old implementation

11 years agoextended ConfigSource to allow random read and writes as well as other features and...
Logxen [Tue, 19 Jun 2012 19:50:52 +0000 (12:50 -0700)]
extended ConfigSource to allow random read and writes as well as other features and refactoring

11 years agocleaning of Configurator for new Smoothified config system
Logxen [Tue, 19 Jun 2012 18:42:06 +0000 (11:42 -0700)]
cleaning of Configurator for new Smoothified config system

11 years agomoved config commands into Configurator module
Logxen [Tue, 19 Jun 2012 16:29:11 +0000 (09:29 -0700)]
moved config commands into Configurator module

11 years agoseveral small bug squashes and some cleaning
Logxen [Tue, 19 Jun 2012 16:19:08 +0000 (09:19 -0700)]
several small bug squashes and some cleaning

11 years agoMerge remote-tracking branch 'upstream/configrefactor' into config
Logxen [Tue, 19 Jun 2012 16:13:33 +0000 (09:13 -0700)]
Merge remote-tracking branch 'upstream/configrefactor' into config

11 years agoforgot to remove the mbed hack thingie
Arthur Wolf [Tue, 19 Jun 2012 15:45:29 +0000 (17:45 +0200)]
forgot to remove the mbed hack thingie

11 years agotested on mbed, seems to work. commiting for Logxen to add configurator,
Arthur Wolf [Tue, 19 Jun 2012 15:41:15 +0000 (17:41 +0200)]
tested on mbed, seems to work. commiting for Logxen to add configurator,
wheeee :)

11 years agoFirst compiling version of the new Config abstraction, but untested atm,
Arthur Wolf [Tue, 19 Jun 2012 14:56:46 +0000 (16:56 +0200)]
First compiling version of the new Config abstraction, but untested atm,
and not fully functional

11 years agoadded include for Configurator to main.cpp
Logxen [Sun, 17 Jun 2012 23:45:52 +0000 (16:45 -0700)]
added include for Configurator to main.cpp

11 years agoMerge branch 'config' of github.com:logxen/Smoothie into config
Logxen [Sun, 17 Jun 2012 23:43:43 +0000 (16:43 -0700)]
Merge branch 'config' of github.com:logxen/Smoothie into config

11 years agoskeleton commit for Configurator
Logxen [Sun, 17 Jun 2012 18:38:21 +0000 (11:38 -0700)]
skeleton commit for Configurator

11 years agoMerge pull request #44 from logxen/edge
Mark A. Cooper [Sun, 17 Jun 2012 19:56:05 +0000 (12:56 -0700)]
Merge pull request #44 from logxen/edge

Added 'pwd' command to SimpleShell and fixed the names of a few command_checksum defines

11 years agoMerge branch 'ss' into edge
Logxen [Sun, 17 Jun 2012 19:29:34 +0000 (12:29 -0700)]
Merge branch 'ss' into edge

11 years agoclarified the names of several command_checksums
Logxen [Sun, 17 Jun 2012 19:29:17 +0000 (12:29 -0700)]
clarified the names of several command_checksums

11 years agoskeleton commit for Configurator
Logxen [Sun, 17 Jun 2012 18:38:21 +0000 (11:38 -0700)]
skeleton commit for Configurator

11 years agoImplemented pwd (present working directory) command in SimpleShell
Logxen [Sat, 16 Jun 2012 19:06:32 +0000 (12:06 -0700)]
Implemented pwd (present working directory) command in SimpleShell

11 years agoMerge pull request #43 from logxen/reset
Mark A. Cooper [Thu, 14 Jun 2012 14:56:09 +0000 (07:56 -0700)]
Merge pull request #43 from logxen/reset

added a reset command to SimpleShell that triggers a watchdog reset

11 years agomoved the system_reset function into libs/utils
Logxen [Thu, 14 Jun 2012 08:15:48 +0000 (01:15 -0700)]
moved the system_reset function into libs/utils

11 years agoadded a reset command to SimpleShell that triggers a watchdog reset
Logxen [Thu, 14 Jun 2012 07:40:04 +0000 (00:40 -0700)]
added a reset command to SimpleShell that triggers a watchdog reset

11 years agoMerge pull request #42 from logxen/config
Mark A. Cooper [Thu, 14 Jun 2012 05:42:58 +0000 (22:42 -0700)]
Merge pull request #42 from logxen/config

Cached config settings - and also the answer to the ultimate question

11 years agocleaned system, removed obsolete comments, minor bugfixes
Logxen [Thu, 14 Jun 2012 04:58:34 +0000 (21:58 -0700)]
cleaned system, removed obsolete comments, minor bugfixes

11 years agoreworked config system to retain a compacted version of the cache to remove memory...
Logxen [Thu, 14 Jun 2012 03:04:50 +0000 (20:04 -0700)]
reworked config system to retain a compacted version of the cache to remove memory leaks and reduce sd reads even further

11 years agoinitial commit for caching config values during init
Logxen [Wed, 13 Jun 2012 23:46:51 +0000 (16:46 -0700)]
initial commit for caching config values during init

11 years agoMerge pull request #40 from adamgreen/edge
arthurwolf [Sat, 2 Jun 2012 20:33:05 +0000 (13:33 -0700)]
Merge pull request #40 from adamgreen/edge

Upgrade MRI to version 0.2-20120601.1

11 years agoUpgrade MRI to version 0.2-20120601.1
Adam Green [Sat, 2 Jun 2012 20:06:40 +0000 (13:06 -0700)]
Upgrade MRI to version 0.2-20120601.1

This alpha build has been updated to work with the newer GNU ARM Embedded
toolchain and the mri.ar included in this update was actually compiled with
that toolchain.  It has however been tested to make sure that it will still
work with the Smoothie project which uses a slighly older version of the
Code Sourcery toolchain.  One good consequence of this change is that the
register context sent by MRI on debug events is 100 bytes smaller since it no
longer has to fake sending floating point registers which don't exist on the
Cortex-M3.

This update also includes changes that were made to allow MRI to work with
bare bone projects that don't link with the mbed SDK libraries.

11 years agoMerge pull request #39 from briand/working
arthurwolf [Sat, 2 Jun 2012 13:48:43 +0000 (06:48 -0700)]
Merge pull request #39 from briand/working

Console fix

11 years agoRead in all you can from serial pipes (prevent lost commands)
Brian Dickman [Sat, 2 Jun 2012 05:37:40 +0000 (22:37 -0700)]
Read in all you can from serial pipes (prevent lost commands)

11 years agoMerge pull request #38 from logxen/wait4q
Mark A. Cooper [Tue, 29 May 2012 17:14:53 +0000 (10:14 -0700)]
Merge pull request #38 from logxen/wait4q

Wait4q - this code refactors the process of waiting for the block queue into a single function

11 years agoMerge branch 'edge' into wait4q
Logxen [Tue, 29 May 2012 16:30:10 +0000 (09:30 -0700)]
Merge branch 'edge' into wait4q

11 years agoMerge pull request #36 from briand/working
arthurwolf [Tue, 29 May 2012 10:35:19 +0000 (03:35 -0700)]
Merge pull request #36 from briand/working

A clean cherry-pick of work so far. Each commit speaks for itself, I think.

11 years agoMerge branch 'edge' into wait4q
Logxen [Tue, 29 May 2012 05:57:35 +0000 (22:57 -0700)]
Merge branch 'edge' into wait4q

11 years agoimplemented printf in USBCDCMSC. Works as a SimpleShell target now.
Brian Dickman [Mon, 21 May 2012 05:18:07 +0000 (22:18 -0700)]
implemented printf in USBCDCMSC. Works as a SimpleShell target now.

11 years ago'cat' using full lines (to improve efficiency over USB)
Brian Dickman [Mon, 21 May 2012 05:17:38 +0000 (22:17 -0700)]
'cat' using full lines (to improve efficiency over USB)

11 years agoDon't try to cat/play missing files
Brian Dickman [Mon, 21 May 2012 04:49:31 +0000 (21:49 -0700)]
Don't try to cat/play missing files

11 years agoConvert incoming CR -> NL for cases where NL is not sent
Brian Dickman [Mon, 21 May 2012 04:48:24 +0000 (21:48 -0700)]
Convert incoming CR -> NL for cases where NL is not sent

11 years agoAdding sense code from Steve Evans
Brian Dickman [Sat, 5 May 2012 04:51:30 +0000 (21:51 -0700)]
Adding sense code from Steve Evans

OS X really hates it when MSC doesn't report sense info

11 years agoMerge pull request #35 from logxen/edge
Mark A. Cooper [Sat, 26 May 2012 16:00:21 +0000 (09:00 -0700)]
Merge pull request #35 from logxen/edge

made Config read the last line of a file even if there is no line break

11 years agomade Config read the last line of a file even if there is no line break
Logxen [Sat, 26 May 2012 15:29:02 +0000 (08:29 -0700)]
made Config read the last line of a file even if there is no line break

12 years agoupdated headers following merge of xhume into edge
Logxen [Fri, 11 May 2012 21:58:17 +0000 (14:58 -0700)]
updated headers following merge of xhume into edge

12 years agoMerge branch 'edge' into wait4q
Logxen [Fri, 11 May 2012 21:53:19 +0000 (14:53 -0700)]
Merge branch 'edge' into wait4q

12 years agoMerge pull request #31 from logxen/xhume
arthurwolf [Fri, 11 May 2012 21:35:03 +0000 (14:35 -0700)]
Merge pull request #31 from logxen/xhume

Xhume

12 years agocleaning
Logxen [Fri, 11 May 2012 21:15:15 +0000 (14:15 -0700)]
cleaning

12 years agomostly changes to headers files to further identify mbed dependencies, minor enhancements
Logxen [Fri, 11 May 2012 21:09:15 +0000 (14:09 -0700)]
mostly changes to headers files to further identify mbed dependencies, minor enhancements

12 years agoit turns out, having currentcontrol enabled by default is bad if you
Arthur Wolf [Thu, 10 May 2012 22:49:16 +0000 (00:49 +0200)]
it turns out, having currentcontrol enabled by default is bad if you
don't have the digipot chip, so ... disabling

12 years agoMerge pull request #28 from adamgreen/edge
arthurwolf [Thu, 10 May 2012 20:19:17 +0000 (13:19 -0700)]
Merge pull request #28 from adamgreen/edge

Update MRI to first alpha release, version 0.1-20120510.1

12 years agoUpdate MRI to first alpha release, version 0.1-20120510.1
Adam Green [Thu, 10 May 2012 20:03:23 +0000 (13:03 -0700)]
Update MRI to first alpha release, version 0.1-20120510.1

A pointer to source repository branch can be found in latest mri.h

12 years agoMerge pull request #27 from logxen/xhume
Mark A. Cooper [Thu, 10 May 2012 15:11:27 +0000 (08:11 -0700)]
Merge pull request #27 from logxen/xhume

Removed the need for mbed in Config.h

12 years agomoved the define for error() directly into Config.h, removing the dependency on the...
Logxen [Wed, 9 May 2012 23:19:36 +0000 (16:19 -0700)]
moved the define for error() directly into Config.h, removing the dependency on the mbed error.h

12 years agoremoved unnecessary include
Logxen [Wed, 9 May 2012 23:07:47 +0000 (16:07 -0700)]
removed unnecessary include

12 years agoslight change to reduce number of allocations
Logxen [Wed, 9 May 2012 22:35:01 +0000 (15:35 -0700)]
slight change to reduce number of allocations

12 years agoMerge branch 'edge' into wait4q
Logxen [Wed, 9 May 2012 22:25:38 +0000 (15:25 -0700)]
Merge branch 'edge' into wait4q

12 years agoMerge pull request #26 from logxen/edge
Mark A. Cooper [Wed, 9 May 2012 18:57:48 +0000 (11:57 -0700)]
Merge pull request #26 from logxen/edge

replaced all occurrences of '_ckeckusm' with '_checksum'

12 years agoreplaced all occurrences of '_ckeckusm' with '_checksum'
Logxen [Wed, 9 May 2012 19:01:23 +0000 (12:01 -0700)]
replaced all occurrences of '_ckeckusm' with '_checksum'

12 years agodefined constants for the checksums used in TemperatureControlPool
Logxen [Wed, 9 May 2012 18:23:43 +0000 (11:23 -0700)]
defined constants for the checksums used in TemperatureControlPool

12 years agoMerge pull request #25 from logxen/edge
Mark A. Cooper [Wed, 9 May 2012 18:20:58 +0000 (11:20 -0700)]
Merge pull request #25 from logxen/edge

defined constants for the checksums used in TemperatureControlPool

12 years agoMerge pull request #24 from logxen/xhume
Mark A. Cooper [Wed, 9 May 2012 18:08:55 +0000 (11:08 -0700)]
Merge pull request #24 from logxen/xhume

made mbed.h include more specific for several key files

12 years agomade mbed.h include more specific for several key files
Logxen [Wed, 9 May 2012 18:00:51 +0000 (11:00 -0700)]
made mbed.h include more specific for several key files

12 years agoadded a timer to Player::wait_for_queue so that time spent on idle events does not...
Logxen [Wed, 9 May 2012 16:54:35 +0000 (09:54 -0700)]
added a timer to Player::wait_for_queue so that time spent on idle events does not caused unexpected lag unless really extreme (> 500 us)

12 years agoMerge branch 'edge' into wait4q
Logxen [Wed, 9 May 2012 14:34:13 +0000 (07:34 -0700)]
Merge branch 'edge' into wait4q

12 years agoMerge pull request #23 from logxen/issue13
arthurwolf [Wed, 9 May 2012 14:10:59 +0000 (07:10 -0700)]
Merge pull request #23 from logxen/issue13

Issue13

12 years agoreplaced existing wait loops in code with calls to the new Player::wait_for_queue()
Logxen [Wed, 9 May 2012 14:10:26 +0000 (07:10 -0700)]
replaced existing wait loops in code with calls to the new Player::wait_for_queue()

12 years agoimplemented Player::wait_for_queue(int free_blocks)
Logxen [Wed, 9 May 2012 14:00:03 +0000 (07:00 -0700)]
implemented Player::wait_for_queue(int free_blocks)

12 years agoadded ON_IDLE kernel event calls to the main loop and the planner wait loop
Logxen [Wed, 9 May 2012 13:11:40 +0000 (06:11 -0700)]
added ON_IDLE kernel event calls to the main loop and the planner wait loop

12 years agoadded Player.h include so SimpleShell can check the queue
Logxen [Wed, 9 May 2012 12:42:38 +0000 (05:42 -0700)]
added Player.h include so SimpleShell can check the queue

12 years agomade SimpleShell wait for the queue to have room so that a serial message can still...
Logxen [Wed, 9 May 2012 11:38:46 +0000 (04:38 -0700)]
made SimpleShell wait for the queue to have room so that a serial message can still be received while playing a file

12 years agoAdded ON_IDLE event to Kernel and Module, but it isn't called yet
Logxen [Wed, 9 May 2012 11:29:37 +0000 (04:29 -0700)]
Added ON_IDLE event to Kernel and Module, but it isn't called yet

12 years agoMerge pull request #22 from logxen/edge
arthurwolf [Wed, 2 May 2012 18:39:05 +0000 (11:39 -0700)]
Merge pull request #22 from logxen/edge

Removed 'S' as a key for beginning gcodes

12 years agoremoved 'S' as a key for beginning gcodes
Logxen [Wed, 2 May 2012 18:31:22 +0000 (11:31 -0700)]
removed 'S' as a key for beginning gcodes

12 years agoMerge pull request #21 from logxen/edge
arthurwolf [Mon, 30 Apr 2012 14:29:52 +0000 (07:29 -0700)]
Merge pull request #21 from logxen/edge

changed the name of the steps_per_mm_checksum to reflect the actual stri...

12 years agochanged the name of the steps_per_mm_checksum to reflect the actual string used
Mark Cooper [Mon, 30 Apr 2012 14:30:14 +0000 (07:30 -0700)]
changed the name of the steps_per_mm_checksum to reflect the actual string used

12 years agoMerge pull request #20 from adamgreen/edge
arthurwolf [Mon, 30 Apr 2012 09:58:00 +0000 (02:58 -0700)]
Merge pull request #20 from adamgreen/edge

Update mri to latest pre-alpha bits.

12 years agoUpdated MRI notes.
Adam Green [Mon, 30 Apr 2012 01:42:05 +0000 (18:42 -0700)]
Updated MRI notes.

* Hard faults aren't as likely to happen now that mri communicates a more
  complete memory map back to gdb.
* Stacking/Unstacking errors are now handled by mri.
* Updated notes asking Mac users to contact me if they want to dogfood my gdb
  updates to work with mbed on that platform.