Comments (4)
Assuming a RAM file system, this is supported in uC/FS.
In the uc/FS documentation you shall find an example of using the RAM file system. At a minimum, you just need to provide the driver files for reading and writing to RAM. Link the driver functions to the RAM FS and then the rest of it shall just work.
from uc-fs.
Assuming a RAM file system, this is supported in uC/FS.
In the Uc/FS documentation you shall find an example of using the RAM file system. At a minimum, you just need to provide the driver files for reading and writing to RAM. Link tghe driver functions to the RAM FS and then the rest of it shall just work.
Thank you for your answer.
I already have RAMFS in use, but at present I expect to have a ROMFS for storing embedded web pages. Is there a way to implement ROMFS?
from uc-fs.
There are two cases for a ROM FS, static or dynamic.
Static FS
Static FS support is built into uc-HTTP, and not directly into uC-FS.
An updated guide for using HTTPs and a static file system can be found in the Micrium-OS documentation. A special configuration is required to enable static FS.
Key parts for a ROM FS is to convert files to binary arrays, which is done through GenerateFS.py. Simply run the script, and then include the resulting files in your project.
Dynamic FS
In contrast to a static FS, the dynamic FS is built directly into uC-FS. There are two options, NAND and NOR. Simply provide the drivers and enable the modules in uC-FS.
from uc-fs.
Thank you.
I will try porting the static file system to the VFS layer of UC-FS.
because I didn't use uC/TCP and uC/HTTP.
from uc-fs.
Related Issues (8)
- non-aligned pointer to read/write buffer HOT 1
- How can I port this library for stm32 ?
- NOR Device formatted with Micrium cannot be mounted on Windows or MacOS. HOT 1
- Remove misleading message about Extra clusters linked to file
- Hardware ECC support
- Whether to support bad block management?
- SD card driver doesn't always align buffers with FS_CFG_BUF_ALIGN_OCTETS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uc-fs.