8000 RIOT/dist/tools/mkconstfs at master · slahmer97/RIOT · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

mkconstfs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Introduction

This tool creates a .c file including all data from a local directory as data structures that can be mounted using constfs.

Usage

mkconstfs.py /path/to/files /

#include "vfs.h"
#include "fs/constfs.h"
extern const vfs_mount_t _constfs;

[...]

vfs_mount((vfs_mount_t *)&_constfs);

mkconstfs2

This is an alternative tool that takes a list of files instead of a whole directory.

0