µVision User's GuideAbout µVision User Interface Creating Applications Creating Projects Setup the Project Use Software Components Add Source Files to Project Create File Groups Set Tool Options Configure Startup Code Build the Project Build Log File Software Components Pack Installer Importing Custom Software Packs Using Local Repositories Packs Dialog Examples Dialog Managing Run-Time Environment Select Software Packs Update Software Component Files Components in Project Options for Component Project Targets and File Groups File, Group, and Component Attributes Configuration Dialogs Multi-Projects Create a Multi-Project Manage a Multi-Project Batch Setup for Single and Multi-Projects Tips and Tricks Start External Tools Redirect Output for Object and Listing Files Customize or Add Devices Create a Library File File and Group Specific Options Different Compiler and Assembler Settings Set Folders and File Extensions Version and Serial Number Information Including Library Modules Use a Custom Translator Manage ARM Compiler Versions Setup Default ARM Compiler Version GNU C Compiler Support Manage Component Viewer Description Files Use MDK Version 4 Projects Debugging Debug Commands Debug Functions Simulation Flash Programming Dialogs Utilities Command Line Example Programs Appendix
Components in Project
Files of Software Components are included into the project the following way:
Files of Software Components in the Project Folder
The following folders and files are created in the Project Folder:
The folder .\RTE is created in the project root folder when using Software Components. You should not modify the content of this folder.
The file .\RTE\RTE_Components.h is automatically created
during the Build Project step. For each selected Software
Component it contains
/* Auto generated Run-Time-Environment Component Configuration File *** Do not modify ! *** */ #ifndef RTE_COMPONENTS_H #define RTE_COMPONENTS_H /* Define the Device Header File: */ #define CMSIS_device_header "stm32f10x.h" #define RTE_Network_Interface_ETH_0 /* Network Interface ETH 0 */ #define RTE_Network_Socket_BSD /* Network Socket BSD */ #define RTE_Network_Socket_TCP /* Network Socket TCP */ #define RTE_Network_Socket_UDP /* Network Socket UDP */ #endif /* RTE_COMPONENTS_H */
The typical usage of the RTE_Components.h file is in header files to control the inclusion of files that are related to other components of the same Software Pack.
#include "RTE_Components.h" #include CMSIS_device_header #ifdef RTE_Network_Interface_ETH_0 // if component Network Interface ETH 0 is included #include "Net_Config_ETH_0.h" // add the related configuration file for this component #endif
Files of Software Components in the Project Window
Each component class has its own File Group. The component group and sub-group is shown in parenthesis.
Icons are explained in File, Group, and Component Attributes.
The context menu offers item related options to:
Related Knowledgebase Articles
of your data.