- Embedded Coder Support Package for STMicroelectronics Discovery Boards
- Simulink Coder Support Package for STMicroelectronics Nucleo Boards
- Embedded Coder Support Package for ARM Cortex-M Processors.
STM32H753ZI Toolchain Folder Name Conflict
11 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Paras Gupta
2024-7-16
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:
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.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!