i2cdriver/c/go

16 lines
351 B
Plaintext

set -e
rm -rf build/*
make -f linux/Makefile
# build/i2ccl /dev/ttyUSB0 i d
# build/i2ccl /dev/ttyUSB0 w 0x48 3 r 0x48 2
make -f win32/Makefile
# cp build/spicl.exe /data/win10/
#
# rm -f win32gui/obj/* win32gui/bin/Win32App.exe
# make -C win32gui/ CHARSET=ANSI
# cp win32gui/bin/Win32App.exe /data/win10/spigui.exe
#
# ./mk-nsis /data/win10/nsis