Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32H7RS project creation is not working #164

Open
FerdinandEn opened this issue Dec 21, 2024 · 4 comments
Open

STM32H7RS project creation is not working #164

FerdinandEn opened this issue Dec 21, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@FerdinandEn
Copy link

FerdinandEn commented Dec 21, 2024

Bug Report

  • OS and Version: Windows 11
  • VS Code Version: 1.96.2
  • CMSIS-Solution-Extension 1.46.0
  • CMSIS-Soultion 2.7.0
  • Pack STM32H7RSxx_DFP v1.0.0

With the current version of the tools, it is not possible to create a project for the STM32H7RS. This processor has a boot and an application project.
The two projects are not created. I have created both projects manually. You can start CubeMX and the files are also generated by CubeMX. However, they are not integrated into the projects.

  • No two projects are offered when the project is created. For a multicore (CM7/CM4) or Trustzone project, the two required projects are offered.
  • The cgen files required for integrating the CubeMX files are not created

To Reproduce
Steps to reproduce the behavior:

  1. Create a Project (Blank solution) for STM32H7S3L8 -> Only one project
  2. Include CubeMX (Software Components)
  3. Start CubeMX and generate Code -> cgen not created

The same applies to the Keil MDK (uVision)

@FerdinandEn FerdinandEn added the bug Something isn't working label Dec 21, 2024
@ReinhardKeil
Copy link
Collaborator

Thanks for raising this issue. We are working with ST on a solution. Expect it in Feb/Mar 2025 (as it requires a change in CubeMX).

@JonatanAntoni
Copy link
Member

JonatanAntoni commented Jan 28, 2025

Reproduced: In v1.46.0 and the device STM32H7S3L8Hx only Blank solution template is shown. This default template needs manual project configuration and seems not to work for CubeMX.

Instead, the STM32H7RSxx_DFP provides a specific CubeMX solution template which contains two projects (Bootloader and Application). With the next release the create solution dialog should be fixed. As a workaround, one could copy the template manually from the pack install location.

@JonatanAntoni JonatanAntoni moved this from Backlog to In review in CMSIS Solution Extension Jan 28, 2025
@JonatanAntoni JonatanAntoni moved this from In review to Backlog in CMSIS Solution Extension Jan 28, 2025
@JonatanAntoni
Copy link
Member

JonatanAntoni commented Jan 29, 2025

Second issue is the outdated/erroneous Cube template shipped in STM32H7RSxx_DFP v1.0.0. The .cproject.yml files are missing the following snippet:

  generators:
    options:
    - generator: CubeMX
      map: <project>

This issue is solved in https://github.com/Open-CMSIS-Pack/STM32H7RSxx_DFP/blob/b801921a3c695749efbd408a061ddf5e45d214c3/Templates/CubeMX/Appli/Appli.cproject.yml#L10C1-L13C17 and will be shipped in the next release of the DFP.

As a workaround, one could either patch the .cproject.yml files manually, or install the dev branch of https://github.com/Open-CMSIS-Pack/STM32H7RSxx_DFP as a local repository:

gh repo clone Open-CMSIS-Pack/STM32H7RSxx_DFP
cd STM32H7RSxx_DFP
git checkout dev
cpackget add Keil.STM32H7RSxx_DFP.pdsc

Attention: cpackget 2.1.5 which is shipped in CMSIS-Toolbox 2.7.0 is affected by Open-CMSIS-Pack/cpackget#421. The above use of cpackget add to register the local pack will corrupt local_repository.pidx file so that it gets ignored and no local packs are used anymore.

@ReinhardKeil
Copy link
Collaborator

Note: we are waiting for the next CubeMX (should come in Feb/Mar) as there are other issues with STM32H7RS series.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants