Commit Graph

1162 Commits

Author SHA1 Message Date
X-Ryl669
9ae204df9c Serial refactor followup (#20932) 2021-04-29 08:45:13 -05:00
George Fu
59d16eb189 FYSETC Cheetah 2.0 (#20897) 2021-04-29 08:45:12 -05:00
X-Ryl669
efa1e56369 Refactor serial class with templates (#20783) 2021-04-29 08:45:12 -05:00
ConstantijnCrijnen
cdefc19129 Configure / disable PRINTCOUNTER save interval (#20856)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-04-29 08:45:12 -05:00
Tanguy Pruvot
8d2f1851eb PSTR alias followup (#20831) 2021-04-29 08:45:12 -05:00
Giuliano Zaro
faf4cb1b74 MMU2 serial followup (#20811) 2021-04-29 08:45:12 -05:00
Rockman18
910059adcb 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-04-29 08:45:12 -05:00
Scott Lahteine
c69f9b9883 Clean up whitespace, headings 2021-04-29 08:45:12 -05:00
Scott Lahteine
efc396bd05 General cleanup, use _BV 2021-04-29 08:45:11 -05:00
Giuliano Zaro
a5d2180bf5 MMU2 as standard serial device (#20771) 2021-04-29 08:45:11 -05:00
EvilGremlin
7f8188ccb6 ESP32 Tone Generator (#20704) 2021-04-29 08:45:11 -05:00
Scott Lahteine
86bf374fc4 More MKS UI prelim. cleanup 2021-04-29 08:45:11 -05:00
Scott Lahteine
104aceb44a Rotary encoder cleanup (#20753) 2021-04-29 08:45:11 -05:00
Johan van der Vyver
55709b9d2c Multi-platform DWIN_CREALITY_LCD support (#20738)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:11 -05:00
Scott Lahteine
7e188c48e1 Tweak STM32F1 pin r/w/t 2021-04-29 08:45:11 -05:00
Dmitry Katsubo
8690f4862d Fix misc. warnings (#20715) 2021-04-29 08:45:11 -05:00
Victor Oliveira
2c58d0881b Prefix SD SPI pins (SCK, MISO, MOSI, SS) (#20606)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:10 -05:00
Scott Lahteine
7a748bd565 SPI and pins cleanup 2021-04-29 08:45:10 -05:00
Victor Oliveira
79672d51f6 USB FD via native USB Host + MSC (#20571) 2021-04-29 08:45:10 -05:00
Victor Oliveira
910908fb32 Better defaults, compatibility for SDIO + STM32 (#20570) 2021-04-29 08:45:10 -05:00
Victor Oliveira
fadc8a1944 LVGL and Classic UI for STM32 (#20552) 2021-04-29 08:45:10 -05:00
Keith Bennett
aa65c6e477 Anet ET4 / ET4P and Anet TFT28 / TFT35 (#20280) 2021-04-29 08:45:09 -05:00
Jason Smith
a1313c7066 Improve STM32 timer conflict messages (#20544) 2021-04-29 08:45:09 -05:00
LinFor
076f12e82d 12-bit ADC resolution for STM32 (#20519) 2021-04-29 08:45:09 -05:00
Jason Smith
56e2f39175 Fix Creality EEPROM watchdog freq. (#20510) 2021-04-29 08:45:09 -05:00
Scott Lahteine
82b6044dbb Trust STM32 gcc versions 2021-04-29 08:45:09 -05:00
Chris Pepper
5617d64119 LPC176x framework update (#20469) 2021-04-29 08:45:09 -05:00
Keith Bennett
aecfd95592 Clarify "not Interrupt-capable" error message (#20419) 2021-04-29 08:45:08 -05:00
Scott Lahteine
ad7fe15154 Style, spacing, typo cleanup for recent changes 2021-04-29 08:45:08 -05:00
Victor Oliveira
91e9599554 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>
2021-04-29 08:45:08 -05:00
Scott Lahteine
1932e70e72 More LPC P-string macros 2021-04-29 08:45:08 -05:00
Scott Lahteine
b6cd7aaf17 Fix STM32F1 SERIAL_GET_TX_BUFFER_FREE 2021-04-29 08:45:08 -05:00
InsanityAutomation
21b15a0a09 Add Creality 4.5.2 board (#20378)
Co-authored-by: Jason Smith <jason.inet@gmail.com>
2021-04-29 08:45:08 -05:00
Jason Smith
c400c54b86 Suspend Servos for STM32+NeoPixel (#19963) 2021-04-29 08:45:08 -05:00
Scott Lahteine
29a962320c Tweak to EEPROM safe delay 2021-04-29 08:45:08 -05:00
Jason Smith
f929123a7b Prevent Watchdog reset writing Creality 4.x EEPROM (#20328) 2021-04-29 08:45:08 -05:00
Jason Smith
272265c636 Fix STM32F1 'freeMemory()' warnings (#20319) 2021-04-29 08:45:08 -05:00
Scott Lahteine
7421282d9a Finish HAL/STM32 cpp wrappers 2021-04-29 08:45:07 -05:00
Jason Smith
e2c57f6d47 Retire HAL for STM32F4 / F7 (#20153) 2021-04-29 08:45:07 -05:00
Scott Lahteine
664e9d6dfe Reduce warnings, extern "C" cleanup (#20279) 2021-04-29 08:45:07 -05:00
Victor Oliveira
38a62f0d5b add missing header to use HAS_SD_HOST_DRIVE (#20270) 2021-04-29 08:45:07 -05:00
Vitaliy
afd3ee264b Windows LPC Upload for non-admins (#20208)
Co-authored-by: Victor Mateus Oliveira <rhapsodyv@gmail.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-04-29 08:45:07 -05:00
Scott Lahteine
f1b32b808f MKS WiFi preliminary changes 2021-04-29 08:45:06 -05:00
Giuliano Zaro
bd38e59479 SMUFF (MMU2 clone) support (#19912) 2021-04-29 08:45:06 -05:00
Scott Lahteine
b6d2671260 USB Media Host followup
Restore HAS_SHARED_MEDIA
2021-04-29 08:45:06 -05:00
Victor Oliveira
ccac37613b Improve USB Media Host conditions (#20176)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:06 -05:00
Victor Oliveira
3d9b453000 Add Touch Calibration screen (#20049) 2021-04-29 08:45:06 -05:00
Costas Basdekis
dc144fb910 Distinct runout states (#19965)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:06 -05:00
Costas Basdekis
45b242d5f7 Fix Linux GPIO logging (#20093)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:05 -05:00
Jason Smith
ee48fc6544 Fix Arduino DUE compilation (#20058) 2021-04-29 08:45:05 -05:00
Scott Lahteine
426d555f6e TFT cleanup 2021-04-29 08:45:05 -05:00
Jason Smith
3afa6e526b STM32F1 cleanup, incl. SoftwareSerial removal (#20046) 2021-04-29 08:45:05 -05:00
Scott Lahteine
5a918e2b2e Update some file headers 2021-04-29 08:45:05 -05:00
Victor Oliveira
2dd1522e30 Standardize Marlin SPI (part 1) (#19989) 2021-04-29 08:45:05 -05:00
Scott Lahteine
b643a07b66 Comment, spacing cleanup 2021-04-29 08:45:05 -05:00
Victor
b767a82bd8 FAST_PWM for STM32 (#20025) 2021-04-29 08:45:05 -05:00
Scott Lahteine
67d58ccb98 HAL support for 8s watchdog 2021-04-29 08:45:05 -05:00
Victor Oliveira
172996f2b3 Fix STM32 HW Serial + EP compile (#19990) 2021-04-29 08:45:04 -05:00
Victor Oliveira
3c512648da Increase SPI Speed on LPC. Color and Classic UI for MKS SGEN L. (#19945) 2021-04-29 08:45:04 -05:00
Scott Lahteine
95fb749923 Clean up SPI and ST7920 defines (#19956) 2021-04-29 08:45:04 -05:00
Jason Smith
d9a47ec075 Get STM32 clock rates from framework (#19978)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:04 -05:00
Scott Lahteine
2774b70fbf gcode_D EEPROM size, cleanup
Fixes #19920

Co-Authored-By: Orel <37673727+0r31@users.noreply.github.com>
2021-04-29 08:45:04 -05:00
Victor
3dbe4ac593 FAST_PWM for STM32F1 (#19952) 2021-04-29 08:45:04 -05:00
Scott Lahteine
59914df5b7 Fix comments, spacing 2021-04-29 08:45:04 -05:00
Victor Oliveira
b590cee35a Keep SPI active on LPC176x (#19932) 2021-04-29 08:45:04 -05:00
Scott Lahteine
aecf545446 Fix Archim 1, add Archim 1&2 tests 2021-04-29 08:45:04 -05:00
Scott Lahteine
6c103b72a2 Clean up comments, USB flash, NULLs 2021-04-29 08:45:04 -05:00
Scott Lahteine
d3ee5d7dfe Fix warning in gcode_D 2021-04-29 08:45:04 -05:00
Scott Lahteine
2fed3982d6 Pins post-process header (#19860) 2021-04-29 08:45:04 -05:00
Scott Lahteine
e32bdf6a93 ESP32: i2s_init requires I2S_STEPPER_STREAM 2021-04-29 08:45:03 -05:00
bilsef
c6f17ac01e Teensy 4.1 Ethernet support (#19801) 2021-04-29 08:45:03 -05:00
Scott Lahteine
53a4b8fa33 Misc. cleanup, serial strings 2021-04-29 08:45:03 -05:00
Scott Lahteine
141f6825ce Rename ultralcd => marlinui 2021-04-29 08:45:03 -05:00
Serhiy-K
19498040ef Fix HAL/STM32 FastIO for analog pins (#19735) 2021-04-29 08:45:03 -05:00
Jason Smith
d5340675ae Fix SAMD Serial name macro (#19765) 2021-04-29 08:45:03 -05:00
Victor Oliveira
1fa19e1fc2 Sanity check unsupported EP (#19745) 2021-04-29 08:45:03 -05:00
Scott Lahteine
7905aa64fa TFT Presets, Generic options, Sanity checks (#19723) 2021-04-29 08:45:03 -05:00
Jason Smith
6a5799fc7d Revert at90usb1286 conditional (#19733) 2021-04-29 08:45:03 -05:00
Jason Smith
33b2f0700e Add NUCLEO-F767ZI dev board (#19373)
Co-authored-by: Lorenzo Delana <lorenzo.delana@gmail.com>
2021-04-29 08:45:02 -05:00
Victor Oliveira
9b1ed45b3e TFT Refactoring (#19192)
* split tft folder in two: tft for color ui; tft_io for shared tft code

* after the files got moved, now the code was moved to the right place

* classic ui using TFT IO init lcd codes

* feature to compile tft_io when enabled

* compiling fix

* lvgl spi tft working with tft io init codes

* there is no need for separeted fsmc and spi class in lvgl anymore, as tft io handle everything

* remove debug

* base for TFT rotation and mirroring API, and ILI9488 support

* ST7796S rotate and mirror support

* ST7789V rotate and mirror support

* ST7735 rotate and mirror support

* ILI9341 rotate and mirror support

* ILI9328 rotate and mirror support

* R61505 rotate and mirror support

* MKS TFT definitions

* more configs for mks tfts

* update config

* naming typo

* to configure the user interface

* ANYCUBIC_TFT35

* tft configs

* support for SSD1963

* tft display types

* updated conditionals lcd; first board fully working with the new code - all 3 ui!

* compatiblity

* changed name

* move classic ui file name

* rename TURN -> ROTATE

* GRAPHICAL_TFT_ROTATE_180 deprecated

* first fsmc board fully working - chitu v5

* mks robin nano v1.2 + tft 35 ok!

* right pin name

* anycubic tft tested in a TRIGORILLA_PRO

* chitu v6

* nano 32 tft orientation

* mks tft43

* mks tft43 rotation

* fixed LONGER LK tft setup

* GRAPHICAL_TFT_UPSCALE defined by the display type

* better offsets defaults

* Update Configuration.h

* Update tft_fsmc.cpp

* Update Conditionals_LCD.h

* Tweak comments

* update nano tests

* Revert "update nano tests"

This reverts commit a071ebbfad30e28855a4a5695ec8a726542a1a65.

* default tft

* outdated comments

* to not break non-vscode builds

* upscale tft 35

* support tft 180 rotation for color ui

* Each TFT Driver is responsible for its default color mode.

* use auto detect in mks displays, because some of them could be shipped with diferent drivers

* extra s

* unused code

* wrong -1

* missing mirror options

* Smaller regex pattern

* Comment updates

* Clean up old defines

* Apply pins formatting

* GRAPHICAL_TFT_ROTATE_180 => TFT_ROTATE_180

* MKS_ROBIN_TFT_V1_1R

* merge fix

* correct resolution

* auto is default, dont need be there, and it will allow the user to configure it even for named displays

* to not use rotation with MKS_ROBIN_TFT_V1_1R

* i like () in macros

* avoid sleepy commits

* default for st7789 is rgb

* nano follow up

* to allow ili9328 rotation

* default is rgb

* boards merge follow up

* to match bootloader orientation

* HAS_TOUCH_XPT2046 is not hal specific anymore

* lets not forget LPC

* 180 rotation for ili9328 and R61505

* Clean up whitespace

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-04-29 08:45:02 -05:00
Victor Oliveira
c1729330c5 Option to prevent (extra) Watchdog init on STM32 (#19693) 2021-04-29 08:45:02 -05:00
Jason Smith
67e0e6d5ad Fix I2C_ADDRESS sign warning (#19685) 2021-04-29 08:45:02 -05:00
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>
2021-04-29 08:45:02 -05:00
Scott Lahteine
a30e8baf3e Digipots refactor / cleanup (#19690) 2021-04-29 08:45:02 -05:00
Victor Oliveira
2adac87c45 Restore correct STM32 port-bits code (#19678) 2021-04-29 08:45:02 -05:00
Serhiy-K
72f9fdc05f Fixes for TFTGLCD Panel, FastIO (#19614) 2021-04-29 08:45:02 -05:00
Scott Lahteine
7e09160ba3 Batch appercase hex values 2021-04-29 08:45:02 -05:00
Victor Oliveira
2553a18f40 Support for Debug Codes - Dnnn (#19225)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:02 -05:00
Scott Lahteine
3516c3f936 Use 0xFF (not 'ff') for byte transfer 2021-04-29 08:45:02 -05:00
Scott Lahteine
6002dc634e Trailing whitespace 2021-04-29 08:45:01 -05:00
Ryan V1
85c6ffb364 Fix 'bossac' upload on Windows (#19545) 2021-04-29 08:45:01 -05:00
ellensp
9804677669 Fix wrappers on HAL/STM32F1 .cpp files (#19581)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:01 -05:00
ellensp
c5614c8529 Fix TEMP_ADC_PROBE support for STM32F1 (#19582)
Co-authored-by: ellensp <ellensp@ellensp-HP-ProBook-6470b.fritz.box>
2021-04-29 08:45:01 -05:00
Scott Lahteine
69917690f3 Adjust HAL platform defines, comments 2021-04-29 08:45:01 -05:00
Victor Oliveira
0507df61b2 Minor SPI fixes, systick_callback for STM32F1 HAL compatibility (#19565) 2021-04-29 08:45:01 -05:00
Nick
2069ab3a15 Anycubic Chiron full feature support (#19505) 2021-04-29 08:45:01 -05:00
qwewer0
04a712dacc Multi-line comments cleanup (#19535) 2021-04-29 08:45:01 -05:00
Scott Lahteine
58deab1915 Rename LCD conditionals (#19533) 2021-04-29 08:45:00 -05:00
Tanguy Pruvot
717de1e703 Working LCD_USE_DMA_FSMC (#19522) 2021-04-29 08:45:00 -05:00
Scott Lahteine
affb5e53df Sanity check old serial names 2021-04-29 08:45:00 -05:00