Trinity-11 / FoenixIDE

Development and Debugging Suite for the C256 Foenix Family of Computers
GNU General Public License v3.0
48 stars 14 forks source link

Add SD card support for F256 #37

Closed clandrew closed 1 year ago

clandrew commented 1 year ago

This change adds rudimentary SD card support on FAT that the F256 kernel can talk to. This implements a subset of the SPI/SD card spec-- more specifically it's the subset that is needed by the kernel.

To do this, it

I followed the reference here http://www.rjhcoding.com/avrc-sd-interface-1.php

Some of the FAT code was adjusted a little to account for how F256 kernel works- for example, to include LFN encodings.

image