This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Marlin-Artillery-M600/Marlin/src/HAL
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
..
backtrace Move backtrace to the HAL folder (#10790) 2018-05-20 01:33:21 -05:00
HAL_AVR [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
HAL_DUE [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
HAL_LPC1768 [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
HAL_STM32F1 [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
HAL_STM32F4 [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
HAL_STM32F7 [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
HAL_TEENSY35_36 [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
Delay.h Followup to HAL optimizations and delays 2018-05-13 00:46:23 -05:00
HAL_SPI.h Preliminary cleanup of #include structure (#9763) 2018-02-23 00:52:52 -06:00
I2cEeprom.cpp Fix missed includes from HAL macro patch (#10416) 2018-04-15 18:27:34 -05:00
math_32bit.h Convert custom maths to inlines (#10728) 2018-05-13 08:10:08 -05:00
persistent_store_api.h Add MarlinSettings::validate() 2018-01-05 14:35:24 -06:00
platforms.h Strip trailing spaces 2018-04-23 18:00:43 -05:00
servo.cpp Allow libServo::attach to work on Teensy 3.5/3.6 2018-05-28 20:56:24 -05:00
servo.h [2.0.x] HAL for STM32F4 (#10434) 2018-04-17 17:33:29 -05:00
servo_private.h Apply some formatting 2017-11-18 03:12:30 -06:00
SpiEeprom.cpp Fix missed includes from HAL macro patch (#10416) 2018-04-15 18:27:34 -05:00