Giter Site home page Giter Site logo

skyformat99 / amonitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.67 MB

monitor and test auto for embedded linux

Python 1.04% Makefile 0.43% C 92.10% CMake 0.56% Tcl 0.01% C++ 3.96% HTML 0.13% Shell 0.11% Ruby 0.84% M4 0.17% Batchfile 0.14% NSIS 0.03% Objective-C 0.07% CSS 0.43%

amonitor's Introduction

介绍

本项目为 Linux 平台系统检测和硬件自动化测试工具。

模块结构

  • src/mod , 检测模块库。
  • doc , doxygen 文档生成配置文件。
  • site_scons , scons 用于 doxygen 文档生成相关脚本。
  • lib , 第三方库。
  • SConscript , 各个模块的构建脚本,用于生成应用程序或者库文件。

构建说明

目前项目构建分为两部分,应用程序构建和文档构建。

在构建应用之前请确保系统中安装了 scons 构建工具,以及用于文档生成的 doxygen 和 graphviz 程序。

对于 Debian/Ubuntu 衍生系统,通过下述指令进行安装:

sudo apt-get install scons doxygen graphviz

对于 redhat/fedora 衍生系统,安装命令如下:

sudo yum install scons doxygen graphviz

对于 opensuse 系统,安装命令如下:

sudo zypper in scons doxygen graphviz

应用程序构建

# 构建 arm 平台应用,需要在 SConstruct 中指明工具链。
scons platform=arm

# 构建本机测试平台
scons

Note

在构建完成后, 根据平台不同,将会在 build/out 目录下生成对应平台的应用程序和静态库。

对于 src 中的项目将会在主目录下生成 *.map 文件,该文件为 Linux 程序的内存映射文件。在发生错误时可以对比参考 内存出错位置,定位问题原因。

文档构建

scons build-doc=1

Note

在构建完成后, 将会在 build/doxygen 目录下生成相应的文档说明。目前仅生成 html 格式说明。

amonitor's People

Watchers

skyformat99 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.