Skyeye cross-compiled environment download and installation here there is more detailed introduction: www.skyeye.org. The following examples analyze this Open source cross-compilation tool. Download Ucosii for AT91, compile UCOSII kernels and UCOSII based Application in Skyeye compilation environments. Let's take a look at the Makefile file under the UCOSII_TEST project. From the keywords in the Makefile file,: $ (Sample_Dir) \ $ (",", "\ $ (iB_dir) \ $ (os_dir) These direct and compiler, can I not find in the current Makefile? Don't worry, look at the beginning: include ../dir.make, you will understand this. Ok, look at the Dir.make file under the parent directory.
# Define Some Directory Information of Whole Project
Root_dir = ../ ..
Arch_dir = $ (root_dir) / arch / atmel-arch
LIB_DIR = $ (root_dir) / lib
KERNEL_DIR = $ (root_dir) / kernel
Sample_dir = $ (root_dir) / Samples
# THESE THREE Files Are Needed WHEN TEST All Samples
CFG_FILE = $ (Sample_Dir) /compiler.conf
LDS_FILE = $ (Sample_Dir) /samples.lds
Map_file = $ (prj_dir) /memmap.conf
DEP_FILES = $ (cfg_file) $ (Map_File) $ (LDS_FILE)
Here is all and basically configured in the UCOSII directory based on the SkyEye cross-compilation environment.
Well, here, we can clearly make a lot of things, which is beneficial to deepen our understanding of the concept, summarize: 1.Skyeye is an analog hardware platform that provides hardware support for the ARM kernel. 2. You must remember that there is arm-elf-tools in the download tool. This thing is the cross-compilation tool. It produces the .elff file we need, this file simulates on Skyeye, let us simulate software to run on the ARM core Feeling (cool!). The so-called cross-compilation is what this means.