Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
4 years ago
Scott Lahteine
bfad23d3e2
(c) 2020
4 years ago
tonokip
df48ef6df3
Fix step timer on Archim1 (#15447 )
5 years ago
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832 )
5 years ago
Scott Lahteine
056efaba91
Clean up section comments
5 years ago
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
5 years ago
Giuliano Zaro
7b838f31be
DUE HAL cleanup (#14126 )
5 years ago
Bob Kuhn
6bd0a0be97
Relocate DUE Stepper ISR to TC0,2 (#13481 )
5 years ago
Scott Lahteine
0feeef2604
Update copyright in headers
5 years ago
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988 )
6 years ago
etagle
0566badcef
Add memory barrier, optimal interrupt on-off
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/ )
6 years ago
Scott Lahteine
206014a957
Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com >
6 years ago
etagle
9d98a62699
Followup to HAL optimizations and delays
- Cleanups, fixes for Due HAL code.
- TC_IER is write-only. Use TC_IMR to test ISR state.
6 years ago
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.
6 years ago
Chris Pepper
cc6d41e1d3
Use a macro for HAL header redirection (#10380 )
6 years ago
Eduardo José Tagle
97e8a6ebd9
Various fixes for DUE... (#10152 )
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
6 years ago
Bob-the-Kuhn
53362b81cc
Tone fixes/changes (#10151 )
6 years ago
Scott Lahteine
f2c0ed193d
Add tone support for Due (#9807 )
6 years ago
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.
6 years ago
Roxy-3D
7c469c0712
Suggested change to fix Due compile problem
6 years ago
Scott Lahteine
ac368f2788
Add STEPPER_ISR_ENABLED() to HALs
Some also get a `HAL_timer_interrupt_enabled` function.
6 years ago
Scott Lahteine
27cbb939b2
Clean up some HAL code
7 years ago
Scott Lahteine
2af62a5d8d
Apply spacing, const to some HAL code
7 years ago
Christopher Pepper
cfef925559
HAL for DUE architecture
7 years ago