Skip to main content
Visitor II
July 14, 2026
Question

STM32CUBEMX2 with STM32C542 Not able to generate CMSIS-DSP code

  • July 14, 2026
  • 2 replies
  • 70 views

I have loaded the pack for CMSIS and CMSIS-DSP using the Pack Manager in STM32CUBEMX2. However, when generating code in the Project Settings, the CMSIS appears  in the Packs Section and is generated in my project directory but the CMSIS-DSP does not appear in the Packs Section and is not generated. I want to use the DSP features but not able to. Any advice?

2 replies

ST Technical Moderator
July 16, 2026

Hello ​@jbyrneiu 

Thank you for bringing this issue to our attention.

I reported this internally.

Internal ticket number: CDM0064396 (This is an internal tracking number and is not accessible or usable by customers).

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
ST Technical Moderator
August 10, 2026

Hello ​@jbyrneiu 

At the moment, STM32CubeMX2 GUI does not yet provide the option to add components that are not listed in the configurable components view.

However, the good news is that this is still possible by using the CLI. STM32CubeMX2 provides an add-component command that allows you to add your own component directly to an IOC2 project.

(https://dev.st.com/stm32cube-docs/stm32cubemx2/1.1.0/en/docs/markup/CubeMX2_Command_Lines.html#add-component )

Example 

cube mx composer add-component --project-path <my_path> --software-project <my_project_name> --component-id 'STMicroelectronics.CMSIS-DSP.1.17.0$STMicroelectronics::CMSIS:DSP&Source@1.17.0#CMSISCORE'

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om