How to compile a project with custom environment and custom tool-chain?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to compile a project with custom environment and custom tool-chain?

1,535 次查看
janmejayjoshi
Contributor I

1st of all Happy New Year!

 

I'm having a project for LS1021ATWR with custom environment setup using MINGW and custom ARM tool-chain.
Basically I have an environment setup script which sets all required paths and does setups and then I'm able to do make, which compiles my project and I have binaries to flash on the board.

The same process I want to do from CW setup. I was going through couple of documents, attached below.

But still not clear how to setup such project a with existing code so that I can compile it with CodeWarrior?


Need guidance. Thanks you in advance.

标签 (1)
0 项奖励
4 回复数

1,140 次查看
addiyi
NXP Employee
NXP Employee
0 项奖励

1,140 次查看
janmejayjoshi
Contributor I

addiyi, I'm referring the same manual. and I've added the same as a part of question also.
That manual does not fulfill my aim.

So the C project which I need to be build has it's own ENV SETUP file, that needs to be executed 1st.
I know that it needs to be added somewhere as a Build Variable, but what variable can hold that value that is a question for me, Can you guide me here?

0 项奖励

1,140 次查看
addiyi
NXP Employee
NXP Employee

In Project > Properties > C/C++ build > Environment you can set all the necessary variables for building your project.

Adrian

0 项奖励

1,140 次查看
janmejayjoshi
Contributor I

Yeah I know, there I'm finding N number of variables, for different purposes.

Which Build Variable will hold a custom environment setup file, that is my question?

0 项奖励