nuttx/boards
Laczen JMS c506c25f19 drivers/mtd: introduce nvblk
NVBLK provides a block device that operates on top of a non volatile
memory (as a mtd device) that enables wear levelling for non volatile
memory. It's operation is similar to the dhara wear levelling library,
but nvblk is meant to be used on smaller (nor, mram, rram) memory.

I am also the author and maintainer of the nvblk library.

A block device can be created during startup by using:
```
nvblk_initialize(0, mtd, CONFIG_MTD_NVBLK_DEFAULT_LBS,
                         CONFIG_MTD_NVBLK_DEFAULT_IOBS,
                         CONFIG_MTD_NVBLK_DEFAULT_SPEB);
```
and a fat filesystem on top of this as:
```
nsh> mkfatfs /dev/mtdblock0
nsh> mount -t vfat /dev/mtdblock0 /mnt
```
this fat filesystem can then be used:
```
nsh> echo "test" > /mnt/test.txt
nsh> cat test.txt
test
nsh>
```

Signed-off-by: Laczen JMS <laczenjms@gmail.com>
2025-08-06 01:53:56 +08:00
..
arm boards: add support for PIC32CZ CA70 Curiosity Evaluation Kit 2025-07-30 19:28:07 +08:00
arm64 boards/imx93-evk: Add a flat build config with OP-TEE 2025-08-03 13:00:47 -03:00
avr arch/avr/avrdx: do not copy const variables into RAM 2025-07-10 12:21:40 -03:00
dummy
hc/m9s12
mips drivers/fs:Always use register_mtddriver() to register the MTD device (patch2) 2025-07-21 15:15:30 -03:00
misoc/lm32/misoc
or1k/mor1kx/or1k
renesas boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
risc-v bugix/risc-v/esp32c6: Fix build error of LP_I2C 2025-08-05 08:00:12 -03:00
sim/sim/sim boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
sparc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
tricore/tc3xx/tc397 style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
x86/qemu/qemu-i486
x86_64/intel64/qemu-intel64 boards/qemu-intel64/qemu.ld: add .lbss, .ldata and .lrodata to approriate sections 2025-07-07 23:45:15 +08:00
xtensa drivers/mtd: introduce nvblk 2025-08-06 01:53:56 +08:00
z16/z16f/z16f2800100zcog
z80 drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
.gitignore
Board.mk
boardctl.c
CMakeLists.txt
dummy.c
Kconfig boards: add support for PIC32CZ CA70 Curiosity Evaluation Kit 2025-07-30 19:28:07 +08:00
Makefile