ellensp
cd4060a99c
Add USB serial support to SERIAL_PORT_2 on DUE ( #17245 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
5 years ago
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI ( #17156 )
5 years ago
Scott Lahteine
64d092935b
More useful ENABLED / DISABLED macros ( #17054 )
5 years ago
Scott Lahteine
bfad23d3e2
(c) 2020
5 years ago
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
5 years ago
Scott Lahteine
75efa3cdac
Reorganize HAL ( #14832 )
5 years ago
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
5 years ago
Scott Lahteine
0feeef2604
Update copyright in headers
6 years ago
Scott Lahteine
d5141c4e03
Fix up leading/trailing whitespace
6 years ago
AnoNymous
001f26b642
Template struct simplification for serial ( #11990 )
6 years ago
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes ( #11988 )
6 years ago
Eduardo José Tagle
f6f2246f59
Templatized serial classes ( #11982 )
6 years ago
etagle
99af086cea
Add hidden Serial overflow debug options
6 years ago
etagle
d90e8fcad9
Fix XON/XOFF implementation
Pointed out by @GMagician
6 years ago
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 years ago
Chris Pepper
2242b98248
[LPC176x] Emergency Parser Feature ( #10516 )
7 years ago
Scott Lahteine
649f375494
Fix: M112 calling kill from interrupt ( #9923 )
Fix #9906
7 years ago
Thomas Moore
84de428d30
[2.0.x] Fix compile errors ( #9141 )
* Update persistent_store_impl.cpp
* Remove define BYTE from serial functions since Arduino docs typically show 0 for the normal case.
7 years ago
etagle
33a6fc70e4
Adding USB MSD implementation to the HAL: Now, when you plug the Native USB port of the Arduino DUE to your PC, it will be detected as a composite USB device: One of the devices is a USB CDC (Serial port over USB) with native USB handshake (no more overflows!!) (set SERIAL_PORT to -1 to use it as main serial port) and also, a MSD (USB Mass Storage Device) will be detected, and the SD card present on the socket will be reflected as a Removable disk on your PC)
7 years ago
Scott Lahteine
fc9ee1a4de
Fix up serial sanity check
7 years ago
Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
7 years ago
Unknown
4c5ffd2349
[2.0.x] Report SERIAL_XON_XOFF in M115
-Report SERIAL_XON_XOFF in Extended Capabilites M115 report for hosts
-Remove outdated 256 size limitation from comments on RX_BUFFER_SIZE defines
-Update error message conditions
7 years ago
etagle
ba8dc678f5
Arduino Due XON/XOFF implementation
Alos includes emergency parser and configurable TX/RX buffers for Arduino Due.
7 years ago