STM32H753ZI Toolchain Folder Name Conflict

4 Ansichten (letzte 30 Tage)
Ben Hudson
Ben Hudson am 15 Jul. 2024
Beantwortet: Paras Gupta am 16 Jul. 2024
I'm trying to generate C code from a block in my Simulink model and deploy this to an STM Nucleo board with the STM32H753ZIT6 processor. I am able to generate C code from my model but have so far been unable to deploy it to the board. I have followed the instructions at https://uk.mathworks.com/help/ecoder/stm32-setup-and-configuration.html to setup the STM32 support package but when I right click the block and select "Deploy this subsystem to hardware", I get the following error:
Error:The definition of property 'TOOLCHAIN_FOLDER_NAME' in class 'stm32cube.mdkarm' differs from its definition in the superclass 'stm32cube.mxprojectParser'. This is caused by either conflicting access permissions or differing values of the Constant attribute.
Has anyone come across this before? I cannot find the classes the error is referring to.

Akzeptierte Antwort

Paras Gupta
Paras Gupta am 16 Jul. 2024
Hello Ben,
I understand that you are a facing a toolchain specifc error when trying to deploy a subsystem in your model to a STM32H753ZIT6 Nucleo Board.
The error provided in the question could occur when the model is configured to use "Armclang compiler" toolchain for code generation. It is to be noted that the Armclang toolchain is not supported for the "Embedded Coder Support Package for STMicroelectronics STM32 Processors" which is based on the CubeMX workflows. This support package only supports the default "GNU Tools for ARM Embedded Processors" toolchain.
The Armclang compiler toolchain is ONLY supported by the following support packages:
  1. Embedded Coder Support Package for STMicroelectronics Discovery Boards
  2. Simulink Coder Support Package for STMicroelectronics Nucleo Boards
  3. Embedded Coder Support Package for ARM Cortex-M Processors.
The same has been mentioned in the 'Limitations' section of the documentation on 'Set Up and Configure Armclang Compiler Toolchain for Code Generation', the link to which is given below:
Thus, to resolve the error, you might have to configure your model to use the "GNU Tools for ARM Embedded Processors" toolchain or setup the "Simulink Coder Support Package for STMicroelectronics Nucleo Boards" support package. The following link can be helpful to setup and configure this support package:
Hope this helps.

Weitere Antworten (0)

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by