fabricedesre / cc3200-rs

Getting Rust to run on a TI cc3200
Mozilla Public License 2.0
7 stars 2 forks source link

Filesystem support #46

Closed tdz closed 7 years ago

tdz commented 7 years ago

I updated the API to be like the Rust file API. I also added a simple example.

tdz commented 7 years ago

Should the high-level API be located in cc3200::io rather than c3200::simplelink?

tdz commented 7 years ago

I pushed an update with the requested small fixes and cleanups. The Read::read_to_end method now work without the additional intermediate copy; it resizes the read buffer in a way similar to the read methods in std::io. The remove function now returns errors.

fabricedesre commented 7 years ago

I agree with moving that to cc3200::io

tdz commented 7 years ago

I pushed an update with the code now being located in cc3200:io and the no-op flush() and sync() methods being removed.