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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,516 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
1,363 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
2 Replies
1,364 Views
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 Kudos
Reply
1,363 Views
sudhakarp
Contributor V

Hi adrian,

          thank you.

0 Kudos
Reply