Scott Lahteine
44eff9a233
♻️ Refactor HAL as singleton (#23357 )
vor 2 Jahren
Mike La Spina
127a3ad831
🐛 Fix AVR 644/1284 Timer / PWM conflicts (#23629 )
vor 2 Jahren
Scott Lahteine
6a8b9274a3
⏪️ Refactor still needs work
Reverting #23295
vor 2 Jahren
Scott Lahteine
e211ff148c
♻️ Refactor HAL as singleton (#23295 )
vor 2 Jahren
Mike La Spina
4411af655e
🏗️ Fix Maple HAL/STM32F1 PWM (#23211 )
vor 2 Jahren
Scott Lahteine
0539e870de
🎨 Rename HAL timer elements
vor 2 Jahren
qwewer0
4424645e04
Multi-line comments cleanup (#19535 )
vor 3 Jahren
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745 )
vor 4 Jahren
ellensp
33d1e77e2e
Allow pins override of *_TIMER_NUM and HAL_*_TIMER_ISR (#18128 )
Co-authored-by: Scott Lahteine <github@thinkyhead.com >
vor 4 Jahren
Gurmeet Athwal
a4c981469e
Extended reporting options (#16741 )
vor 4 Jahren
Scott Lahteine
39f703310b
Move S_FMT to HAL, apply to mixer
vor 4 Jahren
Ben
df8b7dfc40
Various Laser / Spindle improvements (#15335 )
vor 4 Jahren
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
vor 4 Jahren
Scott Lahteine
fa6e7cb733
Function-style critical section macros
vor 4 Jahren
Scott Lahteine
bfad23d3e2
(c) 2020
vor 4 Jahren
Scott Lahteine
a578749622
Clean up HAL ADC, old test scripts
vor 4 Jahren
George Fu
e593da1c23
Update and fix DGUS (#16317 )
vor 4 Jahren
Scott Lahteine
5b75a018b7
Misc patches preceding DGUS PR
vor 4 Jahren
Jason Smith
9fd35c84ce
SoftwareSerialM for SKR STM32F1 boards (#15875 )
vor 4 Jahren
LinFor
a84e3d1b80
Use native ADC resolution where possible (#15719 )
vor 4 Jahren
Scott Lahteine
9720d21301
Clean up trailing whitespace
vor 4 Jahren
Marcio T
f6a799c7b3
Allow compile under Windows Subsystem for Linux (#15606 )
vor 4 Jahren
Scott Lahteine
e3fd0519b3
Reduce need for UNUSED
vor 4 Jahren
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
vor 4 Jahren
Scott Lahteine
7d8c38693f
Formatting
vor 4 Jahren
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832 )
vor 4 Jahren
Scott Lahteine
fb579212ea
Reduce unused function warnings
vor 4 Jahren
Scott Lahteine
056efaba91
Clean up section comments
vor 5 Jahren
Scott Lahteine
a2ba0aaaac
HAL include and other adjustments (#14525 )
vor 5 Jahren
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
vor 5 Jahren
Scott Lahteine
6664b90bbb
Init servo pins in HAL_init (#14425 )
vor 5 Jahren
Eric Ptak
8934b32f1b
Fysetc AIO II / Cheetah STM32F1 (#14407 )
vor 5 Jahren
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper (#13877 )
vor 5 Jahren
Chris Pepper
ffc2c2d7c5
Move FAST_PWM_FAN code to HALs (#13491 )
vor 5 Jahren
Scott Lahteine
49cf92dc36
Extended condition macros (#13419 )
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
vor 5 Jahren
Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
vor 5 Jahren
Scott Lahteine
0feeef2604
Update copyright in headers
vor 5 Jahren
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
vor 5 Jahren
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988 )
vor 5 Jahren
Alexander Amelkin
84926b1d5a
HAL general support for DISABLE_JTAG option (#11211 )
Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
vor 5 Jahren
Scott Lahteine
6a3207391f
Remove obsolete HAL_timer_restrain
vor 5 Jahren
Dave Johnson
c64199941e
Compile only selected PIO environment (#11519 )
vor 5 Jahren
Andy Shaw
624986d423
Ensure ADC conversion is complete before reading (#11336 )
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value.
See: https://github.com/MarlinFirmware/Marlin/issues/11323
vor 6 Jahren
etagle
1367df2875
Replace double with float, optimize calculation
vor 6 Jahren
Scott Lahteine
c1269c2ec1
Tweak AVR critical section defines
vor 6 Jahren
Scott Lahteine
19d4c7c1cd
Tweak HAL header comments
vor 6 Jahren
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 >
vor 6 Jahren
Scott Lahteine
a9861a780e
Tweak HAL heading
vor 6 Jahren
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
vor 6 Jahren
Scott Lahteine
3701869e6c
Add HAL_timer_start for AVR, use stepper timer to time pulses
vor 6 Jahren