Scott Lahteine
52eefa90e1
♻️ Move watchdog to MarlinHAL
преди 2 години
Scott Lahteine
12da2e9288
🎨 Minor HAL cleanup
преди 2 години
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 години
Scott Lahteine
44eff9a233
♻️ Refactor HAL as singleton (#23357 )
преди 2 години
Scott Lahteine
6a8b9274a3
⏪️ Refactor still needs work
Reverting #23295
преди 2 години
Scott Lahteine
57315f02cb
🐛 Fix missing ADC method
преди 2 години
Scott Lahteine
4f0932e5c1
🐛 Fix `freeMemory` endless loop
Followup to #23295
преди 2 години
Scott Lahteine
e211ff148c
♻️ Refactor HAL as singleton (#23295 )
преди 2 години
Andrei M
da830e6ced
⚗️ Use pwm_set_duty over analogWrite to set PWM (#23048 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
преди 2 години
Scott Lahteine
1f3f9cb68c
🎨 Pragma GCC cleanup
преди 2 години
dotdash32
c881fab128
🎨 Use largest default ST9720 delays (#22713 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
преди 2 години
Scott Lahteine
d818a019c5
🎨 EXP headers, ST7920 delays (#22641 )
преди 2 години
fedetony
d3a2c6a0b4
Soft Reset via Serial or post-kill button click (#21652 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
преди 3 години
Scott Lahteine
550a806d77
More detailed serial config error
преди 3 години
X-Ryl669
c07f99d5e4
Teensy USB / serial followup (#21316 )
преди 3 години
Scott Lahteine
048f6b4731
Tricked-out declaration
преди 3 години
Scott Lahteine
dbd28eecc9
Number serial from 1 to match settings
преди 3 години
X-Ryl669
3f01b222b2
Refactor serial class with templates (#20783 )
преди 3 години
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 години
Scott Lahteine
18853defdd
Reduce warnings, extern "C" cleanup (#20279 )
преди 3 години
Scott Lahteine
6831341ab4
Batch appercase hex values
преди 3 години
Victor Oliveira
631457ffea
Support for Debug Codes - Dnnn (#19225 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
преди 3 години
Scott Lahteine
4e8eea8e78
Adjust HAL platform defines, comments
преди 3 години
Scott Lahteine
4b928b2da8
HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467 +sjasonsmith@users.noreply.github.com >
преди 3 години
Scott Lahteine
bc7720c0cd
Minor HAL cleanup
преди 3 години
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745 )
преди 4 години
Scott Lahteine
424569b4c4
Power monitor and display (#17437 )
преди 4 години
ellensp
33d1e77e2e
Allow pins override of *_TIMER_NUM and HAL_*_TIMER_ISR (#18128 )
Co-authored-by: Scott Lahteine <github@thinkyhead.com >
преди 4 години
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
преди 4 години
Scott Lahteine
fa6e7cb733
Function-style critical section macros
преди 4 години
Scott Lahteine
bfad23d3e2
(c) 2020
преди 4 години
LinFor
a84e3d1b80
Use native ADC resolution where possible (#15719 )
преди 4 години
Scott Lahteine
e3fd0519b3
Reduce need for UNUSED
преди 4 години
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
преди 4 години
Scott Lahteine
8d036e94bf
Combine channel-based SPI headers
преди 4 години
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832 )
преди 4 години
Scott Lahteine
fb579212ea
Reduce unused function warnings
преди 4 години
Scott Lahteine
056efaba91
Clean up section comments
преди 5 години
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
преди 5 години
Scott Lahteine
6664b90bbb
Init servo pins in HAL_init (#14425 )
преди 5 години
Giuliano Zaro
a74aad3b4a
Clean up HALs / FastIO (#14082 )
преди 5 години
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper (#13877 )
преди 5 години
Scott Alfter
c6dbe6e9d6
Fix Teensy 3.5/3.6 __get_primask (#13514 )
преди 5 години
Scott Alfter
32332bcd03
Proceed with Teensy 3.5/3.6 HAL (#13450 )
преди 5 години
Scott Lahteine
0feeef2604
Update copyright in headers
преди 5 години
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
преди 5 години
Dave Johnson
c64199941e
Compile only selected PIO environment (#11519 )
преди 5 години
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 години
Scott Lahteine
19d4c7c1cd
Tweak HAL header comments
преди 6 години
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 години