Martin Rutschmann
39867e87cd
Use SPI library for Teensy LC
With this commit no direct register access to SPI hardware should be done anymore for Teensy LC. This is done in the same way as for Teensy 4. Additionally the USE_TEENSY4_SPI define was renamed to USE_SPI_LIB as it is now used for not only Teensy 4.
pirms 4 gadiem
PaulStoffregen
876e80a8d4
Fix compiler warning
pirms 5 gadiem
PaulStoffregen
afc00aa788
Use polling for native SDIO - improves compatibility
pirms 5 gadiem
PaulStoffregen
4ca861105f
Fix SD on SPI issues on IMXRT
pirms 5 gadiem
PaulStoffregen
f23b145e95
BUILTIN_SDCARD define on IMXRT1062
pirms 5 gadiem
Mike S
4a6e3c12ce
Updated fir T40=-Beta2 Builtin SDcard
pirms 5 gadiem
Timo Sandmann
edc836b37d
check alignment for DMA buffers
pirms 5 gadiem
WMXZ-EU
3d18f19aaa
Ported to T4
-added T4 aware functions
-chenged transfer from polling to internal DMA (blocking mode)
pirms 5 gadiem
Frank
b661c6825d
Update Sd2Card.cpp
pirms 5 gadiem
Frank
6773d16a08
Update Sd2PinMap.h
pirms 5 gadiem
Frank
07d6da6eec
Update Sd2Card.cpp
pirms 5 gadiem
Frank
b5e7a827e7
add 256MHz
pirms 6 gadiem
PaulStoffregen
a6da621578
Fix timeouts
pirms 7 gadiem
Frank
9c97cdaf2a
fix comments
pirms 7 gadiem
Frank
cea34a24d8
enable required Pullups in SDHC_ReleaseGPIO(void)
pirms 7 gadiem
Frank Bösing
b4f700fd08
Fix read >= 64KB
(attention, untested)
pirms 7 gadiem
Frank Bösing
8db1e3ed1c
Fix writes >= 64KB
pirms 7 gadiem
PaulStoffregen
e02764de2f
Even more startup clock cycles - clear any stale card state
pirms 7 gadiem
PaulStoffregen
044452fc45
Fix SDIO clock config
pirms 7 gadiem
PaulStoffregen
af803a9dbe
Improve SD card init on Teensy 3.5 & 3.6
pirms 7 gadiem
PaulStoffregen
36ea5fac57
Fix detection of old SD cards on Teensy 3.5 & 3.6
pirms 8 gadiem
PaulStoffregen
0d0d071957
Add support for Kinetis SDHC on Teensy 3.5 & 3.6
pirms 8 gadiem
PaulStoffregen
4ae02baf25
More carefully balance chip select low/high
pirms 8 gadiem
PaulStoffregen
e524fd7739
Delete even more never-used stuff
pirms 8 gadiem
PaulStoffregen
88854a530a
Delete more leftover unused stuff
pirms 8 gadiem
PaulStoffregen
48264458ef
Eliminate never-used partial block read
pirms 8 gadiem
PaulStoffregen
d06b82c9ba
Remove never-used code
pirms 8 gadiem
PaulStoffregen
8bf0af2af2
Remove unused FreeRam function
pirms 8 gadiem
PaulStoffregen
60ada1cdf9
Add hardware defs
pirms 8 gadiem
PaulStoffregen
7285bbce2d
avoid timeout lock if millis() approaches 2^16
pirms 9 gadiem
PaulStoffregen
b91b00957c
Add Teensy 3.x optimized code
pirms 9 gadiem
PaulStoffregen
e643f24cdd
Fix error on Teensy 2.0 & LC
pirms 9 gadiem
PaulStoffregen
238964e9e3
Fix compiler warnings
pirms 9 gadiem
PaulStoffregen
6b0930b514
Fix SPI transaction mismatch errors
pirms 10 gadiem
PaulStoffregen
841c84dfe6
Default to 24 MHz clock on Teensy 3.x
pirms 10 gadiem
PaulStoffregen
1416d3aebd
Add SPI transaction support
pirms 10 gadiem
PaulStoffregen
56677045fb
Remove unused SOFTWARE_SPI code
pirms 10 gadiem
PaulStoffregen
bcef7d0b2d
Import Teensyduino 1.19 modifications
pirms 10 gadiem
PaulStoffregen
ae4b0cca06
Import SD library from Arduino 1.0.5
pirms 10 gadiem