Difference between revisions of "8051 Library Usage Guide"
Line 1: | Line 1: | ||
'''Libray usage guide''' | '''Libray usage guide''' | ||
*''Below example demonstrates the step by step procedure to include the libraries into any applications.'' | *''Below example demonstrates the step by step procedure to include the libraries into any applications.'' | ||
− | '''Step 1:''' Open the Keil software and select the New Microvision project from Project Menu as shown below.'' | + | '''Step 1:''' ''Open the Keil software and select the New Microvision project from Project Menu as shown below.'' |
[[File:1Microvision_Project.png|720x480px|720x480px]] | [[File:1Microvision_Project.png|720x480px|720x480px]] | ||
− | '''Step 2:''' Browse to your project folder and provide the project name and click on save.'' | + | '''Step 2:''' ''Browse to your project folder and provide the project name and click on save.'' |
[[File:2Project_Folder.png|720x480px|720x480px]] | [[File:2Project_Folder.png|720x480px|720x480px]] | ||
− | '''Step 3:'''Once the project is saved a new dialog box “Select Device for Target” opens, Select the controller(Atmel:At89s52/NXP:P89v51rd2) and click on OK.'' | + | '''Step 3:''' ''Once the project is saved a new dialog box “Select Device for Target” opens, Select the controller(Atmel:At89s52/NXP:P89v51rd2) and click on OK.'' |
[[File:3Select_DeviceForTarget.png|720x480px]] | [[File:3Select_DeviceForTarget.png|720x480px]] | ||
− | '''Step 4:'''Once the project is created add a new header group to include the library header files.'' | + | '''Step 4:''' ''Once the project is created add a new header group to include the library header files.'' |
[[File:4Add_NewHeaderGroup.png|720x480px]] | [[File:4Add_NewHeaderGroup.png|720x480px]] | ||
− | '''Step 5: '''Add the library files to the project .c files to Source group and .h files to header group.'' | + | '''Step 5: ''' ''Add the library files to the project .c files to Source group and .h files to header group.''<br\> |
+ | ''Note:'' | ||
+ | *''Copy the library files into the project folder before including them into the project.'' | ||
[[File:5Add_LibraryFiles.png|720x480px]] | [[File:5Add_LibraryFiles.png|720x480px]] |
Revision as of 13:08, 4 December 2013
Libray usage guide
- Below example demonstrates the step by step procedure to include the libraries into any applications.
Step 1: Open the Keil software and select the New Microvision project from Project Menu as shown below.
Step 2: Browse to your project folder and provide the project name and click on save.
Step 3: Once the project is saved a new dialog box “Select Device for Target” opens, Select the controller(Atmel:At89s52/NXP:P89v51rd2) and click on OK.
Step 4: Once the project is created add a new header group to include the library header files.
Step 5: Add the library files to the project .c files to Source group and .h files to header group.<br\> Note:
- Copy the library files into the project folder before including them into the project.