Commit Graph

129 Commits

Author SHA1 Message Date
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
Serhiy-K
6fdaaf3d20 Fixes for TFTGLCD Panel, FastIO (#19614) 2020-10-10 05:08:01 -05:00
Victor Oliveira
631457ffea Support for Debug Codes - Dnnn (#19225)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-10-09 06:28:53 -05:00
Victor Oliveira
348570fd68 Minor SPI fixes, systick_callback for STM32F1 HAL compatibility (#19565) 2020-10-01 20:54:22 -05:00
Jason Smith
da6c8317a7
Fix and improve STM32F1 serial (#19464) 2020-09-24 20:28:48 -05:00
Scott Lahteine
4b928b2da8 HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467+sjasonsmith@users.noreply.github.com>
2020-09-23 19:45:33 -05:00
Scott Lahteine
60ab7a1ddb Cleanup before MKS changes 2020-09-20 20:51:21 -05:00
Scott Lahteine
8e0fac897b Whitespace cleanup 2020-09-20 18:25:42 -05:00
Victor Oliveira
b98946b5c1
Raise STM32F1 UART IRQ Priority, add error handling (#19301)
(Error handling for Overrun, Framing and Parity.)
2020-09-09 22:46:50 -05:00
Jason Smith
4fc1aba848
Update HAL/STM32 platform to 8.0 (#18496) 2020-09-07 21:41:48 -05:00
ellensp
f2f1d8fa21
HW PWM sanity checks for SPINDLE_LASER_FREQUENCY (#18947) 2020-08-07 17:59:09 -05:00
Alexander Gavrilenko
117df87d19
Support for TFT & Touch Screens (#18130) 2020-07-30 01:43:19 -05:00
Diego von Deschwanden
de5cca6b1f
Update more external links (#18819) 2020-07-28 01:04:44 -05:00
Scott Lahteine
bc688f27dc Clean up after changes 2020-07-25 01:53:07 -05:00
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745) 2020-07-22 22:20:14 -05:00
Jason Smith
12bc63913c
Fix BLTouch PWM reliability in HAL/STM32 (#18702) 2020-07-19 17:41:36 -05:00
GhostlyCrowd
c8f7aceb20
STM32: No compile-time check for PWM_PIN (#18539)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-07-05 16:05:47 -05:00
Jason Smith
e52afa8b19
Better STM32 Tone timer int priority (#18385) 2020-06-22 15:30:45 -05:00
Chris Barr
900d4cf8e7
Allow STM32 HAL_TIMER_RATE override (#18374) 2020-06-21 03:56:00 -05:00
Scott Lahteine
424569b4c4
Power monitor and display (#17437) 2020-06-18 15:23:03 -05:00
Alexander Amelkin
8994cc8b26
Fix BTT SKR Pro 1.0 UART4/5 (#18222) 2020-06-08 03:04:52 -05:00
ellensp
33d1e77e2e
Allow pins override of *_TIMER_NUM and HAL_*_TIMER_ISR (#18128)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2020-06-01 18:33:30 -05:00
Scott Lahteine
785f442c8c Group some sanity checks 2020-06-01 17:03:58 -05:00
Jason Smith
dcb90a8d61
No SERIAL_STATS for LPC, STM32 (#18145) 2020-05-31 00:45:04 -05:00
MoellerDi
d2d52e3c34
Declare MSerial6 (etc.) for STM32 (#18149) 2020-05-31 00:43:37 -05:00
rudihorn
38ccc769f7
Emergency Parser for STM32 (#18095) 2020-05-26 00:43:29 -05:00
Scott Lahteine
461647fcee
Use MARLIN_EEPROM_SIZE with E2END as fallback (#18059) 2020-05-22 02:15:40 -05:00
Jason Smith
25aade1cf1
Improve STM32F4 Flash Behavior (#17946) 2020-05-11 01:10:20 -05:00
Jason Smith
208af8cb15
Fix STM32 + SoftwareSerial compile (#17831) 2020-05-02 17:24:51 -05:00
Scott Lahteine
2107bc5836
Clean up EEPROM interfaces (#17803) 2020-05-01 00:04:55 -05:00
J.C. Nelson
b4aebbe78d
Allow STM32 pins to specify timers (#17805)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-04-30 22:42:40 -05:00
Scott Lahteine
3c080ee3e6 Cleanup, comment "wired" eeproms 2020-04-30 18:00:42 -05:00
Scott Lahteine
5e6faa999d
Refine EEPROM types / flags (#17772) 2020-04-29 14:46:33 -05:00
Scott Lahteine
56e3106b63 Clean up whitespace 2020-04-28 07:53:04 -05:00
randellhodges
5f7a75979f
LPC176x SPI / I2C PersistentStore (#17651) 2020-04-28 02:27:55 -05:00
Jason Smith
f709c565a1
STM32F1: SD EEPROM fallback (#17715) 2020-04-27 23:45:20 -05:00
Neil van Geffen
c56b66543d
Permit Stall Sensitivity of 0 (#17722) 2020-04-27 08:27:14 -05:00
Scott Lahteine
6d90d1e1f5
Apply TERN to compact code (#17619) 2020-04-22 16:35:03 -05:00
Bob Kuhn
33bb7859d4
Composite USB for STM32 SDIO (experimental) (#17222) 2020-04-22 15:00:10 -05:00
Scott Lahteine
5a5be7e287 Reorder setup, with serial early 2020-04-21 21:38:21 -05:00
Scott Lahteine
0fec478562 Wrangle HAL EEPROM types 2020-04-21 21:33:13 -05:00
Scott Lahteine
d029a09810 Minor HAL cleanup 2020-03-29 17:14:23 -05:00
Giuliano Zaro
129b270628
QSPI EEPROM for SAMD51 (#17292) 2020-03-27 17:29:17 -05:00
Scott Lahteine
adb7a88428 Fix an unused var warning 2020-03-23 17:35:43 -05:00
Scott Lahteine
b14c933171
LPC1768 EEPROM fallback to flash, add overrides (#17184) 2020-03-16 15:59:05 -05:00
Scott Lahteine
118bd2f8b2
Apply loop shorthand macros (#17159) 2020-03-13 23:18:16 -05:00
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156) 2020-03-13 16:29:29 -05:00