has been using Keil to write some of the microcontroller program, but has not done some optimization of the project structure, and sometimes open the project after the document structure level more complex looks very uncomfortable, so here are some of my ideas:
First, the structure of the file to be divided into bin Buil_keil include library lst obj source startup such directory, such as
This allows the generated. bin file to be placed down the bin. Want to build. The bin file can be generated using commands such as Fromelf--bin--output. \bin\main.bin. \OBJ\MAIN.AXF under Options for target under user. Of course, according to the actual needs to write parameters mainly is. \bin\main.bin (where to output files). \OBJ\MAIN.AXF (the original file entered).
The new project file can be placed under the Build_keil so that the project document can be found quickly.
The library has some standard library files that are used by third parties.
The LST and obj directories let you compile some temporary files that are generated. You can determine the directory by tapping Select folder in the options for target in output and listing.
Source and include are written by themselves. h and. c Files
Put some startup files in startup
The download directory is primarily for some directories with download tools. For example, Sflash oflsah these serial ISP programs for ARM Board downloader
Keil Some of the project directory strum