STM32-Template icon indicating copy to clipboard operation
STM32-Template copied to clipboard

Error when I type "make"

Open Disminder opened this issue 11 years ago • 1 comments

make: *** No rule to make target "system_stm32f10x.o", needed by "Demo.elf". Stop.

I only change paths to periph.library and to gcc.

Why it appear and how to fix it?

Disminder avatar Dec 21 '13 12:12 Disminder

I've been looking at what might be going on. I noticed that ST has changed the layout of the CMSIS directory. I'm using the latest which has this form:

....../Libraries/CMSIS/Device/ST/

whereas the one distributed with the discovery kit has this form:

....../Libraries/CMSIS/ST/STM32F0xx

I think that you'll need to change this line in Makefile.common

DEVICE=$(LIBROOT)/CMSIS/Device/ST/STM32F0xx

to

DEVICE=$(LIBROOT)/CMSIS/ST/STM32F0xx

On Sat, Dec 21, 2013 at 7:31 AM, Disminder [email protected] wrote:

make: *** No rule to make target "system_stm32f10x.o", needed by "Demo.elf". Stop.

I only change paths to periph.library and to gcc.

Why it appear and how to fix it?

— Reply to this email directly or view it on GitHubhttps://github.com/geoffreymbrown/STM32-Template/issues/2 .

geoffreymbrown avatar Dec 21 '13 19:12 geoffreymbrown