how to create new .c and .h files in exiting example code

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

how to create new .c and .h files in exiting example code

ソリューションへジャンプ
1,508件の閲覧回数
sudhakarp
Contributor V

Hi,

     i am using frdmk64f120 controller, KDS 2.0 IDE and KSDK 1.1.0 example. i want to create .c and .h header file in ethernet_to_serial project. when i tried its showing following error.

 

thanks and regards,

sudhakar p

ラベル(1)
0 件の賞賛
返信
1 解決策
1,355件の閲覧回数
adriancano
NXP Employee
NXP Employee

Hi,

The example projects of the KSDK 1.1.0 have linked folders, this means that the folders are not physically present on the project folder. For this reason is why you cannot add files to the folders because are not there in the project folder.

You can do it in the next way.

newfile.jpg

Create a new file under the folder where the main.h is (please check file path) then you can drag and drop the new file and the next message will pop up

linkfile.jpg

you can select ok to link the file, this means that a virtual copy will be created into the project folder but the location is different.


Hope this information can help you

Best Regards,
Adrian Sanchez Cano

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,356件の閲覧回数
adriancano
NXP Employee
NXP Employee

Hi,

The example projects of the KSDK 1.1.0 have linked folders, this means that the folders are not physically present on the project folder. For this reason is why you cannot add files to the folders because are not there in the project folder.

You can do it in the next way.

newfile.jpg

Create a new file under the folder where the main.h is (please check file path) then you can drag and drop the new file and the next message will pop up

linkfile.jpg

you can select ok to link the file, this means that a virtual copy will be created into the project folder but the location is different.


Hope this information can help you

Best Regards,
Adrian Sanchez Cano

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,355件の閲覧回数
sudhakarp
Contributor V

Hi adrian,

          thank you.

0 件の賞賛
返信