フィルターのクリア

How do I migrate my model from the "Simulink Coder Support Package for STMicroelectronics Nucleo Boards" to the "Embedded Coder Support Package for STMicroelectronics STM32 Processors"?

2 ビュー (過去 30 日間)
How do I migrate my model from the Simulink Coder Support Package for STMicroelectronics® Nucleo Boards (short name: "Simulink Coder Nucleo package") to the newer Embedded Coder Support Package for STMicroelectronics STM32 Processors (short name: "Embedded Coder STM32 package"), which has richer functionality?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 2 月 29 日
編集済み: MathWorks Support Team 2024 年 2 月 29 日
To migrate your model from the Simulink Coder Nucleo package to the Embedded Coder STM32 package, you need to apply the basic steps below. Note that an Embedded Coder license is required.
The following videos are great to get started with the Embedded Coder STM32 package:
Here is the complete overview of all the required steps:
1. Install the products "Embedded Coder " and "Embedded Coder Support Package STMicroelectronics STM32 Processors" from Add-On Explorer.
2. Run the Hardware Setup by clicking "Setup Now" when the support package installation is completed, or by opening Add-on Manager and clicking the gear icon next to "Embedded Coder Support Package for STMicroelectronics STM32 Processors".
3. Go to the Hardware Implementation > Hardware Board settings in your model.
The model will currently be configured for one if the Simulink Coder Nucleo package hardware boards (STM32 Nucleo XXXXXX):
To migrate the model, select the corresponding Embedded Coder STM32 package hardware board (STM32XXXX Based):
For example, "STM32 Nucleo F401RE" or "STM32 Nucleo F411RE" can be migrated by selecting the new Hardware Board as "STM32F4xx Based". 
4. Create an STM32CubeMx-Project (.ioc) file with the desired configuration and reference it from the Hardware Implementation pane. Refer to the following documentation: Getting Started with STMicroelectronics STM32 Processor Based Boards
5. Replace any blocks from the Simulink Coder Nucleo library with the corresponding blocks from the Embedded Coder STM32 library. There will be a compilation error in case of such a mismatch. This should be intuitive, for example, the 'Digital Read' or 'Digital Write' blocks from the 'Simulink Coder Nucleo library are named 'Digital Port Read' and 'Digital Port Write' in the Embedded Coder STM32 library.

その他の回答 (0 件)

タグ

タグが未入力です。

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by