Scott Lahteine
4e8eea8e78
Adjust HAL platform defines, comments
2020-10-02 17:05:59 -05:00
Scott Lahteine
660420050b
Fetch longname when a file exists
2020-09-28 17:17:12 -05:00
Scott Lahteine
0ddb4d88a9
Add extra CardReader debugging
2020-09-28 17:17:12 -05:00
Scott Lahteine
6d4c82f4d8
Fix diveToFile with open Dir object ( #19539 )
...
* Fix CardReader diveToFile
* Add CardReader::fileExists
2020-09-28 15:46:12 -05:00
qwewer0
4424645e04
Multi-line comments cleanup ( #19535 )
2020-09-28 14:53:50 -05:00
Scott Lahteine
cd5735130d
CardReader cleanup
2020-09-27 16:58:50 -05:00
Scott Lahteine
4975e93350
Tweak MMU beeps, misc. cleanup
2020-09-27 02:03:00 -05:00
Scott Lahteine
a445746a8b
Clean up LCD conditionals, DWIN
2020-09-06 23:21:42 -05:00
Scott Lahteine
d9ad8caf02
SD card debugging
2020-09-04 20:14:30 -05:00
Scott Lahteine
14314b68ec
No 'ls' if media isn't mounted
2020-09-04 19:57:47 -05:00
Victor Oliveira
1f25312b65
Only show "SD Init Fail" with detectable media ( #19236 )
2020-09-03 17:46:05 -05:00
Victor Oliveira
e3d855673e
Fail SD mount without SPI re-init ( #19226 )
2020-09-01 17:09:28 -05:00
Jason Smith
646d90f3da
Fix SD pins for SKR Pro and GTR ( #19047 )
2020-08-26 00:43:33 -05:00
Serhiy-K
60b61de395
"SD init fail" status error ( #19064 )
2020-08-19 02:58:41 -05:00
Scott Lahteine
18adfe87bc
configuration_store => settings
2020-08-07 20:52:23 -05:00
wmariz
da4eaebdc9
ZoneStar Z6FB ( #18918 )
...
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-08-07 17:03:59 -05:00
Scott Lahteine
d1e20eb29f
Update links, README, contributing, etc.
2020-07-23 20:46:51 -05:00
Diego von Deschwanden
42fbd527f3
Fix links to secure sites ( #18745 )
2020-07-22 22:20:14 -05:00
Scott Lahteine
e90bbb37d4
Tweak and use SD_ORDER
2020-07-16 22:45:57 -05:00
ellensp
69490e1122
Fix CMSIS / USB-FD regression ( #18602 )
2020-07-09 22:45:06 -05:00
J.C. Nelson
6f14d2d37f
Add Lerdge S,X,K ( #18302 )
2020-07-06 17:08:52 -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
George Fu
992dc14c86
Fix FYSETC CHEETAH V1.2 SD re-insert ( #18474 )
...
Include this board with other Cheetah stepper reset.
2020-07-01 01:13:00 -05:00
ellensp
1c13428d84
Fix CMSIS / USB-FD name conflicts ( #18327 )
2020-06-16 14:28:28 -05:00
Scott Lahteine
8b96d885e4
Ender 3 V2 followup
2020-06-16 02:14:42 -05:00
Scott Lahteine
f4c258dc23
Creality Ender 3 v2 ( #17719 )
2020-06-16 01:45:27 -05:00
Scott Lahteine
6371782263
Add HAS_MULTI_SERIAL conditional
2020-06-05 16:20:27 -05:00
Leandro A. F. Pereira
801f99edad
SDCARD_READONLY ( #17884 )
2020-05-30 23:59:29 -05:00
Chris Pepper
a49319f3dd
Fix FYSETC_AIO_II build ( #18124 )
...
BOARD_FYSETC_AIO_II also needs this header for the reset_stepper_drivers function
2020-05-27 17:06:32 +01:00
Bob Kuhn
6c994002af
No SD_CHECK_AND_RETRY with USE_USB_COMPOSITE (STM32F103 + SDIO) ( #18108 )
...
* disable SD_CHECK_AND_RETRY when USE_USB_COMPOSITE is enabled
* Update Sd2Card.cpp
* Disable SD_CHECK_AND_RETRY with USE_USB_COMPOSITE
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2020-05-26 00:44:12 -05:00
George Fu
fe7452c5cb
TMC serial multiplexer, FYSETC AIO-II ( #18080 )
2020-05-25 15:48:33 -05:00
Marcio T
2a959cde6f
Fix undefined/unused, Touch UI ( #17874 )
2020-05-04 13:57:12 -05:00
Scott Lahteine
3d3d2a923b
Cleanup with updated macros
2020-04-28 19:18:14 -05:00
Scott Lahteine
967c1d8534
Do SD sort order in CardReader
2020-04-27 06:30:28 -05:00
Scott Lahteine
6d90d1e1f5
Apply TERN to compact code ( #17619 )
2020-04-22 16:35:03 -05:00
Scott Lahteine
d34c22ac22
Skip redundant file/dir tests
2020-04-21 18:39:43 -05:00
Scott Lahteine
5de87361e9
Call first_load from manage_media
2020-04-21 18:39:43 -05:00
Scott Lahteine
d96c769fd6
Move Power Loss Recovery check
2020-04-21 15:27:53 -05:00
Scott Lahteine
000ec9fc13
Ensure language.h include order
...
See #17604
2020-04-20 09:43:48 -05:00
Scott Lahteine
e9c8da35c5
Subcall overflow error message
2020-04-13 14:54:51 -05:00
Scott Lahteine
421825259e
Shorter M32 error message
2020-04-13 14:54:50 -05:00
Scott Lahteine
65f6a373b0
Refactor SD detect handler ( #17380 )
...
Co-Authored-By: Eric Ptak <trouch@users.noreply.github.com>
2020-04-04 00:08:25 -05:00
Scott Lahteine
747b964295
Clean up user-wait, SD completion ( #17315 )
2020-03-28 03:18:53 -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
Scott Lahteine
112245ee48
More explicit EEPROM types ( #17127 )
2020-03-11 16:41:18 -05:00
Scott Lahteine
eb6c992bfb
Announce SD file open
...
Requested in #17110
2020-03-10 22:54:19 -05:00
Scott Lahteine
8f66dbfcd5
SD_DETECT_INVERTED => SD_DETECT_STATE ( #17112 )
2020-03-10 15:43:06 -05:00
Scott Lahteine
64d092935b
More useful ENABLED / DISABLED macros ( #17054 )
2020-03-07 22:20:41 -06:00
Scott Lahteine
b5c2190b38
String optimize followup
2020-02-26 04:32:40 -06:00
Scott Lahteine
e78f607ef3
Use a STR_ prefix for non-translated strings
2020-02-26 03:02:03 -06:00
Scott Lahteine
5071fe82ab
Ensure proper SD print completion ( #16967 )
2020-02-25 22:18:14 -06:00
Scott Lahteine
29ec868c4b
Commit last SD line before fileHasFinished
2020-02-22 20:46:52 -06:00
Scott Lahteine
1d431fe8d2
Suppress "packed member" warning
2020-02-22 19:28:24 -06:00
Scott Lahteine
bfad23d3e2
(c) 2020
2020-02-03 08:00:57 -06:00
Scott Lahteine
43d3463d5d
Misc cleanup, whitespace
2020-02-01 03:50:42 -06:00
felixstorm
8d4dd88bf9
Fix compile error in SdVolume on ESP32 ( #16728 )
2020-01-30 12:22:42 -06:00
felixstorm
e4eaf32b4d
Prevent SD access from resetting ESP32 ( #16690 )
2020-01-27 18:16:43 -06:00
Robby Candra
48098b1675
Preserve CWD for write/remove file ( #16667 )
2020-01-26 18:34:17 -06:00
Jason Smith
c305c2cc6b
Fix some warnings, Melzi pins
2020-01-15 19:57:16 -06:00
InsanityAutomation
ffd8b595d1
Fix PLR cancel with ExtUI ( #16556 )
2020-01-13 20:52:24 -06:00
Dirk O. Kaar
d0e1166cce
Fix Visual Micro "Arduino IDE for Visual Studio" support ( #16418 )
2020-01-02 19:01:38 -06:00
Scott Lahteine
f3d64b7115
Cardreader read/write open methods
2019-12-12 18:46:49 -06:00
Scott Lahteine
ca6d00b862
Save some string flash
2019-11-02 00:48:05 -05:00
Francois Rainville
dd0c5de4c7
Provide LONG_FILENAME_LENGTH for headers ( #15582 )
2019-10-16 13:51:18 -05:00
LinFor
b20d5a7cc6
Estimate Remaining Time (graphical display) ( #15497 )
2019-10-10 21:03:33 -05:00
Scott Lahteine
5641adb01b
Clean up stray tabs
2019-10-10 20:16:16 -05:00
Marcio Teixeira
dc14d4a13c
Improvements and fixes to Lulzbot UI ( #15490 )
2019-10-09 19:44:49 -05:00
Scott Lahteine
72d791a736
Standardize active/paused functions
2019-10-03 06:27:30 -05:00
Scott Lahteine
e3fd0519b3
Reduce need for UNUSED
2019-09-30 22:56:22 -05:00
Scott Lahteine
139b7196a0
Watchdog cleanup ( #15283 )
2019-09-29 17:57:29 -05:00
Scott Lahteine
2277c6dffc
Optimize SD card reader, sorting ( #15395 )
2019-09-28 15:28:05 -05:00
Scott Lahteine
665e45e0ba
Reduce string storage, use masking 'seen'
2019-09-26 04:30:55 -05:00
Marcio Teixeira
149e9b733e
Simplified ExtUI language selection ( #15359 )
2019-09-25 01:25:21 -05:00
Scott Lahteine
f01f0d1956
Drop C-style 'void' argument
2019-09-16 20:31:21 -05:00
Robby Candra
98233b1de0
Add root flag to CardReader ( #15275 )
2019-09-16 17:49:55 -05:00
Scott Lahteine
d5f5203880
Use "mount" as card verb
2019-09-15 03:12:44 -05:00
Tanguy Pruvot
15bea5043c
Followup to SD menu optimization ( #15252 )
2019-09-14 06:42:28 -05:00
Scott Lahteine
dbea6f0022
STM32F1 USB cdc/msc composite device ( #15180 )
...
Co-Authored-By: bigtreetech <38851044+bigtreetech@users.noreply.github.com>
2019-09-08 02:28:22 -05:00
Ludy
068c303742
More translatable LCD strings ( #15190 )
2019-09-08 00:15:25 -05:00
Scott Lahteine
34b73426e5
Apply #ifdef/#ifndef where possible
2019-09-01 23:54:50 -05:00
Marcio Teixeira
da601d5114
Update USB_FLASH_DRIVE_SUPPORT ( #15021 )
2019-08-24 01:47:19 -05:00
Scott Lahteine
70ce4f5b36
Move job recovery filename
2019-08-02 02:24:15 -05:00
Scott Lahteine
9ac348ef7b
SDPOWER => SDPOWER_PIN
2019-08-02 02:24:15 -05:00
Marcio Teixeira
27c487bab7
Print progress enhancements ( #14647 )
2019-07-17 03:14:44 -05:00
Ludy
70586d3a6c
Update (c) comments ( #14584 )
2019-07-11 13:48:15 -05:00
Giuliano Zaro
caa87d5fe1
SD2Card cleanup ( #14571 )
2019-07-10 22:04:16 -05:00
Scott Lahteine
a2ba0aaaac
HAL include and other adjustments ( #14525 )
2019-07-08 23:42:29 -05:00
Tanguy Pruvot
8873c583d3
Prevent extra settings.load on boot ( #14499 )
2019-07-05 22:25:59 -05:00
Scott Lahteine
fe02241044
NONE on combined options
2019-07-05 18:20:24 -05:00
Giuliano Zaro
2bf11da5ab
Fix pin based on SOFT_SPI_CS ( #14504 )
2019-07-05 02:01:52 -05:00
Scott Lahteine
de462f2b8a
Revert "Sort out settings.load with SD EEPROM emulation ( #14458 )"
...
This reverts commit 108d0df565
.
2019-07-03 19:11:30 -05:00
GMagician
8be146642f
Unused SPI PIN definitions
2019-07-03 17:49:55 -05:00
Tanguy Pruvot
108d0df565
Sort out settings.load with SD EEPROM emulation ( #14458 )
2019-07-01 09:10:17 -05:00
Phr3d13
34c8204d25
STM32F1 SD EEPROM Emulation Fixes ( #14261 )
2019-06-29 01:34:54 -05:00
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
2019-06-27 23:58:16 -05:00
InsanityAutomation
5df051fdee
Fix Start SD Print bug ( #14354 )
...
Followup to the G-code parser injection update.
2019-06-22 00:37:21 -05:00
Scott Lahteine
bb0bcbaec0
Suppress compiler warning
2019-06-21 02:20:40 -05:00
Scott Lahteine
4c872a01f2
G-code queue singleton, front injection ( #14236 )
2019-06-19 00:00:19 -05:00
Scott Lahteine
356410dcfc
Move crc16 function to libs
2019-06-12 06:14:39 -05:00
Robby Candra
5515f88452
Clarify SD longname string size ( #14148 )
2019-05-27 19:50:48 -05:00
Scott Lahteine
d3bb5b69ba
Apply NOLESS/NOMORE
2019-05-26 20:55:00 -05:00
Tanguy Pruvot
d7b0369e39
STM32: Fix SD EEPROM emulation conflict ( #14012 )
2019-05-15 02:42:10 -05:00
Scott Lahteine
ad4ffa1d2f
Use C++ language supported 'nullptr' ( #13944 )
2019-05-09 11:45:55 -05:00
Ludy
f96eaad1ea
Unused variable cleanup ( #13917 )
2019-05-05 22:01:04 -05:00
Robby Candra
79955f0c89
Fix PLR file delete bug ( #13860 )
2019-05-04 23:30:47 -05:00
Robby Candra
c369477cb0
Fix bug: diveToFile breaks M23 ( #13865 )
2019-05-02 15:54:24 -05:00
Msq001
455ee23499
Fix, improve Power Loss Recovery ( #13703 )
...
- Save and restore workspace offsets
- Add retract and purge (hidden) options
- Always restore axis relative modes
- Use added `G92.9` to do position restores
2019-04-15 18:53:39 -05:00
Scott Lahteine
20a41e2f7b
SDCARD_RATHERRECENTFIRST with SDCARD_SORT_ALPHA
2019-04-02 22:25:18 -05:00
Robby Candra
a3f67acd6d
Fix Power Loss Recovery file delete ( #13522 )
2019-03-30 13:14:58 -05:00
Scott Lahteine
b376c7e374
Group DISABLED items
2019-03-17 07:56:35 -05:00
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(...)`
2019-03-16 23:43:06 -05:00
Scott Lahteine
cfdb38eda4
Allow SERIAL_ECHOPAIR to take up to 12 pairs ( #13311 )
2019-03-05 06:46:19 -06:00
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans ( #13298 )
2019-03-05 00:41:31 -06:00
Scott Lahteine
fa236e9718
General cleanup ahead of L64XX
2019-03-01 19:58:07 -06:00
Scott Lahteine
2c10222e87
card.transfer_port => transfer_port_index
2019-02-27 20:14:17 -06:00
Chris Pepper
4ab433d391
Fix binary protocol with one serial port ( #13270 )
...
- The `sdcard.transfer_port` variable is Marlin's internal serial port index, not the physical serial port number.
- Added packet number to "ok" response so hosts don't need to wait for the ACK.
- Renamed feature to `BINARY_FILE_TRANSFER`, as the speed up is only consequential to the ability to transfer binaries over serial.
2019-02-27 19:57:48 -06:00
Scott Lahteine
e15354e387
Simplify serial port redirect ( #13234 )
2019-02-23 22:53:01 -06:00
Scott Lahteine
3a1b6fe8c1
Coding standards
2019-02-19 14:58:39 -06:00
Scott Lahteine
c2b90c44e4
Prettify some code comments
2019-02-12 17:43:37 -06:00
Scott Lahteine
0feeef2604
Update copyright in headers
2019-02-12 15:30:11 -06:00
Scott Lahteine
ce563d7c2e
Various general cleanups
...
Mostly from the L6470-oriented PR
2019-01-19 16:56:12 -06:00
Scott Lahteine
712e23c383
Fix up some whitespace
2019-01-17 18:05:36 -06:00
InsanityAutomation
a403d9a50c
Improve menu pause / resume ( #12876 )
2019-01-11 20:42:11 -06:00
Scott Lahteine
fb8111553e
getStatus => report_status
2019-01-11 19:51:00 -06:00
jmz52
d372e7e477
SDIO support for STM32F1 ( #12782 )
2019-01-04 13:38:07 -06:00
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.
2019-01-01 15:17:48 -06:00
Scott Lahteine
18fedafbc5
Refresh screen on SD Init
2018-12-08 15:31:59 -06:00
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type ( #12557 )
2018-11-29 16:58:58 -06:00
Scott Lahteine
03ef2d6c82
Fix "paused" message and M125 called by M25 ( #12551 )
2018-11-28 19:28:31 -06:00
Ludy
e98d195901
Remove extra declarations in cardreader.cpp ( #12520 )
2018-11-23 15:58:20 -06:00
Scott Lahteine
643e0066a0
Followup to #12451
2018-11-20 06:27:19 -06:00
Marcio Teixeira
c1e17037e5
Various fixes for MarlinUI and ExtUI ( #12439 )
2018-11-17 22:21:44 -06:00
Scott Lahteine
66580f32c2
Make CardReader class static ( #12451 )
...
* Make CardReader a static class
* Make CardReader flags into bitfields
2018-11-16 22:39:16 -06:00
Scott Lahteine
d97e31db4c
Optimize Power-Loss Recovery ( #12440 )
2018-11-16 20:47:07 -06:00
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.
2018-11-11 12:16:24 -06:00
Scott Lahteine
471f403a67
Reduce code size with plain inlines
2018-11-11 08:36:10 -06:00
Scott Lahteine
4f72e041f2
Use card.stopSDPrint() for completeness
2018-11-06 20:55:17 -06:00
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup ( #12322 )
...
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
2018-11-04 02:25:55 -06:00
Scott Lahteine
42f8b6c530
Make M125 work with SDSUPPORT ( #12289 )
2018-11-01 15:03:45 -05:00
Scott Lahteine
b5d7f69b51
Followup to #12249
2018-10-30 22:51:45 -05:00
Chris Pepper
66d44c72c3
Add fast binary file transfer to SD card option ( #12249 )
2018-10-30 19:44:12 -05:00
Scott Lahteine
f9b80e7217
Make getfilename_sorted standard for listings
2018-10-29 13:54:21 -05:00
Marcio Teixeira
1a00d1bdaf
Add pullup to USB interrupt line
...
- A pullup on the INT pin is required when the pin is level-active
2018-10-25 10:42:08 -05:00
Ludy
44369d536a
Use millis_t where needed ( #12152 )
2018-10-20 23:21:27 -05:00
TheSFReader
1fb9b299d4
Add M524 to abort SD printing ( #12155 )
2018-10-19 14:25:07 -05:00
Scott Lahteine
d26d9d5b81
Tweak IS_SD_INSERTED
2018-10-19 14:00:36 -05:00
Scott Lahteine
c6a5c74208
Add parentheses to SD macros
2018-10-19 13:52:57 -05:00
Marcio Teixeira
71e19baf69
Fix kill => disable_all_heaters => print_job_timer.stop ( #12146 )
...
- Remove `print_job_timer.stop()` from `disable_all_heaters`
- Call `print_job_timer.stop()` for relevant `disable_all_heaters()`.
- Split up `kill()` for watchdog interrupt safety
2018-10-18 21:20:56 -05:00
Marcio Teixeira
5b7dd553d3
Fix sd_mmc_spi_mem capacity; clean up USB code ( #12134 )
...
- Fix an error in the return value of `sd_mmc_spi_read_capacity` which was causing the host OS to read beyond the last sector in the card.
- Clean up the USB flashdrive code and add better debugging.
2018-10-18 11:34:07 -05:00