urgent in codewarrior

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

urgent in codewarrior

3,479件の閲覧回数
koko
Contributor I
 I have a critical problem in code warrior, that's I want to combine two
projects to be one project.

the first project is written with mixed c & asm and it's the main
program to be burnt on the MCU (mc9s12ne64).

the second project is written in C only, and it includes TCP/IP
function.

Now we want to add TCP/IP function to the main program..i.e second project to be a part of the first project, but the problem we faced is :
The files and Link order in the project window inside the project file (.mcp) of each project are different. i.e some files needed by second project is not in the files of first project. so we were obliged to add them manually by right click and selecting crate groups and add files. but we found that some
files (like MC9S12NE64.c) have the same name in each project, but not the same content! so what to do?

Is there some civilzed way to combine two projects?
ラベル(1)
タグ(1)
0 件の賞賛
返信
4 返答(返信)

1,134件の閲覧回数
koko
Contributor I
yes that's exactly what we wanted to do, and finally we succeeded :smileytongue: thanx for your help
0 件の賞賛
返信

1,134件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
Well, the simplest thing would probably be to rename the files :smileyhappy:.
With CW, make sure every project (build target) finds its own "MC9S12NE64.c" before the other one in its search path. The order of the search paths does matter, they can be dragged and droped.
Daniel
0 件の賞賛
返信

1,134件の閲覧回数
koko
Contributor I

Sorry, I am a beginner in CW, so I don't understand some terms like search paths and build target!! but i would explain the problem in a more clear way: how to combine two projects, i.e how to make the second project be a function to be called by the first project, knowing that each project has its own files (in the project window) and some of these files have the same name but different in content!!!

0 件の賞賛
返信

1,134件の閲覧回数
CrasyCat
Specialist III

Hello

Do you mean you want to create an object library including TCP/IP functions and use that library in your project?

Or are you looking for something else?

I do not understand what you are trying to do here.

CrasyCat

0 件の賞賛
返信