cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H757I-Eval with CubeMX no Makefile generation option

GCoro
Associate II

I have an STM32H757I-Eval, I wanted to use CubeMX to generate a Makefile like I do for other targets, but the option is greyed out so I can't selected it.

Do you know why is not supported? Do you know when it will be supported?

Many thanks.

9 REPLIES 9
Jin
Associate II

Hi,

I got exactly the same issue for stm32mp157a-ev1, running CubeMX version 5.6.0 on Linux. At first I thought I am missing some plugin or setting, so is this rather a missing feature?

Noppe.Jack
Senior

The same problem on STM32H745 Nucleo board. Has anybody figured out how to solve this?

Ddefs.1
Associate

Hello, same problem here. Any news? ST support?

M.Mourad
Associate II

I have the same issue on CubeMX 6.1 & STM32H755.

Is these options disabled on recent version of CubeMX? Or we are missing some dependencies on host PC!!

NeuroticFlux
Associate

Just chiming in. Recently moved my current project from F7-based to H7, and the lack of makefile auto-generation is causing a fairly significant work overhead. Would love to see this fixed ASAP. Eclipse-based IDEs are not an option in my case.

Isidre Sole
Associate III

Same problem for STM32H757

JMath.2
Associate II

Same here. What's this about?

Eclipse - exact sentiment here. My usual strategy is to avoid the IDE, use MX and get the Makefile. But it's grayed out on H7. I assume this has something to do with there being two cores.

Cube MX 6.3.0 and Nucleo-H745ZI-Q.

I only purchased it because the stm32h735 dev kit wasn't available.

The two cores aren't well supported in the IDE anyway.

I wanted the H735 it actually runs faster and it's easier to develop for without the 2nd core "start/stop" complexity.

Long story - I'm fine ignoring the M4 for now. I just need the Makefile for the M7.

More confirmation that this is related to poor support for the dual-core in H745...

I had CubeMX make two projects: an H735 for GCC Make and an H745 IDE project. This got me all the Drivers for the M7. I took the H735 makefile and modified it to build the M7 in the H745. Most of the work seems to be in adjusting the makefile for all the new folder arrangements for sources strewn about in the M4, M7 and Common folders.

C_SOURCES = \
./CM7/Core/Src/main.c \
./CM7/Core/Src/stm32h7xx_it.c \
./CM7/Core/Src/stm32h7xx_hal_msp.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_eth_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_eth.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c \
./Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_usb.c \
./Common/Src/system_stm32h7xx_dualcore_boot_cm4_cm7.c
 
ASM_SOURCES = \
./CM7/Core/Startup/startup_stm32h745zitx.s
 
C_INCLUDES = \
-I./CM7/Core/Inc \
-I./CM7/Drivers/STM32H7xx_HAL_Driver/Inc \
-I./CM7/Drivers/STM32H7xx_HAL_Driver/Inc/Legacy \
-I./CM7/Drivers/CMSIS/Device/ST/STM32H7xx/Include \
-I./CM7/Drivers/CMSIS/Include \
-I./Drivers/STM32H7xx_HAL_Driver/Inc \
-I./Drivers/STM32H7xx_HAL_Driver/Inc/Legacy \
-I./Drivers/CMSIS/Device/ST/STM32H7xx/Include \
-I./Drivers/CMSIS/Include
 
C_DEFS = \
-DUSE_HAL_DRIVER \
-DCORE_CM7 \
-DSTM32H745xx