Commit Graph
100 Commits
Author SHA1 Message Date
Victor OliveiraandScott Lahteine 9f740d1872 MKS Robin Pins fixes for STM32 and STM32F1 (#20404)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:08 -05:00
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
Victor OliveiraandScott Lahteine 72eda1d3ae Avoid invalid memory optimizations (#20389)
When building for AVR, merge-all-constants can incorrectly combine constants stored in flash with constants stored in RAM. These have different access requirements, leading to undefined behavior during execution.
Co-authored-by: ellensp <ellensp@hotmail.com>
2021-04-29 08:45:08 -05:00
dab29dddc3 Require minimum PlatformIO version (#20361)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Co-authored-by: Jason Smith <jason.inet@gmail.com>
2021-04-29 08:45:08 -05:00
Victor OliveiraandScott Lahteine c86ede8cfb Fix COLOR_UI without TOUCH_SCREEN_CALIBRATION (#20269) 2021-04-29 08:45:07 -05:00
Victor OliveiraandScott Lahteine 38a62f0d5b add missing header to use HAS_SD_HOST_DRIVE (#20270) 2021-04-29 08:45:07 -05:00
Victor OliveiraandScott Lahteine 69b61fef67 Fix Load Filament wait (#20243) 2021-04-29 08:45:07 -05:00
Victor OliveiraandScott Lahteine 264e921d3f SINGLE_TOUCH_NAVIGATION Follow Up (#20213) 2021-04-29 08:45:07 -05:00
Victor OliveiraandScott Lahteine 7ad127668d Missing header to use suicide() on LVGL UI (#20214) 2021-04-29 08:45:07 -05:00
Victor OliveiraandScott Lahteine 0264841dc4 Reduce RAM usage for TFT Color UI on SGen-L V2 (#20209) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine 15febdfe07 Fix Filament Change menu item labels (#20201) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine 1040f14da4 Abort print on media removal (#20200) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine 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 OliveiraandScott Lahteine 18869c666f COLOR_UI without TOUCH_SCREEN 👍🏻 (#20178) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine 180fe914b6 Prevent #div0 error (#20183) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine dc644df9bc Reduce RAM usage for TFT Color UI on SGen-L (#20179) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine 562c41af4e Use intptr types (simulator) (#20142) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine 3d9b453000 Add Touch Calibration screen (#20049) 2021-04-29 08:45:06 -05:00
Victor OliveiraandScott Lahteine ccb5e34052 Fix UI compile issues (#20092) 2021-04-29 08:45:05 -05:00
Victor OliveiraandScott Lahteine af5cf823ea Color UI single touch menu navigation (#20053) 2021-04-29 08:45:05 -05:00
Victor OliveiraandScott Lahteine 2dd1522e30 Standardize Marlin SPI (part 1) (#19989) 2021-04-29 08:45:05 -05:00
Victor OliveiraandScott Lahteine 930aad6d31 Better Classic UI touch resolution (#20004) 2021-04-29 08:45:05 -05:00
Victor OliveiraandScott Lahteine 65383dd616 Show un-mounted media slot (#20005) 2021-04-29 08:45:05 -05:00
Victor OliveiraandScott Lahteine b79e2d1e8d Add a filament runout note (#19973)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 172996f2b3 Fix STM32 HW Serial + EP compile (#19990) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 3c512648da Increase SPI Speed on LPC. Color and Classic UI for MKS SGEN L. (#19945) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 5c90d0d0ae Reset calibration screen touch timer on click (#19951) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 2a61ce80b8 Put PIO "debug" build in the corner (#19975) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine cec9075361 PIO env for MKS Nano boards in STM32 (#19905) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 88e88743b9 Color UI for MKS SGen-L V2 (#19919) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine b590cee35a Keep SPI active on LPC176x (#19932) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 0c81d86cd4 Permit spaces in dependencies g++ path (#19929) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine d08511c5dc Color UI circular task queue (#19918) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 3b42e0263a Keep watchdog refreshed in LVGL init (#19900) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 5a74114e23 Fix some LVGL bugs (#19904) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine b586a30e7b More LVGL UI code reduction (#19879) 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine e44a97a096 Update PIO dependencies script 2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 35597ae336 More MKS UI cleanup, optimization (#19869)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:04 -05:00
Victor OliveiraandScott Lahteine 52c090dfbe Fix starting fan with bad material preset index (#19773) 2021-04-29 08:45:03 -05:00
Victor OliveiraandScott Lahteine 060b2f4989 Fix Color UI external_control, wait_for_release (#19771)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:03 -05:00
Victor OliveiraandScott Lahteine 2ecc3bb560 Handle M410 in the main task (#19752) 2021-04-29 08:45:03 -05:00
Victor OliveiraandScott Lahteine 1fa19e1fc2 Sanity check unsupported EP (#19745) 2021-04-29 08:45:03 -05:00
Victor OliveiraandScott Lahteine 13720ce6b2 Fix TOUCH_SCREEN + TFT_LVGL_UI compile (#19754) 2021-04-29 08:45:03 -05:00
Victor OliveiraandScott Lahteine 02b668baf5 Update Probe Offset Wizard for Color UI (#19742) 2021-04-29 08:45:03 -05:00
Victor OliveiraandScott Lahteine 7825fc63a0 Watchdog Refresh for LVGL Asset Load (#19724) 2021-04-29 08:45:02 -05:00
Victor OliveiraandScott Lahteine 252fd66b76 TFT followup fixes (#19710) 2021-04-29 08:45:02 -05:00
Victor OliveiraandScott Lahteine 14fe7ee414 Fix UTF8 handling for Color UI (#19708) 2021-04-29 08:45:02 -05:00
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 OliveiraandScott Lahteine c1729330c5 Option to prevent (extra) Watchdog init on STM32 (#19693) 2021-04-29 08:45:02 -05:00
Victor OliveiraandScott Lahteine 2dafba1ad2 Implement wait_for_user for Color UI (#19694) 2021-04-29 08:45:02 -05:00
Victor OliveiraandScott Lahteine 2adac87c45 Restore correct STM32 port-bits code (#19678) 2021-04-29 08:45:02 -05:00
Victor OliveiraandScott Lahteine 50de8bd6fb Keep HAL tasks running during PID Autotune (#19671) 2021-04-29 08:45:02 -05:00
Victor OliveiraandScott Lahteine 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
Victor OliveiraandScott Lahteine 0507df61b2 Minor SPI fixes, systick_callback for STM32F1 HAL compatibility (#19565) 2021-04-29 08:45:01 -05:00
Victor OliveiraandScott Lahteine 46c8775542 Fix Buzzer (pin) init for uninitialized FastIO (#19559) 2021-04-29 08:45:01 -05:00
Victor OliveiraandScott Lahteine 059d966d7b Fix Move Screen with disabled Touch (#19558) 2021-04-29 08:45:01 -05:00
Victor OliveiraandScott Lahteine 7f93173659 LVGL followup fixing "C", etc. (#19517) 2021-04-29 08:45:00 -05:00
Victor OliveiraandScott Lahteine e26edbc623 Allow ColorUI color customization (#19484) 2021-04-29 08:45:00 -05:00
Victor OliveiraandScott Lahteine d06e526dc2 Fix MBL "Click to continue" on Color UI touchscreen (#19514) 2021-04-29 08:45:00 -05:00
Victor OliveiraandScott Lahteine fd83407991 Escape the M33 string arg (#19515) 2021-04-29 08:45:00 -05:00
Victor OliveiraandScott Lahteine 3d521a2e34 TFT: No timeout on Move Screen (#19426) 2021-04-29 08:45:00 -05:00
Victor OliveiraandScott Lahteine 873b5db13d Include pins.h in dependencies script (#19468) 2021-04-29 08:45:00 -05:00
Victor OliveiraandScott Lahteine a08217a33c Define <u8,u8,u8>::softSPI (#19419) 2021-04-29 08:45:00 -05:00
Victor OliveiraandScott Lahteine 9d5f978d00 Move screen for Color UI (#19386) 2021-04-29 08:44:59 -05:00
Victor OliveiraandScott Lahteine 9d1b1cf073 Fix MKS UI SPI flash typo (#19410) 2021-04-29 08:44:59 -05:00
Victor OliveiraandScott Lahteine d3f88a2482 Only set up SPI pins as needed (#19372) 2021-04-29 08:44:59 -05:00
Victor OliveiraandScott Lahteine 42619a3a81 LPC: Finish DMA transfer, use HW SPI class (#19191) 2021-04-29 08:44:59 -05:00
Victor OliveiraandScott Lahteine 8393c6a63d Raise STM32F1 UART IRQ Priority, add error handling (#19301)
(Error handling for Overrun, Framing and Parity.)
2021-04-29 08:44:59 -05:00
Victor OliveiraandScott Lahteine f5dc18730c Sanity-check BABYSTEP_DISPLAY_TOTAL with ColorUI (#19284) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 643f192515 STM32F1 EP with USB_COMPOSITE (#19281) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 24fbfae0fd Fix STM32F1 SPI device init, MKS_LCD12864 (#19271) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 563bd5b5bc Emergency Parser for STM32F1 (#19279) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 6a511b6ea7 Only show "SD Init Fail" with detectable media (#19236) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 919ea2a76d Fail SD mount without SPI re-init (#19226) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 9419331500 One MARLIN_DEV_MODE warning per rebuild (#19163) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 3b4779fa15 TFT (plus Hardware SPI) for LPC (#19139) 2021-04-29 08:44:58 -05:00
Victor OliveiraandScott Lahteine 40b89456af Color UI + Robin Nano test (#19118) 2021-04-29 08:44:57 -05:00
Victor OliveiraandScott Lahteine 0ffd5aa743 CI with PIO-dev (#19058) 2021-04-29 08:44:57 -05:00
Victor OliveiraandScott Lahteine dded56c4bb Emulated DOGM via HAL TFT, XPT IO (#19017) 2021-04-29 08:44:57 -05:00
Victor OliveiraandScott Lahteine 73d1a98ce6 Update build script for PIO 4.4 (#19034) 2021-04-29 08:44:57 -05:00
Victor OliveiraandScott Lahteine 4e7c5f19fe Optimize LVGL with HAL TFT IO (SPI and FSMC) (#18974) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 438a9bb4aa W25QXX SPI Flash support (#18897)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 6f686b1801 Marlin Color UI for STM32F1 (SPI) (#18958) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine d7d3827f47 Fix compiler search in non-default PIO installs (#18960) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 9af3b06fc2 Marlin Color UI (FSMC) for STM32F1 (#18952) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine cd977c70ca Fix / optimize FSMC init (#18941) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 57c3b0e0b7 Fix LVGL "C" brace (#18942) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 0e70d8bacb Followup fixes to LVGL for Chitu (#18940) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 8f0cd470ae Apply PIO-supported custom_option for deps (#18935) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 9493682e49 MKS Robin Nano CI Tests (#18927) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 4201a48ecf Request files needed to test a PR (#18925) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine 1a50260ebd Followup to LVGL patch (#18920) 2021-04-29 08:44:56 -05:00
Victor OliveiraandScott Lahteine a0a87c2b81 SPI Flash data compression (#18879) 2021-04-29 08:44:55 -05:00
Victor OliveiraandScott Lahteine e82e94be5b Fix MKS Nano v1.2 FSMC display (#18901) 2021-04-29 08:44:55 -05:00
Victor OliveiraandScott Lahteine 3fbc002bad SanityCheck: No Adafruit NeoPixel for STM32F1 (#18833) 2021-04-29 08:44:55 -05:00
Victor OliveiraandScott Lahteine fc12ffcb30 SPI Emulated DOGM (like FSMC_GRAPHICAL_TFT, but SPI) (#18817) 2021-04-29 08:44:55 -05:00
Victor OliveiraandScott Lahteine 524613b610 DISABLE_DEBUG required to free Robin nano Z_DIR_PIN (#18832) 2021-04-29 08:44:55 -05:00
Victor OliveiraandGitHub 3eef000e2a Fix MKS Robin Nano V2 build / upload (#18784) 2020-07-25 23:08:30 -05:00
e02817b077 More folders only compiled when their feature is Enabled (#18780)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-07-25 21:42:13 -05:00
Victor OliveiraandGitHub 89722d2196 Fix search for best compiler (#18779) 2020-07-25 20:52:44 -05:00