Scott Lahteine
52eefa90e1
♻️ Move watchdog to MarlinHAL
2 gadus atpakaļ
Scott Lahteine
12da2e9288
🎨 Minor HAL cleanup
2 gadus atpakaļ
John Robertson
f7fff4d455
🧑💻 Define isr_float_t to assert a non-FPU float (#23969 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
2 gadus atpakaļ
Scott Lahteine
44eff9a233
♻️ Refactor HAL as singleton (#23357 )
2 gadus atpakaļ
Scott Lahteine
6a8b9274a3
⏪️ Refactor still needs work
Reverting #23295
2 gadus atpakaļ
Scott Lahteine
57315f02cb
🐛 Fix missing ADC method
2 gadus atpakaļ
Scott Lahteine
4f0932e5c1
🐛 Fix `freeMemory` endless loop
Followup to #23295
2 gadus atpakaļ
Scott Lahteine
e211ff148c
♻️ Refactor HAL as singleton (#23295 )
2 gadus atpakaļ
Andrei M
da830e6ced
⚗️ Use pwm_set_duty over analogWrite to set PWM (#23048 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
2 gadus atpakaļ
Scott Lahteine
1f3f9cb68c
🎨 Pragma GCC cleanup
2 gadus atpakaļ
dotdash32
c881fab128
🎨 Use largest default ST9720 delays (#22713 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
2 gadus atpakaļ
Scott Lahteine
d818a019c5
🎨 EXP headers, ST7920 delays (#22641 )
2 gadus atpakaļ
fedetony
d3a2c6a0b4
Soft Reset via Serial or post-kill button click (#21652 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
3 gadus atpakaļ
Scott Lahteine
550a806d77
More detailed serial config error
3 gadus atpakaļ
X-Ryl669
c07f99d5e4
Teensy USB / serial followup (#21316 )
3 gadus atpakaļ
Scott Lahteine
048f6b4731
Tricked-out declaration
3 gadus atpakaļ
Scott Lahteine
dbd28eecc9
Number serial from 1 to match settings
3 gadus atpakaļ
X-Ryl669
3f01b222b2
Refactor serial class with templates (#20783 )
3 gadus atpakaļ
Rockman18
d0f953218f
Fix, consolidate PSTR aliases (#20812 )
Co-authored-by: Jason Smith <jason.inet@gmail.com >
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
3 gadus atpakaļ
Scott Lahteine
18853defdd
Reduce warnings, extern "C" cleanup (#20279 )
3 gadus atpakaļ
Scott Lahteine
6831341ab4
Batch appercase hex values
3 gadus atpakaļ
Victor Oliveira
631457ffea
Support for Debug Codes - Dnnn (#19225 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
3 gadus atpakaļ
Scott Lahteine
4e8eea8e78
Adjust HAL platform defines, comments
3 gadus atpakaļ
Scott Lahteine
4b928b2da8
HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467 +sjasonsmith@users.noreply.github.com >
3 gadus atpakaļ
Scott Lahteine
bc7720c0cd
Minor HAL cleanup
3 gadus atpakaļ
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745 )
3 gadus atpakaļ
Scott Lahteine
424569b4c4
Power monitor and display (#17437 )
4 gadus atpakaļ
ellensp
33d1e77e2e
Allow pins override of *_TIMER_NUM and HAL_*_TIMER_ISR (#18128 )
Co-authored-by: Scott Lahteine <github@thinkyhead.com >
4 gadus atpakaļ
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
4 gadus atpakaļ
Scott Lahteine
fa6e7cb733
Function-style critical section macros
4 gadus atpakaļ
Scott Lahteine
bfad23d3e2
(c) 2020
4 gadus atpakaļ
LinFor
a84e3d1b80
Use native ADC resolution where possible (#15719 )
4 gadus atpakaļ
Scott Lahteine
e3fd0519b3
Reduce need for UNUSED
4 gadus atpakaļ
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
4 gadus atpakaļ
Scott Lahteine
8d036e94bf
Combine channel-based SPI headers
4 gadus atpakaļ
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832 )
4 gadus atpakaļ
Scott Lahteine
fb579212ea
Reduce unused function warnings
4 gadus atpakaļ
Scott Lahteine
056efaba91
Clean up section comments
5 gadus atpakaļ
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
5 gadus atpakaļ
Scott Lahteine
6664b90bbb
Init servo pins in HAL_init (#14425 )
5 gadus atpakaļ
Giuliano Zaro
a74aad3b4a
Clean up HALs / FastIO (#14082 )
5 gadus atpakaļ
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper (#13877 )
5 gadus atpakaļ
Scott Alfter
c6dbe6e9d6
Fix Teensy 3.5/3.6 __get_primask (#13514 )
5 gadus atpakaļ
Scott Alfter
32332bcd03
Proceed with Teensy 3.5/3.6 HAL (#13450 )
5 gadus atpakaļ
Scott Lahteine
0feeef2604
Update copyright in headers
5 gadus atpakaļ
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
5 gadus atpakaļ
Dave Johnson
c64199941e
Compile only selected PIO environment (#11519 )
5 gadus atpakaļ
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 gadus atpakaļ
Scott Lahteine
19d4c7c1cd
Tweak HAL header comments
6 gadus atpakaļ
Eduardo José Tagle
d3c02410a8
[2.0.x] Small assorted collection of fixes and improvements (#10911 )
* Misc fixes and improvements
- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).
* Set position immediately when possible
6 gadus atpakaļ