How stmicroelectronics/stm32cubeh7 works
STM32CubeH7 is an embedded firmware package for STM32H7 boards. Developers select board-specific templates, examples, applications, or demonstrations; firmware runs on the target board and uses CMSIS, HAL/LL, BSP, and middleware capabilities. The tree and README establish these package-level roles, while the excerpts show selected DSP and FatFs implementations. Many project-to-driver calls are unsampled, so those links are omitted rather than inferred.
Main entry points: ControllerFunctions.c Controller functions · fatfs_storage.c FatFs storage · Src/main.c Board templates · Src/main.c ADC watchdog example
Components 19
Core libraries
- CMSIS DSP
Drivers/CMSIS/DSP - Controller functions
Drivers/CMSIS/DSP/Source/ControllerFunctions/ControllerFunctions.c - PID initialization
Drivers/CMSIS/DSP/Source/ControllerFunctions/arm_pid_init_q15.c - Sine and cosine
Drivers/CMSIS/DSP/Source/ControllerFunctions/arm_sin_cos_f32.c
Board support
- Adafruit shield BSP
Drivers/BSP/Adafruit_Shield/adafruit_802.c
Firmware projects
- Board templates
Projects/NUCLEO-H723ZG/Templates/Src/main.c - ADC watchdog example
Projects/NUCLEO-H723ZG/Examples_LL/ADC/ADC_AnalogWatchdog/Src/main.c - DAC waveform example
Projects/NUCLEO-H743ZI/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/main.c - HDP application
Projects/STM32H735G-DK/Applications/HDP/HDP_Appli/Src/main.c - HDP boot
Projects/STM32H735G-DK/Applications/HDP/HDP_Boot/Src/main.c - LTDC paint
Projects/STM32H750B-DK/Applications/Display/LTDC_Paint/Src/main.c - FPU fractal
Projects/STM32H747I-DISCO/Applications/FPU/FPU_Fractal/CM7/Src/main.c
Storage and display
- FatFs storage
Projects/NUCLEO-H723ZG/Demonstrations/Src/fatfs_storage.c - SD picture storage
Projects/STM32H743I-EVAL/Applications/Display/LTDC_PicturesFromSDCard/Src/fatfs_storage.c - USB MSC storage
Projects/STM32H743I-EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c - FatFs middleware
- LCD drawing utility
Other components
- Firmware developer
- STM32H7 board
Connections 17
- Firmware developer → Board templates: selects firmware
README.md - Firmware developer → ADC watchdog example: selects example
README.md - Firmware developer → DAC waveform example: selects example
README.md - Firmware developer → HDP application: selects application
README.md - Firmware developer → LTDC paint: selects application
README.md - Board templates → STM32H7 board: runs on
README.md - ADC watchdog example → STM32H7 board: runs on
README.md - DAC waveform example → STM32H7 board: runs on
README.md - HDP application → STM32H7 board: runs on
README.md - LTDC paint → STM32H7 board: runs on
README.md - Controller functions → PID initialization: includes
Drivers/CMSIS/DSP/Source/ControllerFunctions/ControllerFunctions.c - Controller functions → Sine and cosine: includes
Drivers/CMSIS/DSP/Source/ControllerFunctions/ControllerFunctions.c - CMSIS DSP → Controller functions: provides functions
Drivers/CMSIS/DSP/Source/ControllerFunctions/ControllerFunctions.c - FatFs storage → FatFs middleware: reads and writes
Projects/NUCLEO-H723ZG/Demonstrations/Src/fatfs_storage.c - FatFs storage → LCD drawing utility: draws bitmap
Projects/NUCLEO-H723ZG/Demonstrations/Src/fatfs_storage.c - SD picture storage → FatFs middleware: reads files
Projects/STM32H743I-EVAL/Applications/Display/LTDC_PicturesFromSDCard/Src/fatfs_storage.c - USB MSC storage → STM32H7 board: uses SD card