Commit graph

1206 commits

Author SHA1 Message Date
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
bilsef 9baa944460
Teensy 4.1 Ethernet support (#19801) 2020-10-20 14:35:29 -05:00
Scott Lahteine 92767f5513 Misc. cleanup, serial strings 2020-10-19 20:39:36 -05:00
Scott Lahteine eaf6777a66 Rename ultralcd => marlinui 2020-10-16 19:55:18 -05:00
Serhiy-K aa901ac4a2
Fix HAL/STM32 FastIO for analog pins (#19735) 2020-10-16 16:21:21 -05:00
Jason Smith 9b9cd698a5
Fix SAMD Serial name macro (#19765) 2020-10-16 16:04:51 -05:00
Victor Oliveira 5247bb11f7
Sanity check unsupported EP (#19745) 2020-10-16 02:03:45 -05:00
Scott Lahteine f6ffbe548c
TFT Presets, Generic options, Sanity checks (#19723) 2020-10-15 03:00:27 -05:00
Jason Smith 90d364fc37
Revert at90usb1286 conditional (#19733) 2020-10-14 13:48:46 -05:00
Jason Smith 54315252c7
Add NUCLEO-F767ZI dev board (#19373)
Co-authored-by: Lorenzo Delana <lorenzo.delana@gmail.com>
2020-10-13 18:03:09 -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
Jason Smith 24fd19259d
Fix I2C_ADDRESS sign warning (#19685) 2020-10-11 19:23:23 -05:00
Jason Smith 45731bd022
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>
2020-10-11 18:13:01 -05:00
Scott Lahteine 492ba2a111
Digipots refactor / cleanup (#19690) 2020-10-11 14:58:35 -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
Scott Lahteine 6831341ab4 Batch appercase hex values 2020-10-09 16:55:27 -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
Scott Lahteine f72c559824 Use 0xFF (not 'ff') for byte transfer 2020-10-08 15:18:43 -05:00
Scott Lahteine f5bae208cc Trailing whitespace 2020-10-05 17:16:42 -05:00
Ryan V1 8dcc72ce9c
Fix 'bossac' upload on Windows (#19545) 2020-10-02 17:31:33 -05:00
ellensp b3c2ee56f9
Fix wrappers on HAL/STM32F1 .cpp files (#19581)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-10-02 17:28:08 -05:00
ellensp 435e98ceed
Fix TEMP_ADC_PROBE support for STM32F1 (#19582)
Co-authored-by: ellensp <ellensp@ellensp-HP-ProBook-6470b.fritz.box>
2020-10-02 17:19:43 -05:00
Scott Lahteine 4e8eea8e78 Adjust HAL platform defines, comments 2020-10-02 17:05:59 -05:00
Victor Oliveira 348570fd68 Minor SPI fixes, systick_callback for STM32F1 HAL compatibility (#19565) 2020-10-01 20:54:22 -05:00
Nick 60155aa442
Anycubic Chiron full feature support (#19505) 2020-09-28 18:53:40 -05:00
qwewer0 4424645e04
Multi-line comments cleanup (#19535) 2020-09-28 14:53:50 -05:00
Scott Lahteine c2c6a679ea
Rename LCD conditionals (#19533) 2020-09-28 01:13:27 -05:00
Tanguy Pruvot f3de0f6c53
Working LCD_USE_DMA_FSMC (#19522) 2020-09-27 21:28:48 -05:00
Scott Lahteine 7ce91c5ffe Sanity check old serial names 2020-09-24 21:46:13 -05:00
Jason Smith da6c8317a7
Fix and improve STM32F1 serial (#19464) 2020-09-24 20:28:48 -05:00
Scott Lahteine 568f292883 HAL/serial followup 2020-09-23 21:36:31 -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
ellensp 6634bedb25
Define UART pins for LPC debug based on LPC_PINCFG_UART (#19475) 2020-09-23 16:03:07 -05:00
Jason Smith 023cb54fae
MKS Robin Mini uses ONBOARD_SPI_DEVICE (#19460) 2020-09-23 15:07:34 -05:00
makerbase d8ed749045
Add MKS Robin E3P, improve LVGL UI (#19442) 2020-09-20 20:55:02 -05:00
Scott Lahteine 60ab7a1ddb Cleanup before MKS changes 2020-09-20 20:51:21 -05:00
Scott Lahteine 76d8d1742c Add multi-extruder condition 2020-09-20 20:51:21 -05:00
Scott Lahteine 8e0fac897b Whitespace cleanup 2020-09-20 18:25:42 -05:00
Victor Oliveira 79d4123319
Only set up SPI pins as needed (#19372) 2020-09-14 17:16:19 -05:00
Scott Lahteine 9b78138600 General cleanup 2020-09-10 02:29:01 -05:00
Victor Oliveira 160f70be63
LPC: Finish DMA transfer, use HW SPI class (#19191) 2020-09-10 00:41:26 -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
Marcio Teixeira 328d8b5952 Fix ExtUI SD sorting, compile issues 2020-09-09 21:54:08 -05:00
bilsef 049fbc92a9
Support for Teensy 4 (#19311) 2020-09-09 18:57:20 -05:00
Scott Lahteine bc7720c0cd Minor HAL cleanup 2020-09-08 22:17:44 -05:00
Jason Smith 4fc1aba848
Update HAL/STM32 platform to 8.0 (#18496) 2020-09-07 21:41:48 -05:00
Victor Oliveira a4bc9e669c
STM32F1 EP with USB_COMPOSITE (#19281) 2020-09-06 20:04:20 -05:00
Victor Oliveira 486731162f
Fix STM32F1 SPI device init, MKS_LCD12864 (#19271) 2020-09-06 17:29:43 -05:00
Victor Oliveira b6ab163814
Emergency Parser for STM32F1 (#19279) 2020-09-06 17:23:36 -05:00
Victor Oliveira 1a4b82a5d6
TFT (plus Hardware SPI) for LPC (#19139) 2020-08-26 05:13:58 -05:00
Scott Lahteine fa5a1f7d7f PGMSTR constexpr => const 2020-08-22 16:40:27 -05:00
Giuliano Zaro b6e4acec9d
Prefer Servo AVR timer4 over 3 (#19025) 2020-08-21 23:49:39 -05:00
Giuliano Zaro 8652a7bdd2
HIGH/LOW naming of pin state settings (#19089) 2020-08-21 23:13:43 -05:00
Victor Oliveira a37cf24900
Emulated DOGM via HAL TFT, XPT IO (#19017) 2020-08-21 18:54:21 -05:00
Giuliano Zaro 6cfc4b5711
Let laser/spindle use free AVR servo timers (#19011) 2020-08-14 08:41:44 -05:00
Victor Oliveira ff5c8d3570
Optimize LVGL with HAL TFT IO (SPI and FSMC) (#18974) 2020-08-13 18:31:59 -05:00
Victor Oliveira 2ef6c8ba97
Marlin Color UI for STM32F1 (SPI) (#18958) 2020-08-08 18:45:34 -05:00
Victor Oliveira ee69fb00a6
Marlin Color UI (FSMC) for STM32F1 (#18952) 2020-08-08 00:32:30 -05:00
ellensp f2f1d8fa21
HW PWM sanity checks for SPINDLE_LASER_FREQUENCY (#18947) 2020-08-07 17:59:09 -05:00
Victor Oliveira cec035688d
Fix / optimize FSMC init (#18941) 2020-08-07 01:55:15 -05:00
Marco Burato 6bcfb58cd4
More Anycubic + Trigorilla mappings, ExtUI (#18903) 2020-08-06 05:38:18 -05:00
Scott Lahteine d69c2a90b7 Simple rename of hex_print 2020-08-06 04:07:59 -05:00
Scott Lahteine ca0ebf10d1
Move scaled TFT / touch defines (#18915) 2020-08-03 21:55:37 -05:00
Alexander Gavrilenko 117df87d19
Support for TFT & Touch Screens (#18130) 2020-07-30 01:43:19 -05:00
Victor Oliveira bba157e5bd
SanityCheck: No Adafruit NeoPixel for STM32F1 (#18833) 2020-07-29 22:04:47 -05:00
Victor Oliveira 38ce5966e1
SPI Emulated DOGM (like FSMC_GRAPHICAL_TFT, but SPI) (#18817) 2020-07-29 21:25:07 -05:00
Giuliano Zaro 83e15f7701
[SAMD51] ES Interrupt parity with other HALs (#18836) 2020-07-28 21:19:46 -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
Scott Lahteine 451f48231d
Ender 3 V2 BL24C16 EEPROM support (#18758) 2020-07-24 03:09:14 -05:00
Scott Lahteine d1e20eb29f Update links, README, contributing, etc. 2020-07-23 20:46:51 -05:00
Scott Lahteine e27f031a55 General cleanup 2020-07-23 16:11:58 -05:00
Diego von Deschwanden 42fbd527f3
Fix links to secure sites (#18745) 2020-07-22 22:20:14 -05:00
Giuliano Zaro c6233b1ea8
SAMD51: More reliable Servo/BLTouch PWM (#18710) 2020-07-19 21:41:23 -05:00
Jason Smith 12bc63913c
Fix BLTouch PWM reliability in HAL/STM32 (#18702) 2020-07-19 17:41:36 -05:00
Sergey1560 9424567189
Fix passive Chamber Temp reading (#18674) 2020-07-16 21:42:55 -05:00
Jason Smith 95b76a65c3
Increase STM32F1 Servo Timer Interrupt Priority (#18637) 2020-07-14 19:07:27 -05:00
Jason Smith af8be58d92
Fix broken POWER_LOSS_RECOVERY prompt (#18557)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2020-07-06 01:18:49 -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
Victor Oliveira e5bc9d31cc
Add TFT_LVGL_UI support (#18438) 2020-07-01 01:30:24 -05:00
Giuliano Zaro bfcf7ac2fd
Use "reset reason" defines (#18462) 2020-06-29 01:02:36 -05:00
Giuliano Zaro ce3fb61604
SAMD51 cleanup (#18419) 2020-06-26 01:39:49 -05:00
Giuliano Zaro aae5f7229c
[samd51] Manifest assigned timers priority (#18402) 2020-06-26 01:23:39 -05:00
Scott Lahteine 1fb2fffdbf General cleanup 2020-06-23 19:59:38 -05:00
Jason Smith e52afa8b19
Better STM32 Tone timer int priority (#18385) 2020-06-22 15:30:45 -05:00