Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
6 years ago
Scott Lahteine
0feeef2604
Update copyright in headers
6 years ago
Simon Jouet
5cd0fa3ce1
Basic GPIO expander using the ESP32 I2S peripheral ( #12959 )
6 years ago
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup ( #12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
6 years ago
Scott Lahteine
6a3207391f
Remove obsolete HAL_timer_restrain
6 years ago
Simon Jouet
e2aeda61ed
HAL for Espressif ESP32 Wifi
7 years ago
etagle
a215725df6
Fix stepper pulse timing
Always honor minimum period on stepper pulse generation, and fix timing calculations
Signed-off-by: etagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
7 years ago
Scott Lahteine
206014a957
Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
37b15fe4cf
Reorder HAL timer header items
7 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.
7 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.
7 years ago
Bob-the-Kuhn
53362b81cc
Tone fixes/changes ( #10151 )
7 years ago
Bob-the-Kuhn
3c58ca181c
[2.0.x] Correct step pulse width on LPC1768, DUE & Teensy35_36 ( #10016 )
7 years ago
Scott Lahteine
98d48fc731
Followup to HAL_timer_restrain
Followup to #9985
7 years ago
Scott Lahteine
d45f19d385
Remove Unicode from var name
7 years ago
Chris Pepper
a1a88ebabc
HAL function to ensure min stepper interrupt interval ( #9985 )
7 years ago
Scott Lahteine
f2c0ed193d
Add tone support for Due ( #9807 )
7 years ago
Scott Lahteine
a810e585db
Drop HAL_timer_set_count
7 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.
7 years ago
Scott Lahteine
ac368f2788
Add STEPPER_ISR_ENABLED() to HALs
Some also get a `HAL_timer_interrupt_enabled` function.
7 years ago
Scott Lahteine
6149b82119
Allow setting current timer counter
7 years ago
Scott Lahteine
82ef6b5242
Add an option to specify "pulse" timer
7 years ago
Scott Lahteine
b8bc965414
General cleanup HAL timers
7 years ago
Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
7 years ago
Scott Lahteine
2246316605
Fix name collision. timer_t => hal_timer_t
7 years ago
Thomas Moore
9e699811d2
Make LPC1768 pinmapping not specific to Re-ARM ( #8063 )
* Merging early because of build failures. See #8105
* Make LPC1768 pinmapping not specific to Re-ARM
* Add HAL_PIN_TYPE and LPC1768 pin features
* M43 Updates
* Move pin map into pinsDebug_LPC1768.h
* Incorporate comments and M226
* Fix persistent store compilation issues
* Update pin features
* Update MKS SBASE pins
* Use native LPC1768 pin numbers in M42, M43, and M226
7 years ago
Scott Lahteine
8315a8a716
Apply fixes for DUE
Alternative to #7882 . If F_CPU is greater than 1000 it can be evenly divided by 8. Over 10000, 16; over 100000, 32; over 1 million, 64; etc.
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