Updated on 2022-03-13 GMT+08:00

Service Software Compilation

A complete program running on the Atlas 500 can be divided into two parts, which are running on the Atlas 500 host CPU (Hi3559A) and the Atlas 500 device CPU (Arm Cortex-A55), respectively.

The Atlas 500 does not provide compilation toolchains running on the host or device CPU. Therefore, cross compilation is required. The methods of cross-compiling software for the Atlas 500 host and device are similar. They differ only in the used tools and link libraries. This document describes the method of cross-compiling the host software and device software. To improve software compilation efficiency, a build automation tool is used. The Atlas 500 supports software building using CMake, which is a cross-platform build tool with simple syntax and strong portability. The Atlas 500 also supports software compilation using CMake.