1
0
mirror of https://github.com/marqs85/ossc.git synced 2024-06-08 18:29:30 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Ari Sundholm
af1f8a20d4 ulibSD/sd_io.c: Fix line endings to be consistently CRLF. 2020-11-05 19:11:04 +02:00
Ari Sundholm
598705c7fa ulibSD/sd_io.c: Fix writing to SD card.
There were a few things wrong with the SD card write implementation:
1. The protocol change regarding the interpretation of offsets
   introduced with SDHC cards was not taken into account in the write
   path, unlike in the read path.
2. All SPI writes involved in the process were actually issued as reads
   due to the use of the SPI_RW() function, the implementation of which
   seems to have gone through some churn. Likely just an instance of
   bit-rot.
2020-11-05 19:11:04 +02:00
marqs
6dfd2be3ed Speed up SD card detection. 2016-10-27 23:33:39 +03:00
marqs
611c8763c2 Improve SD card IO. 2016-10-27 01:08:23 +03:00
marqs
f55e9a877e SD SPI implementation finished 2016-10-21 01:19:53 +03:00
marqs
71d60144e8 Timer and SPI added. 2016-10-16 12:53:54 +03:00