move project to new ChibiOS version

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

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

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

move project to new ChibiOS version

Postby newvoyager » Mon Nov 27, 2017 10:01 pm

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: move project to new ChibiOS version

Postby Giovanni » Mon Nov 27, 2017 10:44 pm

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


Return to “General Support”

Who is online

Users browsing this forum: Bing [Bot] and 18 guests