af629b3547
Makes fatfs component runnable on host. Depends on the host library build of wear levelling and 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.
20 lines
No EOL
342 B
C
20 lines
No EOL
342 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdarg.h>
|
|
|
|
#include "esp_log.h"
|
|
|
|
void esp_log_write(esp_log_level_t level,
|
|
const char *tag,
|
|
const char *format, ...)
|
|
{
|
|
va_list arg;
|
|
va_start(arg, format);
|
|
vprintf(format, arg);
|
|
va_end(arg);
|
|
}
|
|
|
|
uint32_t esp_log_timestamp()
|
|
{
|
|
return 0;
|
|
} |