Skip to content

feat(pc): virtual NAND simulation for little_flash - #140

Merged
wendal merged 49 commits into
masterfrom
feat/pc-nand-lf-sim
May 29, 2026
Merged

feat(pc): virtual NAND simulation for little_flash#140
wendal merged 49 commits into
masterfrom
feat/pc-nand-lf-sim

Conversation

@wendal

@wendal wendal commented May 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Add PC virtual SPI NAND backend for little_flash (JEDEC/status/read/prog/erase)
  • Add deterministic bad-block simulation and fast/dev/realistic timing profiles
  • Add lf_nand_basic testcase covering RED/GREEN, /nand mount, and /lfs2 coexistence

Test Plan

  • cd bsp\pc && cmd /c build_windows_32bit_msvc.bat
  • LF_NAND_TEST_MODE=GREEN, LUAT_PC_NAND_PROFILE=fast: run lf_nand_basic
  • LF_NAND_TEST_MODE=RED: run lf_nand_basic (expected init-fail path)

shuaizenge and others added 30 commits May 21, 2026 16:20
Signed-off-by: PeakRacing <1473454180@qq.com>
完整实现MQTT多客户端管理功能,支持多连接管理、订阅发布、断线重连、日志展示,附带应用元信息和图标资源。
PeakRacing and others added 19 commits May 25, 2026 14:51
- Add configurable virtual SPI NAND backend with JEDEC/status/read/prog/erase flow

- Add deterministic bad-block and profile-based timing simulation

- Add lf_nand_basic testcase with RED/GREEN mode and /nand mount verification

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 25, 2026 13:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 10 committers have signed the CLA.

❌ shuaizenge
❌ jiangfang001
❌ Jiangqian
❌ shihao-w
❌ PeakRacing
❌ chao-HHH-lang
❌ li3211
❌ allewalker
❌ wendal
❌ mengyang-GitHub


Jiangqian seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sonarqubecloud

Copy link
Copy Markdown

@wendal
wendal merged commit 54cc1d7 into master May 29, 2026
15 of 16 checks passed
@wendal
wendal deleted the feat/pc-nand-lf-sim branch May 29, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.