Commit Graph

363 Commits

Author SHA1 Message Date
Sonny Jeon
15a803e36f Merge pull request #201 from Protoneer/master
Made a few changes to make the code compatible with the Arduino IDE. Sorry about the tardiness!
2013-12-30 20:23:54 -08:00
Sonny Jeon
331a2cd094 Update README.md 2013-12-10 22:36:35 -07:00
Sonny Jeon
76e7445a85 Merge pull request #301 from shapeoko/master
added shapeoko2 profile
2013-12-10 11:02:45 -08:00
Edward
bfa8ebcac1 added shapeoko2 profile
shapeoko 2 uses 2mm GT2 belting and 20tooth pulleys
2013-12-10 11:10:36 -06:00
Sonny Jeon
d00525d384 Pushed bug fixes. Updated readme.
- G18 plane select fix from XZ-plane to ZX-plane per right hand rule.

- Added volatile declaration for rx_buffer_tail in serial.c. No real
effect to operation as avr-gcc adds this upon compilation. Helps with
porting issues when using a different compiler.
2013-12-07 10:10:36 -07:00
Sonny Jeon
cc3212d54a Merge pull request #289 from Travis-Snoozy/master
Add support for active-high limit switches
2013-11-23 14:04:36 -08:00
Travis Snoozy
e8345fdb88 Add support for active-high limit switches 2013-11-22 18:12:29 -08:00
Sonny Jeon
fe03216952 Merge pull request #279 from EliteEng/master
Changed Stepper Pins
2013-10-21 19:19:26 -07:00
Rob Brown
a2457c4d70 Changed Stepper Pins
Changed Stepper Pins so the Step Port Invert Mask matches the UNO
2013-10-18 10:06:07 +08:00
Sonny Jeon
9b426d0c91 Merge pull request #278 from EliteEng/master
Update Pin Change Interrupts on Mega 2560
2013-10-17 07:09:08 -07:00
Rob Brown
3e92fef3b4 Update Pin Change Interrupts so it works
PCIE1 - Interrupt 8 on the Mega is attached to USART0 RX so when any
serial communication was transmitted it was triggering the Reset
Interrupt
2013-10-17 17:05:08 +08:00
Sonny Jeon
471a45a1b9 Merge pull request #263 from 0xPIT/master
remove mcu argument for avr-size in makefile as it is not present in GNU...
2013-08-25 11:08:08 -07:00
0xPIT
24280f95a5 remove mcu argument for avr-size in makefile as it is not present in GNU Binutils 2.22 2013-08-25 14:54:10 +02:00
Sonny Jeon
0894183991 Pin map definition cleanup. 2013-08-20 20:05:16 -06:00
Sonny Jeon
e24e67ffe2 Processor-independent pin mapping feature.
- Cleaned up and organized pin mapping concept by @elmom.

- pin_map.h allows for user-supplied pin mapping and port vector
definitions in a centralized file. With more processor types, more
definitions could be added.
2013-08-19 15:07:47 -06:00
Sonny Jeon
b2a69c02cf Merge pull request #260 from elmom/master
Thanks for the contribution! Looks good. Will update some of the semantics shortly, but the idea is solid.
2013-08-19 08:27:01 -07:00
Sonny Jeon
b2b5352e82 Merge pull request #229 from 0xPIT/patch-1
fix command line parameter for avr-size
2013-08-19 08:18:43 -07:00
Elmo Mäntynen
72ef50b17d Refactor config.h to allow defaults for chips/boards with different pin mappings 2013-07-21 15:11:04 +03:00
Elmo Mäntynen
689bc6d471 Added pin mapping list to docs, useful for porting 2013-07-21 13:54:14 +03:00
Elmo Mäntynen
8c781e155c Make serial work with most chips by default 2013-07-21 12:45:45 +03:00
0xPIT
d39abee37d fix command line parameter for avr-size 2013-05-16 21:48:44 +02:00
Sonny Jeon
fc5c497256 Updated readme 2013-04-05 09:32:20 -06:00
Sonny Jeon
ca563cf423 Increased g-code parser line buffer. Added line overflow feedback.
- Increased g-code parser line buffer from 50 to 70 characters. Should
fix most all issues with long arc statements, provided that they are 8
digits(float) long only.

- Added a line buffer overflow feedback error to let the user know when
it encounters this problem. Resets the line whenever this occurs.
(Thanks @BHSPitMonkey!)
2013-04-05 09:29:10 -06:00
Sonny Jeon
33c6659523 Update README.md 2013-03-19 11:43:11 -06:00
Sonny Jeon
96f7d9b78e G-code updates for G10 L2 and L20
- Updated g-codes G10 L2 and G10 L20 to the new descriptions on
linuxcnc.org
2013-03-19 11:35:24 -06:00
Bertus Kruger
61f2bd1bc3 Update planner.c
Removed inline from all functions. 

If this is really needed is there another way that we can get 
around using it? (The Arduino IDE does not recognize it)
2013-03-13 18:41:52 +13:00
Bertus Kruger
f04489530a Update nuts_bolts.c
Removed __floatunsisf and used normal casting on line 81. 
This makes it compatible with the Arduino IDE.
2013-03-13 18:29:28 +13:00
Sonny Jeon
cdcb4263e8 Merge pull request #200 from Protoneer/master
Fixed small bug.
2013-03-12 17:09:54 -07:00
Bertus Kruger
8e01fed143 Update gcode.c
Removed the home_select variable.
2013-03-13 10:19:42 +13:00
Bertus Kruger
5ecc661ec8 Update eeprom.h
Fixed the function signature.
2013-03-13 09:44:22 +13:00
Bertus Kruger
7bb20a7505 Update eeprom.c
Changed back
2013-03-13 09:43:04 +13:00
Bertus Kruger
058cf3f13a Update gcode.c
home_select defined out of scope. Moved it outside the switch 
so the rest of the switch can see it properly.
2013-03-12 19:08:44 +13:00
Bertus Kruger
d376f03bd0 Update eeprom.c
Function eeprom_put_char's parameters did not align with the .h file.
2013-03-12 19:01:17 +13:00
Sonny Jeon
b9bb0894b6 Merge pull request #169 from silasb/fix-execute-bit-on-files
Removing executable bit on the files
2013-01-18 18:15:37 -08:00
Silas Baronda
a5c2964a8f Removing executable bit on the files 2013-01-17 23:25:18 -05:00
Sonny Jeon
4f459e473b Fixed bug with homing and polling at the same time. Updated readme. 2013-01-06 12:32:41 -07:00
Sonny Jeon
e0f619b8c3 Readme link to edge build 2012-12-21 2012-12-21 09:55:43 -07:00
Sonny Jeon
c8b53b9d0a Slow trailing steps fix. Added more defaults.
- Fixed an issue (hopefully) with slow trailing steps after a
triangular velocity profile move. Sets the trapezoid tick cycle counter
to the correct value for an accurate reproduction of the deceleration
curve. Keeps it from arriving too early to the target position, which
causes the slow trailing steps.

- Added Zen Toolworks 7x7 to default settings.

- Updated readme with new edge build.
2012-12-16 17:06:38 -07:00
Sonny Jeon
e21d6a2fc4 Update README.md 2012-12-12 17:23:36 -07:00
Sonny Jeon
b4072a3a5e Changed README to markdown 2012-12-12 17:16:24 -07:00
Sonny Jeon
add7944811 Added download links to README. 2012-12-12 17:11:03 -07:00
Sonny Jeon
b297b8d788 Added builds folder.
Because the Downloads section has been removed, added a builds folder
for users to download pre-compiled firmware without needing to compile
it themselves.
2012-12-11 20:51:24 -07:00
Sonny Jeon
e4d8cf511e G28/G30 post move bug fix.
- Fixed a bug when after moving to a pre-defined position G28/G30, the
next move would go someplace unexpected. The g-code parser position
vector wasn't getting updated.
2012-11-25 11:08:38 -07:00
Sonny Jeon
ce45a348db Merge error fix. 2012-11-20 20:20:09 -07:00
Sonny Jeon
c712af23ab Merge v0.8 edge to master 2012-11-20 13:20:25 -07:00
Sonny Jeon
9e0ce55dbc Updated interface protocol. Fixed M2 bug.
- Updated interface protocol to play nicer with interface programs. All
Grbl responses beginning with '$' signifies a setting. Bracketed '[]'
responses are feedback messages containing either state, parameter, or
general messages. Chevron '<>' response are from the real-time status
messages, i.e. position.

- M2 Program end command was causing a system alarm. Fixed. Thanks
@blinkenlight !
2012-11-19 17:39:40 -07:00
Sonny Jeon
b3f5536530 Updated readme 2012-11-18 21:03:58 -07:00
Sonny Jeon
d85238cc9b Homing search sequence now compile-time option. New defaults.h file. Tidying up.
- The homing sequence is now a compile-time option, where a user can
choose which axes(s) move in sequence during the search phase. Up to 3
sequences. Works with the locating phase and the pull-off maneuver.

- New defaults.h file to store user generated default settings for
different machines. Mainly to be used as a central repo, but each set
may be select to be compiled in as a config.h define.
2012-11-18 19:52:16 -07:00
Sonny Jeon
5dd6d90122 Added Grbl state in status report. Removed switch support.
- Added Grbl state (Idle, Running, Queued, Hold, etc) to the real-time
status reporting feature as feedback to the user of what Grbl is doing.
Updated the help message to reflect this change.

- Removed switches (dry run, block delete, single block mode). To keep
Grbl simple and not muddled up from things that can easily be taken
care of by an external interface, these were removed.

- Check g-code mode was retained, but the command was moved to '$C'
from '$S0'.
2012-11-15 21:53:11 -07:00
Sonny Jeon
559feb97e2 Re-factored system states and alarm management. Serial baud support greater than 57600.
- Refactored system states to be more clear and concise. Alarm locks
processes when position is unknown to indicate to user something has
gone wrong.

- Changed mc_alarm to mc_reset, which now manages the system reset
function. Centralizes it.

- Renamed '$X' kill homing lock to kill alarm lock.

- Created an alarm error reporting method to clear up what is an alarm:
message vs a status error: message. For GUIs mainly. Alarm codes are
negative. Status codes are positive.

- Serial baud support upto 115200. Previous baudrate calc was unstable
for 57600 and above.

- Alarm state locks out all g-code blocks, including startup scripts,
but allows user to access settings and internal commands. For example,
to disable hard limits, if they are problematic.

- Hard limits do not respond in an alarm state.

- Fixed a problem with the hard limit interrupt during the homing
cycle. The interrupt register is still active during the homing cycle
and still signal the interrupt to trigger when re-enabled. Instead,
just disabled the register.

- Homing rate adjusted. All axes move at homing seek rate, regardless
of how many axes move at the same time. This is unlike how the stepper
module does it as a point to point rate.

- New config.h settings to disable the homing rate adjustment and the
force homing upon powerup.

- Reduced the number of startup lines back down to 2 from 3. This
discourages users from placing motion block in there, which can be very
dangerous.

- Startup blocks now run only after an alarm-free reset or after a
homing cycle. Does not run when $X kill is called. For satefy reasons
2012-11-14 17:36:29 -07:00