242 Commits (e3ff27c95a8be758afba5e0f44668f1d1fc1ad0f)

Author SHA1 Message Date
revilor 6a57d0b381 Prusa MMU2 (#12967) 6 years ago
Scott Lahteine eb78aed863
Rename LCD menus according to variable types (#12892) 6 years ago
InsanityAutomation 082f6a27de ADAPTIVE_FAN_SLOWING extension to hotend thermal protection (#12853) 6 years ago
jmz52 813a4ea107 Add support for Mks Robin TFT display (#12706)
* Add support for MKS Robin TFT display

- Add support for MKS Robin TFT display and encoder for MKS Robin board.
- Generic 128x64 UI with x2 upscale is used (for now).
- Tested on MKS Robin TFT V2.0 with ST7789V controller.
6 years ago
kAdonis 637fb20c75 Allow 4 fan animation frames (#12772) 6 years ago
Scott Lahteine daf07e4200 Align classic bed icon consistently 6 years ago
Scott Lahteine ef81b5f03e Link to font docs in ultralcd_DOGM.cpp 6 years ago
Scott Lahteine 64389acdf1 Print a space after scrolling status 6 years ago
Scott Lahteine 7a361ad36a
Alternative fan image option (#12579)
* Alternative fan bitmap
* Move bed over by 3px
6 years ago
Scott Lahteine 69d869c3d9 Tweak FR icon. Update font data. 6 years ago
Scott Lahteine 61db0b65b6 Followup to heating progress 6 years ago
Scott Lahteine 4f9ec9ab45
Add heating progress bars (#12543) 6 years ago
Scott Lahteine 01b5c810d5 Space out multiple edit lines a bit 6 years ago
Scott Lahteine 4a7c6f7241 NUM_ARRAY => COUNT 6 years ago
Scott Lahteine b57343c255 Put status screen options in Configuration_adv.h 6 years ago
Scott Lahteine 82c96c971e Bring superscripts slightly lower in BDF fonts 6 years ago
Scott Lahteine ee423dcdd0 Invert hotend bitmaps, by default 6 years ago
Scott Lahteine 0946cbcdca Revert some const changes (for now) 6 years ago
Scott Lahteine 4def8b3b5e Expanded options for _Statusscreen.h (#12455)
See the PR for full details. The updated system will be documented on the website in the near future.
6 years ago
Scott Lahteine ec9d21a234 Shift YZ on graphical display to fit Z+123.45 6 years ago
Scott Lahteine 817a37169a Apply/unapply const here and there 6 years ago
Scott Lahteine fc3f1c4572 Get u8g reference for lcdprint 6 years ago
Scott Lahteine 88c57eaf55
Clean up some u8g code (#12476) 6 years ago
Ludy 1f93d2bcf7 Fix LCD compile error, etc. (#12472) 6 years ago
Scott Lahteine 826d570162
Combine Travis CI option-setting commands (#12474) 6 years ago
Marcio Teixeira c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 6 years ago
Scott Lahteine 3e9ffaddb6
Consolidate, optimize some LCD menu code (#12450) 6 years ago
Scott Lahteine d82c350de7
Miscellaneous LCD code renaming, reordering (#12430)
* Move special characters to language.h
* Apply some naming standards
* Clean up menu item draw functions
* Rename some Temperature methods
* UI => ExtUI
6 years ago
Scott Lahteine 0ee1a92971
Group status methods, share reset_status with Extensible UI (#12414)
* Group status methods, share reset_status with Extensible UI
* Move common DOGM code to headers
6 years ago
Scott Lahteine a0c795b097
Encapsulate common display code in a singleton (#12395)
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
  - Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
6 years ago
Scott Lahteine 471f403a67 Reduce code size with plain inlines 6 years ago
Scott Lahteine 4e0c935959 Update HAL and libs formatting 6 years ago
Scott Lahteine b99f0776d6 Clean up some U8G files 6 years ago
Scott Lahteine 9c0e05552e Suppress some compile warnings 6 years ago
Scott Lahteine 56d2dcb184 Use first_page flag in place of page.page == 0 6 years ago
Scott Lahteine 31c28d0dd2
Drop pgm_read_*_near and let headers choose (#12301)
- Drop `pgm_read_*_near` and let headers choose.
- Define `USE_EXECUTE_COMMANDS_IMMEDIATE` as a conditional.
- Add `process_subcommands_now` for SRAM-based commands.
6 years ago
MasterPIC 6e041b9c61 Use blink to show more info on LCD (#12256) 6 years ago
N95JPL b780b69c62 Use font ascent and descent for line positioning (#12224) 6 years ago
Scott Lahteine 9cd3529108 Organize language data, fix Korean and Danish 6 years ago
Karl Andersson 1946f729fd STM32 FastIO using register access (#12276) 6 years ago
Scott Lahteine 3583e2b449
Followup to Menu Refactor (#12275) 6 years ago
Scott Lahteine 37ff663b02 Convert LIGHTWEIGHT_UI to CPP 6 years ago
Scott Lahteine a964f098b3 Make dogm status screen a CPP 6 years ago
Scott Lahteine 8055ed24ff Move font data to a subfolder 6 years ago
Scott Lahteine 774a6e8199 Drop TALL_FONT_CORRECTION 6 years ago
Scott Lahteine c825c419d4 Convert DOGM / HD44780 impl to CPP files 6 years ago
Scott Lahteine 2bf18950ab Refactor LCD menus 6 years ago
Karl Andersson c1e8bd6add Remove STM32 board-specific delays (#12243)
...and replace with delays for all HAL_STM32 boards.
6 years ago
Scott Lahteine dacb5324e8 Fix display of Y on Graphical LCD 6 years ago
Karl Andersson b640b3b0d6 Define ST7920 delays for board ARMED (#12161) 6 years ago
Scott Lahteine c6a5c74208 Add parentheses to SD macros 6 years ago
Scott Lahteine 67a3c5a16a
Alternative info screen (Prusa-style) (#12132)
* Fix Z value display
* Add HAS_PRINT_PROGRESS
* Alternative Info Screen option
* Add LCD_INFO_SCREEN_STYLE to example configs
6 years ago
Scott Lahteine 6bdbe3299e Fix a comment 6 years ago
Scott Lahteine 9b6be0ae0f Fix lite status screen SD % 6 years ago
Marcio Teixeira ec9aa4f468 [2.0.x] Miscellaneous fixes (#12039)
* Allow override of soft SPI pins in `pins_*.h`
* Add default case to avoid compiler warning.
* Additional pin definitions for Archim 2.
* Einsy Retro has same timings as Einsy Rambo.
6 years ago
Scott Lahteine d5017e2788 Add status screen with 4 nozzles 6 years ago
Scott Lahteine d6b0fbd771
Use uint8_t for all fan speeds (#12032) 6 years ago
Scott Lahteine 517b4f4cd4 Fix lightweight UI hotends display 6 years ago
Scott Lahteine 348004c34f
STM32F7 HAL using the official STM32 Arduino Core (#11750) 6 years ago
brian park 2abf3d258d Korean language translation support (#11987) 6 years ago
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
Marcio Teixeira 0f14977b5d LIGHTWEIGHT_UI: Allow feedrate % to exceed 255% (#11656)
- Changed type of integer used for feedrate percentage from uint8_t to uint16_t.
6 years ago
Scott Lahteine a15e570d3b Fix SD progress with Lite Status Screen
Co-Authored-By: Lê Hoàng <icy.lord.love.angel@gmail.com>
6 years ago
jneilliii 3671c63cde Einsy Full Graphic LCD Fix (#11604)
Fixed issue with LCD timings for Einsy RAMBo board.
6 years ago
Dave Johnson c64199941e Compile only selected PIO environment (#11519) 6 years ago
Marcio Teixeira f2224755ad Fix jumping progress bar. (#11439)
- When LCD_SET_PROGRESS_MANUALLY was disabled and an SD print was not active (i.e. the printer was idle), progress_bar_percent would read uninitialized memory from stack and cause progress bar to jump wildly.
- Also updated conditions in `#ifdef` to match `ultralcd.cpp`
6 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine f2c3b0d476 Use bit flags for homed/known 7 years ago
Scott Lahteine 779d4a17a0 Highlight 64128N and common ST7565 difference
Followup to #10920, addressing #10962
7 years ago
Scott Lahteine 334341c632
Hephestos config updates (#10960) 7 years ago
Giuliano eb1026d438 [2.0.x] Fix compile warning (#10931) 7 years ago
Scott Lahteine 61181b7f24 Add macros for ST7565 commands 7 years ago
Scott Lahteine d259070980 Clean up trailing spaces from vim, etc. 7 years ago
Eduardo José Tagle 6f330f397e [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 7 years ago
Scott Lahteine d74e333c0f Make sure FAN_ANIM_FRAMES is defined 7 years ago
Scott Lahteine 5f8591528e Remove #pragmas that don't help c files 7 years ago
Scott Lahteine c89649b46e Suppress U8glib build warnings 7 years ago
Scott Lahteine fb608938f8 Prevent compilation of unused u8g-oriented code 7 years ago
Scott Lahteine 083ec9963e Tweaks to heater / lcd conditions 7 years ago
etagle 9d98a62699 Followup to HAL optimizations and delays
- Cleanups, fixes for Due HAL code.
- TC_IER is write-only. Use TC_IMR to test ISR state.
7 years ago
Scott Lahteine a1062eec5b
Better handling of DELAY_NS and DELAY_US (#10716)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 265161ba30
Blink the value for unhomed/unknown axes (#10670) 7 years ago
Scott Lahteine d1b619be52 Standardize some hexadecimals 7 years ago
Scott Lahteine ec05408453
Add 3-frame fan animation to bitmaps (#10654) 7 years ago
Bob-the-Kuhn 410b023b50 [2.0.x] Add Viki support to RAMPS_FD_V1 (DUE) (#10598) 7 years ago
Scott Lahteine 9e0d99c0c6
Round all floats in string conversion functions (#10566) 7 years ago
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 7 years ago
Scott Lahteine 8ca3c43d73 Updated language_data spacing, headers 7 years ago
Scott Lahteine 184c077c58 Correct includes (u8g.h) and spelling 7 years ago
Yunhui Fu 77bc653524 Use X windows 6x12 bitmap font to support western languages. 7 years ago
Yunhui Fu d81649b365 Update language data for sk. 7 years ago
Chris Pepper 744bcaee61 [2.0.x] Fix problems compiling with Arduino IDE (#10441)
* Fix problems compiling u8glib utf8 support on Arduino
* Change header in auto-generated font data
* Change include in font gen scripts
7 years ago
Scott Lahteine 584735c994 u8g.h => clib/u8g.h 7 years ago
Yunhui Fu c96412a78f [2.0.x] UTF-8 language translation support (#10213) 7 years ago
Scott Lahteine a6485456df Fix LIGHTWEIGHT_UI with UBL
See https://github.com/MarlinFirmware/Marlin/issues/10317#issuecomment-379100702
7 years ago
Marcio Teixeira c24dbcbfe1 When STATUS_EXPIRE_SECONDS is 0, hide the position. (#10081)
Some users may prefer to hide the position updates on the `LIGHTWEIGHT_UI` altogether. This leads to an even less cluttered display (it also saves on SPI traffic and one byte of RAM).
7 years ago
Bob-the-Kuhn 0d8c15c01f restore PR 9661 files & V1 fix 7 years ago
Bob-the-Kuhn bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h" 7 years ago
Bob-the-Kuhn 914bb80bde removed SDSS init
added device & comm drivers for shared SPI LCDs

mistyped some updates in ultralcd_impl_DOGM.h

remove unwanted changes in onfiguration.h

still can't type

Update HAL_LCD_class_defines.h

include USB mass storage & misc
7 years ago
Scott Lahteine ca577c1638 Fix up various spacing, comments, and typos 7 years ago
Marcio Teixeira fd883c909a Improvements to Lightweight ST7920 status screen. (#9952)
- Show units on lightweight status screen.
- Fixed progress bar so it works with M73
7 years ago
Scott Lahteine 8f9262f3fe Fix path to _Statusscreen.h 7 years ago
Scott Lahteine 0542b03750 Fix bootscreen include path
Fix #9759
7 years ago
Marcio Teixeira 532bb3aaa1 Lightweight status screen for ST7920
- This status screen uses the ST7920 character generator to greatly
  reduce SPI traffic and MCU load when updating the status screen.

- Has been tested with the RepRapDiscount Full Graphics Smart Controller
  but should work with any LCD that uses an ST7920 or fully compatible
  controller.
7 years ago
Bob-the-Kuhn 47d529aac5 move #include <U8glib.h> 7 years ago
Scott Lahteine bf5df306e1 Fix compile error with SHOW_BOOTSCREEN disabled
Fix #9530
Fix #9524
7 years ago
Bob-the-Kuhn 9a423e9a89 tested 7 years ago
Thomas Moore e1fd9c08b3 [2.0.x] Add support for LPC1769 at 120 MHz (#9423) 7 years ago
Scott Lahteine 79796b22ad Fix up _Bootscreen.h and _Statusscreen.h 7 years ago
Bob-the-Kuhn 21179f8300 Fix the "slow" version of the G-code parser 7 years ago
Scott Lahteine 6339b506c0 Make sure binary.h is included as needed 7 years ago
Scott Lahteine fa432508b0 Followup to Ender config 7 years ago
Scott Lahteine f887719a40 Creality Ender board support 7 years ago
GMagician 5fb6dd1424 Bmp fix
Clockwise arrow fixed
7 years ago
Bob-the-Kuhn 4626d04067 as good as i can get it
minor edits to force new Travis test (last one timed out)

Update u8g_com_HAL_DUE_st7920_sw_spi.cpp

initial power up display garbage gone
7 years ago
Scott Lahteine 1a827d5b68 Opening brace tweaks 7 years ago
Bob-the-Kuhn a142fab155 Enable RRDFGSC on Due 7 years ago
etagle 99b2fc2066 Adjusted timings on the ST7290 u8glib so RE-ARM and RAMPS4DUE have no problems when writing to the graphics LCD. This fixes Issue #8787 - Special thanks to Bergerac56 for testinf this out !!! 7 years ago
Scott Lahteine de5ca96654 More parity with 1.1.x, plus whitespace 7 years ago
Eduardo José Tagle ac168a03c8 Fixes for the Arduino DUE HAL (Serial Port, Graphics Display, EEPROM emulation) (#8651)
* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style cleanup (2)

* Style fixes (3)

* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style changes to u8g_dev_st7920_128_64_sw_spi.cpp

* Even more improvements to the FastIO HAL for DUE. Now WRITE() is 2 ASM instructions, if value is constant, and 5 cycles if value is not constant. Previously, it was 7..8 cycles

* After some problems and debugging, seems we need to align the interrupt vector table to 256 bytes, otherwise, the program sometimes stops working

* Moved comments out of macro, otherwise, token pasting does not properly work sometimes

* Improved Software SPI implementation on DUE: Now it honors the selected speed passed to spiInit(). This allows much faster SDCARD access, improving SDCARD menus and reducing latency

* Update u8g_dev_st7920_128_64_sw_spi.cpp

* Disabling EEPROM over FLASH emulatiion if an I2C or SPI EEPROM is present
7 years ago
Scott Lahteine 4d3c3d0b73 Some ST7920 parity with 1.1.x
Possibly more should be brought over? Discussion at #8471
7 years ago
Bob-the-Kuhn fc40d56131 fixed error, updated defaults, added notes
Travis fix - only allow ultralcd_st7920_u8glib_rrd_AVR.cpp to compile when ST7920 selected
7 years ago
Scott Lahteine 1ef1052ae1 Phatter arrows for Z offset overlay 7 years ago
Scott Lahteine 5926c9c97b Followup for MESH_EDIT_GFX_OVERLAY 7 years ago
Scott Lahteine 81bc428b48 Don't compile custom u8g without DOGLCD 7 years ago
Scott Lahteine 81b91b3f9d Clean up some trailing white-space 7 years ago
Bob-the-Kuhn d47fbf791b Arduini IDE compatibility changes
changed includes to make Arduino IDE happy
7 years ago
Bob-the-Kuhn 0483a7df91 AVR RRD works
LPC1768 VIKI2 & RRDFG are working

looks like all SPIs are working

library change

sh1106 locks up

fixed lockup, started I2C SW com

pretty

re-org

restore a few files

make library happy

switched HAL version of rrd

fix travis error

travis error fixes

another travis fix

cleanup

minor update

one more

correct spacing in platformio.ini
7 years ago
Scott Lahteine e9b1944a67 Patch non-extended font option 7 years ago
android444 9cc1d8e312 [2.0.x] Support for SilverGate Board 7 years ago
Bob-the-Kuhn 229a27a1c7 save FLASH by using reduced font for some languages 7 years ago
cdedwards 6296ab2173 Add GFX overlay to UBL mesh edit (#8038)
* Add GFX overlay to UBL mesh edit

Fixed misplaced HAS_TEMP_BED in dogm_bitmaps.h

rename _lcd_babystep_zoffset_overlay to _lcd_zoffset_overlay_gfx and move it out of BABYSTEP_ZPROBE_OFFSET to we can use it for over things. Add this function into UBL mesh edit screen.

update all Configuration.h to add ENABLE_MESH_EDIT_GFX_OVERLAY

* Add Sanity to UBL  insanity

Need to check for DOGLCD  otherwise error out.
7 years ago
Jeffrey Li 3c8a3a02ba Fix include path for VIKI 7 years ago
Scott Lahteine 20ebe218c8 Tweaks to VIKI lcd support 7 years ago
Scott Lahteine e9bcb9d048 Add 4 new LCD displays 7 years ago
Scott Lahteine c0382cd8cd Add UTF-8 mapper for Slovak language
Based on #7862, #7846 by @rmoravcik
7 years ago
Chris Pepper 46b2773e13 General fixes for LPC1768 (#7834)
* fixed some include paths

* LPC1768: Fix Serial API

Add missing serial methods used if TX_BUFFER_SIZE is set
Change return value of HalSerial:read to match Arduino API

* LPC1768: add filters to ADC

This is to try and compensate for hardware issue and oversensitivity to noise

* LPC1768: remove the polling section of delayMicroseconds

* LPC1768: lock usb mass storage device while device accesses it.

Currently only applicable to persistent store,
The device always has priority and will unmount the sd card from the host, Windows then tries to automount again so it can look like the explorer window freezes. Linux Mint, by default, just closes the Nemo window.

* Add timeout to make sure if Serial never connects that Marlin still boots

* Remove unneeded ifdef CPU_32_BIT

In general the need for ifdef CPU_32_BIT blocks means that something is missing from the HAL API or a Platform, in this case HAL_TICKS_PER_US was missing from the AVR Platform

* LPC1768: relocate RE-ARM debug_extra_script.py
7 years ago
Christopher Pepper bea3ec2724 M355 S0, S1 fixes & faster LCD, SD card
fix Travis error
7 years ago
Scott Lahteine dff2904c0f Marlin code whitespace cleanup 7 years ago
Scott Lahteine ce1638e32f Add Babystep Z graphic overlay
See PR #7593
7 years ago
Scott Lahteine 0fcec02db5 LCD updates 7 years ago
Scott Lahteine cc92e544a5 Move 'lcd' files 7 years ago