Activity

Olivér Pirger
  • refactored the opening API
  • a new unified open function is now available: open folder or file using just its path
  • added crate-level documentation and README, published to crates.io
  • cleaned up code to get rid of warnings when compiling
  • changed crate name because I can
Attachment
1

Comments

Olivér Pirger
Olivér Pirger 7 days ago

You can try the project by adding an MBR formatted disk.img file in the “tests” directory. Create a FAT32 partition on it and add some files. You can tweak read.rs and mount.rs test files to do cool stuff with it!!

Olivér Pirger

After hours of work, I finally got a real SD card working over SPI. On the screenshot you can see it reading the first sector (the Master Boot Record) of a real microSDHC card.

Attachment
0
Olivér Pirger

I’m so back!

Today I added file reading, API compatible with embedded-io-async. sd-fat now reads whole files with .read_exact(). Also did a bit of cleanup around the project and updated dependencies.

Attachment
0
Olivér Pirger

Driver already works! Implemented sensor initialization and command mode reading. There’s also a convenience function for reading both pressure and temperature. Readings are accurate. Returns values in hectopascals (hPa) and degrees Celsius (°C).

I created a crates.io page for trying out the package if you happen to have this sensor.
https://crates.io/crates/dps310-async

I also wrote a little readme.

Attachment
0
Olivér Pirger

What I did today:

  • directory traversal is complete: open directories by path
  • find entries in a directory by name
  • cleaned up the internal and public APIs for cleaner code overall
Attachment
0
Olivér Pirger

Started the project. Here are a few things that are already working:

  • Implemented a RAM based disk “emulator” for testing: loads .img files
  • Parse MBR, find partition
  • Parse BPB, find root directory
  • List entries in any directory by cluster number
  • An extensible API for future expansion: more file systems, partition tables, and block device implementations
  • All this without using the standard library and a heap allocator
Attachment
0
Olivér Pirger

I’m working on my first project! This is so exciting. I can’t wait to share more updates as I build.

Attachment
0