cancel
Showing results for 
Search instead for 
Did you mean: 

how i get relative paths in subdirs.mk in a stm32h7 duale core prozessor project

Fball.1
Associate

in a standard c project in subdirs.mk are reltive paths:

# Each subdirectory must supply rules for building sources it contributes

src/%.o: ../src/%.c

Although relative linked resource used

in a GNU Tools for STM32 for a stm32h7 duale core prozessor project are absolute paths in subdirs.mk:

# Each subdirectory must supply rules for building sources it contributes

Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.o: C:/home/projekt/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c

0 REPLIES 0