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 година