ashelly
c7039b3512
Restore changes made only for testing.
2014-07-10 13:13:58 -04:00
ashelly
9b37637ae6
Bug fixes for timers, added some wdt support for limit debounce.
...
- Typo in timer def,
- Handle 8 bit timers correctly,
- Don't skip TOP count in CTC mode
- added SREG for atomic bit operations
2014-07-10 13:01:03 -04:00
Sonny Jeon
23ed7b6d4b
Merge branch 'dev' into edge
...
Conflicts:
sim/simulator.c
sim/simulator.h
2014-07-09 09:52:57 -06:00
ashelly
1b66c9c304
formatting
2014-07-05 00:12:43 -04:00
ashelly
aa95cb65bd
Update readme.md
2014-07-05 00:11:42 -04:00
ashelly
df2fd6095b
Don't need kbhit.h
2014-07-04 23:43:45 -04:00
Adam Shelly
82075627b3
minor tweaks for mingw.
2014-07-04 23:21:19 -04:00
ashelly
d3322ccded
reduce diffs with dev branch
2014-07-04 16:43:52 -04:00
ashelly
8c9f3bca65
Total rework of simulator for dev branch. Create separate thread for interrupt processes. Tick-accurate simulation of timers. Non-blocking character input for running in realtime mode. Decouple hardware sim from grbl code as much as possible. Expanded command line options. Provisions for cross-platform solution.
2014-07-04 11:14:54 -04:00
michmerr
59e906f7e8
Simplify setting of STATE_CYCLE and ISR interval.
...
Set sys.state to STATE_CYCLE directly instead of calling back to
st_wakeup().
Convert get_step_time() to a constant and rename it to ISR_INTERVAL.
2014-01-28 11:37:31 -08:00
michmerr
783100db7d
Make sure that cycle_start state is set before simulating steps.
2014-01-22 22:30:08 -08:00
Jens Geisler
ea09ddba99
changed atomic access for updating the acceleration profile
...
the stepper interrupt is only halted when necessary and for the shortest
time possible (8% cycle time)
2013-02-22 16:36:27 +01:00
Jens Geisler
87864cce19
added counter for planner steps
2013-02-20 15:04:26 +01:00
Jens Geisler
dba26eff91
implemented a mixture of Sonny's MATLAB and my previous grbl planner
...
ontop of the edge planner
examples run byte for byte identical old and new version
2013-02-20 14:56:47 +01:00
Sonny Jeon
97d18f0ffe
Merge bug fixes from recent v0.8c push. Added readme for Grbl Sim.
2013-01-18 17:02:44 -07:00
Elijah Insua
d0d07b7b0c
Fix sim makefile so it works on mac
...
These changes include a path separator fix and the removal of --gc-sections which causes ld failures, and is not needed on a pc.
This patch also changes how a compiler is selected. The makefile will now select the system compiler , which should work fine
under mingw and linux.
2013-01-18 09:22:42 -07:00
Jens Geisler
5e76136dd3
relaunch ontop of latest grbl edge
...
code very messy but tested
2013-01-17 13:06:51 +01:00