ST Discovery Board Support from Embedded Coder

Generate code optimized for Discovery boards.

Explore gallery (2 images)

MATLAB Coder™, Simulink Coder™, and Embedded Coder® generate ANSI®/ISO® C/C++ code that can be compiled and executed on STMicroelectronics® Discovery Boards. Embedded Coder lets you easily configure the code generated from MATLAB® and Simulink® algorithms to control software interfaces, optimize execution performance, and minimize memory consumption.

Embedded Coder provides additional support for the STM32F746G, STM32F769I and STM32F4-Discovery boards that includes automated build and execution, processor-optimized code for ARM® Cortex-M, the ability to perform processor-in-the-loop (PIL) tests with execution profiling, block libraries for on-chip and on-board peripherals, and deployment support using built-in scheduler.

To learn more about the specific Discovery boards and compilers supported for each MathWorks release, see the settings in the Target Hardware Resources section of the Code Generation Configuration Parameters provided with Embedded Coder.

When Embedded Coder support package and the DSP System Toolbox™ support package for ARM Cortex-M are installed, you can perform code verification using PIL tests and code optimization using select DSP System Toolbox filters in Simulink such as FIR. In addition, with Embedded Coder Support Package for STMicroelectronics STM32F4-Discovery board, you can perform on-target rapid prototyping of Simulink models using the board’s peripheral devices and timers. This enables a full workflow for Model-Based Design of STMicroelectronics Discovery Board. For an example refer to Verify FIR Filter on ARM Cortex-M Processor.

You can also use Embedded Coder to create your own ARM-based board support and customizations for additional devices using published APIs and reference examples.

Embedded Coder hardware support packages offer built-in, limited, support for specific hardware, schedulers, and compilers. Please click the Request Hardware Support link if you seek additional hardware support.

Platform and Release Support

See the hardware support package system requirements table for current and prior version, release, and platform availability.

View enhancements and bug fixes in release notes.

Related Hardware Support Views: ARM, Communication Devices, Control Systems, C ∕ C++ Code Generation, Embedded Coder, Embedded Systems, Industrial Automation and Machinery, MathWorks Supported, Medical Devices, Power Electronics Control Design, Simulink Product Family, STMicroelectronics, Support Package Installer Enabled, XCP

Ready to install?

Before installing the support package, confirm you have the correct setup. View system requirements and installation options.

Get support package




Support Package


Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages.

Get support package




  • USB to TTL serial adapter

Don't see the hardware you're looking for?