Scott Lahteine
2390f6d3ab
Cleanup, apply standards to SD lib, cardreader
7 anni fa
Scott Lahteine
8fd58cd6dc
Patch goto labels for consistency
7 anni fa
Scott Lahteine
75e6f72c89
Fix hexadecimal number formatting
7 anni fa
Scott Lahteine
ff0018e287
Format hex values as uppercase
7 anni fa
Scott Lahteine
e1702816f6
Fix SD_CHECK_AND_RETRY condition
Addressing #5806
7 anni fa
Hans Raaf
d29cc8f7bc
Reset watchdog in SD init to prevent reboot
If the watchdog is enabled and bootscreen + SD card checks take too long, Marlin may hang at boot time because of the reset loop. We have this happen all the time with the Anet board if no SD card is inserted.
7 anni fa
Scott Lahteine
cb48292338
Use fastio for literal pins
8 anni fa
AnHardt
e4942d2163
Switch SD2cadrLib to fastio
Replace all fastDigitalRead/Write() with READ/WRITE()
Define SCK_PIN, MISO_PIN, MOSI_PIN in pins.h if not already defined in the pins_*.h files.
Remove these conditional pin definitions from the pin-files. They are now always defined.
Define separate sets of SPI-pins for AT90USB with and without Teensy support in fastio.h.
Likely this was the main reason for all that confusion about the AT90USB-SPI pins.
8 anni fa
esenapaj
888443ca1e
Enclose all #error strings with apostrophes
8 anni fa
João Brázio
32d798fcc7
Converted all files on src to Unix file format
8 anni fa
Scott Lahteine
40050db210
Improve code in Sd2Card::readBlock
8 anni fa
esenapaj
f9e1a0ee6c
suppress warnings
8 anni fa
Scott Lahteine
0da744b7b0
Further cleanup of comments, partial Doxygen-style
Following up on #3231
8 anni fa
jbrazio
5e5d250832
Added gplv3 header to all Marlin files
8 anni fa
jbrazio
757661b299
Toshiba Flash Air Wifi SD card support
8 anni fa
Scott Lahteine
ff13070b59
Use _BV macros, patch up others
8 anni fa
Scott Lahteine
9bdab4f3a8
Clean up "else" and other spacing
9 anni fa
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 anni fa
Scott Lahteine
58cfcd4239
Overridable Options - Part 5
Apply `ENABLED` / `DISABLED` macros to files needing only a small
number of changes.
9 anni fa
Scott Lahteine
c37f7d15c9
- Rename WRITE_E_STEP for consistency
- Add BIT and TEST macros
- Add _APPLY_ macros to stepper.cpp to help with consolidation
- Consolidate code in stepper.cpp using macros
- Apply standards in stepper.cpp
- Use >= 0 instead of > -1 as a better semantic
- Replace DUAL_Y_CARRIAGE with Y_DUAL_STEPPER_DRIVERS
9 anni fa
galexander1
d4880a9e60
Revert "Move Sd library out into library"
9 anni fa
odewdney
f84ff4ba7d
Move SD Fat library out of main src
9 anni fa
odewdney
9d9c859ac1
First move of SdFat library
9 anni fa
daid
8b4c4aa5c3
Add feature to check&retry CRC read errors on SD.
10 anni fa
daid303
43018a48c4
Fix for a few -Wextra warnings.
12 anni fa
daid
b69e75c89a
Added long filename support.
12 anni fa
Bernhard
3814bbb529
made sd code only compile with SDSUPPORT defined. safes 10k of codespace
13 anni fa
Bernhard
57f9359a41
simplified the includes, makefile now works with arduino23
13 anni fa
Bernhard
0bc9daa4f7
make it compile with arduino 1.0 ; function is still untested.
13 anni fa
Erik van der Zalm
f75f426dfa
Removed interrupt nesting in the stepper ISR.
Add serial checkRx in stepper ISR.
Copied HardwareSerial to MarlinSerial (Needed for checkRx).
13 anni fa
Bernhard Kubicek
64f2121ab1
updated to sdfatlib2010902
13 anni fa
Bernhard Kubicek
40e8081623
changed end of line to windows, which seems to be the majority of developers main platform.
13 anni fa
Erik van der Zalm
750f6c33e3
first commit
13 anni fa