1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-12-13 22:11:38 +00:00
MarlinFirmware/Marlin/src/HAL/HAL_TEENSY35_36
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
2018-06-01 19:02:22 -05:00
..
endstop_interrupts.h Fix interrupt-based endstop detection 2018-05-20 07:10:24 -05:00
fastio_Teensy.h Teensy 3.x fastio pullup (#10890) 2018-05-28 16:25:12 -05:00
HAL_Servo_Teensy.cpp Allow libServo::attach to work on Teensy 3.5/3.6 2018-05-28 20:56:24 -05:00
HAL_Servo_Teensy.h General cleanups for HAL 2018-01-15 02:46:37 -06:00
HAL_spi_Teensy.cpp Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
HAL_timers_Teensy.cpp Add memory barrier, optimal interrupt on-off 2018-05-20 02:39:34 -05:00
HAL_timers_Teensy.h Reorder HAL timer header items 2018-05-13 16:50:39 -05:00
HAL.cpp [HAL]Add support for ST7920 - Teensy 3.x (#10872) 2018-05-27 03:36:57 -05:00
HAL.h [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
persistent_store_impl.cpp Add MarlinSettings::validate() 2018-01-05 14:35:24 -06:00
pinsDebug.h Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
SanityCheck.h Add sanity checks for EMERGENCY_PARSER 2018-04-24 09:24:26 -05:00
spi_pins.h HAL whitespace and style cleanup 2017-09-27 10:55:36 -05:00
watchdog_Teensy.cpp HAL whitespace and style cleanup 2017-09-27 10:55:36 -05:00
watchdog_Teensy.h Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00