Skip to content

nikgul/i2cdriver

This branch is 14 commits behind jamesbowman/i2cdriver:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6739e53 · Feb 5, 2022
Mar 6, 2020
Feb 10, 2019
Feb 10, 2019
Mar 3, 2019
Jan 26, 2020
Feb 5, 2022
Feb 23, 2019
Feb 11, 2021
Feb 10, 2019
Mar 3, 2019
Feb 12, 2021
Mar 6, 2020

Repository files navigation

logo

Build Status Documentation Status

I2CDriver is a tool for controlling any I2C device from your PC's USB port, and can also monitor and capture I2C traffic. It connects as a standard USB serial device, so there are no drivers to install. On the main site i2cdriver.com, there are drivers for

  • Windows/Mac/Linux GUI
  • Windows/Mac/Linux command-line
  • Python 2 and 3
  • Windows/Mac/Linux C/C++

front

Full documentation is at i2cdriver.com.

For developers: How to make a release

To release Python:

rm -rf dist/*
python setup.py sdist
twine upload dist/*

To build the Windows installer, you first need to build the two executables i2ccl.exe and i2cgui.exe then use an NSIS script to create the installer.

On Linux cross-compile i2ccl:

cd c
make -f win32/Makefile

On Windows first make sure that you can run the GUI on the command-line, e.g.

python python\samples\i2cgui.py

(You may need to install i2cdriver, wxPython and pySerial).

Then build the GUI executable using pyinstaller:

cd python\samples
pyinstaller --onefile --windowed --icon=../../images/i2cdriver.ico i2cgui.py

This builds the executable in python\samples\dist\i2cgui.exe.

The Windows installer is built with NSIS (Nullsoft Scriptable Install System). Download and install it.

Copy the two executables i2ccl.exe and i2cgui.exe into nsis/.

Then build the installer with NSIS:

cd nsis
"C:\Program Files\NSIS\makensis.exe" i2cdriver.nsi

The script go.bat in nsis has an example complete flow.

About

I2CDriver open source tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.5%
  • Forth 22.4%
  • C 9.4%
  • NSIS 6.0%
  • GLSL 4.9%
  • Makefile 0.6%
  • Other 0.2%