Scott Lahteine
44eff9a233
♻️ Refactor HAL as singleton (#23357 )
2 år sedan
Scott Lahteine
6fb2d8a25f
🧑💻 Remove extraneous 'inline' hints
2 år sedan
ellensp
02405add76
Support a third serial port (#21784 )
3 år sedan
Scott Lahteine
be6fbc76a1
Serial and pins debug cleanup
- Rename some AVR / DUE / ESP32 serial types
- Reduce two #error to one static_assert
- Update AVR/DUE error messages
3 år sedan
Ramiro Polla
8048d1411f
Drop return value from Serial::write() (#21567 )
3 år sedan
Scott Lahteine
604c5dedf4
MarlinSerial cleanup
3 år sedan
Scott Lahteine
8532c2b9b6
Fix MarlinSerial typo
3 år sedan
Scott Lahteine
dbd28eecc9
Number serial from 1 to match settings
3 år sedan
X-Ryl669
e7c711996b
Serial refactor. Default 8-bit ECHO to int, not char (#20985 )
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
3 år sedan
X-Ryl669
c74f972627
LVGL UI G-code console (#20755 )
3 år sedan
X-Ryl669
3f01b222b2
Refactor serial class with templates (#20783 )
3 år sedan
Jason Smith
90d364fc37
Revert at90usb1286 conditional (#19733 )
3 år sedan
Jason Smith
45731bd022
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 >
3 år sedan
Scott Lahteine
7ce91c5ffe
Sanity check old serial names
3 år sedan
Jason Smith
da6c8317a7
Fix and improve STM32F1 serial (#19464 )
3 år sedan
Scott Lahteine
4b928b2da8
HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467 +sjasonsmith@users.noreply.github.com >
3 år sedan
Marco Burato
6bcfb58cd4
More Anycubic + Trigorilla mappings, ExtUI (#18903 )
3 år sedan
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745 )
4 år sedan
Desuuuu
fcd1678a17
Actually apply DGUS_[RT]X_BUFFER_SIZE (#17952 )
4 år sedan
Scott Lahteine
ab2b98e425
Apply composite tests
4 år sedan
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156 )
4 år sedan
Scott Lahteine
64d092935b
More useful ENABLED / DISABLED macros (#17054 )
4 år sedan
Scott Lahteine
bfad23d3e2
(c) 2020
4 år sedan
George Fu
e593da1c23
Update and fix DGUS (#16317 )
4 år sedan
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
4 år sedan
Scott Lahteine
a2ba0aaaac
HAL include and other adjustments (#14525 )
5 år sedan
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
5 år sedan
Scott Lahteine
f2ba0a5ae7
Tweak some formatting
5 år sedan
Scott Lahteine
0feeef2604
Update copyright in headers
5 år sedan
revilor
6a57d0b381
Prusa MMU2 (#12967 )
5 år sedan
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
5 år sedan
Scott Lahteine
d5141c4e03
Fix up leading/trailing whitespace
5 år sedan
AnoNymous
001f26b642
Template struct simplification for serial (#11990 )
5 år sedan
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988 )
5 år sedan
Eduardo José Tagle
f6f2246f59
Templatized serial classes (#11982 )
5 år sedan
etagle
99af086cea
Add hidden Serial overflow debug options
6 år sedan
etagle
d90e8fcad9
Fix XON/XOFF implementation
Pointed out by @GMagician
6 år sedan
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 år sedan
Chris Pepper
2242b98248
[LPC176x] Emergency Parser Feature (#10516 )
6 år sedan
Scott Lahteine
649f375494
Fix: M112 calling kill from interrupt (#9923 )
Fix #9906
6 år sedan
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.
6 år sedan
Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
6 år sedan
Scott Lahteine
3066655727
Try port*100+pin, fix config dependency
6 år sedan
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
6 år sedan
Scott Lahteine
fd128b3c93
Fix some AVR HAL code style
6 år sedan
Scott Lahteine
9fe7f53216
Misc general spacing cleanup
6 år sedan
Scott Lahteine
508d764d63
Add serial XON/XOFF handshaking
From @ejtagle , originally #7459
6 år sedan
Scott Lahteine
54326fb06a
HAL updates
6 år sedan
Christopher Pepper
4b16fa3272
Implement HAL and apply macros across code-base
Implement AVR Platform
7 år sedan
Scott Lahteine
de4e19f17e
Patch MarlinSerial to match up with 32-bit version
7 år sedan