cancel
Showing results for 
Search instead for 
Did you mean: 

How to create new STM32 project for only 1 core for a dual core controller (STM32H757 Eval board)

YGaju.1
Associate II

I want to create project for only CM7 core. But, now what happens is when I try to create a new STM32 project for STM32h757 controller, then it creates 2 projects CM7 & CM4 inside 1 project.

I have tried by deleting CM4 project, then built CM7, its building. But I find this as a workaround solution.

Need a solution for properly creating a project for single core.

This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Bouraoui Chemli
ST Employee

Hi @YGaju.1​ 

The two cores boot either separately or together. This is configurable using dedicated option bytes BCM7 and BCM4.

Please refer to RM0399 Rev 3, section 2.6 describes the boot configuration. Also, in AN5557, a dedicated section 3.2 Dual-core boot.

YGaju.1
Associate II

Hi Bouraoui Chemli ,

Thanks for your reply.

Ya I understand that these 2 cores can be managed by the option byte, and later you can disable/ enable it from the option byte. But, I was trying to figure out a way to create only a project where I have only 1 core. (i.e. CM7).

For eg. if I create a new STM32 project for STM32H757 controller, then a project is created inside which 2 more nested projects are created each for CM7 and CM4. But, in my case I need project to be created for only 1 core whenever I create a new STM32 project.

Bouraoui Chemli
ST Employee

Hi @YGaju.1​ 

The STM32CubeMX is in line with default templates, it generate a project for each core.

  • BootCM4_CM7
  • BootCM7_CM4Gated  
  • BootCM4_CM7Gated
  • BootCM7_CM4Gated_RAM

Templates are provided in STM32CubeH7 package via this path: STM32Cube_FW_H7_V1.10.0\Projects\STM32H747I-EVAL\Templates

Maybe you can adapt STM32H743 example to your need.