Scott Lahteine
44eff9a233
♻️ Refactor HAL as singleton (#23357 )
2 vuotta sitten
Mike La Spina
127a3ad831
🐛 Fix AVR 644/1284 Timer / PWM conflicts (#23629 )
2 vuotta sitten
Scott Lahteine
6a8b9274a3
⏪️ Refactor still needs work
Reverting #23295
2 vuotta sitten
Scott Lahteine
e211ff148c
♻️ Refactor HAL as singleton (#23295 )
2 vuotta sitten
Mike La Spina
4411af655e
🏗️ Fix Maple HAL/STM32F1 PWM (#23211 )
2 vuotta sitten
Scott Lahteine
0539e870de
🎨 Rename HAL timer elements
2 vuotta sitten
qwewer0
4424645e04
Multi-line comments cleanup (#19535 )
3 vuotta sitten
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745 )
4 vuotta sitten
ellensp
33d1e77e2e
Allow pins override of *_TIMER_NUM and HAL_*_TIMER_ISR (#18128 )
Co-authored-by: Scott Lahteine <github@thinkyhead.com >
4 vuotta sitten
Gurmeet Athwal
a4c981469e
Extended reporting options (#16741 )
4 vuotta sitten
Scott Lahteine
39f703310b
Move S_FMT to HAL, apply to mixer
4 vuotta sitten
Ben
df8b7dfc40
Various Laser / Spindle improvements (#15335 )
4 vuotta sitten
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
4 vuotta sitten
Scott Lahteine
fa6e7cb733
Function-style critical section macros
4 vuotta sitten
Scott Lahteine
bfad23d3e2
(c) 2020
4 vuotta sitten
Scott Lahteine
a578749622
Clean up HAL ADC, old test scripts
4 vuotta sitten
George Fu
e593da1c23
Update and fix DGUS (#16317 )
4 vuotta sitten
Scott Lahteine
5b75a018b7
Misc patches preceding DGUS PR
4 vuotta sitten
Jason Smith
9fd35c84ce
SoftwareSerialM for SKR STM32F1 boards (#15875 )
4 vuotta sitten
LinFor
a84e3d1b80
Use native ADC resolution where possible (#15719 )
4 vuotta sitten
Scott Lahteine
9720d21301
Clean up trailing whitespace
4 vuotta sitten
Marcio T
f6a799c7b3
Allow compile under Windows Subsystem for Linux (#15606 )
4 vuotta sitten
Scott Lahteine
e3fd0519b3
Reduce need for UNUSED
4 vuotta sitten
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
4 vuotta sitten
Scott Lahteine
7d8c38693f
Formatting
4 vuotta sitten
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832 )
4 vuotta sitten
Scott Lahteine
fb579212ea
Reduce unused function warnings
4 vuotta sitten
Scott Lahteine
056efaba91
Clean up section comments
5 vuotta sitten
Scott Lahteine
a2ba0aaaac
HAL include and other adjustments (#14525 )
5 vuotta sitten
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
5 vuotta sitten
Scott Lahteine
6664b90bbb
Init servo pins in HAL_init (#14425 )
5 vuotta sitten
Eric Ptak
8934b32f1b
Fysetc AIO II / Cheetah STM32F1 (#14407 )
5 vuotta sitten
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper (#13877 )
5 vuotta sitten
Chris Pepper
ffc2c2d7c5
Move FAST_PWM_FAN code to HALs (#13491 )
5 vuotta sitten
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(...)`
5 vuotta sitten
Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
5 vuotta sitten
Scott Lahteine
0feeef2604
Update copyright in headers
5 vuotta sitten
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
5 vuotta sitten
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988 )
5 vuotta sitten
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.
5 vuotta sitten
Scott Lahteine
6a3207391f
Remove obsolete HAL_timer_restrain
5 vuotta sitten
Dave Johnson
c64199941e
Compile only selected PIO environment (#11519 )
5 vuotta sitten
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
6 vuotta sitten
etagle
1367df2875
Replace double with float, optimize calculation
6 vuotta sitten
Scott Lahteine
c1269c2ec1
Tweak AVR critical section defines
6 vuotta sitten
Scott Lahteine
19d4c7c1cd
Tweak HAL header comments
6 vuotta sitten
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 >
6 vuotta sitten
Scott Lahteine
a9861a780e
Tweak HAL heading
6 vuotta sitten
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
6 vuotta sitten
Scott Lahteine
3701869e6c
Add HAL_timer_start for AVR, use stepper timer to time pulses
6 vuotta sitten