xmos / xscope_fileio

FileIO interface over xscope
Other
2 stars 10 forks source link

Random access to file not possible #3

Closed ed-xmos closed 3 years ago

ed-xmos commented 3 years ago

As documented, fseek, ftell, fprintf, fscanf missing. This prevents us from accessing wav files (skipping, rewinding to headers etc.)

ed-xmos commented 3 years ago

This has been partially address by https://github.com/xmos/xscope_fileio/pull/4 which now supports fseek. No error checking is included. A simple example provides some test coverage although this should be automated (see https://github.com/xmos/xscope_fileio/issues/2)

ftell is going to be a bit more fiddly as it needs to return a value from the host

ed-xmos commented 3 years ago

ftell now implemented.