|
|||||||||||
Technical Support On-Line Manuals µVision User's Guide About µVision User Interface Creating Applications Creating Projects Setup the Project Add Source Files to Project Create File Groups Set Tool Options Configure Startup Code Build the Project Build Log File Create HEX File Project Targets and File Groups File and Group Attributes Configuration Dialogs Multi-Projects Create a Multi-Project Manage a Multi-Project Batch Build 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 Utilities Debugging Debug Commands Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix |
Configure Startup CodeThe Startup Code initializes the microcontroller and has to match the configuration of the hardware design. Typically, the startup code resides in a file named STARTUP.ext, where ext reflects the device type. Startup files should be copied to the project folder.
Though the default settings are a good starting point, adaptation might be needed. For example, the CPU/PLL clock and the BUS system are target specific and cannot be configured automatically. Some devices provide options to enable or disable on-chip components (for example on-chip xdata RAM on 8051 variants). You must ensure that the settings in the startup file match the other settings in your project. Open the file in the editor. Most startup files include special comments for the Configuration Wizard providing GUI-like controls to set values.
The tab Text Editor switches to the standard editor view. | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.