Ramiro Polla
00ea75ce82
Drop return value from Serial::write() ( #21567 )
4 years ago
Scott Lahteine
7fb04b3656
MarlinSerial cleanup
4 years ago
Scott Lahteine
b6169a957d
Fix MarlinSerial typo
4 years ago
Scott Lahteine
b713ca2638
Number serial from 1 to match settings
4 years ago
X-Ryl669
77f48d2bad
Serial refactor. Default 8-bit ECHO to int, not char ( #20985 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
4 years ago
X-Ryl669
1e5995335c
LVGL UI G-code console ( #20755 )
4 years ago
X-Ryl669
efa1e56369
Refactor serial class with templates ( #20783 )
4 years ago
Jason Smith
6a5799fc7d
Revert at90usb1286 conditional ( #19733 )
5 years ago
Jason Smith
2c7b5fe1f2
Fix at90usb1286 build ( #19687 )
* Skip check for USBCON during dependency detection
* Ignore incompatible Teensy_ADC library, which requires Teensy >= 3
* Add IS_AT90USB
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
5 years ago
Scott Lahteine
affb5e53df
Sanity check old serial names
5 years ago
Jason Smith
9d02cedfed
Fix and improve STM32F1 serial ( #19464 )
5 years ago
Scott Lahteine
f588d50d57
HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467+sjasonsmith@users.noreply.github.com>
5 years ago
Marco Burato
f4894b7140
More Anycubic + Trigorilla mappings, ExtUI ( #18903 )
5 years ago
Diego von Deschwanden
42fbd527f3
Fix links to secure sites ( #18745 )
5 years ago
Desuuuu
fcd1678a17
Actually apply DGUS_[RT]X_BUFFER_SIZE ( #17952 )
5 years ago
Scott Lahteine
ab2b98e425
Apply composite tests
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
George Fu
e593da1c23
Update and fix DGUS ( #16317 )
5 years ago
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
6 years ago
Scott Lahteine
a2ba0aaaac
HAL include and other adjustments ( #14525 )
6 years ago
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
6 years ago
Scott Lahteine
f2ba0a5ae7
Tweak some formatting
6 years ago
Scott Lahteine
0feeef2604
Update copyright in headers
6 years ago
revilor
6a57d0b381
Prusa MMU2 ( #12967 )
6 years ago
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup ( #12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
7 years ago
Scott Lahteine
d5141c4e03
Fix up leading/trailing whitespace
7 years ago
AnoNymous
001f26b642
Template struct simplification for serial ( #11990 )
7 years ago
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes ( #11988 )
7 years ago
Eduardo José Tagle
f6f2246f59
Templatized serial classes ( #11982 )
7 years ago
etagle
99af086cea
Add hidden Serial overflow debug options
7 years ago
etagle
d90e8fcad9
Fix XON/XOFF implementation
Pointed out by @GMagician
7 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
7 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
Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
7 years ago
Scott Lahteine
3066655727
Try port*100+pin, fix config dependency
8 years ago
Thomas Moore
51fafccc16
[2.0.x] Enable hardware serial ports on LPC1768 ( #8004 )
* Enable hardware serial ports on LPC1768
* Fix compilation errors with other HALs
* FIx order of includes in LPC1768 HAL main.cpp
* Add support for RX_BUFFER_SIZE and TX_BUFFER_SIZE options in Configuration_adv.h
8 years ago
Scott Lahteine
fd128b3c93
Fix some AVR HAL code style
8 years ago
Scott Lahteine
9fe7f53216
Misc general spacing cleanup
8 years ago
Scott Lahteine
508d764d63
Add serial XON/XOFF handshaking
From @ejtagle , originally #7459
8 years ago
Scott Lahteine
54326fb06a
HAL updates
8 years ago
Christopher Pepper
4b16fa3272
Implement HAL and apply macros across code-base
Implement AVR Platform
8 years ago
Scott Lahteine
de4e19f17e
Patch MarlinSerial to match up with 32-bit version
8 years ago
Scott Lahteine
eaa66f3c46
Indent MarlinSerial code
8 years ago
Scott Lahteine
14395a1a96
Optimize, reduce size of MarlinSerial
9 years ago
Scott Lahteine
b73203a0b7
Move some includes around to uncover missing deps
9 years ago
AnHardt
4b44a23a36
Add TX-buffer for MarlinSerial
Similar to the current Arduino HardwareSerial
but with max. 256 byte buffer-size.
Deactivated by default.
The boards with AT90USB processor (USBCON) already use a TX-buffer.
9 years ago