How elecskku/stm32v3 works
This repository contains a Windows host utility and STM32 firmware for managing files in SPI flash over UART. The host CLI offers device identification, erase, write, read, verification, and a demo flow; the firmware receives commands, handles packet transfers, and accesses flash. Firmware excerpts also show BMP validation and timing for grayscale work, but the omitted code limits certainty about that processing path. The README provides no additional capability details, so unsampled relationships are not inferred.
Main entry points: main.c Command dispatch · main_clean.cpp Host commands
Components 12
Windows host
- CLI and demo
main_clean.cpp - Host commands
main_clean.cpp - Packet builder
main_clean.cpp
STM32 firmware
- Command dispatch
main.c - Packet transfer
main.c - CRC checks
main.c - Image processing
main.c
Flash and image
- SPI flash access
main.c - SPI flash
- BMP validation
main.c
Other components
- Operator
- UART link
Connections 12
- Operator → CLI and demo: runs
main_clean.cpp - CLI and demo → Host commands: dispatches
main_clean.cpp - Host commands → Packet builder: builds packets
main_clean.cpp - Host commands → UART link: sends commands
main_clean.cpp - UART link → Command dispatch: carries commands
main.c - Command dispatch → Packet transfer: handles writes
main.c - Command dispatch → SPI flash access: erases and reads
main.c - Packet transfer → SPI flash access: programs packets
main.c - SPI flash access → SPI flash: reads and writes
main.c - Command dispatch → CRC checks: checks transfers
main.c - Command dispatch → BMP validation: validates image
main.c - Command dispatch → Image processing: reports timing
main.c