Commit Graph

96 Commits

Author SHA1 Message Date
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
dbd28eecc9 Number serial from 1 to match settings 2021-03-10 13:45:53 -06:00
Scott Lahteine
fd270ddc6c misc. cleanup 2021-03-03 00:18:50 -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
X-Ryl669
56462cf082
Make F_CPU a compile-time constant (#21051) 2021-02-26 17:59:28 -06:00
X-Ryl669
8d28853774
Postmortem Debugging to serial port (#20492) 2021-02-20 20:22:20 -06:00
X-Ryl669
1c19af2c8f
Fix ARM delay function (#20901) 2021-02-05 22:43:51 -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
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
Giuliano Zaro
1d5862a39b
MMU2 as standard serial device (#20771) 2021-01-15 20:38:34 -06:00
Scott Lahteine
c753fc690f More MKS UI prelim. cleanup 2021-01-14 00:27:10 -06:00
Scott Lahteine
54debf855c Tweak STM32F1 pin r/w/t 2021-01-10 21:38:31 -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
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
Scott Lahteine
3f93b8baed Trust STM32 gcc versions 2020-12-15 01:06:32 -06: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
Jason Smith
2c8f566231
Suspend Servos for STM32+NeoPixel (#19963) 2020-12-05 00:02:58 -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
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
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
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
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
Scott Lahteine
ec23e37a4a Clean up comments, USB flash, NULLs 2020-10-25 04:10:00 -05:00
Serhiy-K
aa901ac4a2
Fix HAL/STM32 FastIO for analog pins (#19735) 2020-10-16 16:21:21 -05:00
Victor Oliveira
c0920bbf6a
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>
2020-10-12 16:38:07 -05:00
Victor Oliveira
639b0b8f50
Option to prevent (extra) Watchdog init on STM32 (#19693) 2020-10-11 19:31:21 -05:00
Victor Oliveira
a90edd5eb4
Restore correct STM32 port-bits code (#19678) 2020-10-10 11:47:28 -05:00