Commit Graph

69 Commits

Author SHA1 Message Date
Scott Lahteine
e90bbb37d4 Tweak and use SD_ORDER 2020-07-16 22:45:57 -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
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
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
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
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
bfad23d3e2 (c) 2020 2020-02-03 08:00:57 -06:00
Robby Candra
48098b1675 Preserve CWD for write/remove file (#16667) 2020-01-26 18:34:17 -06:00
Scott Lahteine
f3d64b7115 Cardreader read/write open methods 2019-12-12 18:46:49 -06: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
72d791a736 Standardize active/paused functions 2019-10-03 06:27:30 -05:00
Scott Lahteine
2277c6dffc
Optimize SD card reader, sorting (#15395) 2019-09-28 15:28:05 -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
93cd66ac11 Tweaky change from (C) to (c) 2019-06-27 23:58:16 -05:00
Robby Candra
5515f88452 Clarify SD longname string size (#14148) 2019-05-27 19:50:48 -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
Robby Candra
c369477cb0 Fix bug: diveToFile breaks M23 (#13865) 2019-05-02 15:54:24 -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
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
0feeef2604 Update copyright in headers 2019-02-12 15:30:11 -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
Scott Lahteine
643e0066a0 Followup to #12451 2018-11-20 06:27:19 -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
471f403a67 Reduce code size with plain inlines 2018-11-11 08:36:10 -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
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
2067619a26 Add USB_FLASH_DRIVE_SUPPORT 2018-10-04 19:54:12 -05:00
Scott Lahteine
3019713402 Reorganize some enums 2018-10-01 05:32:55 -05:00