The Blinky project can be easily used to verify the basic tool setup.
It is compliant to the Cortex Microcontroller Software Interface Standard (CMSIS) and uses the CMSIS-RTOS v2 API for RTOS functionality. The CMSIS-RTOS v2 API is supported by various real-time operating systems, for example Keil RTX5 or FreeRTOS.
- At start the
vioLED0
blinks in 1 sec interval. - The
vioBUTTON0
changes the blink frequency and start/stopsvioLED1
.
The board hardware mapping of vioLED0
, vioLED1
, and vioBUTTON0
depends on the
configuration of the CMSIS-Driver VIO.
The real-time operating system FreeRTOS implements the resource management.
It is configured with the following settings:
- Minimal stack size [words]: 768
- Total heap size [bytes]: 24000
- Preemption interrupt priority: 128
- Event Recorder configuration
- Initialize Event Recorder: 1
Refer to Configure CMSIS-FreeRTOS for a detailed description of all configuration options.
The tables below list the device configuration for this board.
The heap/stack setup is in configuration files of related software components.
The example project can be re-configured to work on custom hardware. Refer to "Migrate STM32 Based Example Projects to Custom Hardware" for information.
System Component | Setting |
---|---|
Device | STM32H745XIHx |
ICACHE | enabled |
DCACHE | enabled |
Heap | 64 kB (configured in startup file) |
Stack (MSP) | 1 kB (configured in startup file) |
Clock | Setting |
---|---|
SYSCLK | 400 MHz (Cortex-M7 CPU Clock) |
HCLK | 200 MHz (Cortex-M4 CPU, Bus matrix Clocks) |
APB1 | 100 MHz |
APB2 | 100 MHz |
APB3 | 100 MHz |
CMSIS-Driver VIO | Physical board hardware |
---|---|
vioBUTTON0 | Button USER (PC13) |
vioLED0 | LD6 RED (PJ2) |
vioLED1 | LD7 RED (PI13) |