← index #18962PR #16903
Related · medium · value 0.978
QUERY · ISSUE

OpenMV Feature: ROMFS IOCTL Documentation and Debug

openby kwagyemanopened 2026-03-21updated 2026-03-21
enhancement

Description

  • Ensure ROMFS write/erase from MicroPython for STM32, IMIXRT, and ALIF works.
  • Add documentation about ROMFS, ioctl API, etc.
  • Make ROMFS bootable?

Code Size

No response

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

CANDIDATE · PULL REQUEST

ports: make naming of ROMFS partition config variables consistent

mergedby dpgeorgeopened 2025-03-11updated 2025-03-13
port-esp8266port-stm32

Summary

Change ROMFS partition configuration variables to be more consistent across the ports, and use index 0 as the starting partition number (instead of index 1).

Reason:

  • vfs.rom_ioctl() numbers the partitions starting from 0
  • mpremote romfs -p <partition id> numbers the partitions starting from 0

Testing

CI should test this, building the boards that enable ROMFS on stm32 and esp8266.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied