Page 1 of 1

move project to new ChibiOS version

Posted: Mon Nov 27, 2017 10:01 pm
by newvoyager
Hello Colleges ,

I try to replace the “old” ChibiOS version 3.0.2 inside of one project by the new version 17.6.0.
The new ChibiOS directory is placed in the same directory near the “old” one and the Makefile
of my project has only three changes of path values for files

startup_stm32f4xx.mk
port_v7m.mk
rules.mk

..and fo coarce for ChibiOS directory


by begin of build I get the follow error message
-------------------
ChibiOS_17.6.0/os/common/startup/ARMCMx/compilers/GCC/rules.mk:226: target 'build/obj/crt0_v7m.S' doesn't match the target pattern
ChibiOS_17.6.0/os/common/startup/ARMCMx/compilers/GCC/rules.mk:226: target 'build/obj/chcoreasm_v7m.S' doesn't match the target pattern
-----------------

What is the suitable way to fix this error ? ... what I have to check ?
Thanks in advance !
Sergej

Re: move project to new ChibiOS version

Posted: Mon Nov 27, 2017 10:44 pm
by Giovanni
Hi,

It is a make problem.

17.6.0 is not the latest version, you should download the latest one. That error is caused by paths in the project Makefile, make sure to take the Makefile and configuration files from the latest version.

Giovanni