Giter VIP home page Giter VIP logo

my_uds's Introduction

说明

src/python_auto_test : 测试脚步来自:parai

构建环境

win7 32bit

安装 [msys2](http://www.msys2.com "官网") 安装完成后执行:

$ pacman -Sy # 本地的包数据库与远程的仓库同步
$ pacman -S git
$ pacman -S mingw-w64-i686-gcc # i686 代表 32bit 系统
$ pacman -S scons
$ pacman -Syu # 同步并对整个系统更新

注: msys2 建议使用清华大学源

ubuntu 18.04 64bit

执行下面的命令:

$ apt install gcc scons

构建测试

说明

注意:如果是 windows 系统,需要进入到 msys2 的 bash 下进行下面的构建操作

获取工程

$ git clone https://github.com/geekyes/my_uds.git
$ cd my_uds/build

构建依赖

ubuntu:

$ scons -f scons_python_can_lib.py
# 加载 virtual socket can
$ sudo modprobe vcan
$ sudo ip link add dev vcan0 type vcan
$ sudo ip link set up vcan0
# 安装 can-utils 工具,用于嗅探和解析 can 数据
$ sudo apt install can-utils

windows:

$ scons -f scons_python_can_lib.py
$ scons -f scons_win_can_driver.py

构建 can tp test

$ scons -f scons_can_tp_test.py

构建 uds test

$ scons -f scons_uds_test.py

运行测试

pass

my_uds's People

Contributors

geekyes avatar

Stargazers

 avatar  avatar ark avatar  avatar

Watchers

James Cloos 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.