Commit Graph

1292 Commits

Author SHA1 Message Date
Scott Lahteine
3f103c91f0 🎨 Laser Ammeter followup (#22079)
Followup to #21835
2021-06-15 00:09:52 -05:00
ellensp
76d4a395d1 🩹 Fallback ID for MKS TS35 V2.0 (#22031) 2021-06-15 00:09:52 -05:00
7FM
c515bfb5fb 👽️ Include <EEPROM.h> in STM32 (for now) (#22054) 2021-06-15 00:09:52 -05:00
Victor Oliveira
e6ef43e51a ⚰️ Remove obsolete CUSTOM_SPI_PINS (#22058) 2021-06-15 00:09:52 -05:00
DerAndere
c1fca91103 🏗️ Support for up to 6 linear axes (#19112)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-06-15 00:05:03 -05:00
ellensp
d13ffa0aba 🔨 Creality v4 with STM32 HAL (#21999)
- New STM32 env for Creality V4 boards.
- Separate Libmaple targets into their own `ini` file.
- Temporarily remove unusable targets from `pins.h`.

Co-authored-by: ellensp <ellensp@hotmsil.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-06-14 23:49:26 -05:00
Krzysztof Błażewicz
529bbfad10 ⚗️ 32-bit float constants (STM32F1) (#21996) 2021-06-14 23:46:12 -05:00
Victor Oliveira
057302b936 👽️ Fix usb-host-msc-cdc-msc issue (#22025) 2021-06-04 23:33:19 -05:00
Scott Lahteine
49b05ba989 🎨 Flags for homing directions 2021-05-22 16:09:18 -05:00
Alvaro Segura Del Barco
6861b1ec82 🐛 Fix Teensy PINS_DEBUGGING compile (#21958)
Followup to 84a11cfedc
2021-05-22 15:55:08 -05:00
ekef
0977429138
Fix MKS Robin E3 BLTOUCH and Fan PWM timer conflicts (#21889) 2021-05-15 18:22:30 -05:00
Victor Oliveira
c463b81819 BTT SKR Mini E3 for HAL/STM32 (#21488) 2021-05-15 15:05:53 -05:00
BigTreeTech
ac11c689f7 Capacitive Touch Screen (GT911) for SKR SE BX (#21843)
Co-authored-by: Msq001 <alansayyeah@gmail.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-05-15 15:05:53 -05:00
Scott Lahteine
f3e199fcd2 Fix TFT typo 2021-05-15 15:05:53 -05:00
sanek88lbl
06e965e29c Lerdge K EEPROM and TFT (#21812)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-05-15 15:05:53 -05:00
ellensp
9fa9eebe51 Support a third serial port (#21784) 2021-05-15 15:05:53 -05:00
Scott Lahteine
4518506559 Serial and pins debug cleanup
- Rename some AVR / DUE / ESP32 serial types
- Reduce two #error to one static_assert
- Update AVR/DUE error messages
2021-05-15 15:05:53 -05:00
Scott Lahteine
db90a180c2 Cleanup, hex formatting, includes 2021-05-15 15:05:52 -05:00
ManuelMcLure
6e18af6f81 Only look for target disk during Upload (#21804) 2021-05-06 01:46:36 -05:00
Scott Lahteine
a468701511 Cleanup, hex formatting 2021-05-05 07:34:39 -05:00
Scott Lahteine
5cbdf51b4a Apply SBI/CBI/TEST in HAL 2021-05-05 07:31:47 -05:00
Victor Oliveira
6310e023a7 Fix bad call to 'diskIODriver' (#21775) 2021-05-02 16:07:53 -05:00
Keith Bennett
40d789ce18
Fix "continuous" typo (#21701) 2021-04-25 23:34:42 -05:00
fedetony
d3a2c6a0b4
Soft Reset via Serial or post-kill button click (#21652)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-24 02:53:52 -05:00
Scott Lahteine
3bddbb1110 Clean up formatting, wrap macros 2021-04-23 19:21:39 -05:00
Scott Lahteine
550a806d77 More detailed serial config error 2021-04-18 18:24:58 -05:00
Scott Lahteine
73f6426114 Use itoa for sprintf int 2021-04-16 05:14:37 -05:00
Scott Lahteine
c6c6c56186 SDIO cleanup 2021-04-16 03:16:44 -05:00
Scott Lahteine
0e9836649e Misc. formatting, serial out 2021-04-13 21:41:04 -05:00
Victor Oliveira
138340ee99
Multi-Volume. Select Media for LVGL (#21344) 2021-04-13 17:34:19 -05:00
pinchies
41eb5813e0
Fix Flash size (512KB) for STM32F103ZE (#21590) 2021-04-12 21:14:34 -05:00
Ramiro Polla
8048d1411f
Drop return value from Serial::write() (#21567) 2021-04-08 21:05:31 -05:00
BigTreeTech
b483a8d652
BTT SKR-SE-BX (STM32H743IIT6 ARM Cortex M7) and BIQU_BX_TFT70 (#21536) 2021-04-05 21:40:50 -05:00
Mike La Spina
993609b5aa
Make DELAY_NS round up on AVR (#21546) 2021-04-05 16:34:31 -05:00
Scott Lahteine
8b6718c632 misc. pointer formatting 2021-04-04 18:08:13 -05:00
Scott Lahteine
895e40190b Suppress redundant serial errors 2021-04-03 20:33:11 -05:00
Scott Lahteine
62f37669dc
Replace 'const float &' with 'const_float_t' (#21505) 2021-04-01 17:59:57 -05:00
Sola
4d17613050
MKS H43 fix, cleanup (#21485)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-03-31 02:34:17 -05:00
Victor Oliveira
6e0b79a33b
Fix and add STM32 SDIO DMA (#21476) 2021-03-29 21:52:30 -05:00
Scott Lahteine
3b73b115ca Apply pointer formatting 2021-03-29 20:36:37 -05:00
Tomas Rimkus
8a67846872
Avoid watchdog reset in all wired EEPROMs (#21436)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-03-25 19:16:45 -05:00
Scott Lahteine
704b8cd83c Apply TMC UART to STM32, simplify 2021-03-25 16:53:05 -05:00
Scott Lahteine
84b961cb20
Define HW serial ports needed for TMC UART (#21446) 2021-03-25 16:19:03 -05:00
Scott Lahteine
38b44e3fc9 HAL eeprom cleanup 2021-03-19 04:51:41 -05:00
Scott Lahteine
560448afed Revert "Fix small wired EEPROM (#21337)"
Reverting commit cc3e878f90 pending further investigation.
2021-03-17 21:36:30 -05:00
X-Ryl669
c07f99d5e4
Teensy USB / serial followup (#21316) 2021-03-14 20:23:41 -05:00
X-Ryl669
d787cd3076
Fix build with Meatpack only on 2nd port (#21336)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-03-14 12:11:11 -05:00
Scott Lahteine
cc3e878f90
Fix small wired EEPROM (#21337)
Co-Authored-By: jafal99 <26922965+jafal99@users.noreply.github.com>
2021-03-14 11:43:20 -05:00
Scott Lahteine
604c5dedf4 MarlinSerial cleanup 2021-03-12 08:38:52 -06:00
Scott Lahteine
8532c2b9b6 Fix MarlinSerial typo 2021-03-12 07:37:50 -06:00
Scott Lahteine
048f6b4731 Tricked-out declaration 2021-03-10 13:45:53 -06:00
Scott Lahteine
dbd28eecc9 Number serial from 1 to match settings 2021-03-10 13:45:53 -06:00
Victor Oliveira
2f1fd4bbaa Host Keepalive followup (#21290)
Followup to #21283

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-03-08 20:01:45 -06:00
Victor Oliveira
1b9ff68f8c
Fix Host Keepalive serial target (#21283)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-03-08 01:11:37 -06:00
Mike La Spina
b95e548ddb
Cooler (for Laser) - M143, M193 (#21255) 2021-03-06 14:13:28 -06:00
Scott Lahteine
fd270ddc6c misc. cleanup 2021-03-03 00:18:50 -06:00
Scott Lahteine
8c9a59c29e Fewer warnings 2021-03-01 06:21:51 -06:00
Scott Lahteine
dd42831cba Serial macros cleanup 2021-02-28 20:02:24 -06:00
Scott Lahteine
903d0b91fc Tweaks to build scripts 2021-02-27 22:38:57 -06:00
Scott Lahteine
54ccfcc705 whitespace 2021-02-27 22:34:54 -06:00
Sola
c76008bd6a
MKS H43 controller (#20609) 2021-02-27 17:35:32 -06:00
Giuliano Zaro
6136959a6a
[SAMD51] Postmortem Debugging not implemented (#21211) 2021-02-27 13:24:36 -06:00
X-Ryl669
56462cf082
Make F_CPU a compile-time constant (#21051) 2021-02-26 17:59:28 -06:00
X-Ryl669
f003e52009
Combined LPC / Serial fixes (#21178)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-02-25 01:23:29 -06:00
X-Ryl669
8d28853774
Postmortem Debugging to serial port (#20492) 2021-02-20 20:22:20 -06:00
Giuliano Zaro
8fd88eee2b
Don't create unused Serial Port instances (#21066)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-02-13 21:04:22 -06:00
Scott Lahteine
fd2477923c Minor serial code cleanup 2021-02-12 19:33:19 -06:00
X-Ryl669
03789c4d97
Improve Delay test report (#21047) 2021-02-12 07:49:07 -06:00
JoAnn Manges
8707ae23e2
MAX Thermocouples rework (#20447)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-02-08 19:51:57 -06:00
X-Ryl669
e7c711996b
Serial refactor. Default 8-bit ECHO to int, not char (#20985)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-02-08 00:37:24 -06:00
Arjan Mels
1e726fe405
Fix STM32F1 emergency parser (#21011) 2021-02-07 22:47:08 -06:00
Simon Jouet
af4e8b171c
Fix ESP32 I2S init placement (#21019) 2021-02-07 16:56:39 -06:00
Chris Pepper
5233e66762
Improve RPi host kernel panic mitigation
It was still possible to cause a Kernel panic, this additional 500ms delay before disconnect appears to mitigate it completely.
2021-02-07 20:46:24 +00:00
X-Ryl669
1c19af2c8f
Fix ARM delay function (#20901) 2021-02-05 22:43:51 -06:00
Scott Lahteine
10aaab6350 Use 'false' 2021-02-05 18:48:11 -06:00
Chris Pepper
004bed8a7f
Mitigate RPi hosts kernel panic on M997
Work around M997 sometimes causing a kernel panic on the host when sent from a Raspbery Pi, the root cause is currently unknown.
2021-02-05 22:43:36 +00:00
Scott Lahteine
604afd52d1 Fix some serial char, echo
Co-Authored-By: X-Ryl669 <3277165+X-Ryl669@users.noreply.github.com>
2021-02-04 19:20:28 -06:00
Scott Lahteine
c6ef86029c Evaluate ANY_SERIAL_IS in place 2021-02-02 16:00:11 -06:00
Victor Oliveira
28b8bf566b
STM32 Shared Media - USB Mass Storage Device (#20956) 2021-02-02 14:55:11 -06:00
X-Ryl669
c74f972627
LVGL UI G-code console (#20755) 2021-01-31 18:18:39 -06:00
X-Ryl669
27366197f3
Serial refactor followup (#20932) 2021-01-31 17:21:27 -06:00
George Fu
5ac08a44c6
FYSETC Cheetah 2.0 (#20897) 2021-01-28 19:52:49 -06:00
X-Ryl669
3f01b222b2
Refactor serial class with templates (#20783) 2021-01-28 02:02:06 -06:00
ConstantijnCrijnen
b95f5c5bea
Configure / disable PRINTCOUNTER save interval (#20856)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-01-26 02:30:31 -06:00
Tanguy Pruvot
ef14b18f8e
PSTR alias followup (#20831) 2021-01-20 16:52:09 -06:00
Giuliano Zaro
a10626705d
MMU2 serial followup (#20811) 2021-01-19 20:55:01 -06:00
Rockman18
d0f953218f
Fix, consolidate PSTR aliases (#20812)
Co-authored-by: Jason Smith <jason.inet@gmail.com>
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-01-19 16:26:25 -06:00
Scott Lahteine
49b5e1d9bf Clean up whitespace, headings 2021-01-18 21:54:23 -06:00
Scott Lahteine
b41f41589a General cleanup, use _BV 2021-01-16 22:53:50 -06:00
Giuliano Zaro
1d5862a39b
MMU2 as standard serial device (#20771) 2021-01-15 20:38:34 -06:00
EvilGremlin
8049db20ff
ESP32 Tone Generator (#20704) 2021-01-14 02:33:50 -06:00
Scott Lahteine
c753fc690f More MKS UI prelim. cleanup 2021-01-14 00:27:10 -06:00
Scott Lahteine
4a89731025
Rotary encoder cleanup (#20753) 2021-01-12 20:43:52 -06:00
Johan van der Vyver
7f3dcb3e8a
Multi-platform DWIN_CREALITY_LCD support (#20738)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-01-12 18:05:49 -06:00
Scott Lahteine
54debf855c Tweak STM32F1 pin r/w/t 2021-01-10 21:38:31 -06:00
Dmitry Katsubo
bbf06152da
Fix misc. warnings (#20715) 2021-01-08 18:55:36 -06:00
Victor Oliveira
c840bbc970
Prefix SD SPI pins (SCK, MISO, MOSI, SS) (#20606)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-01-01 14:31:15 -06:00
Scott Lahteine
a9d18f0f57 SPI and pins cleanup 2020-12-30 22:00:36 -06:00
Victor Oliveira
84ab088b40
USB FD via native USB Host + MSC (#20571) 2020-12-28 23:16:38 -06:00
Victor Oliveira
2ce9fa4b9c
Better defaults, compatibility for SDIO + STM32 (#20570) 2020-12-27 23:08:06 -06:00
Victor Oliveira
4d6b6bcffc
LVGL and Classic UI for STM32 (#20552) 2020-12-23 20:01:21 -06:00
Keith Bennett
a0c8d348a0
Anet ET4 / ET4P and Anet TFT28 / TFT35 (#20280) 2020-12-22 06:51:29 -06:00
Jason Smith
094e822070
Improve STM32 timer conflict messages (#20544) 2020-12-22 05:49:34 -06:00
LinFor
36aff1e464
12-bit ADC resolution for STM32 (#20519) 2020-12-21 18:30:03 -06:00
Jason Smith
6dfcd491d0
Fix Creality EEPROM watchdog freq. (#20510) 2020-12-19 23:55:57 -06:00
Scott Lahteine
3f93b8baed Trust STM32 gcc versions 2020-12-15 01:06:32 -06:00
Chris Pepper
9fd358f10c
LPC176x framework update (#20469) 2020-12-14 22:36:25 +00:00
Keith Bennett
6cf4b888e1
Clarify "not Interrupt-capable" error message (#20419) 2020-12-10 15:27:02 -03:00
Scott Lahteine
885b0d2ec5 Style, spacing, typo cleanup for recent changes 2020-12-08 20:18:29 -06:00
Victor Oliveira
9ead6a30f2
SPI TFT for STM32F4 boards (#20384)
* fix pinsDebug for F1 boards

* add MKS Robin PRO V2 board - development board

* tft spi working with F4 boards

* pins formating

* sanity check for TFT on supported cores in STM32

* Fix tabs/spaces in pins file

Co-authored-by: Jason Smith <jason.inet@gmail.com>
2020-12-07 21:26:39 -08:00
Scott Lahteine
b04914fb72 More LPC P-string macros 2020-12-07 05:06:24 -06:00
Scott Lahteine
a3f6e48eb6 Fix STM32F1 SERIAL_GET_TX_BUFFER_FREE 2020-12-05 20:05:39 -06:00
InsanityAutomation
e8ed880e62
Add Creality 4.5.2 board (#20378)
Co-authored-by: Jason Smith <jason.inet@gmail.com>
2020-12-05 13:23:58 -08:00
Jason Smith
2c8f566231
Suspend Servos for STM32+NeoPixel (#19963) 2020-12-05 00:02:58 -06:00
Scott Lahteine
2e010909ac Tweak to EEPROM safe delay 2020-12-01 16:14:37 -06:00
Jason Smith
6f4381df53
Prevent Watchdog reset writing Creality 4.x EEPROM (#20328) 2020-11-30 22:25:44 -08:00
Jason Smith
f2b9be6e70
Fix STM32F1 'freeMemory()' warnings (#20319) 2020-11-29 14:57:05 -06:00
Scott Lahteine
aa2ced96e0 Finish HAL/STM32 cpp wrappers 2020-11-26 03:47:15 -06:00
Jason Smith
3a396a25dc
Retire HAL for STM32F4 / F7 (#20153) 2020-11-26 00:37:18 -06:00
Scott Lahteine
18853defdd
Reduce warnings, extern "C" cleanup (#20279) 2020-11-25 21:40:56 -06:00
Victor Oliveira
2693e35cae
add missing header to use HAS_SD_HOST_DRIVE (#20270) 2020-11-24 20:08:35 -08:00
Vitaliy
19d0c985be
Windows LPC Upload for non-admins (#20208)
Co-authored-by: Victor Mateus Oliveira <rhapsodyv@gmail.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2020-11-19 17:49:12 -06:00
Scott Lahteine
3893114c86 MKS WiFi preliminary changes 2020-11-19 15:56:04 -06:00
Giuliano Zaro
41529b6598
SMUFF (MMU2 clone) support (#19912) 2020-11-18 01:27:21 -06:00
Scott Lahteine
11b811820f USB Media Host followup
Restore HAS_SHARED_MEDIA
2020-11-18 00:13:28 -06:00
Victor Oliveira
f1cdd02d4c
Improve USB Media Host conditions (#20176)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-11-17 23:48:14 -06:00
Victor Oliveira
ea371618da
Add Touch Calibration screen (#20049) 2020-11-15 16:39:58 -06:00
Costas Basdekis
0465e0ae3a
Distinct runout states (#19965)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-11-11 00:39:23 -06:00
Costas Basdekis
3b68e44d9a
Fix Linux GPIO logging (#20093)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-11-10 20:13:29 -06:00
Jason Smith
53e79224fc
Fix Arduino DUE compilation (#20058) 2020-11-10 03:32:08 -06:00
Scott Lahteine
b5ef699523 TFT cleanup 2020-11-07 16:21:52 -06:00
Jason Smith
bd872d5dcf
STM32F1 cleanup, incl. SoftwareSerial removal (#20046) 2020-11-06 23:51:52 -06:00
Scott Lahteine
8c052e43f1 Update some file headers 2020-11-06 23:46:56 -06:00
Victor Oliveira
85d094bbb4
Standardize Marlin SPI (part 1) (#19989) 2020-11-06 21:07:15 -06:00
Scott Lahteine
1f6612dfc4 Comment, spacing cleanup 2020-11-05 17:16:47 -06:00
Victor
a1cce36c1e
FAST_PWM for STM32 (#20025) 2020-11-04 15:15:19 -06:00
Scott Lahteine
4fe1adc383 HAL support for 8s watchdog 2020-11-04 15:08:40 -06:00
Victor Oliveira
e7ebb66200
Fix STM32 HW Serial + EP compile (#19990) 2020-11-01 20:38:10 -06:00
Victor Oliveira
5deca5a18f
Increase SPI Speed on LPC. Color and Classic UI for MKS SGEN L. (#19945) 2020-11-01 20:15:06 -06:00
Scott Lahteine
22bf2b49c6
Clean up SPI and ST7920 defines (#19956) 2020-11-01 04:40:59 -06:00
Jason Smith
4a39c8cd53
Get STM32 clock rates from framework (#19978)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-11-01 02:39:30 -06:00
Scott Lahteine
f8d57370d0 gcode_D EEPROM size, cleanup
Fixes #19920

Co-Authored-By: Orel <37673727+0r31@users.noreply.github.com>
2020-10-29 17:34:17 -05:00
Victor
de315c97b1
FAST_PWM for STM32F1 (#19952) 2020-10-29 17:17:04 -05:00
Scott Lahteine
be0c9ff705 Fix comments, spacing 2020-10-29 00:49:18 -05:00
Victor Oliveira
838220e4b3
Keep SPI active on LPC176x (#19932) 2020-10-28 23:47:12 -05:00
Scott Lahteine
82ac8a1e76 Fix Archim 1, add Archim 1&2 tests 2020-10-27 16:21:03 -05:00
Scott Lahteine
ec23e37a4a Clean up comments, USB flash, NULLs 2020-10-25 04:10:00 -05:00
Scott Lahteine
5917b5cf5c Fix warning in gcode_D 2020-10-23 19:25:32 -05:00
Scott Lahteine
0967c87a8f
Pins post-process header (#19860) 2020-10-23 14:52:59 -05:00
Scott Lahteine
1f7c085527 ESP32: i2s_init requires I2S_STEPPER_STREAM 2020-10-20 22:36:31 -05:00