How to unlock files

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

How to unlock files

1,035 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daniel on Wed Dec 14 12:03:48 MST 2011
I want to play a little bit with the examples from NXP.

What I want is to put a delay in the "can"-example (with timer32.h)
But it still works in the "blinky"-example, but I can't manage it in the "can"-example.

I think the problem is still in the header files, which are gray (see below).

I tried to create a new project with the files of "blinky" and the src file of "can" but it gave the same problem.

I have no idea how to unlock those files.

[IMG]http://www.appelbanaan.nl/Share/NXP-problem.PNG[/IMG]
0 Kudos
Reply
4 Replies

1,025 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daniel on Wed Dec 14 13:44:19 MST 2011
Okay, thank you for helping me.

The C-files can also be in/exclude from build in the properties window but the H-files only by the properties window.

A small difference, but now I understand how this works.
0 Kudos
Reply

1,025 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Wed Dec 14 13:37:35 MST 2011
Good one ...
how would one exclude a .h file from a build ???

No idea why they did this but at least I found a solution:
right click on the .h file and select Properties, you now see the screen with the C/C++ Build - Settings view for the file with a tick mark next to "Exclude resource from build"

Regards,
[INDENT]Rob
[/INDENT]
0 Kudos
Reply

1,025 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daniel on Wed Dec 14 13:32:20 MST 2011
Thank you, this works fine for the C-files.

But I don't have this option for the H-files.
Which option is for doing the same with the H-files?
0 Kudos
Reply

1,025 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Wed Dec 14 12:39:19 MST 2011
Right click on the file and go to "Resource Configurations -. Exclude from build". You'll see that these files are excluded from the build.
Just remove the tick marks to include this file in the build again.

I guess you want to include timer32.c and timer32.h again.

Regards,
[INDENT]Rob
[/INDENT]
0 Kudos
Reply