144 Commits (47c19aa2b359247cc1918bdd16079bc022223176)

Author SHA1 Message Date
Scott Lahteine dbea6f0022 STM32F1 USB cdc/msc composite device (#15180)
Co-Authored-By: bigtreetech <38851044+bigtreetech@users.noreply.github.com>
5 years ago
Ludy 068c303742 More translatable LCD strings (#15190) 5 years ago
Scott Lahteine 34b73426e5 Apply #ifdef/#ifndef where possible 5 years ago
Scott Lahteine 4078f2672e Apply shorthand option macros 5 years ago
Scott Lahteine 586b334c2a
Split up stepper indirection (#15111) 5 years ago
Scott Lahteine 66f1da762f Use 'ui.' where possible 5 years ago
Scott Lahteine d25231aea8 Spacing, defined(), #include tweaks 5 years ago
Scott Lahteine 7b99c26e80 Fix FTDI_EVE_LIB platform includes 5 years ago
Marcio Teixeira 0f386d06a1 Followup fixes to ExtUI (#15068) 5 years ago
InsanityAutomation f218405c36 Fix ExtUI invalid speed, timer (#15031) 5 years ago
Scott Lahteine 750256948e Apply #ifdef 5 years ago
Marcio Teixeira bd1ced14e7 LulzBot Touch UI Followup (#15007) 5 years ago
Marcio Teixeira 69641f1420 Fix incompatible types error (#15009) 5 years ago
InsanityAutomation 5a7c0216f7 Misc. ExtUI fixes (#14971) 5 years ago
Marcio Teixeira 274934ad81 Add LULZBOT_TOUCH_UI (#14967) 5 years ago
Marcio Teixeira 36dfbaea8c Add missing function declaration (#14955) 5 years ago
Marcio Teixeira 13d8dc0b79 Fix incorrect print stat in ExtUI (#14881) 6 years ago
Scott Lahteine c2b319360d Remove extra pragmas 6 years ago
Marcio Teixeira eefe3f595a New options: Bootscreen as Info, game Easter-egg (#13829) 6 years ago
InsanityAutomation 9cd66f6f77 Fix missing include & condition (#14682) 6 years ago
Robby Candra 2c5436e315 Fix HOST_PROMPT_SUPPORT include in ExtUI API (#14650) 6 years ago
Marcio Teixeira 57ed063ba1 Fix unused variable warnings (#14643) 6 years ago
Scott Lahteine 750a16ad38 Fix MIN/MAX function collision with macros 6 years ago
Scott Lahteine b6546ea33a Add include guards to some headers 6 years ago
Scott Lahteine de8fee6aea Clarify ExtUI command injection 6 years ago
Marcio Teixeira e6cf7860e8 Improve ExtUI, fix compiler errors, warnings (#14441) 6 years ago
Scott Lahteine a8d68b7c8a Common method for scaled fan speed 6 years ago
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 6 years ago
Eric Ptak 8934b32f1b Fysetc AIO II / Cheetah STM32F1 (#14407) 6 years ago
InsanityAutomation aa0383a83b Enhance IDEX toolchange auto-return w/ no park, full control (#14117) 6 years ago
Tobias Frost eeaef2410a Support DGUS Display with DWIN OS (#13253) 6 years ago
Scott Lahteine 4df4c47994
Add TMC2209 support (#14249) 6 years ago
Scott Lahteine 4c872a01f2
G-code queue singleton, front injection (#14236) 6 years ago
Scott Lahteine 2a96d4e23a Move number-to-string functions to libs 6 years ago
InsanityAutomation 66e22d9f5a ExtUI Heated Chamber support (#14198) 6 years ago
InsanityAutomation f889cc6ea6 ExtUI parity with SPI LCDs (#14172) 6 years ago
InsanityAutomation 84ac5b360b Fix ExtUI mesh functions (#14027) 6 years ago
Marcio Teixeira 227f29090d Add heater timeouts to ExtUI (#13970)
- Add local UI methods to get heater timeout state.
- Add methods to resume timed-out heaters.
- Re-enable heaters on UI temperature request.
- Make `ExtUI` show a dialog box if pause needs a button press after reheat.
6 years ago
Marcio Teixeira 15357af67c Backlash cleanup (#13659)
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
6 years ago
InsanityAutomation 610fb46683 Fix some ExtUI issues (#13799) 6 years ago
Roxy-3D 9cee81d47e Option to show babysteps total since G28 (#13580) 6 years ago
Scott Lahteine cacec5764a Clean up whitespace 6 years ago
Marcio Teixeira 5679fae11e UltraLCD enhancements (lower fan resolution, backlash menu) (#13519) 6 years ago
Marcio Teixeira 7462fe3068 Fix compile error, squelch warnings (#13487)
- Fix path to `bedlevel.h` include file
- Add default to `case` statements to suppress warnings
6 years ago
Marcio Teixeira a0ca98f699 Additional ExtUI features (#13449) 6 years ago
InsanityAutomation 5b2c37d6c1 Followup to BLTouch (#13422) 6 years ago
InsanityAutomation 3fb8489ae3 EXTUI and UBL compilation fixes (#13420) 6 years ago
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
6 years ago
Scott Lahteine 87162658c4
Fix and improve software endstops (#13386) 6 years ago
InsanityAutomation c03df89921 ExtUI Mesh Leveling Extensions (#13363) 6 years ago
Scott Lahteine d94e077901 Apply HAS_HOTEND_OFFSET where needed 6 years ago
Scott Lahteine e52bcc9408 Limit top bed temp to BED_MAXTEMP - 10
The chances of a 10° overshoot is pretty minimal.
6 years ago
Tobias Frost 60e82e3929 Send notifications to ExtUI for M0/M1 (#13344)
- Send notifications to ExtUI for M0/M1

- wait_for_user can be non-volatile (not changed by interrupt)
  C / C++ compilers don't optimize away reads of non-volatile variables when a function call is used between accesses, because *any* variable could be changed by the function call. Since `wait_for_user` can't be changed without a function call, it should be non-volatile so the compiler can optimize away cases where it is read more than once without an intervening function call.
6 years ago
Tobias Frost afbec5ff7e Have ExtUI::getProgress use ui.get_progress (#13328) 6 years ago
Tobias Frost 7ce13a6ec1 Fix a print_job_timer compile error (#13304) 6 years ago
Tobias Frost 57afd0ab37 Fix range check bug in FileList::seek() (#13286)
When `count()` returns 0, `pos > (count()-1)` will always yield `true` due to integer underflow.
6 years ago
Scott Lahteine 7cf9b93f26 Add HAS_FILAMENT_SENSOR ahead of 12962 6 years ago
InsanityAutomation 7f1b69b0c8 Add HOST_PROMPT_SUPPORT (#13039) 6 years ago
Scott Lahteine 0feeef2604 Update copyright in headers 6 years ago
Marcio Teixeira 113af46a1b Add ExtUI methods to babystep probe/nozzle offsets (#12590) 6 years ago
Marcio Teixeira f214118e45 Action to notify host of filament runout. (#12817) 6 years ago
Marcio Teixeira 54fdf57b8c ExtUI: Fix fan wrapping around from 0 to 100 (#12987) 6 years ago
Marcio Teixeira f4c16e683b Follow up fixes to #12884 (#12940) 6 years ago
teemuatlut e6805582a6 M569 to change stepping mode. Add new TMC section to LCD. (#12884) 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
InsanityAutomation a403d9a50c Improve menu pause / resume (#12876) 6 years ago
Scott Lahteine da42f27c9e Use maths macros for ceil/floor 6 years ago
Marcio Teixeira 81e753064a Fix ExtUI compile warnings and error (#12799) 6 years ago
Marcio Teixeira 60cb36bef3 Misc. improvements (#12747)
* Make ExtUI respect MAXTEMP limits
  - Temperatures are now clamped by MAXTEMP limits rather than arbitrary values.
* Speed up USB init, add status
  - Speed up USB initialization
  - Show status message if init failed
* Enable status messages for EXTENSIBLE_UI
* Adjust max limit to MAX_TEMP - 15
* Misc. tweaks to formatting, const, etc.
6 years ago
Marcio Teixeira 50ee747787 Fix compilation errors. Followup to #12439 (#12481) 6 years ago
Marcio Teixeira c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 6 years ago
Scott Lahteine 66580f32c2
Make CardReader class static (#12451)
* Make CardReader a static class
* Make CardReader flags into bitfields
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 488a17b3f5 Use IS_SD_PRINTING() more 6 years ago
Scott Lahteine d1ff22b983 Revive SCARA's home offset (unimplemented) 6 years ago
Scott Lahteine 44f2a82a56 Move axis_homed, axis_known_position to motion.* 6 years ago
Marcio Teixeira 72d8adfd1e Cleanup and refactor EXTENSIBLE_UI (#12227)
- Add `axis_t`, `extruder_t`, `heater_t`, and `fan_t` to eliminate ambiguity, improve type safety.
- Regularized getter/setter argument order and naming.
- `setAxisPosition` no longer stacks moves in the buffer, allowing it to be called repeatedly on each touch ui tap.
- Implement better manual moves for `EXTENSIBLE_UI` (#12205)
- Calling `setAxisPosition_mm` no longer buffers the entire move to the new position, but instead causes small moves towards it to be made during the idle loop. This allows the user to adjust the destination even after the move has started and makes the UI feel much more responsive.
- As suggested by @ejtagle, the new code keeps the planner buffer full to ensure smooth motion without stops and starts.
- Change `En`, `Hn` and `FANn` to zero-based indices.
- Labels consistent with the rest of Marlin code.
6 years ago
Scott Lahteine f9b80e7217 Make getfilename_sorted standard for listings 6 years ago
Scott Lahteine 53c535a0c1 Remove trailing whitespace 6 years ago
Scott Lahteine 9613f00877 Fix getProgress_seconds_elapsed to return seconds 6 years ago
gjdodd 5d487ef40e Fix null exception due to duration_t of zero (#12207) 6 years ago
gjdodd 0a549fd1f2 Fix EXTENSIBLE_UI compile errors (#12206) 6 years ago
Marcio Teixeira fc31da1114 Implement custom delay/millis for EXTENSIBLE_UI (#12188) 6 years ago
Marcio Teixeira 2e5e689a7f Fix kill() and ExtensibleUI (#12160)
* Fix to isPrintingFromMedia()

  - isPrintingFromMedia() will now return true even if SD print is paused.
  - isPrintingFromMediaPaused() allows UI to determine if the print is paused.

* Don't use _delay_us in minkill (#12145)

  - In HAL_DUE, _delay_us is simply an alias for delay, which causes the board to hang and subsequently reboot due to the watchdog timer.

* Shorten code with IFSD macro
6 years ago
TheSFReader 1fb9b299d4 Add M524 to abort SD printing (#12155) 6 years ago
Scott Lahteine c6a5c74208 Add parentheses to SD macros 6 years ago
Marcio Teixeira f98f4ac7ea Fix and improve EXTENSIBLE_UI (#12117)
- Add methods to access print counter data
- Clean up some inconsistent method names
- Clear lcd status after filament change
- Implement `lcd_reset_status` so it works like UltraLCD
6 years ago
Marcio Teixeira 056561df93 [2.0.x] Enhancements to FILAMENT_RUNOUT_SENSOR (#12069)
- Added FILAMENT_RUNOUT_DISTANCE_MM option
- Added FILAMENT_MOTION_SENSOR option
6 years ago
Scott Lahteine d556dc1865
Fix and improve EEPROM storage (#12054)
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
6 years ago
Marcio Teixeira cef1de89d0 Fixed incorrect axis index. (#12051) 6 years ago
Marcio Teixeira 906a24fa81 Extensible user interface API (#11193) 6 years ago