mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-08 02:28:25 -05:00
[PR #1626] fix(labs): use ESP32 SRAM capacity field in lab 02 #9232
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1626
Author: @Shashank-Tripathi-07
Created: 5/3/2026
Status: 🔄 Open
Base:
dev← Head:fix/lab02-esp32-sram-field📝 Commits (1)
9188b7cfix(labs): use ESP32 SRAM capacity for memory check in lab 02📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
labs/vol1/lab_02_ml_systems.py(+1 -1)📄 Description
Summary
Hardware.Tiny.ESP32_S3.memory.capacityreturns 8 MB flash storage (7812 KiB), not SRAMmemory.sram_capacityESP32_RAM_KB = 7812instead of512Same root cause as PR #1625 (lab 01 fix).
Change
Test plan
Hardware.Tiny.ESP32_S3.memory.sram_capacity.m_as("KiB")returns 512 in the mlsysim registryESP32_RAM_KBshows 512 KiB🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.