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