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