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