Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:keil:c_project [2020/02/07 13:07] – akdi | software:keil:c_project [2020/02/07 16:21] (current) – [6) Adding Items to Project] akdi | ||
---|---|---|---|
Line 16: | Line 16: | ||
Start [[uvision|Keil uVision]] and create a new project " | Start [[uvision|Keil uVision]] and create a new project " | ||
Give the file a name according to the project and save it to the previously created project-directory (lab1). \\ \\ | Give the file a name according to the project and save it to the previously created project-directory (lab1). \\ \\ | ||
- | Now choose the device for which you want to create a new project. \\ \\ | + | After expanding the " |
Line 30: | Line 30: | ||
===== 3) Runtime Components ===== | ===== 3) Runtime Components ===== | ||
- | If not already popped up, click the green button {{keil_mrt_button.png? | + | If not already popped up, click the green button {{keil_mrt_button.png? |
Expand the " | Expand the " | ||
Line 39: | Line 39: | ||
Make sure that the CT Board is connected to the host computer!\\ \\ | Make sure that the CT Board is connected to the host computer!\\ \\ | ||
By default the project is configured to use the Keil uLink debugger. The CT Board uses the onboard ST-Link debugger. \\ \\ | By default the project is configured to use the Keil uLink debugger. The CT Board uses the onboard ST-Link debugger. \\ \\ | ||
- | Change the configuration under " | + | Change the configuration |
Then click // | Then click // | ||
Line 49: | Line 49: | ||
\\ {{keil_debugger_2.png? | \\ {{keil_debugger_2.png? | ||
- | Also check the //" | + | Also check the //" |
Otherwise add the algorithm with the add button. | Otherwise add the algorithm with the add button. | ||
\\ {{keil_debugger_3.png? | \\ {{keil_debugger_3.png? | ||
- | Go back to " | + | ===== 5) Output |
- | Then go to the //"Listing"// tab. Click " | + | Go back to " |
+ | Click " | ||
- | Now open your project directory in your explorer and you will find the two self generated folders, **Listings** and **Objects**. Delete them.\\ \\ | + | Then go to the //" |
+ | Click " | ||
+ | |||
+ | Now open your project directory in your explorer and you will find the two self generated folders, **Listings** and **Objects**. | ||
+ | Delete them.\\ \\ | ||
{{keil_delete_folder.png? | {{keil_delete_folder.png? | ||
Line 67: | Line 72: | ||
'' | '' | ||
- | To disable this warning add the following parameter to the linker arguments under “Project → Options for Target, Target 1” in the " | + | To disable this warning add the following parameter to the linker arguments under\\ |
+ | “Project → Options for Target, Target 1” in the " | ||
''< | ''< | ||
Line 75: | Line 81: | ||
To create a new file expand the folder " | To create a new file expand the folder " | ||
- | (If you want to add an existing file, choose "Add Existing Files to Group..." | + | If you want to add an existing file, choose "Add Existing Files to Group..." |
\\ {{keil_add_file_1.png? | \\ {{keil_add_file_1.png? | ||
- | Choose the corresponding file type, name and location. | + | Choose the corresponding file type, name and location.\\ |
\\ {{keil_add_file_2.png? | \\ {{keil_add_file_2.png? | ||
Line 86: | Line 92: | ||
^Type|Choose either "C File (.c)" or " | ^Type|Choose either "C File (.c)" or " | ||
^Name|Choose an appropriate name| | ^Name|Choose an appropriate name| | ||
- | ^Location|Choose correct [[# | + | ^Location|Choose correct [[# |