move project to new ChibiOS version

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
newvoyager
Posts: 1
Joined: Mon Nov 27, 2017 8:37 am

move project to new ChibiOS version

Post 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
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: move project to new ChibiOS version

Post 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
Post Reply