Jason Smith
8a5c3782b8
Fix at90usb1286 build (#19687 )
* Skip check for USBCON during dependency detection
* Ignore incompatible Teensy_ADC library, which requires Teensy >= 3
* Add IS_AT90USB
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
4 years ago
Victor Oliveira
59b6b32e6e
Support for Debug Codes - Dnnn (#19225 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
4 years ago
qwewer0
4424645e04
Multi-line comments cleanup (#19535 )
4 years ago
Jason Smith
da6c8317a7
Fix and improve STM32F1 serial (#19464 )
4 years ago
Scott Lahteine
568f292883
HAL/serial followup
4 years ago
Scott Lahteine
4b928b2da8
HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467 +sjasonsmith@users.noreply.github.com >
4 years ago
Marco Burato
6bcfb58cd4
More Anycubic + Trigorilla mappings, ExtUI (#18903 )
4 years ago
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745 )
4 years ago
Scott Lahteine
424569b4c4
Power monitor and display (#17437 )
4 years ago
ellensp
33d1e77e2e
Allow pins override of *_TIMER_NUM and HAL_*_TIMER_ISR (#18128 )
Co-authored-by: Scott Lahteine <github@thinkyhead.com >
4 years ago
Gurmeet Athwal
a4c981469e
Extended reporting options (#16741 )
4 years ago
Scott Lahteine
39f703310b
Move S_FMT to HAL, apply to mixer
4 years ago
Ben
df8b7dfc40
Various Laser / Spindle improvements (#15335 )
4 years ago
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
4 years ago
Scott Lahteine
fa6e7cb733
Function-style critical section macros
4 years ago
Scott Lahteine
bfad23d3e2
(c) 2020
4 years ago
Scott Lahteine
a578749622
Clean up HAL ADC, old test scripts
4 years ago
George Fu
e593da1c23
Update and fix DGUS (#16317 )
4 years ago
Scott Lahteine
5b75a018b7
Misc patches preceding DGUS PR
4 years ago
Jason Smith
9fd35c84ce
SoftwareSerialM for SKR STM32F1 boards (#15875 )
4 years ago
LinFor
a84e3d1b80
Use native ADC resolution where possible (#15719 )
4 years ago
Scott Lahteine
9720d21301
Clean up trailing whitespace
4 years ago
Marcio T
f6a799c7b3
Allow compile under Windows Subsystem for Linux (#15606 )
5 years ago
Scott Lahteine
e3fd0519b3
Reduce need for UNUSED
5 years ago
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
5 years ago
Scott Lahteine
7d8c38693f
Formatting
5 years ago
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832 )
5 years ago
Scott Lahteine
fb579212ea
Reduce unused function warnings
5 years ago
Scott Lahteine
056efaba91
Clean up section comments
5 years ago
Scott Lahteine
a2ba0aaaac
HAL include and other adjustments (#14525 )
5 years ago
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
5 years ago
Scott Lahteine
6664b90bbb
Init servo pins in HAL_init (#14425 )
5 years ago
Eric Ptak
8934b32f1b
Fysetc AIO II / Cheetah STM32F1 (#14407 )
5 years ago
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper (#13877 )
5 years ago
Chris Pepper
ffc2c2d7c5
Move FAST_PWM_FAN code to HALs (#13491 )
5 years ago
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 years ago
Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
5 years ago
Scott Lahteine
0feeef2604
Update copyright in headers
5 years ago
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
5 years ago
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988 )
6 years ago
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.
6 years ago
Scott Lahteine
6a3207391f
Remove obsolete HAL_timer_restrain
6 years ago
Dave Johnson
c64199941e
Compile only selected PIO environment (#11519 )
6 years ago
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 years ago
etagle
1367df2875
Replace double with float, optimize calculation
6 years ago
Scott Lahteine
c1269c2ec1
Tweak AVR critical section defines
6 years ago
Scott Lahteine
19d4c7c1cd
Tweak HAL header comments
6 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 >
6 years ago
Scott Lahteine
a9861a780e
Tweak HAL heading
6 years ago
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
6 years ago