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,507 次查看
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,354 次查看
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,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 项奖励
回复
1,354 次查看
sudhakarp
Contributor V

Hi adrian,

          thank you.

0 项奖励
回复