killed, and only a few useful files are left. the total size is 232kb, much less than before. now, you can package the folder and send it to others, which can save a lot of traffic. it can also save space on your hard disk.What's amazing about. bat? You can use a text tool to open it as needed. BAT file, add or delete some statements in it to suit you. of course, the premise is that you are right. BAT must have a little understanding. specific Learning,HereFor more information, see. the flexibl
"Reference url" http://www.openedv.com/posts/list/600.htm
1. Use. bat (Batch) file can be used to delete Keil compiled generated useless files, reduce the volume of the project disk, easy to talk about the project to the collaborators.
2. The unused file storage directory compiled by the program has been set to the Obj folder. When compiled, you will find that there are several files in the obj directory, about 100 files, occupying space will be nea
After the project is successfully compiled in Keil, the following message is printed in the Bulid ouput window below:Program size:code=6320 ro-data=4864 rw-data=44 zi-data=1636The meaning of the representative:Code: The size of the bytes in the programRo-data: Instruction and constant size defined in the program (Personal understanding: Read only)Rw-data: The variable size initialized in the program (Personal Understanding ": read/write)Zi-data: Unini
STM32 Keil Software Setup program write start address selection
STM32 Series MCU, here take CORTEX-M4 as an example, when we debug online, we usually set the program to write the start address and size. This size is typically 0x08000000, which is the mapping address of the internal flash. But some products start from 0x08020000, which is why. is because in the 0x08000000-0x08020000 this space is the boot program, that is, the boot program is stored f
Source: Keil MDK How to set a non-0 initialization variableSome industrial products, when the system reset (non-power-on reset), may require to hold the data in the pre-reset RAM, used to quickly restore the scene, or not due to the instantaneous reset of the field equipment restart. and Keil MDK by default, any form of reset resets the uninitialized variable data in the Ram area to zero. How to set a non-i
Original article http://blog.csdn.net/gasbi/article/details/6761420
I checked this question one afternoon and didn't even have a complete web page to explain it clearly. Isn't it too simple for everyone to say? In most cases, the project is simply converted to. Lib. Under Project-> options for target-> output, select create library.
However, the generated lib file is huge. The final lib generated by the project I compile now has 2.6 MB.
Later I found inspiration (http://www.keil.com/support
C: \ Keil \ C51 \ Inc \ cypress D: \ cypress suite USB 3.4.7 \ firmware \ Inc ?? 1. Found the suite3.4.7 folderFx2.hThe file matches the fx2.h file carried inside Keil (the same ). ?? 2. TwoFx2regs. hFile does not match. suite3.4.7 comes with a newer version than Keil U3. ?? 2.1. the name (long) of the automatic pointer 1 in the Suite version is different
Data Type Definition of the Keil MDK compiler.
1 # include "usart. h "2 int main () 3 {4 usartmediaconfig (); // serial port initialization, the following information is printed through the serial port 5 printf (" char: % d \ r \ n ", sizeof (char); 6 printf ("unsigned char: % d \ r \ n", sizeof (unsigned char); 7 printf ("short: % d \ r \ n ", sizeof (short); 8 printf (" unsigned short: % d \ r \ n ", sizeof (unsigned short )); 9 printf ("int: % d \
[Original]
We are using Keil recently. I want to try it.Source codeManagement tools to facilitate the project teamCodeManagement.
(My Keil version is 3)
1. There is a menu SVCs in Keil
Open the configure version control... menu.
Configure the command of each source code management tool here (I have configured the command with content; if you have
Keil RTX is a royalty-free, deterministic real-time operating system for ARM and cortex-m devices. With this system, you can create programs that execute multiple functions at the same time, and create applications with better structure and easier maintenance.Highlights
Royalty-free and deterministic RTOS with source code
Flexible scheduling: loop, preemptive, and collaborative
High-speed real-time operations with low interrupt latency
Small spac
1, the Tool.ini file in the installation directory of Keil is added on [ARM][C51]Path= "G:\Keil\C51\"Sn=k1dzp-5iush-a01ueversion=v9.01Book0=hlp\release_notes. HTM ("Release Notes", GEN)Book1=hlp\gs51. PDF ("UVision2 Getting Started", GEN)Book2=hlp\c51. PDF ("C51 User ' s Guide", GEN)Book3=hlp\c51lib. CHM ("C51 Library Functions", C)Book4=hlp\a51. PDF ("Assembler/utilities", GEN)Book5=hlp\tr51. CHM ("RTX51 T
Because many of the old Code is compiled by ads1.2, this problem is common to all users.
There are a lot of handouts on the Internet, so I will not talk about the principles ~~
However, pay attention to the following points during the transplantation process to completely transplant the project.
Environment: Simplified Chinese XP Professional + SP3 + ADS 1.2 + Keil 3.5
1. Create a New root directory such as "D:/
example:
SWI 0x02; this command calls the system routine of the operating system number 02.
In the Keil MDK, the keyword _ SVC can generate the hardware SWI command so that the processor can respond to the software interrupt. The keyword _ SVC, which is described in the Keil MDK help file as follows:
The _ SVC keyword declares that the Super User calls the (SVC) function. This function uses up to four par
A few days ago into the hands of a J-LINK, because the H-JTAG after all on the MDK support is not too perfect, for example, with the Download button on the Keil MDK burning program, not directly can burn in, instead, the H-Flash software is popped up, and then the file is manually selected for installation. In addition, the single-step debugging with h_jtag is easy to run inexplicably. Fortunately, J-LINK is not too expensive (I mean domestic imitatio
Incorrect display of Chinese Punctuation Marks in keil 4
Select configuation in edit in keil and Change Encoding to Chinese GB2312 to solve the problem of copying Chinese characters!
Keil MDK 412 font problems Courier New font Chinese display is not normal, it is difficult to see which can solve the problem of extra points
Why are you doing this? How about set
Note Points for minimum system construction:1, will choose the relevant chip under the LIbrary to find2, the grounding symbol in the left terminal symbol below the search, self-modification VCC VDD3, the bus also on the left a row of blue symbol bus draw a small slash hold CTRL4, exclusion (Respack) usage is wrong, this is a problem, so we have to step by step with 470 resistor replacementJoint Commissioning: Specific steps1, need to download software Vdmagdi.exe software (for two software to co
Through the *.m51 file we can clearly see the use of SCM memory, as well as can see each variable including the location of local variables.Before encountering a problem, the same program, in small mode after compiling the operation is no problem, but in large mode can be compiled, but run an error. Finally look at the M51 file, found the problem, in a strict timing requirements of a place to declare a few local variables, some of the local variables are assigned to the data, some assigned to th
A few days ago into the hands of a J-LINK, because the H-JTAG after all for the MDK support is not too perfect, such as using the Download button on the Keil MDK burnProgramInstead of simply burning the file, the H-Flash software is popped up, and then the file is manually selected for burning. In addition, the single-step debugging with h_jtag is easy to run inexplicably. Fortunately, J-LINK is not too expensive (I mean domestic imitation), MDK can b
Generate a. Lib file for a single c file under the Keil realview MDK
Having struggled for a day, there was no clear question about the complete web page. Isn't it too simple for everyone to say? In most cases, the project is simply converted to. Lib. Under Project-> options for target-> output, select create library.
However, the generated lib file is huge. The final lib generated by the project I compile now has 2.6 MB.
Later I found inspiration (
In Keil C, if no defined function is explicitly called, such a warning will appear. When such a warning occurs, you can ignore it because it does not affect other parts. However, we know that even if this function is not called, Keil still concatenates it into the wholeProgram, But a waste of Rom is not distressed. Most importantly, the variables in this function are not included in the scope of the analysi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.