clinton/Smoothieware.git
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 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 #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 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 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 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 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 agoSimpleShell: use strtol to check for valid line limit instead of int(atof(...))
Michael Moon [Sun, 10 Feb 2013 03:01:20 +0000 (14:01 +1100)]
SimpleShell: use strtol to check for valid line limit instead of int(atof(...))

11 years agoGcode: simplify get_value with strtod
Michael Moon [Sun, 10 Feb 2013 02:57:47 +0000 (13:57 +1100)]
Gcode: simplify get_value with strtod

11 years agoMerge pull request #100 from bgamari/fixes
Ben Gamari [Mon, 11 Feb 2013 02:30:27 +0000 (18:30 -0800)]
Merge pull request #100 from bgamari/fixes

Various things encountered during search for source of heap corruption

11 years agoStreamOutput: Kill dead code
Ben Gamari [Mon, 11 Feb 2013 02:26:25 +0000 (21:26 -0500)]
StreamOutput: Kill dead code

11 years agoStreamOutput: Buffer allocated by malloc being freed with delete
Ben Gamari [Sun, 10 Feb 2013 23:05:09 +0000 (18:05 -0500)]
StreamOutput: Buffer allocated by malloc being freed with delete

Thanks to adamgr for noticing this.

11 years agoPlayer: Pop Gcode before deleting
Ben Gamari [Sun, 10 Feb 2013 22:27:54 +0000 (17:27 -0500)]
Player: Pop Gcode before deleting

11 years agoSimpleShell: Reserve buffer before appending
Ben Gamari [Sun, 10 Feb 2013 21:55:05 +0000 (16:55 -0500)]
SimpleShell: Reserve buffer before appending

11 years agoGcode: Make command const
Ben Gamari [Sun, 10 Feb 2013 21:54:44 +0000 (16:54 -0500)]
Gcode: Make command const

This also kills allocations from indexing

11 years agoGcodeDisplay: Use iterator instead of indexing
Ben Gamari [Sun, 10 Feb 2013 21:53:38 +0000 (16:53 -0500)]
GcodeDisplay: Use iterator instead of indexing

This avoids allocations due to _M_leak since possible_command is
mutable.

11 years agoI giveth 2k back to the heap.
Adam Green [Sun, 10 Feb 2013 09:57:19 +0000 (01:57 -0800)]
I giveth 2k back to the heap.

With commit d79d4eff87ffb5c88f19a32bf23d26ba0e52225a I initialized
_sbrk()'s heap pointer to the wrong linker symbol which ended up
taking away 2k from the heap.

Also removed redundant arm-none-eabi-size call in makefile.

11 years agoMerge remote-tracking branch 'origin/edge' into edge
Adam Green [Sun, 10 Feb 2013 05:20:21 +0000 (21:20 -0800)]
Merge remote-tracking branch 'origin/edge' into edge

11 years agoSwitch back to ugly size output.
Adam Green [Sun, 10 Feb 2013 05:17:36 +0000 (21:17 -0800)]
Switch back to ugly size output.

This works on Windows and doesn't assume *nix terminal with Perl installed.

11 years agoPin: use strtol to parse pindef strings in a simpler and more efficient fashion
Michael Moon [Sun, 10 Feb 2013 02:52:27 +0000 (13:52 +1100)]
Pin: use strtol to parse pindef strings in a simpler and more efficient fashion

11 years agoConfigValue: also accept 'y'/'yes' as a boolean
Michael Moon [Sun, 10 Feb 2013 01:28:27 +0000 (12:28 +1100)]
ConfigValue: also accept 'y'/'yes' as a boolean

11 years agoConfigValue: use strtol/strtod instead of atoi/atof since they tell us directly if...
Michael Moon [Sun, 10 Feb 2013 01:27:49 +0000 (12:27 +1100)]
ConfigValue: use strtol/strtod instead of atoi/atof since they tell us directly if the string was a valid number, we don't have to do our own string parsing to work it out

11 years agoMerge branch 'feature/static-Pins' into edge
Michael Moon [Sun, 10 Feb 2013 01:23:19 +0000 (12:23 +1100)]
Merge branch 'feature/static-Pins' into edge

11 years agoConfigValue: remove redundant as_pin and as_pwm methods origin/feature/static-Pins
Michael Moon [Sun, 10 Feb 2013 01:20:59 +0000 (12:20 +1100)]
ConfigValue: remove redundant as_pin and as_pwm methods

11 years agoPwm: use underlying pin; Switch: static Pwm
Michael Moon [Sat, 9 Feb 2013 14:05:21 +0000 (01:05 +1100)]
Pwm: use underlying pin; Switch: static Pwm

11 years agoStepper: remove redundant Pin pointers
Michael Moon [Sat, 9 Feb 2013 14:00:00 +0000 (01:00 +1100)]
Stepper: remove redundant Pin pointers

11 years agoEndstops: static Pins
Michael Moon [Sat, 9 Feb 2013 13:56:59 +0000 (00:56 +1100)]
Endstops: static Pins

11 years agoTemperatureControl: static Pins
Michael Moon [Sat, 9 Feb 2013 13:54:24 +0000 (00:54 +1100)]
TemperatureControl: static Pins

11 years agoExtruder: static Pins
Michael Moon [Sat, 9 Feb 2013 13:49:42 +0000 (00:49 +1100)]
Extruder: static Pins

11 years agoPauseButton: static Pins
Michael Moon [Sat, 9 Feb 2013 13:46:03 +0000 (00:46 +1100)]
PauseButton: static Pins

11 years agoRobot: static Pins
Michael Moon [Sat, 9 Feb 2013 13:44:05 +0000 (00:44 +1100)]
Robot: static Pins

11 years agoMerge pull request #98 from bgamari/fixes
Ben Gamari [Sat, 9 Feb 2013 03:09:41 +0000 (19:09 -0800)]
Merge pull request #98 from bgamari/fixes

Gcode: Again ensure no allocations occur

11 years agoGcode: Again ensure no allocations occur
Ben Gamari [Sat, 9 Feb 2013 03:05:25 +0000 (22:05 -0500)]
Gcode: Again ensure no allocations occur

For some reason `const char std::string::operator[]` still assumes that
things might be mutated. `const char& operator[]`, on the other hand,
appears to do the right thing. I'll admit that this is evidence that
`std::string` is just too subtle here. Perhaps a homebrew string type is
in order.

11 years agoReorganized members in Pin class to save 4 bytes.
Adam Green [Fri, 8 Feb 2013 23:43:07 +0000 (15:43 -0800)]
Reorganized members in Pin class to save 4 bytes.

Drops sizeof(Pin) down from 12 bytes per Pin to 8 bytes per Pin.

11 years agomove digipot instance to CurrentControl module
Jim Morris [Fri, 8 Feb 2013 22:04:47 +0000 (14:04 -0800)]
move digipot instance to CurrentControl module
make CurrentControl delete itself if not enabled
make Laser Module delete itself if not loaded

11 years agoadd closedir to simleshell commands that open directories
Jim Morris [Fri, 8 Feb 2013 10:14:38 +0000 (02:14 -0800)]
add closedir to simleshell commands that open directories

11 years agoMerge pull request #94 from bgamari/fixes
Ben Gamari [Thu, 7 Feb 2013 04:04:24 +0000 (20:04 -0800)]
Merge pull request #94 from bgamari/fixes

Gcode: Ensure std::string operations don't incur allocations

11 years agoGcode: Ensure std::string operations don't incur allocations
Ben Gamari [Thu, 7 Feb 2013 03:59:05 +0000 (22:59 -0500)]
Gcode: Ensure std::string operations don't incur allocations

11 years ago_sbrk() check for overflow past MSP.
Adam Green [Thu, 7 Feb 2013 03:01:50 +0000 (19:01 -0800)]
_sbrk() check for overflow past MSP.

Make sure that a dynamic memory allocation won't exceed the current top
of stack.  It is still possible for stack to grow down into heap.

11 years agoUSB: ensure Connect pin is set up before disconnect delay
Michael Moon [Wed, 6 Feb 2013 08:28:29 +0000 (19:28 +1100)]
USB: ensure Connect pin is set up before disconnect delay

11 years agoUSB: work around OSX behaviour where if the device disconnects and quickly reconnects...
Michael Moon [Wed, 6 Feb 2013 08:03:54 +0000 (19:03 +1100)]
USB: work around OSX behaviour where if the device disconnects and quickly reconnects, it assumes it's the same device instead of checking

11 years agoModule Events: remove on_stepper_wake_up event as it was unused
Michael Moon [Mon, 4 Feb 2013 15:14:37 +0000 (02:14 +1100)]
Module Events: remove on_stepper_wake_up event as it was unused

11 years agoModule: don't sign all modules up for ON_CONFIG_RELOAD- they don't all use the event.
Michael Moon [Wed, 6 Feb 2013 00:30:12 +0000 (11:30 +1100)]
Module: don't sign all modules up for ON_CONFIG_RELOAD- they don't all use the event.

11 years agoModule: use macros for event definitions to ensure consistency
Michael Moon [Wed, 23 Jan 2013 04:14:16 +0000 (15:14 +1100)]
Module: use macros for event definitions to ensure consistency

11 years agoUSB: run USB stack from idle event instead of via interrupts
Michael Moon [Wed, 6 Feb 2013 00:17:32 +0000 (11:17 +1100)]
USB: run USB stack from idle event instead of via interrupts

11 years agoSDCard: implement busy flag
Michael Moon [Wed, 6 Feb 2013 00:16:22 +0000 (11:16 +1100)]
SDCard: implement busy flag

11 years agoMerge branch 'edge' of github.com:arthurwolf/Smoothie into edge
Arthur Wolf [Tue, 5 Feb 2013 22:02:14 +0000 (23:02 +0100)]
Merge branch 'edge' of github.com:arthurwolf/Smoothie into edge

11 years agoadded max_pwm to temperaturecontrol
Arthur Wolf [Tue, 5 Feb 2013 21:59:37 +0000 (22:59 +0100)]
added max_pwm to temperaturecontrol

11 years agoRemove iprintf() call from spi.cpp
Adam Green [Tue, 5 Feb 2013 08:52:48 +0000 (00:52 -0800)]
Remove iprintf() call from spi.cpp

People were noticing that MRI was halting and waiting for GDB to attach
immediately at startup when configured for full debugging mode.  This
was because output was being sent to stdout and MRI was waiting to
redirect it to GDB's console.  I tracked this down to an
iprintf("\n") call in spi.cpp so I commented it out like the rest of
the iprintf() calls in this file.

11 years agoAccept outside ENABLE_DEBUG_MONITOR settings.
Adam Green [Tue, 5 Feb 2013 08:31:27 +0000 (00:31 -0800)]
Accept outside ENABLE_DEBUG_MONITOR settings.

You can now specify ENABLE_DEBUG_MONITOR setting from outside the
makefile and it will only be set to 0 if another value wasn't
provided on the make command line or environment variable.  This allows
it to be specified in builds kicked off from Eclipse.

11 years agoadding info about junction_deviation
Arthur Wolf [Sun, 3 Feb 2013 18:38:30 +0000 (19:38 +0100)]
adding info about junction_deviation

11 years agoadding junction_deviation to config file
Arthur Wolf [Sun, 3 Feb 2013 18:35:28 +0000 (19:35 +0100)]
adding junction_deviation to config file

11 years agoMerge branch 'edge' of github.com:arthurwolf/Smoothie into edge
Arthur Wolf [Sun, 3 Feb 2013 18:25:35 +0000 (19:25 +0100)]
Merge branch 'edge' of github.com:arthurwolf/Smoothie into edge

11 years agoremoving max_jerk from Planner too
Arthur Wolf [Sun, 3 Feb 2013 18:25:25 +0000 (19:25 +0100)]
removing max_jerk from Planner too

11 years agomax_jerk was unused, removing
Arthur Wolf [Sun, 3 Feb 2013 18:23:44 +0000 (19:23 +0100)]
max_jerk was unused, removing

11 years agoUSB: silence warning when debug output is disabled
Michael Moon [Sun, 3 Feb 2013 02:55:18 +0000 (13:55 +1100)]
USB: silence warning when debug output is disabled

11 years agoAlter USB descriptors and windows INF driver to have the same manufacturer- perhaps...
Michael Moon [Sun, 3 Feb 2013 02:53:33 +0000 (13:53 +1100)]
Alter USB descriptors and windows INF driver to have the same manufacturer- perhaps this will help with driver installation?

11 years agoMRI Hooks: remember previous state, programmatically construct pin lists from Tempera...
Michael Moon [Sun, 3 Feb 2013 02:16:11 +0000 (13:16 +1100)]
MRI Hooks: remember previous state, programmatically construct pin lists from TemperatureControl, StepperMotor and Switch

11 years agospeed did not get reset between SOLO blocks in Extruder, fixing
Arthur Wolf [Sat, 2 Feb 2013 22:34:45 +0000 (23:34 +0100)]
speed did not get reset between SOLO blocks in Extruder, fixing

11 years agoMerge branch 'edge' of github.com:arthurwolf/Smoothie into edge
Arthur Wolf [Sat, 2 Feb 2013 21:08:15 +0000 (22:08 +0100)]
Merge branch 'edge' of github.com:arthurwolf/Smoothie into edge

11 years agoExtruder now reacts to G90 and G91
Arthur Wolf [Sat, 2 Feb 2013 21:07:57 +0000 (22:07 +0100)]
Extruder now reacts to G90 and G91

11 years agoSet SDCard::_cs pin to be an output.
Adam Green [Sat, 2 Feb 2013 07:03:49 +0000 (23:03 -0800)]
Set SDCard::_cs pin to be an output.

Smoothie didn't work with my 16GB SD card and it turns out that the
chip select GPIO pin wasn't being set to output mode.

11 years agoadding current_block = NULL in player.cpp, johaness fix
Arthur Wolf [Fri, 1 Feb 2013 22:51:41 +0000 (23:51 +0100)]
adding current_block = NULL in player.cpp, johaness fix

11 years agoAdd OS X binaries for dfu-util and lpc21isp
Adam Green [Fri, 1 Feb 2013 07:58:33 +0000 (23:58 -0800)]
Add OS X binaries for dfu-util and lpc21isp

I built these to use them on my MacBook Air with the Smoothie project
so I thought others might find it useful to have them as well.
They will be placed in the path by the default BuildShell script that
is created when install scripts are run.

11 years agoEasier to configure MRI in makefile.
Adam Green [Fri, 1 Feb 2013 07:40:13 +0000 (23:40 -0800)]
Easier to configure MRI in makefile.

The default mode for MRI's usage in Smoothie is the same as before
where it only executes if a crash is encountered and isn't really
useable for things like single stepping, etc.

Now you can change the ENABLE_DEBUG_MONITOR make variable from 0 to 1
and it will switch MRI into a fuller debug experience where it takes
over UART0 and stops at init so that you have an opportunity to set
any breakpoints you might be interested in.

11 years agoMerge pull request #91 from bgamari/edge
Ben Gamari [Thu, 31 Jan 2013 20:57:17 +0000 (12:57 -0800)]
Merge pull request #91 from bgamari/edge

Ensure that C++11 checksum is evaluated at compile-time

11 years agoEnsure that C++11 checksum is evaluated at compile-time
Ben Gamari [Thu, 31 Jan 2013 20:53:52 +0000 (15:53 -0500)]
Ensure that C++11 checksum is evaluated at compile-time

Wrapping the expression in an std::integral_constant<> seems to do the
right thing, even with no optimization.

Unfortunately, it seems that gcc 4.6 doesn't support user-defined string
literals, so we'll need to wait until we start building with 4.7 before
enabling this.

11 years agoMake checksum macros work in non-optimized builds.
Adam Green [Thu, 31 Jan 2013 08:04:47 +0000 (00:04 -0800)]
Make checksum macros work in non-optimized builds.

Previously the checksum macros would bloat the code because the inline math to
calculate the checksums were not constant folded in -O0 builds.  This commit
modifies the CHECKSUM() macro to just call get_checksum() instead in such
builds.

The fact that checksums are no longer constant expressions in non-optimized
builds means that they can't be used as case labels in switch statements. I
modified the affected switch statements to use if / else if statements instead.

11 years agoAdd bgamari's C++11 checksumming approach.
Adam Green [Thu, 31 Jan 2013 07:28:31 +0000 (23:28 -0800)]
Add bgamari's C++11 checksumming approach.

I haved added bgamari's cool C++11 user defined literals approach.  In simple
cases it generates the exact same code as the C preprocessor approach but if
multiple checkums are calculated in the same function, I see the constant
folding not happening for some which makes the code even larger than just
having the string in the code.  For this reason I have disabled it for now but
left it in so that it is easy to test out in the future and hopefully switch
to as its implementation is much shorter and clearer.

Maybe just an issue in GCC as these features are new or maybe there is an
optimizer setting that needs to be set.  I tried GCC 4.7 from
https://launchpad.net/gcc-arm-embedded/+milestone/4.7-2012-q4-major

11 years agoMerge branch 'edge' into checksum_macro
Adam Green [Thu, 31 Jan 2013 07:09:14 +0000 (23:09 -0800)]
Merge branch 'edge' into checksum_macro

11 years agohttps://gist.github.com/4671861 : using on_idle instead of on_main_loop caused everyt...
Arthur Wolf [Wed, 30 Jan 2013 09:50:27 +0000 (10:50 +0100)]
https://gist.github.com/4671861 : using on_idle instead of on_main_loop caused everything to go way too deep

11 years agoCalculate Fletcher Checksums at compile time from string.
Adam Green [Wed, 30 Jan 2013 05:20:59 +0000 (21:20 -0800)]
Calculate Fletcher Checksums at compile time from string.

You can now just call CHECKSUM macro like the following to have the checksum
calculated for you at compile time:
 #define enable_checksum CHECKSUM("enable")

This uses a set of recursive macros from src/libs/checksumm.h to inline the
checksum calculation and then the compiler uses constant folding in optimized
builds (-O1 or higher) to pre-calculate the values.

NOTE: The macros in checksumm.h currently only support a maximum string length
      of 32 characters.  If you exceed this, the macros will return a fixed value
      of 0xFFFF which won't match your string.  You should keep your
      checksummed strings below this length.

I took a copy of main.bin from before I starting making these changes and then
kept running builds and verifying that the new main.bin was exactly the same
as the original.  This means that it created the same checksums and didn't grow
the binary size at all.

11 years agothe laser module now will not take the p21 pin, unless enabled. that was just silly...
Arthur Wolf [Mon, 28 Jan 2013 19:28:08 +0000 (20:28 +0100)]
the laser module now will not take the p21 pin, unless enabled. that was just silly. fixed

11 years agoadding support for (comments)
Arthur Wolf [Mon, 28 Jan 2013 17:13:01 +0000 (18:13 +0100)]
adding support for (comments)

11 years agoDemangle C++ names in main.disasm.
Adam Green [Mon, 28 Jan 2013 04:43:06 +0000 (20:43 -0800)]
Demangle C++ names in main.disasm.

Thanks to wolfmanjm on IRC for pointing out that I wasn't already doing this.

11 years agoMerge pull request #87 from bgamari/edge
Ben Gamari [Thu, 24 Jan 2013 16:33:19 +0000 (08:33 -0800)]
Merge pull request #87 from bgamari/edge

StreamOutput: Mark printf with __attribute__((format))

11 years agoStreamOutput: Mark printf with __attribute__((format))
Ben Gamari [Thu, 24 Jan 2013 16:30:51 +0000 (11:30 -0500)]
StreamOutput: Mark printf with __attribute__((format))

This allows the compiler to throw useful warnings.

11 years agoStreamOutput: printf calls virtual puts so we can reduce code reuse elsewhere
Michael Moon [Thu, 24 Jan 2013 15:54:12 +0000 (02:54 +1100)]
StreamOutput: printf calls virtual puts so we can reduce code reuse elsewhere

StreamOutputPool: ditch printf, implement puts which distributes to each Stream's puts

11 years agoUSBSerial: marshall attach/detach operations to idle event
Michael Moon [Thu, 24 Jan 2013 14:50:34 +0000 (01:50 +1100)]
USBSerial: marshall attach/detach operations to idle event

11 years agoCatch dynamic de/allocations in ISRs.
Adam Green [Thu, 24 Jan 2013 14:18:04 +0000 (06:18 -0800)]
Catch dynamic de/allocations in ISRs.

11 years agoremoving get_value from laser too
Arthur Wolf [Thu, 24 Jan 2013 14:04:23 +0000 (15:04 +0100)]
removing get_value from laser too

11 years agoremoving a get_value from switch
Arthur Wolf [Thu, 24 Jan 2013 14:01:43 +0000 (15:01 +0100)]
removing a get_value from switch

11 years agoadded make dfu, need to merge with existing upload
Arthur Wolf [Thu, 24 Jan 2013 10:17:30 +0000 (11:17 +0100)]
added make dfu, need to merge with existing upload

11 years agoMerge pull request #86 from bgamari/edge
arthurwolf [Wed, 23 Jan 2013 13:58:54 +0000 (05:58 -0800)]
Merge pull request #86 from bgamari/edge

Sundry fixes

11 years agoGcode: Use const_cast to silence warning
Ben Gamari [Wed, 23 Jan 2013 05:04:37 +0000 (00:04 -0500)]
Gcode: Use const_cast to silence warning