Skip to content

v0.4.1 — SD bring-up, private PSRAM, heap readouts

Latest

Choose a tag to compare

@hsteinhaus hsteinhaus released this 20 Jul 16:07
· 212 commits to master since this release
3c6fda6

Additive release (0.x semver → patch bump). No breaking changes.

Library — new APIs

  • board::spi2::finish_sd + CardPresence / PreparedCard / PresenceCs (#46) — BSP owns full SD bring-up; presence-resolved card device. HIL both boards.
  • mem::psram_split + PsramSplit / PsramSplitError (#47) — carve a private PSRAM region for a foreign allocator (e.g. LVGL TLSF) while the remainder backs the global heap. HIL both boards.
  • mem::internal_free() / external_free() (#49) — O(1) heap-headroom readouts.

Examples

  • sd demo: free space via free_clusters_hint() — no full-FAT scan (#50).
  • lvgl demo: LVGL assertions now panic ([PANIC]) instead of a silent while(1); spin (#57).

Docs — README + module docs updated; new CLAUDE.md (repo working notes).

Published to crates.io as m5stack-core = "0.4.1".

Full changelog: CHANGELOG.md.