|
|||||||||||
|
Technical Support On-Line Manuals µVision4 User's Guide |
µVision4 User's GuideConfigure 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_device_family.s and is copied to the project folder. Some devices might use also a file named system_device_family.c. µVision provides several startup and system files in the folder ..toolchain\Startup\vendor. Though the default settings are a good starting point, adaptations might be needed. For example, CPU/PLL clock and 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). Open the file in the editor. Most startup files include special comments used by the Configuration Wizard to provide GUI-like configuration controls. Use these controls to configure the options.
The tab Text Editor switches to the standard editor view and allows modifying the source code. | ||||||||||
|
|||||||||||