Scott Lahteine
4118199ddd
Tweaks to core headers
2018-05-21 20:32:18 -05:00
etagle
569df3fc0c
Fix interrupt-based endstop detection
...
- Also implemented real endstop reading on interrupt.
2018-05-20 07:10:24 -05:00
Scott Lahteine
c2fb2f54a1
Use assembly for AVR ISR vectors
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-20 01:58:51 -05:00
Scott Lahteine
c173a31060
Fix some compile warnings
2018-05-19 16:54:48 -05:00
Scott Lahteine
37b15fe4cf
Reorder HAL timer header items
2018-05-13 16:50:39 -05:00
Scott Lahteine
883b0c9880
Convert custom maths to inlines ( #10728 )
2018-05-13 08:10:08 -05:00
Scott Lahteine
0436e16fb2
Apply shorthand Assembler macros
2018-05-08 10:08:54 -05:00
Scott Lahteine
3f68203324
Modify FastIO error message
2018-04-28 20:27:36 -05:00
Scott Lahteine
a474a7e675
Correct AVR_ATmega328_FAMILY macro
...
…as with #10540
Co-Authored-By: per1234 <per1234@users.noreply.github.com>
2018-04-27 03:13:46 -05:00
Scott Lahteine
2578996631
[2.0.x] Emergency parser for multiple serial ports ( #10524 )
2018-04-25 20:58:00 -05:00
Chris Pepper
2242b98248
[LPC176x] Emergency Parser Feature ( #10516 )
2018-04-25 06:44:26 -05:00
Eduardo José Tagle
c1e5ebbc1e
[2.0.x] AVR: Atomic bit set and clear of upper pin ports without critical section ( #10502 )
...
* AVR: Atomic bit set and clear
The critical section can be dropped, saving 3 cycles per access. Also simplified pin toggling for all ports.
2018-04-24 13:45:43 -05:00
Eduardo José Tagle
0c428a66d9
Proper AVR preemptive interrupt handling ( #10496 )
...
Also simplify logic on all ARM-based interrupts. Now, it is REQUIRED to properly configure interrupt priority. USART should have highest priority, followed by Stepper, and then all others.
2018-04-23 22:05:07 -05:00
GMagician
20772492aa
Fix compile warnings in AVR fastio.h ( #10440 )
2018-04-17 17:26:57 -05:00
Chris Pepper
cc6d41e1d3
Use a macro for HAL header redirection ( #10380 )
2018-04-12 20:25:08 -05:00
Lenbok
0e8242180d
Chamber temperature monitoring and auto fan control.
...
This is an initial cut for feedback, updated for 2.0.x.
Chamber temperature is currently reported along with hot end and bed
temperatures to serial. The format is just like that used for hot end
and bed temperatures, but using 'C' prefix. As there is no heater,
target is always 0. Is this appropriate, is there a better way to report
chamber temperatures?
Chamber temperatures are not reported on the LCD in any way.
When auto chamber fan is enabled, it currently just uses the same
temperature threshold as the other auto controlled fans.
As the chamber temperature is not connected to any heater, it doesn't
undergo mintemp/maxtemp monitoring. This would need to change in the
future if chamber heating became a feature.
2018-04-06 23:09:06 -05:00
Bob-the-Kuhn
785dbfc72d
[2.0.x] FASTIO consistency ( #10164 )
2018-03-20 16:24:50 -05:00
Scott Lahteine
b858c638ad
Fix compiler warning for HAL_ANALOG_SELECT
2018-03-13 22:33:21 -05:00
Scott Lahteine
98d48fc731
Followup to HAL_timer_restrain
...
Followup to #9985
2018-03-07 22:18:37 -06:00
Scott Lahteine
224688cc3b
Fix for unicode-ignorant gcc preprocessor
2018-03-07 18:34:07 -06:00
Chris Pepper
a1a88ebabc
HAL function to ensure min stepper interrupt interval ( #9985 )
2018-03-07 17:53:25 -06:00
Scott Lahteine
649f375494
Fix: M112 calling kill from interrupt ( #9923 )
...
Fix #9906
2018-03-03 23:14:01 -06:00
Ben Lye
461c8ef834
Fix DIGITAL_PIN_TO_ANALOG_PIN macro for Atmega1284p ( #9881 )
2018-03-01 15:13:57 -06:00
Bob-the-Kuhn
c1f4112bdc
[2.0.x] Add 1284 support & misc. bug fixes ( #9864 )
2018-03-01 03:07:39 -06:00
Scott Lahteine
0bc4c216ac
Patch up pinsDebug pins
2018-02-26 19:32:48 -06:00
Scott Lahteine
a810e585db
Drop HAL_timer_set_count
2018-02-20 03:10:39 -06:00
Scott Lahteine
03d790451f
[2.0.x] HAL timer set/get count => set/get compare ( #9581 )
...
To reduce confusion over the current timer count vs. the compare (aka "top") value. Caution: this re-uses the function name, changing its meaning.
2018-02-10 20:42:00 -06:00
Scott Lahteine
38c7d53bf7
Repair some spacing
2018-02-10 19:33:26 -06:00
Scott Lahteine
db031d5d76
Add missing SoftwareSerial begin for TMC2208
...
Based on #9299
2018-01-22 10:43:24 -06:00
Scott Lahteine
7d6c009104
Add thermistor 15 tuned for JGAurora A5
2018-01-22 01:27:11 -06:00
Bob-the-Kuhn
11e68541b0
Merge pull request #9245 from Bob-the-Kuhn/TMC2208-sanity-check-2.0.x
...
[2.0.x] add TMC2208 sanity check to AVR
2018-01-19 15:42:53 -06:00
Bob-the-Kuhn
0ea9cdf4f2
TMC2208 sanity check
2018-01-19 12:19:34 -06:00
Roxy-3D
bfd9728cf4
Serial buffer over run work around for v2.0.0 ( #9236 )
...
* Work around for serial buffer over run
PronterFace sends a lot of M105 commands. During long operations such
as UBL's G29 P1, G29 P2, G29 P4 and G26 this can over run the serial
buffer. This results (very often) in a M1 (actually a M1M105) ending
up in the command queue.
Until we figure out a better way to resolve this issue, this will keep
the UBL commands from experiencing bogus commands at thier completion.
2018-01-18 19:57:18 -06:00
Scott Lahteine
ac368f2788
Add STEPPER_ISR_ENABLED() to HALs
...
Some also get a `HAL_timer_interrupt_enabled` function.
2018-01-14 21:07:10 -06:00
Thomas Moore
84de428d30
[2.0.x] Fix compile errors ( #9141 )
...
* Update persistent_store_impl.cpp
* Remove define BYTE from serial functions since Arduino docs typically show 0 for the normal case.
2018-01-11 21:43:26 -06:00
Thomas Moore
f7efac57b7
Multi-host support
2018-01-10 00:14:47 -06:00
Scott Lahteine
51e0f2bee3
Add MarlinSettings::validate()
2018-01-05 14:35:24 -06:00
Scott Lahteine
1c41de16d4
Trailing whitespace clean
2018-01-05 10:11:31 -06:00
revilor
959a2d2527
Add beginTransaction to HAL SPI ( #9019 )
2018-01-03 05:12:25 -06:00
Bob-the-Kuhn
adb9ecf3cc
copy of PR #8990
2018-01-01 16:11:56 -06:00
Scott Lahteine
8b12371e45
Change some hex case
2017-12-15 15:47:22 -06:00
Scott Lahteine
6149b82119
Allow setting current timer counter
2017-12-10 18:38:53 -06:00
Scott Lahteine
82ef6b5242
Add an option to specify "pulse" timer
2017-12-10 18:38:53 -06:00
Scott Lahteine
b8bc965414
General cleanup HAL timers
2017-12-10 18:38:52 -06:00
Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
2017-12-08 00:46:22 -06:00
Thomas Moore
34eaaab5fb
Fix _BV already defined warnings
2017-11-24 21:59:31 -06:00
Scott Lahteine
3066655727
Try port*100+pin, fix config dependency
2017-11-20 13:58:23 -06:00
Scott Lahteine
ba8bc7ea80
Cosmetic tweaks
2017-11-20 13:58:02 -06:00
Scott Lahteine
550f1025f0
Try using <Arduino.h> everywhere
2017-11-19 14:23:02 -06:00
Scott Lahteine
32512332df
Apply some formatting
2017-11-18 03:12:30 -06:00