How istarc/stm32 works
This repository is a collection of STM32F4-Discovery firmware examples, reusable CMSIS-DSP and board-support libraries, and small mbed/RTOS sample applications. The representative firmware workflow starts in an application entry point, initializes board peripherals, and runs a demo; the Demonstration app also configures the accelerometer and USB features. Other examples independently exercise peripherals or demonstrate RTOS tasks and queue-based signaling. The README describes building, deploying, and testing projects, but those are environment workflows rather than runtime components. Connections are limited to relationships visible in the excerpts or source index; unsampled DSP and example internals are grouped by their exact directories.
Main entry points: main.c Demo Application · main.cpp FreeRTOS Sample · main.h Demo Configuration · usbd_hid_core.h USB HID Class
Components 22
Board Demonstration
- Demo Application
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.c - Demo Configuration
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.h - USB HID Class
STM32F4-Discovery_FW_V1.1.0/Libraries/STM32_USB_Device_Library/Class/hid/inc/usbd_hid_core.h - USB User Callbacks
STM32F4-Discovery_FW_V1.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_usr.h - USB Descriptors
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/usbd_desc.h
Firmware Libraries
- LIS302DL Driver
STM32F4-Discovery_FW_V1.1.0/Utilities/STM32F4-Discovery/stm32f4_discovery_lis302dl.h - Audio Codec Support
STM32F4-Discovery_FW_V1.1.0/Utilities/STM32F4-Discovery/stm32f4_discovery_audio_codec.h - Basic Math
STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/DSP_Lib/Source/BasicMathFunctions - Complex Math
STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/DSP_Lib/Source/ComplexMathFunctions - Digital Filters
STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/DSP_Lib/Source/FilteringFunctions - Matrix Math
STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/DSP_Lib/Source/MatrixFunctions - Statistics
STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/DSP_Lib/Source/StatisticsFunctions - Fast Math
STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/DSP_Lib/Source/FastMathFunctions - Control Functions
STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/DSP_Lib/Source/ControllerFunctions - MSC Storage Callbacks
STM32F4-Discovery_FW_V1.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_storage_template.c
Peripheral Samples
- Peripheral Examples
STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples - Audio Playback
STM32F4-Discovery_FW_V1.1.0/Project/Audio_playback_and_record/src/main.c
mbed Applications
- FreeRTOS Sample
mbed-project-wizard/mbed-freertos/main.cpp - mbed RTOS Sample
mbed-project-wizard/mbed-mbedrtos/main.cpp - Bare-metal Sample
mbed-project-wizard/mbed-none/main.cpp - Interrupt Manager
examples-xunit/native/NativeSemihosting.mbed-cpput/lib/mbed/common/InterruptManager.cpp
Other components
- Board User
Connections 7
- Board User → Demo Application: operates
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.c - Demo Application → Demo Configuration: uses definitions
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.c - Demo Application → USB HID Class: uses HID
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.c - Demo Application → USB User Callbacks: uses callbacks
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.c - Demo Application → USB Descriptors: uses descriptors
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.c - Demo Application → LIS302DL Driver: configures and reads
STM32F4-Discovery_FW_V1.1.0/Project/Demonstration/main.c - FreeRTOS Sample → Peripheral Examples: demonstrates board I/O