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