cancel
Showing results for 
Search instead for 
Did you mean: 

Build error in STM32 makefile

ARama.7
Associate II

I am trying to build

git clone ://github.com/bbrown1867/stm32-makefile.git

from Ubuntu (virtualbox) command line:

using the command

make

but getting the following error

No rule to make target 'bsp/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_s'

Kindly help to resolve this issue

6 REPLIES 6
Imen.D
ST Employee

Hello @ARama.7​ 

Try cleaning the project and then rebuild it.

Please keep us informed about your update.

Imen 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
ARama.7
Associate II

i cleaned using make clean command

after i tried again build using the command:

make

but same issue is happening

You have entered the toolchain path here, haven't you?

Is the git sub-repo downloaded into the bsp/ subdir?

ARama.7
Associate II

Sorry. I missed

what tools i need to install?

what is the meaning of toolchain path?

Please see this file in that github project.

https://github.com/bbrown1867/stm32-makefile/blob/bf01e37a1f44e7f6a278f65e0dcc8aadf172f8a7/README.md

It is called "README", a hint to actually read it.

ARama.7
Associate II

I tried the following. but in both cases, same error is obtained:

TOOLCHAIN_ROOT = /opt/gcc-arm-none-eabi-5_4-2016q3/bin

and

TOOLCHAIN_ROOT = /opt/gcc-arm-none-eabi-5_4-2016q3/