06
Mar
Fixing the Zephyr Flash Simulator Erase Capability Bug
Today I fixed a bug in the Zephyr RTOS Flash Simulator (#100352 and #100400). The Bug The simulated flash driver incorrectly applied the no_explicit_erase capability. It was overriding the Kconfig settings with a missing Devicetree property since it used a global fallback but couldn’t accommodate boolean properties naturally. This caused even RAM-like configurations (which do not require erasing before writing) to wrongly report needing explicit erases. The Fix To resolve this issue, I submitted PR #105035 with the following targeted fixes: ...