Makes spiffs component runnable on host. Depends on the host library build of flash emulator. Includes a basic sanity test of mounting a volume, opening a file, writing to the file, reading the file, closing the file and unmounting volume.
21 lines
225 B
C
21 lines
225 B
C
#include "sys/lock.h"
|
|
|
|
void _lock_acquire(_lock_t *lock)
|
|
{
|
|
return;
|
|
}
|
|
|
|
void _lock_close(_lock_t *lock)
|
|
{
|
|
return;
|
|
}
|
|
|
|
void _lock_init(_lock_t *lock)
|
|
{
|
|
return;
|
|
}
|
|
|
|
void _lock_release(_lock_t *lock)
|
|
{
|
|
return;
|
|
}
|