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/HAL_AVR
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_168.h [2.0.x] FASTIO consistency (#10164) 2018-03-20 16:24:50 -05:00
fastio_644.h [2.0.x] FASTIO consistency (#10164) 2018-03-20 16:24:50 -05:00
fastio_1280.h [2.0.x] FASTIO consistency (#10164) 2018-03-20 16:24:50 -05:00
fastio_1281.h [2.0.x] FASTIO consistency (#10164) 2018-03-20 16:24:50 -05:00
fastio_AT90USB.h [2.0.x] FASTIO consistency (#10164) 2018-03-20 16:24:50 -05:00
fastio_AVR.h Modify FastIO error message 2018-04-28 20:27:36 -05:00
HAL.cpp Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
HAL.h [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
HAL_spi_AVR.cpp [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 2018-05-25 23:32:37 -05:00
MarlinSerial.cpp [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
MarlinSerial.h [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
math_AVR.h Convert custom maths to inlines (#10728) 2018-05-13 08:10:08 -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
pinsDebug_plus_70.h [2.0.x] Support for SilverGate Board 2017-10-31 15:27:26 -05:00
pinsDebug_Teensyduino.h Fix some AVR HAL code style 2017-10-14 19:05:10 -05:00
SanityCheck.h Tweaks to core headers 2018-05-21 20:32:18 -05:00
servo_AVR.cpp delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index]) 2018-05-28 03:44:32 -05:00
ServoTimers.h Apply some formatting 2017-11-18 03:12:30 -06:00
spi_pins.h Fix some AVR HAL code style 2017-10-14 19:05:10 -05:00
watchdog_AVR.cpp Fix watchdog in WATCHDOG_RESET_MANUAL mode AVR 2017-11-03 04:43:00 +01:00
watchdog_AVR.h Fix some AVR HAL code style 2017-10-14 19:05:10 -05:00