Static avr-libc library providing basic support for SD cards
  • C 54.2%
  • Makefile 38.7%
  • Shell 7.1%
Find a file
2026-03-29 12:51:32 +00:00
nbproject Initial commit 2025-03-25 21:48:23 +01:00
.gitignore Initial commit 2025-03-25 21:48:23 +01:00
CODE_OF_CONDUCT.md Initial commit 2025-03-25 21:48:23 +01:00
libsdc.c Fix comments, build for avrxmega2 2025-11-16 23:04:50 +01:00
libsdc.h Fix comments, build for avrxmega2 2025-11-16 23:04:50 +01:00
LICENSE Initial commit 2025-03-25 21:48:23 +01:00
Makefile Fix comments, build for avrxmega2 2025-11-16 23:04:50 +01:00
README.md Update README.md 2026-03-29 12:51:32 +00:00

libsdc

About

Static avr-libc library providing basic support for SD cards.

Tested with a few recent SD cards with 16/64 GB from SanDisk, Transcend and Samsung.

Features

  • Read single block
  • Read multiple blocks
  • Write single block

Usage

  1. Include libsdc.h and libsdc.a in the project
  2. Implement the _sdc* functions in libsdc.h in the application (this is to make the library device and CPU frequency independent)

TODO

  • Write multiple blocks