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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/21/06 19:42
Read: times


 
#107995 - It's really very simple
Responding to: ???'s previous message
Asok Sankar Rudra said:
what are the steps for multiple files?

1. Write multiple files.
2. Add all files to project
3. build project

Maybe your problem is actually nothing to do with uVision at all?
Are you saying that you just don't know how to do multi-file programs in either 'C' or assembler?

The key is to remember that everyting must be defined exactly once.
Thereafter, external declarations are needed to allow others files to know about items that are defined elsewhere.

In assembler, you need to look for directives like PUBLIC and EXTERN.

In 'C', look to the extern keyword.

List of 15 messages in thread
TopicAuthorDate
Multiple files in Keil µVision2            01/01/70 00:00      
   Step-by-Step            01/01/70 00:00      
      Steps            01/01/70 00:00      
         Output Window            01/01/70 00:00      
            original question            01/01/70 00:00      
               It's really very simple            01/01/70 00:00      
                  Can compile but how to fit 2051?            01/01/70 00:00      
                     You can't!            01/01/70 00:00      
                        But it's working on my table            01/01/70 00:00      
                           Read it yourself!            01/01/70 00:00      
                           Switch to Raisonance            01/01/70 00:00      
                              or stop freeloading            01/01/70 00:00      
   help me            01/01/70 00:00      
      something about keilc programming            01/01/70 00:00      
         keil evaluation version            01/01/70 00:00      

Back to Subject List