AnsweredAssumed Answered

Proper way to use Cube_FW_ templates?

Question asked by john doe on Jan 17, 2017
Latest reply on Jan 17, 2017 by john doe

How am I supposed to use these? I'm using SW32STM Workbench and can build projects from STM32CubeMX-generated code. I can build and run code from the Cube_FW_Fx examples.


But when I try to copy the files from the Templates into a new directory then import it, it takes some hand-waving to add all the includes, and even then, it complains of a missing target.


Building file: /Users/john/src/stm32/stm32f7xx/templt/SW4STM32/startup_stm32f769xx.s
Invoking: MCU GCC Assembler
arm-none-eabi-as -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -o "Example/SW4STM32/startup_stm32f769xx.o" "/Users/john/src/stm32/stm32f7xx/templt/SW4STM32/startup_stm32f769xx.s"
Finished building: /Users/john/src/stm32/stm32f7xx/templt/SW4STM32/startup_stm32f769xx.s
make: *** No rule to make target `/Users/john/src/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c', needed by `Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o'.  Stop.


21:25:23 Build Finished (took 2s.702ms)


I'm doing something improperly and I am not sure what. Goal is a template that includes BSP and syscalls.c Please advise.