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

4 visualizaciones (últimos 30 días)
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 comentarios
Puvaneswaran Balakrishna
Puvaneswaran Balakrishna el 25 de En. de 2021
i have attached one of the model which i tried earlier. this model is demo for PIL but i get the same error,

Iniciar sesión para comentar.

Respuesta aceptada

Aghamarsh Varanasi
Aghamarsh Varanasi el 27 de En. de 2021
Editada: Aghamarsh Varanasi el 27 de En. de 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 comentario
Puvaneswaran Balakrishna
Puvaneswaran Balakrishna el 27 de En. de 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,

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by