0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-11 04:04:42 +00:00
MarlinFirmware/Marlin/src/HAL/HAL_DUE
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
..
usb Clear up some more compile warnings 2018-05-17 18:40:49 -05:00
DebugMonitor_Due.cpp Add memory barrier, optimal interrupt on-off 2018-05-20 02:39:34 -05:00
EepromEmulation_Due.cpp Multi-host support 2018-01-10 00:14:47 -06:00
endstop_interrupts.h Fix interrupt-based endstop detection 2018-05-20 07:10:24 -05:00
fastio_Due.h [2.0.x] AVR: Atomic bit set and clear of upper pin ports without critical section (#10502) 2018-04-24 13:45:43 -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_Due.cpp Followup to HAL optimizations and delays 2018-05-13 00:46:23 -05:00
HAL_timers_Due.cpp Add memory barrier, optimal interrupt on-off 2018-05-20 02:39:34 -05:00
HAL_timers_Due.h Fix LPC176x timer functions 2018-05-20 01:58:51 -05:00
InterruptVectors_Due.cpp Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
InterruptVectors_Due.h Add a module for Due SRAM-based Interrupt Vector Table 2017-10-27 03:24:23 -05:00
MarlinSerial_Due.cpp [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
MarlinSerial_Due.h [2.0.x] Small assorted collection of fixes and improvements (#10911) 2018-06-01 19:02:22 -05:00
MarlinSerialUSB_Due.cpp DUE: Emergency parser for the USB CDC 2018-05-12 02:12:11 -05:00
MarlinSerialUSB_Due.h Style tweak in MarlinSerialUSB_Due.h 2018-02-19 06:58:26 -06: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 Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
Servo_Due.cpp [2.0.x] removed spaces 2017-11-05 20:42:48 +01:00
ServoTimers.h Fix filename HAL/DUE/servotimers.h => ServoTimers.h 2018-03-13 01:38:37 -05:00
spi_pins.h Add conditional, give DUE SPI a unique name, fix compiler warnings (#10168) 2018-03-20 15:53:21 -05:00
Tone.cpp Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
u8g_com_HAL_DUE_shared_hw_spi.cpp Remove #pragmas that don't help c files 2018-05-23 23:47:16 -05:00
u8g_com_HAL_DUE_st7920_sw_spi.cpp Remove #pragmas that don't help c files 2018-05-23 23:47:16 -05:00
watchdog_Due.cpp Add memory barrier, optimal interrupt on-off 2018-05-20 02:39:34 -05:00
watchdog_Due.h Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00