KEIL--Generate multiple projects

Publisher:虚拟现实迷Latest update time:2016-07-01 Source: eefocusKeywords:KEIL Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
KEIL can generate multiple projects according to different configurations.

 

Project-->Manage-->Project Components (or the icon to the right of the project name)

 

Add a new project in the Project Components-->Project Targets tab

 

Different projects can also configure different files (Project Components-->file)

 

Different projects can be configured with different information. You can add information in the C++ tab in Options of Target.

For example, Define 

 

Especially suitable for: project development with different configurations and mostly the same code 

 

 

Keywords:KEIL Reference address:KEIL--Generate multiple projects

Previous article:MCS-51 MCU I2C Simulation Software Package
Next article:80c51 internal RAM space allocation

Recommended ReadingLatest update time:2024-11-16 14:59

How to debug the program and view array values ​​in Keil5
1. First open a program and click the compile button. 2. Then click the debug button to enter the debugging interface. 3. Right click the mouse next to the statement where debugging needs to be paused and add a breakpoint. (Note: Breakpoints can only be added in the gray area, which indicates the statement par
[Microcontroller]
How to debug the program and view array values ​​in Keil5
STM32 changes 12M crystal to 8M crystal oscillator, Keil and program settings
If you want to change the external 12M crystal to an 8M crystal, and still use a 72MHZ clock, you only need to change three places: First: stm32f10x.h and system_gd32f10x.c files can be found by the following figure   1. In stm32f10x.h, change #define HSE_VALUE ((uint32_t)12000000) to #define HSE_VALUE ((uint32_t)8
[Microcontroller]
STM32 changes 12M crystal to 8M crystal oscillator, Keil and program settings
Keil C51 and ARM coexistence method
First: install keil C51 V4.01 (if you have not tried installing ARM first, it should be possible) to the folder keil C51, run the crack patch, select the C51 version, and RealView MDK Professional for crack registration. Second: Install keil ARM V4.50 (not installed in the same folder for the time being, because insta
[Microcontroller]
Keil C51 and ARM coexistence method
Stack setting problem under STM32 KEIL
When you first take over STM32 , you only write one int main() { while(1); } BUILD://Program Size: Code=340 RO-data=252 RW-data=0 ZI-data=1632  After compiling, you will find that such a program has used more than 1600 RAM. If it is on a 51 microcontroller, you will be very sad. Where did the more than 16
[Microcontroller]
Create a new project with STM32, KEIL, MDK
At present, I feel that this file structure arrangement is the most reasonable. First, create the following files in the selected folder: Then put the relevant files into the corresponding folder according to the chip. Now take STM32F103RCT6 as an example. Copy stm32f10x.h, system_stm32f10x.h, system_stm32f10x.copy
[Microcontroller]
Create a new project with STM32, KEIL, MDK
Keil 51 Asm & C Mix
Select the "Generate Assembler SRC File" and "Assemble SRC File" options for the corresponding files. Note that these two items are gray at first, and they will be confirmed as black after clicking the mouse. (Optional) When compiling at the same time, ensure that the corresponding library is under the Source Group.
[Microcontroller]
Keil 51 Asm & C Mix
Keil C51 detailed settings
1. Change the target name        After opening Keil, the target in the Project Workspace on the left can be modified. The method is: right-click Target - Manage Compnents - double-click the item to be modified. If you want to add, use the corresponding toolbar in the dialog box. 2. TARGET item of option for target
[Microcontroller]
Keil C51 Partial operators and expressions
keil C51 Partial Operators and Expressions; December 2, 2013 10:39:34 ?: Used for expression evaluation operator; logical expression? expression1:expression2. If the logical expression is true, expression1 is executed, otherwise expression2 is executed. , used to combine several expressions into one expression; the va
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号