Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/08/07 08:50
Read: times


 
#140409 - Insufficient Information
Responding to: ???'s previous message
Vimal Amin said:
I am writing my drivers in asm and application in C.

You need to state precisely what tools you are using - make, model, and version numbers!

Both needs common constants (about 50).

What do you mean by "constants"?

If they are 'C' "variables" qualified with 'const', then they work like any other Public symbol.

If they are 'C' #defines, that's different...

Is there a way so that I can have common file/declaration?

That depends on the particular tools you're using; for Keil, see http://www.keil.com/forum/docs/thread10004.asp



List of 8 messages in thread
TopicAuthorDate
Constants as extern            01/01/70 00:00      
   Insufficient Information            01/01/70 00:00      
      tool-independent approach            01/01/70 00:00      
         Preprocessing            01/01/70 00:00      
   Example            01/01/70 00:00      
      RTFM?            01/01/70 00:00      
   Here is one way to do it            01/01/70 00:00      
   Thanks a lot            01/01/70 00:00      

Back to Subject List