Effacer les filtres
Effacer les filtres

Why do i receive an error when building code for STM32 application in MATLAB 2019B?

5 vues (au cours des 30 derniers jours)
I tried an example from STM32 -MAT/Target and when building code for the application STM 32F302R8 the following error is returned; i have tried all the examples related to STM32 application and same error is returned. Please guide me.
Adding source and include directories to make process.
STM32 package install path: C:\Users\PBALAK~1\ONEDRI~1\DOCUME~1\MATLAB\STM32-~1\STM32
- additional source directories:
C:\Users\PBALAK~1\ONEDRI~1\DOCUME~1\MATLAB\STM32-~1\STM32\addSrc\src
- additional include directories:
C:\Users\PBALAK~1\ONEDRI~1\DOCUME~1\MATLAB\STM32-~1\STM32\addSrc\inc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
### Real-Time Workshop build procedure for method: 'before_make
### modelName: 'stm32_external_mode
### gcs: 'stm32_external_mode
### bdroot: 'stm32_external_mode
### Real-Time Workshop build procedure for method: 'error
### modelName: 'stm32_external_mode
### gcs: 'stm32_external_mode
### bdroot: 'stm32_external_mode
### Real-Time Workshop build procedure for model: 'stm32_external_mode' aborted due to an error.
The call to stm32_make_rtw_hook, during the before_make hook generated the following error:
Reference to non-existent field 'codeFormat'.
The build process will terminate as a result.
Caused by:
Reference to non-existent field 'codeFormat'.
  4 commentaires
Puvaneswaran Balakrishna
Puvaneswaran Balakrishna le 25 Jan 2021
i have attached one of the model which i tried earlier. this model is demo for PIL but i get the same error,

Connectez-vous pour commenter.

Réponse acceptée

Aghamarsh Varanasi
Aghamarsh Varanasi le 27 Jan 2021
Modifié(e) : Aghamarsh Varanasi le 27 Jan 2021
Hi,
As the Simulink Model uses a custom 'tlc' and a custom template make file (tmf), code generation is not possible at our end. I suggest you to contact MathWorks support to resolve this issue.
  1 commentaire
Puvaneswaran Balakrishna
Puvaneswaran Balakrishna le 27 Jan 2021
I seek answer from ST community, apparently the STM32 Target support which uses STM32.tlc is not compatible in Matlab 2019b. Thank you for the feedback,

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by