How zanostro/argb_zan_skvarca works
This STM32H750 application combines a TouchGFX interface with WS2812B addressable-LED animation, alongside JPEG/display support and a separate external-memory boot program. The principal workflow is user interaction through the GUI, with model/controller code coordinating LED animation and timer/DMA output. The excerpts confirm the LED transmission implementation and touch sampling; several GUI, animation, and startup relationships are based only on indexed references, so uncertain links are omitted or marked dashed.
Main entry points: addressable_rgb_controller.c WS2812 controller · Src/main.c Application main · Model.cpp GUI model · Src/main.c Boot program
Components 21
Application startup
- Application main
Core/Src/main.c - Touch BSP
Drivers/BSP/STM32H750B-DK/stm32h750b_discovery_ts.c
TouchGFX interface
- TouchGFX runtime
TouchGFX/App/app_touchgfx.c - Frontend application
TouchGFX/gui/src/common/FrontendApplication.cpp - GUI model
TouchGFX/gui/src/model/Model.cpp - LED screen
TouchGFX/gui/src/screen1_screen/Screen1View.cpp - Screen two
TouchGFX/gui/src/screen2_screen/Screen2View.cpp - Entry screen
TouchGFX/gui/src/entryscreen_screen/EntryScreenView.cpp - Touch sampling
TouchGFX/target/STM32TouchController.cpp
LED animation
- LED definitions
Core/Inc/leds.h - Animation logic
STM32CubeIDE/Application/User/animation.c - WS2812 controller
STM32CubeIDE/Application/User/addressable_rgb_controller.c - Animation interface
Core/Inc/animation.h
Display and media
- QSPI board driver
Drivers/BSP/STM32H750B-DK/stm32h750b_discovery_qspi.c - SDRAM board driver
Drivers/BSP/STM32H750B-DK/stm32h750b_discovery_sdram.c - JPEG utilities
Utilities/JPEG/jpeg_utils.c - JPEG HAL
Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_jpeg.c
External-memory boot
- Boot program
ExtMem_Boot/Src/main.c - Memory startup
ExtMem_Boot/Inc/memory.h
Other components
- User
- External memory
Connections 16
- User → Frontend application: interacts
- Application main → TouchGFX runtime: initializes
- Frontend application → GUI model: updates
- GUI model → LED screen: notifies
- LED screen → WS2812 controller: requests LED action
- GUI model → WS2812 controller: uses controls
- WS2812 controller → Animation logic: queues animation
- WS2812 controller → LED definitions: encodes LED data
STM32CubeIDE/Application/User/addressable_rgb_controller.c - WS2812 controller → Animation interface: accepts animations
STM32CubeIDE/Application/User/addressable_rgb_controller.c - Touch sampling → Touch BSP: samples touch
TouchGFX/target/STM32TouchController.cpp - Application main → QSPI board driver: initializes storage
Core/Src/main.c - Application main → SDRAM board driver: initializes memory
- Application main → JPEG utilities: configures JPEG
- JPEG utilities → JPEG HAL: uses hardware
- Boot program → Memory startup: starts memory
ExtMem_Boot/Src/main.c - Boot program → External memory: jumps to application