<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sigrok.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rene</id>
	<title>sigrok - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://sigrok.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rene"/>
	<link rel="alternate" type="text/html" href="https://sigrok.org/wiki/Special:Contributions/Rene"/>
	<updated>2026-04-08T18:56:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=11204</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=11204"/>
		<updated>2015-10-31T22:24:30Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Building manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to build the sigrok subprojects on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building using Homebrew ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on Mac OS X 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install [http://brew.sh Homebrew].&lt;br /&gt;
&lt;br /&gt;
Tap sigrok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew tap rene-dev/sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want [[PulseView]], you must install unstable.&lt;br /&gt;
&lt;br /&gt;
=== Unstable ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install python3&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD --with-libserialport libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD --with-libserialport sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stable ===&lt;br /&gt;
&lt;br /&gt;
If you just want [[sigrok-cli]], you can install stable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building manually ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean install of Mac OS X 10.6.8, 10.8.4, 10.9.1 and 10.11.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode and Command Line Tools for Xcode be installed on your machine, which are also a dependencies to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for [[PulseView]]).&lt;br /&gt;
&lt;br /&gt;
Install git (not needed at least with 10.8.4):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install boost, libusb, libzip and libftdi, the libsigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install boost libusb libzip libftdi0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install autoconf, automake, cmake, glib2.0+, python 3.3, libtool and pkgconfig to satisfy version dependencies in the build process.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the PKG_CONFIG_PATH environment variable to reflect the future locations of libsigrok and libsigrokdecode for the sigrok-cli build process.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libserialport ===&lt;br /&gt;
&lt;br /&gt;
[[libserialport]] is optional and required only for devices with serial connection, e.g. most multimeters. If not present during configuring libsigrok, the respective drivers in libsigrok will be disabled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libsigrok ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libsigrokdecode ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-cli ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== PulseView ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]].&lt;br /&gt;
* [[Mac OS X/Universal|Building universal DyLibs and binaries]].&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler].&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=11203</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=11203"/>
		<updated>2015-10-31T22:23:22Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Unstable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to build the sigrok subprojects on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building using Homebrew ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on Mac OS X 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install [http://brew.sh Homebrew].&lt;br /&gt;
&lt;br /&gt;
Tap sigrok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew tap rene-dev/sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want [[PulseView]], you must install unstable.&lt;br /&gt;
&lt;br /&gt;
=== Unstable ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install python3&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD --with-libserialport libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD --with-libserialport sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stable ===&lt;br /&gt;
&lt;br /&gt;
If you just want [[sigrok-cli]], you can install stable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;brew install sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building manually ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean install of Mac OS X 10.6.8, 10.8.4 and 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode and Command Line Tools for Xcode be installed on your machine, which are also a dependencies to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for [[PulseView]]).&lt;br /&gt;
&lt;br /&gt;
Install git (not needed at least with 10.8.4):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install boost, libusb, libzip and libftdi, the libsigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install boost libusb libzip libftdi0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install autoconf, automake, cmake, glib2.0+, python 3.3, libtool and pkgconfig to satisfy version dependencies in the build process.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the PKG_CONFIG_PATH environment variable to reflect the future locations of libsigrok and libsigrokdecode for the sigrok-cli build process.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libserialport ===&lt;br /&gt;
&lt;br /&gt;
[[libserialport]] is optional and required only for devices with serial connection, e.g. most multimeters. If not present during configuring libsigrok, the respective drivers in libsigrok will be disabled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libsigrok ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libsigrokdecode ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-cli ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== PulseView ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]].&lt;br /&gt;
* [[Mac OS X/Universal|Building universal DyLibs and binaries]].&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler].&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Downloads&amp;diff=9917</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Downloads&amp;diff=9917"/>
		<updated>2014-10-21T23:16:06Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Binaries and distribution packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Releases ==&lt;br /&gt;
&lt;br /&gt;
You can download the latest released tarballs of the following subprojects from [http://sigrok.org/download/ the sigrok.org download directory]:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; style=&amp;quot;font-size: smaller; white-space: nowrap;&amp;quot; class=&amp;quot;alternategrey sigroktable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Project&lt;br /&gt;
!Release/download&lt;br /&gt;
!News&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[libserialport]]&lt;br /&gt;
| [http://sigrok.org/download/source/libserialport/libserialport-0.1.0.tar.gz libserialport-0.1.0.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=libserialport.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[libsigrok]]&lt;br /&gt;
| [http://sigrok.org/download/source/libsigrok/libsigrok-0.3.0.tar.gz libsigrok-0.3.0.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=libsigrok.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[libsigrokdecode]]&lt;br /&gt;
| [http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-0.3.0.tar.gz libsigrokdecode-0.3.0.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[sigrok-cli]]&lt;br /&gt;
| [http://sigrok.org/download/source/sigrok-cli/sigrok-cli-0.5.0.tar.gz sigrok-cli-0.5.0.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=sigrok-cli.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[PulseView]]&lt;br /&gt;
| [http://sigrok.org/download/source/pulseview/pulseview-0.2.0.tar.gz pulseview-0.2.0.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=pulseview.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[Example dumps|sigrok-dumps]]&lt;br /&gt;
| [http://sigrok.org/download/source/sigrok-dumps/sigrok-dumps-0.1.0.tar.gz sigrok-dumps-0.1.0.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=sigrok-dumps.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[fx2lafw|sigrok-firmware-fx2lafw]] (source code)&lt;br /&gt;
| [http://sigrok.org/download/source/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.2.tar.gz sigrok-firmware-fx2lafw-0.1.2.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[fx2lafw|sigrok-firmware-fx2lafw]] (prebuilt firmware)&lt;br /&gt;
| [http://sigrok.org/download/binary/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-bin-0.1.2.tar.gz sigrok-firmware-fx2lafw-bin-0.1.2.tar.gz]&lt;br /&gt;
| [http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=blob;f=NEWS;hb=HEAD release notes]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Binaries and distribution packages ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Debian:&amp;#039;&amp;#039;&amp;#039; [http://packages.qa.debian.org/s/sigrok.html sigrok] (pulls [http://packages.qa.debian.org/libs/libserialport.html libserialport], [http://packages.qa.debian.org/libs/libsigrok.html libsigrok], [http://packages.qa.debian.org/libs/libsigrokdecode.html libsigrokdecode], [http://packages.qa.debian.org/s/sigrok-cli.html sigrok-cli], [http://packages.qa.debian.org/p/pulseview.html pulseview], [http://packages.qa.debian.org/s/sigrok-firmware-fx2lafw.html sigrok-firmware-fx2lafw])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ubuntu:&amp;#039;&amp;#039;&amp;#039; [http://launchpad.net/ubuntu/+source/sigrok sigrok] (pulls [http://launchpad.net/ubuntu/+source/libserialport libserialport], [http://launchpad.net/ubuntu/+source/libsigrok libsigrok], [http://launchpad.net/ubuntu/+source/libsigrokdecode libsigrokdecode], [http://launchpad.net/ubuntu/+source/sigrok-cli sigrok-cli], [http://launchpad.net/ubuntu/+source/pulseview pulseview], [http://launchpad.net/ubuntu/+source/sigrok-firmware-fx2lafw sigrok-firmware-fx2lafw])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Arch Linux:&amp;#039;&amp;#039;&amp;#039; [https://aur.archlinux.org/packages.php?O=0&amp;amp;K=sigrok&amp;amp;do_Search=Go AUR (Arch Linux User Repository)], [https://aur.archlinux.org/packages/libserialport/ libserialport], [https://aur.archlinux.org/packages/libsigrok/ libsigrok], [https://aur.archlinux.org/packages/libsigrokdecode/ libsigrokdecode], [https://aur.archlinux.org/packages/sigrok-cli/ sigrok-cli], [https://aur.archlinux.org/packages/pulseview/ pulseview], [https://aur.archlinux.org/packages/sigrok-firmware-fx2lafw/ sigrok-firmware-fx2lafw]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Slackware:&amp;#039;&amp;#039;&amp;#039; [http://slackware.opennix.com/?slackversion=13.37&amp;amp;name=sigrok Package page]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fedora:&amp;#039;&amp;#039;&amp;#039; [http://pkgs.fedoraproject.org/cgit/libsigrok.git/ libsigrok], [http://pkgs.fedoraproject.org/cgit/libsigrokdecode.git libsigrokdecode], [http://pkgs.fedoraproject.org/cgit/sigrok-cli.git sigrok-cli], [http://pkgs.fedoraproject.org/cgit/pulseview.git pulseview], [http://pkgs.fedoraproject.org/cgit/sigrok-firmware-fx2lafw.git sigrok-firmware-fx2lafw], [http://pkgs.fedoraproject.org/cgit/sigrok-firmware.git sigrok-firmware] (see also: [[Linux/Fedora]])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Windows:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Nightly installer binaries: [http://sigrok.org/jenkins/job/sigrok-cross-mingw/default/lastSuccessfulBuild/artifact/pulseview-NIGHTLY-installer.exe pulseview-NIGHTLY-installer.exe], [http://sigrok.org/jenkins/job/sigrok-cross-mingw/default/lastSuccessfulBuild/artifact/sigrok-cli-NIGHTLY-installer.exe sigrok-cli-NIGHTLY-installer.exe]&lt;br /&gt;
** See also  [[Windows#Windows_installers|Windows]] for more information, including driver and firmware handling.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Mac OS X:&amp;#039;&amp;#039;&amp;#039; [[Mac_OS_X#Building_using_Homebrew|Building using Homebrew]], There are no packages yet, contributors welcome! Some older instructions are at [http://home2.xor-gate.org/writings/sigrok-osx-scratchbuild xor-gate.org] (work in progress; &amp;quot;Wafelijzer&amp;quot; on IRC)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;FreeBSD:&amp;#039;&amp;#039;&amp;#039; [http://www.freshports.org/devel/libserialport/ libserialport], [http://www.freshports.org/devel/libsigrok/ libsigrok], [http://www.freshports.org/devel/libsigrokdecode/ libsigrokdecode], [http://www.freshports.org/science/sigrok-cli/ sigrok-cli], [http://www.freshports.org/science/pulseview/ pulseview], [http://www.freshports.org/science/sigrok-firmware-fx2lafw/ sigrok-firmware-fx2lafw], [http://www.freshports.org/science/sigrok-firmware/ sigrok-firmware], [http://www.freshports.org/science/sigrok-firmware-utils/ sigrok-firmware-utils]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OpenBSD:&amp;#039;&amp;#039;&amp;#039; There are no ports/packages yet, contributors welcome!&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Android:&amp;#039;&amp;#039;&amp;#039; See [[Android]] for the current status.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Gentoo:&amp;#039;&amp;#039;&amp;#039; [http://packages.gentoo.org/package/dev-libs/libserialport libserialport], [http://packages.gentoo.org/package/sci-libs/libsigrok libsigrok], [http://packages.gentoo.org/package/sci-libs/libsigrokdecode libsigrokdecode], [http://packages.gentoo.org/package/sci-electronics/sigrok-cli sigrok-cli], [http://packages.gentoo.org/package/sci-electronics/pulseview pulseview], [http://packages.gentoo.org/package/sys-firmware/sigrok-firmware-fx2lafw sigrok-firmware-fx2lafw]&lt;br /&gt;
&lt;br /&gt;
Please contact us if you want to work on packages for other Linux distributions or OSes.&lt;br /&gt;
&lt;br /&gt;
== Source code ==&lt;br /&gt;
&lt;br /&gt;
The development is done in various [http://sigrok.org/gitweb/ git repositories].&lt;br /&gt;
&lt;br /&gt;
See [[Building]] for build instructions.&lt;br /&gt;
&lt;br /&gt;
== Example data ==&lt;br /&gt;
&lt;br /&gt;
See the [[Example dumps]] wiki page.&lt;br /&gt;
&lt;br /&gt;
== Firmware files ==&lt;br /&gt;
&lt;br /&gt;
See the [[Firmware]] wiki page.&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9292</id>
		<title>Velleman PCS500</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9292"/>
		<updated>2014-07-24T00:49:33Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hardware ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Main oscillator&amp;#039;&amp;#039;&amp;#039;: 50MHz&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;RAM&amp;#039;&amp;#039;&amp;#039;:  SB61L256, 768x8-Bits STATIC CMOS RAM&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ADC&amp;#039;&amp;#039;&amp;#039;:  ADS830, 8-Bit, 60MHz&lt;br /&gt;
lots of 74xx glue logic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Velleman PCS500 top.jpg|&amp;lt;small&amp;gt;PCB, Top&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 bottom.jpg|&amp;lt;small&amp;gt;PCB, Bottom&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 RAM.jpg|&amp;lt;small&amp;gt;PCB, RAM&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 opto.jpg|&amp;lt;small&amp;gt;PCB, opto&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/~jmal/TclVI_Wiki/index.php/Hackers_guide&lt;br /&gt;
&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/software/TclVI/&lt;br /&gt;
&lt;br /&gt;
http://forum.velleman.eu/viewtopic.php?f=10&amp;amp;t=4314&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Oscilloscope]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9291</id>
		<title>Velleman PCS500</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9291"/>
		<updated>2014-07-24T00:26:38Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hardware ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Main oscillator&amp;#039;&amp;#039;&amp;#039;: 50MHz&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;RAM&amp;#039;&amp;#039;&amp;#039;:  SB61L256, 768x8-Bits STATIC CMOS RAM&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ADC&amp;#039;&amp;#039;&amp;#039;:  ADS830, 8-Bit, 60MHz&lt;br /&gt;
lots of 74xx glue logic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Velleman PCS500 top.jpg|&amp;lt;small&amp;gt;PCB, Top&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 bottom.jpg|&amp;lt;small&amp;gt;PCB, Bottom&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 RAM.jpg|&amp;lt;small&amp;gt;PCB, RAM&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 opto.jpg|&amp;lt;small&amp;gt;PCB, opto&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/~jmal/TclVI_Wiki/index.php/Hackers_guide&lt;br /&gt;
&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/software/TclVI/&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Oscilloscope]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9290</id>
		<title>Velleman PCS500</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9290"/>
		<updated>2014-07-24T00:26:28Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hardware ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Main oscillator&amp;#039;&amp;#039;&amp;#039;: 50MHz&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;RAM&amp;#039;&amp;#039;&amp;#039;:  SB61L256, 768x8-Bits STATIC CMOS RAM&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ADC&amp;#039;&amp;#039;&amp;#039;:  ADS830, 8-Bit, 60MHz&lt;br /&gt;
lots of 74xx glue logic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Velleman PCS500 top.jpg|&amp;lt;small&amp;gt;PCB, Top&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 bottom.jpg|&amp;lt;small&amp;gt;PCB, Bottom&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 RAM.jpg|&amp;lt;small&amp;gt;PCB, RAM&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 opto.jpg|&amp;lt;small&amp;gt;PCB, opto&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/~jmal/TclVI_Wiki/index.php/Hackers_guide&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/software/TclVI/&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Oscilloscope]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9289</id>
		<title>Velleman PCS500</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9289"/>
		<updated>2014-07-24T00:17:23Z</updated>

		<summary type="html">&lt;p&gt;Rene: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hardware ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Main oscillator&amp;#039;&amp;#039;&amp;#039;: 50MHz&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;RAM&amp;#039;&amp;#039;&amp;#039;:  SB61L256, 768x8-Bits STATIC CMOS RAM&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ADC&amp;#039;&amp;#039;&amp;#039;:  ADS830, 8-Bit, 60MHz&lt;br /&gt;
lots of 74xx glue logic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Velleman PCS500 top.jpg|&amp;lt;small&amp;gt;PCB, Top&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 bottom.jpg|&amp;lt;small&amp;gt;PCB, Bottom&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 RAM.jpg|&amp;lt;small&amp;gt;PCB, RAM&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Velleman PCS500 opto.jpg|&amp;lt;small&amp;gt;PCB, opto&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/~jmal/TclVI_Wiki/index.php/Hackers_guide&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Oscilloscope]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=File:Velleman_PCS500_opto.jpg&amp;diff=9288</id>
		<title>File:Velleman PCS500 opto.jpg</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=File:Velleman_PCS500_opto.jpg&amp;diff=9288"/>
		<updated>2014-07-23T23:55:11Z</updated>

		<summary type="html">&lt;p&gt;Rene: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=File:Velleman_PCS500_RAM.jpg&amp;diff=9287</id>
		<title>File:Velleman PCS500 RAM.jpg</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=File:Velleman_PCS500_RAM.jpg&amp;diff=9287"/>
		<updated>2014-07-23T23:54:10Z</updated>

		<summary type="html">&lt;p&gt;Rene: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=File:Velleman_PCS500_top.jpg&amp;diff=9286</id>
		<title>File:Velleman PCS500 top.jpg</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=File:Velleman_PCS500_top.jpg&amp;diff=9286"/>
		<updated>2014-07-23T23:53:02Z</updated>

		<summary type="html">&lt;p&gt;Rene: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=File:Velleman_PCS500_bottom.jpg&amp;diff=9285</id>
		<title>File:Velleman PCS500 bottom.jpg</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=File:Velleman_PCS500_bottom.jpg&amp;diff=9285"/>
		<updated>2014-07-23T23:51:42Z</updated>

		<summary type="html">&lt;p&gt;Rene: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9273</id>
		<title>Velleman PCS500</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9273"/>
		<updated>2014-07-23T21:04:28Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Resources ==&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/~jmal/TclVI_Wiki/index.php/Hackers_guide&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Oscilloscope]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9272</id>
		<title>Velleman PCS500</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Velleman_PCS500&amp;diff=9272"/>
		<updated>2014-07-23T21:02:58Z</updated>

		<summary type="html">&lt;p&gt;Rene: Created page with &amp;quot;== Resources == http://kdataserv.fis.fc.ul.pt/~jmal/TclVI_Wiki/index.php/Hackers_guide&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Resources ==&lt;br /&gt;
http://kdataserv.fis.fc.ul.pt/~jmal/TclVI_Wiki/index.php/Hackers_guide&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Hantek_6052BE&amp;diff=9271</id>
		<title>Hantek 6052BE</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Hantek_6052BE&amp;diff=9271"/>
		<updated>2014-07-23T20:57:51Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Hantek front.jpg|thumb|right|Hantek 6052BE]]&lt;br /&gt;
&lt;br /&gt;
The [http://www.hantek.com/en/ProductDetail_2_31.html Hantek 6052BE] is a USB-based, 2-channel oscilloscope with an analog bandwidth of 150MS/s sampling rate. &lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Main chip&amp;#039;&amp;#039;&amp;#039;: [http://www.xilinx.com/support/documentation/spartan-3an_data_sheets.htm Xilinx Spartan XC3S50A] ([http://www.xilinx.com/support/documentation/data_sheets/ds557.pdf datasheet])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Main oscillator&amp;#039;&amp;#039;&amp;#039;: 50MHz 50.000 YX FH&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;USB&amp;#039;&amp;#039;&amp;#039;: Cypress CY7C68013A-100AXC (FX2LP)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;U1, U2 32K x 8 high-speed CMOS static RAM&amp;#039;&amp;#039;&amp;#039;: 2x [http://www.issi.com/products-asynchronous-sram.htm ISSI IS61LV256AL-10TLI] ([http://www.issi.com/WW/pdf/61LV256AL.pdf datasheet])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;U807 I2C EEPROM&amp;#039;&amp;#039;&amp;#039;: Microchip 24LC02BI (for the USB VID/PID of the Cypress FX2LP)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;U6, U35, U50 Dual 4-channel analog multiplexer/demultiplexer&amp;#039;&amp;#039;&amp;#039;: NXP HEF4052BT &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;U12 8-bit serial-in, serial or parallel-out shift register with output latches; 3-state&amp;#039;&amp;#039;&amp;#039;: NXP HC595 [http://www.nxp.com/documents/data_sheet/74HC_HCT595.pdf HXP HC595] ([http://www.nxp.com/documents/data_sheet/74HC_HCT595.pdf datasheet])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;U26 RAIL-TO-RAIL OUTPUT OPERATIONAL AMPLIFIERS&amp;#039;&amp;#039;&amp;#039;: TI TLV274C ([http://www.ti.com/lit/ds/symlink/tlv274-q1.pdf datasheet])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;UNKNOW IC U4&amp;#039;&amp;#039;&amp;#039;: chip EEPROM - similar to 25L4005&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;UNKNOW IC U14&amp;#039;&amp;#039;&amp;#039;: may be an amplifier&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;UNKNOW IC U22&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Hantek front.jpg|&amp;lt;small&amp;gt;Hantek 6052BE Front&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hantek bak.jpg|&amp;lt;small&amp;gt;Hantek 6052BE Back&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hantek 6052BE back.jpg|&amp;lt;small&amp;gt;PCB Hantek 6052BE Back&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hantek 6052BE front.jpg|&amp;lt;small&amp;gt;PCB Hantek 6052BE Front&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Input circuits.jpg|&amp;lt;small&amp;gt;Input Circuits Hantek 6052BE&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Protocol ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Extracting the firmware ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
https://github.com/olerem/openhantek/commit/9a0d2747edc9306b1b56c04a4a9d491269023c76&lt;br /&gt;
&lt;br /&gt;
http://www.openhantek.org/forum/topic/4/13/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Oscilloscope]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Hameg_HMO2024&amp;diff=8431</id>
		<title>Hameg HMO2024</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Hameg_HMO2024&amp;diff=8431"/>
		<updated>2014-01-11T14:07:13Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Hameg HMO2024.png|thumb|right|Hameg HMO2024]]&lt;br /&gt;
&lt;br /&gt;
The [http://webstore.rohde-schwarz.com/us/hamegr-hmo2024.html Hameg HMO2024] is a USB-/RS232-based, 4-channel oscilloscope with an analog bandwidth of 200MHz and 2GS/s sampling rate.&lt;br /&gt;
&lt;br /&gt;
See [[Hameg HMO2024/Info]] for more details (such as &amp;#039;&amp;#039;&amp;#039;lsusb -v&amp;#039;&amp;#039;&amp;#039; output) about the device.&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
&lt;br /&gt;
TODO.&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Hameg HMO2024.png|&amp;lt;small&amp;gt;Device, front&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hameg HMO2024 back.png|&amp;lt;small&amp;gt;Device, back&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hameg_HMO_USB-serial_module.jpg|&amp;lt;small&amp;gt;HO 720 serial communication option&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hameg HO3508 logic probe pod.jpg|&amp;lt;small&amp;gt;HO3508 logic probe pod&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hameg HO3508 logic probe back.jpg|&amp;lt;small&amp;gt;HO3508 logic probe pod, back&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Hameg HO3508 logic probe.jpg|&amp;lt;small&amp;gt;HO3508 logic probe&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Protocol ==&lt;br /&gt;
&lt;br /&gt;
The Hameg HMO series of scopes use [[IEEE-488|SCPI]] as the communication protocol.&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.hameg.com/manuals.0.html?no_cache=1 Hameg - resource page]&lt;br /&gt;
* [http://midas.herts.ac.uk/helpsheets/hameg_scpi_hmo72.pdf Hameg HMO - programming guide]&lt;br /&gt;
* [http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_105%20Adding%20Support%20for%20New%20FTDI%20Devices%20to%20Mac%20Driver.pdf FTDI OS X Driver]&lt;br /&gt;
* [https://rowley.zendesk.com/entries/109069-getting-jtag-and-serial-port-to-work-under-mac-os-x-using-a-luminary-ftdi-target-interface changing vid/pid in FTDIUSBSerialDriver.kext]&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Oscilloscope]]&lt;br /&gt;
[[Category:Logic analyzer]]&lt;br /&gt;
[[Category:Mixed-signal oscilloscope]]&lt;br /&gt;
[[Category:Supported]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8430</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8430"/>
		<updated>2014-01-11T13:07:03Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Building using Homebrew */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sigrok macosx.png|right|thumb|320px|sigrok-gui on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
This page describes how to build the sigrok subprojects on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building using Homebrew ==&lt;br /&gt;
These instructions have been tested on Mac OS X 10.9.1.&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install Homebrew. http://brew.sh/&lt;br /&gt;
&lt;br /&gt;
Tap sigrok:&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew tap rene-dev/sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You cannot mix stable and unstable.&lt;br /&gt;
&lt;br /&gt;
=== Unstable ===&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD --with-libserialport libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD --with-libserialport sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
if it complains about python:&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install python3&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
=== Stable ===&lt;br /&gt;
the stable version of pulseview does not build on OS X.&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean install of Mac OS X 10.6.8, 10.8.4 and 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode and Command Line Tools for Xcode be installed on your machine, which are also a dependencies to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for [[PulseView]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Install GTK+ libs and dependencies for [[sigrok-gtk]]. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install git (not needed at least with 10.8.4):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install boost, libusb, libzip and libftdi, the libsigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install boost libusb libzip libftdi0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Install autoconf, automake, cmake, glib2.0+, python 3.3, libtool and pkgconfig to satisfy version dependencies in the build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Set the PKG_CONFIG_PATH environment variable to reflect the future locations of libsigrok and libsigrokdecode for the sigrok-cli build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== [[libserialport]] ===&lt;br /&gt;
&amp;#039;&amp;#039;libserialport&amp;#039;&amp;#039; is optional and required only for devices with serial connection, e.g. most multimeters. If not present during configuring libsigrok, the respective drivers in libsigrok will be disabled.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrok ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrokdecode ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-cli ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== PulseView ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== sigrok-gtk ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The GTK+ GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-qt ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The Qt GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig qmake -spec macx-g++&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you get warnings claiming potential symbol conflicts when running qmake, you are likely not invoking &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039;. Try running &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039; to force the correct version.&lt;br /&gt;
&lt;br /&gt;
Open the sigrok-qt application just built:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;open -a sigrok-qt.app&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
* See also [http://xor-gate.org/writings/sigrok-osx-scratchbuild Wafelijzer&amp;#039;s efforts to build Mac OS X binaries].&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]]&lt;br /&gt;
* [[Mac OS X/Universal| Building universal DyLibs and binaries]]&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=PulseView&amp;diff=8218</id>
		<title>PulseView</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=PulseView&amp;diff=8218"/>
		<updated>2014-01-04T12:10:29Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:20121006-scroll-bars.png|thumb|320px|right|PulseView on KDE (06/10/2012)]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;PulseView&amp;#039;&amp;#039;&amp;#039; is a Qt based logic analyzer GUI for sigrok.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* Fast O(log N) signal rendering at all zoom levels.&lt;br /&gt;
* [[Protocol decoders|Protocol decoder]] support&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
[[http://sigrok.org/gitweb/?p=pulseview.git;a=summary Browse Source]]&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview.git&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
See [[Building#PulseView]].&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
See [[Linux#PulseView]] (or any other of the [[Building#Building_from_source|OS-specific instruction pages]]).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Additional notes:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* Use &amp;lt;code&amp;gt;PKG_CONFIG_PATH=/&amp;#039;&amp;#039;&amp;lt;prefix-of-libsigrok-installation&amp;gt;&amp;#039;&amp;#039;/lib/pkgconfig/&amp;lt;/code&amp;gt; if [[libsigrok]] and [[libsigrokdecode]] are installed to a non-standard prefix.&lt;br /&gt;
* To change the install prefix: &amp;lt;code&amp;gt;cmake -DCMAKE_INSTALL_PREFIX=&amp;#039;&amp;#039;&amp;lt;prefix-dir&amp;gt;&amp;#039;&amp;#039;/ ..&amp;lt;/code&amp;gt;&lt;br /&gt;
* To show compiler arguments during the build: &amp;lt;code&amp;gt;make VERBOSE=1&amp;lt;/code&amp;gt;&lt;br /&gt;
* To make a non-stripped debug build &amp;lt;code&amp;gt;cmake -DCMAKE_BUILD_TYPE=Debug ..&amp;lt;/code&amp;gt;&lt;br /&gt;
* To enable unit tests: &amp;lt;code&amp;gt;cmake -DENABLE_TESTS=y ..&amp;lt;/code&amp;gt;&lt;br /&gt;
* To enable decoders: &amp;lt;code&amp;gt;cmake -DENABLE_DECODE=y ..&amp;lt;/code&amp;gt;&lt;br /&gt;
* To disable -Werror: &amp;lt;code&amp;gt;cmake -DDISABLE_WERROR=y ..&amp;lt;/code&amp;gt;&lt;br /&gt;
* To build with clang: &amp;lt;code&amp;gt;CXX=clang++ cmake ..&amp;lt;/code&amp;gt;&lt;br /&gt;
* If cmake complains that it can only find Qt5, even though you have Qt4 installed: &amp;lt;code&amp;gt;cmake&amp;amp;nbsp;-DQT_QMAKE_EXECUTABLE:string=qmake-qt4&amp;amp;nbsp;..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [[PulseView/Architecture|PulseView Architecture Overview]]&lt;br /&gt;
* [[TODO#pulseview|TODO List]]&lt;br /&gt;
* [https://www.ohloh.net/p/pulseview PulseView on ohloh]&lt;br /&gt;
* [http://airwebreathe.org.uk/w/doku.php?id=pulseview Joel Holdsworth&amp;#039;s personal PulseView project page]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8209</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8209"/>
		<updated>2014-01-04T03:18:55Z</updated>

		<summary type="html">&lt;p&gt;Rene: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sigrok macosx.png|right|thumb|320px|sigrok-gui on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
This page describes how to build the sigrok subprojects on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building using Homebrew ==&lt;br /&gt;
These instructions have been tested on Mac OS X 10.9.1.&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install Homebrew. http://brew.sh/&lt;br /&gt;
&lt;br /&gt;
Tap sigrok:&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew tap rene-dev/sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Unstable ===&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install --HEAD libserialport libsigrok libsigrokdecode sigrok-cli pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Stable ===&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew install sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean install of Mac OS X 10.6.8, 10.8.4 and 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode and Command Line Tools for Xcode be installed on your machine, which are also a dependencies to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for [[PulseView]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Install GTK+ libs and dependencies for [[sigrok-gtk]]. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install git (not needed at least with 10.8.4):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install boost, libusb, libzip and libftdi, the libsigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install boost libusb libzip libftdi0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Install autoconf, automake, cmake, glib2.0+, python 3.3, libtool and pkgconfig to satisfy version dependencies in the build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Set the PKG_CONFIG_PATH environment variable to reflect the future locations of libsigrok and libsigrokdecode for the sigrok-cli build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== [[libserialport]] ===&lt;br /&gt;
&amp;#039;&amp;#039;libserialport&amp;#039;&amp;#039; is optional and required only for devices with serial connection, e.g. most multimeters. If not present during configuring libsigrok, the respective drivers in libsigrok will be disabled.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrok ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrokdecode ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-cli ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== PulseView ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== sigrok-gtk ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The GTK+ GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-qt ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The Qt GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig qmake -spec macx-g++&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you get warnings claiming potential symbol conflicts when running qmake, you are likely not invoking &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039;. Try running &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039; to force the correct version.&lt;br /&gt;
&lt;br /&gt;
Open the sigrok-qt application just built:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;open -a sigrok-qt.app&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
* See also [http://xor-gate.org/writings/sigrok-osx-scratchbuild Wafelijzer&amp;#039;s efforts to build Mac OS X binaries].&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]]&lt;br /&gt;
* [[Mac OS X/Universal| Building universal DyLibs and binaries]]&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8208</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8208"/>
		<updated>2014-01-04T03:09:16Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Building using Homebrew */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sigrok macosx.png|right|thumb|320px|sigrok-gui on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
This page describes how to build the sigrok subprojects on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building using Homebrew ==&lt;br /&gt;
These instructions have been tested onMac OS X 10.9.1.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew. http://brew.sh/&lt;br /&gt;
&lt;br /&gt;
Tap sigrok:&lt;br /&gt;
&lt;br /&gt;
$ &amp;#039;&amp;#039;&amp;#039;brew tap rene-dev/sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean install of Mac OS X 10.6.8, 10.8.4 and 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode and Command Line Tools for Xcode be installed on your machine, which are also a dependencies to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for [[PulseView]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Install GTK+ libs and dependencies for [[sigrok-gtk]]. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install git (not needed at least with 10.8.4):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install boost, libusb, libzip and libftdi, the libsigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install boost libusb libzip libftdi0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Install autoconf, automake, cmake, glib2.0+, python 3.3, libtool and pkgconfig to satisfy version dependencies in the build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Set the PKG_CONFIG_PATH environment variable to reflect the future locations of libsigrok and libsigrokdecode for the sigrok-cli build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== [[libserialport]] ===&lt;br /&gt;
&amp;#039;&amp;#039;libserialport&amp;#039;&amp;#039; is optional and required only for devices with serial connection, e.g. most multimeters. If not present during configuring libsigrok, the respective drivers in libsigrok will be disabled.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrok ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrokdecode ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-cli ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== PulseView ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== sigrok-gtk ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The GTK+ GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-qt ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The Qt GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig qmake -spec macx-g++&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you get warnings claiming potential symbol conflicts when running qmake, you are likely not invoking &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039;. Try running &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039; to force the correct version.&lt;br /&gt;
&lt;br /&gt;
Open the sigrok-qt application just built:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;open -a sigrok-qt.app&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
* See also [http://xor-gate.org/writings/sigrok-osx-scratchbuild Wafelijzer&amp;#039;s efforts to build Mac OS X binaries].&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]]&lt;br /&gt;
* [[Mac OS X/Universal| Building universal DyLibs and binaries]]&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8207</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8207"/>
		<updated>2014-01-04T03:08:09Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sigrok macosx.png|right|thumb|320px|sigrok-gui on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
This page describes how to build the sigrok subprojects on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building using Homebrew ==&lt;br /&gt;
These instructions have been tested onMac OS X 10.9.1.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew. http://brew.sh/&lt;br /&gt;
&lt;br /&gt;
Tap sigrok:  $ &amp;#039;&amp;#039;&amp;#039;brew tap rene-dev/sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean install of Mac OS X 10.6.8, 10.8.4 and 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode and Command Line Tools for Xcode be installed on your machine, which are also a dependencies to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for [[PulseView]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Install GTK+ libs and dependencies for [[sigrok-gtk]]. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install git (not needed at least with 10.8.4):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install boost, libusb, libzip and libftdi, the libsigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install boost libusb libzip libftdi0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Install autoconf, automake, cmake, glib2.0+, python 3.3, libtool and pkgconfig to satisfy version dependencies in the build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Set the PKG_CONFIG_PATH environment variable to reflect the future locations of libsigrok and libsigrokdecode for the sigrok-cli build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== [[libserialport]] ===&lt;br /&gt;
&amp;#039;&amp;#039;libserialport&amp;#039;&amp;#039; is optional and required only for devices with serial connection, e.g. most multimeters. If not present during configuring libsigrok, the respective drivers in libsigrok will be disabled.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrok ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrokdecode ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-cli ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== PulseView ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== sigrok-gtk ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The GTK+ GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-qt ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The Qt GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig qmake -spec macx-g++&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you get warnings claiming potential symbol conflicts when running qmake, you are likely not invoking &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039;. Try running &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039; to force the correct version.&lt;br /&gt;
&lt;br /&gt;
Open the sigrok-qt application just built:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;open -a sigrok-qt.app&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
* See also [http://xor-gate.org/writings/sigrok-osx-scratchbuild Wafelijzer&amp;#039;s efforts to build Mac OS X binaries].&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]]&lt;br /&gt;
* [[Mac OS X/Universal| Building universal DyLibs and binaries]]&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8206</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=8206"/>
		<updated>2014-01-04T02:41:55Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sigrok macosx.png|right|thumb|320px|sigrok-gui on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
This page describes how to build the sigrok subprojects on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean install of Mac OS X 10.6.8, 10.8.4 and 10.9.1.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode and Command Line Tools for Xcode be installed on your machine, which are also a dependencies to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for [[PulseView]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Install GTK+ libs and dependencies for [[sigrok-gtk]]. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install git (not needed at least with 10.8.4):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install boost, libusb, libzip and libftdi, the libsigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install boost libusb libzip libftdi0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Install autoconf, automake, cmake, glib2.0+, python 3.3, libtool and pkgconfig to satisfy version dependencies in the build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Set the PKG_CONFIG_PATH environment variable to reflect the future locations of libsigrok and libsigrokdecode for the sigrok-cli build process.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== [[libserialport]] ===&lt;br /&gt;
&amp;#039;&amp;#039;libserialport&amp;#039;&amp;#039; is optional and required only for devices with serial connection, e.g. most multimeters. If not present during configuring libsigrok, the respective drivers in libsigrok will be disabled.&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libserialport&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrok ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== libsigrokdecode ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-cli ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== PulseView ===&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== sigrok-gtk ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The GTK+ GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== sigrok-qt ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The Qt GUI is not yet usable!&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig qmake -spec macx-g++&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you get warnings claiming potential symbol conflicts when running qmake, you are likely not invoking &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039;. Try running &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039; to force the correct version.&lt;br /&gt;
&lt;br /&gt;
Open the sigrok-qt application just built:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;open -a sigrok-qt.app&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
* See also [http://xor-gate.org/writings/sigrok-osx-scratchbuild Wafelijzer&amp;#039;s efforts to build Mac OS X binaries].&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]]&lt;br /&gt;
* [[Mac OS X/Universal| Building universal DyLibs and binaries]]&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=6159</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=6159"/>
		<updated>2013-04-02T19:50:15Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sigrok macosx.png|right|thumb|320px|sigrok-gui on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
This page describes how to build sigrok on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
These instructions have been tested on a clean Mac OS X 10.6.8 install.&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install MacPorts, follow the guide on [http://www.macports.org/install.php macports.org] (this step will require Xcode on your machine, which is also a dependency to build sigrok).&lt;br /&gt;
&lt;br /&gt;
Install Qt, download qt-mac-opensource-4.7.4.dmg from [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x qt.nokia.com] (Only needed for sigrok-qt).&lt;br /&gt;
&lt;br /&gt;
TODO: Install GTK+ libs and dependencies for sigrok-gtk.&lt;br /&gt;
&lt;br /&gt;
Install git:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Install libusb, libzip and libftdi, the sigrok build dependencies:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install libusb&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install libzip&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install libftdi&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Building [[libsigrok]]:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure --disable-link-mso19 --disable-alsa&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd ..&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Building [[libsigrokdecode]]:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd libsigrokdecode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd ..&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Then you need to build the chosen user interfaces (cli, qt or gtk).&lt;br /&gt;
&lt;br /&gt;
For building [[sigrok-cli]] (the command-line interface for sigrok):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-cli&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd ..&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
For building [[PulseView]]:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd pulseview&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cmake .&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd ..&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
For building [[sigrok-gtk]] (&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The GTK+ GUI is not yet usable!):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-gtk&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd ..&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
For building [[sigrok-qt]] (&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The Qt GUI is not yet usable!):&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.org/sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok-qt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig qmake -spec macx-g++&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd ..&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you get warnings claiming potential symbol conflicts when running qmake, you are likely not invoking &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039;. Try running &amp;#039;&amp;#039;&amp;#039;qmake-qt4&amp;#039;&amp;#039;&amp;#039; to force the correct version.&lt;br /&gt;
&lt;br /&gt;
Open the sigrok-gui application just built:&lt;br /&gt;
&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;open -a sigrok-gui.app&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
* Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
* See also [http://xor-gate.org/writings/sigrok-osx-scratchbuild Wafelijzer&amp;#039;s efforts to build Mac OS X binaries].&lt;br /&gt;
** Python framework incorrect build for OS X [http://bugs.python.org/issue15353 issue 15353]&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]]&lt;br /&gt;
* [[Mac OS X/Universal| Building universal DyLibs and binaries]]&lt;br /&gt;
* Bundle the dynamic libraries with [http://macdylibbundler.sourceforge.net MacDylibBundler]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html Porting UNIX/Linux Applications to Mac OS X]&lt;br /&gt;
* [http://cairographics.org/end_to_end_build_for_mac_os_x CairoGraphics - End to End build for Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;br /&gt;
* [http://stackoverflow.com/questions/1596945/building-osx-app-bundle Stackoverflow - Building OSX App Bundle]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Hardware_driver_API&amp;diff=5451</id>
		<title>Hardware driver API</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Hardware_driver_API&amp;diff=5451"/>
		<updated>2012-12-29T15:42:52Z</updated>

		<summary type="html">&lt;p&gt;Rene: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Every driver must define a &amp;#039;&amp;#039;&amp;#039;struct sr_dev_driver&amp;#039;&amp;#039;&amp;#039; to register it with libsigrok. It is defined as follows:&lt;br /&gt;
&lt;br /&gt;
 struct sr_dev_driver {&lt;br /&gt;
    /* Driver-specific */&lt;br /&gt;
    char *name;&lt;br /&gt;
    char *longname;&lt;br /&gt;
    int api_version;&lt;br /&gt;
    int (*init) (void);&lt;br /&gt;
    int (*cleanup) (void);&lt;br /&gt;
    GSList *(*scan) (GSList *options);&lt;br /&gt;
    GSList *(*dev_list) (void);&lt;br /&gt;
    int (*dev_clear) (void);&lt;br /&gt;
 &lt;br /&gt;
    /* Device-specific */&lt;br /&gt;
    int (*dev_open) (struct sr_dev_inst *sdi);&lt;br /&gt;
    int (*dev_close) (struct sr_dev_inst *sdi);&lt;br /&gt;
    int (*info_get) (int info_id, const void **data,&lt;br /&gt;
            const struct sr_dev_inst *sdi);&lt;br /&gt;
    int (*dev_config_set) (const struct sr_dev_inst *sdi, int hwcap,&lt;br /&gt;
            const void *value);&lt;br /&gt;
    int (*dev_acquisition_start) (const struct sr_dev_inst *sdi,&lt;br /&gt;
            void *cb_data);&lt;br /&gt;
    int (*dev_acquisition_stop) (struct sr_dev_inst *sdi,&lt;br /&gt;
            void *cb_data);&lt;br /&gt;
 &lt;br /&gt;
    /* Dynamic */&lt;br /&gt;
    void *priv;&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
This structure should be the only symbol imported into the libsigrok namespace. The driver&amp;#039;s variables thus cannot conflict with the global libsigrok namespace.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
A short string describing this driver. It should contain only lowercase a-z, 0-9 and dashes (-). It will be referenced in saved session files.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;longname&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
A longer freeform string describing this driver. It will be shown to the user.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;api_version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Currently defined as 1.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Most of the other members of the structure are pointers to driver callbacks:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;init()&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Called when the driver is initially loading into libsigrok, typically at program start.&lt;br /&gt;
&amp;lt;p&amp;gt;Returns SR_OK if successful, SR_ERR otherwise.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cleanup()&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Called before the driver is unloaded. Any resources the driver holds must be released here, such as memory or connectivity library handles.&lt;br /&gt;
&amp;lt;p&amp;gt;Returns SR_OK if successful, SR_ERR otherwise.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;scan(GSList *options)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
When a frontend wants a driver to scan for devices on the system that it knows about, this function is called. If a device was found, any initialization it needs must be performed here; for example, uploading firmware should be done here.&lt;br /&gt;
&lt;br /&gt;
A driver for USB-connected devices typically doesn&amp;#039;t need any help with this: it will find devices known to it by their VendorID and ProductID (VID:PID).&lt;br /&gt;
&lt;br /&gt;
However other drivers &amp;amp;mdash; notably those which use a serial port  &amp;amp;mdash; need to be pointed at the device. The GSList &amp;lt;code&amp;gt;options&amp;lt;/code&amp;gt; contains instances of this struct:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 struct sr_hwopt {&lt;br /&gt;
    int hwopt;&lt;br /&gt;
    const void *value;&lt;br /&gt;
 };&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are currently two valid &amp;lt;code&amp;gt;hwopt&amp;lt;/code&amp;gt; values: &amp;#039;&amp;#039;&amp;#039;SR_HWOPT_CONN&amp;#039;&amp;#039;&amp;#039;, where the associated value contains a string pointing the driver at the resource it needs to connect to. Right now that means a serial port of the form &amp;lt;code&amp;gt;/dev/ttyUSB0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/dev/ttyACM0&amp;lt;/code&amp;gt;. The second &amp;lt;code&amp;gt;hwopt&amp;lt;/code&amp;gt; is &amp;#039;&amp;#039;&amp;#039;SR_HWOPT_SERIALCOMM&amp;#039;&amp;#039;&amp;#039;, which defines the serial communication parameters for the given port in the form &amp;#039;&amp;#039;&amp;amp;lt;baudrate&amp;amp;gt;/&amp;amp;lt;data bits&amp;amp;gt;&amp;amp;lt;parity&amp;amp;gt;&amp;amp;lt;stop bits&amp;amp;gt;&amp;#039;&amp;#039;, for example &amp;quot;9600/8n1&amp;quot; or &amp;quot;600/7o2&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For serial port-based drivers, &amp;#039;&amp;#039;&amp;#039;SR_HWOPT_CONN&amp;#039;&amp;#039;&amp;#039; is always required, and &amp;#039;&amp;#039;&amp;#039;SR_HWOPT_SERIALCOMM&amp;#039;&amp;#039;&amp;#039; always optional: the driver should know at which bitrate its device(s) can communicate, or probe for it.&lt;br /&gt;
&lt;br /&gt;
Any devices found must have a &amp;lt;code&amp;gt;struct sr_dev_inst&amp;lt;/code&amp;gt; created, which is added to the driver&amp;#039;s known instances -- a GSList stored in the driver context&amp;#039;s &amp;lt;code&amp;gt;instances&amp;lt;/code&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
A copy of the &amp;lt;code&amp;gt;struct sr_dev_inst&amp;lt;/code&amp;gt; for every device found in the current invocation of &amp;lt;code&amp;gt;scan()&amp;lt;/code&amp;gt; must also be returned in a GSList from the function itself; the frontend is responsible for freeing the list (but will not touch the instances it contains).&lt;br /&gt;
&lt;br /&gt;
The instances thus returned to the frontend are central to the communication between the driver and the libsigrok frontend: every other callback function has an instance struct as a parameter.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dev_list()&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Called whenever the frontend needs a list of device instances the driver knows about. This should just return the &amp;lt;code&amp;gt;instances&amp;lt;/code&amp;gt; field in the driver&amp;#039;s context struct.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dev_clear()&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Clear the list of device instances the driver knows about. A frontend may call the &amp;lt;code&amp;gt;scan()&amp;lt;/code&amp;gt; function multiple times to add to the driver&amp;#039;s list of known devices, for example with a different serial port each time. If the frontend then wants to start over, it needs this function to clear the list.&lt;br /&gt;
&amp;lt;p&amp;gt;Returns SR_OK if successful, SR_ERR otherwise.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dev_open(struct sr_dev_inst *sdi)&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Open the specified device.&lt;br /&gt;
&amp;lt;p&amp;gt;Returns SR_OK if successful, SR_ERR otherwise.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dev_close(struct sr_dev_inst *sdi)&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Close the specified device.&lt;br /&gt;
&amp;lt;p&amp;gt;Returns SR_OK if successful, SR_ERR otherwise.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;info_get(int info_id, const void **data, struct sr_dev_inst *sdi)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Returns information about the driver, or, is &amp;#039;&amp;#039;&amp;#039;sdi&amp;#039;&amp;#039;&amp;#039; is provided, that device instance. The type of information is given as info_id, one of a set of defined constants. The return value is always a pointer which refers to information specific to the id. Check &amp;lt;code&amp;gt;libsigrok.h&amp;lt;/code&amp;gt; for the definitions (&amp;#039;&amp;#039;&amp;#039;SR_DI_*&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dev_config_set(const struct sr_dev_inst *sdi, int hwcap, const void *value)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
This is used to configure the driver and/or connected device. The hwcap parameter is one of the constants returned from calling &amp;lt;code&amp;gt;info_get()&amp;lt;/code&amp;gt; with either SR_DI_HWOPTS (driver options) or SR_DI_HWCAPS (device instance options) as the &amp;lt;code&amp;gt;info_id&amp;lt;/code&amp;gt;. The value depends on the parameter to be configured.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Start acquisition on the specified device. The cb_data parameter will be passed along with the data feed of this session, as the first parameter to session bus callbacks.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dev_acquisition_stop(const struct sr_dev_inst *sdi, void *cb_data)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Stop acquisition on the specified device. This causes a DF_END packet to be sent to the session bus.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;priv&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
This should contain a pointer to a &amp;lt;code&amp;gt;struct drv_context&amp;lt;/code&amp;gt;, which is initialized by the &amp;lt;code&amp;gt;init()&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Saleae_Logic&amp;diff=5246</id>
		<title>Saleae Logic</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Saleae_Logic&amp;diff=5246"/>
		<updated>2012-12-06T20:02:42Z</updated>

		<summary type="html">&lt;p&gt;Rene: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Saleae Logic.png|thumb|right|Saleae Logic]]&lt;br /&gt;
&lt;br /&gt;
The [http://www.saleae.com/logic/ Saleae Logic] is a 24MHz, 8-channel, USB-based logic analyzer.&lt;br /&gt;
&lt;br /&gt;
The unit itself is very small, and has a USB 2.0 port connecting it to a PC (and powering the unit) and a connector for the 8 + 1 probe set. It is built around a Cypress EZ-USB FX2LP microcontroller &amp;amp;mdash; an 8051-compatible chip with built-in USB 2.0 controller. It can sample 8 channels up to 24MHz and sells for $150.&lt;br /&gt;
&lt;br /&gt;
The Saleae Logic reports on the USB bus with vendor ID &amp;#039;&amp;#039;&amp;#039;0x0925&amp;#039;&amp;#039;&amp;#039;, product ID &amp;#039;&amp;#039;&amp;#039;0x3881&amp;#039;&amp;#039;&amp;#039; (see also the [[Saleae Logic/Info|full lsusb]]). It has no firmware on board; this must be uploaded when the unit is powered on. sigrok uses the [[fx2lafw]] firmware for this.&lt;br /&gt;
&lt;br /&gt;
The case has four &amp;#039;&amp;#039;&amp;#039;Torx T2&amp;#039;&amp;#039;&amp;#039; screws you need to remove in order to be able to open it.&lt;br /&gt;
&lt;br /&gt;
See [[Saleae Logic/Info]] for more details (such as &amp;#039;&amp;#039;&amp;#039;lsusb -vvv&amp;#039;&amp;#039;&amp;#039; output) about the device.&lt;br /&gt;
&lt;br /&gt;
See [[Saleae Logic16]] for the successor product of the Saleae Logic.&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
&lt;br /&gt;
* Main chip: Cypress CY7C68013A-56PVXC (SSOP)&lt;br /&gt;
* ESD protection: ST DVIULC6-4SC6&lt;br /&gt;
* 3.3V voltage regulator: ST LD33C&lt;br /&gt;
* I2C EEPROM: Microchip 24LC00&lt;br /&gt;
* Crystal: 24MHz&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Saleae Logic.jpg|&amp;lt;small&amp;gt;Device, top&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Saleae logic.jpg|&amp;lt;small&amp;gt;Device with two E-Z-Hooks&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Saleae logic opened.jpg|&amp;lt;small&amp;gt;Device, open&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Saleae logic pcb front.jpg|&amp;lt;small&amp;gt;PCB, front&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Saleae logic pcb back.jpg|&amp;lt;small&amp;gt;PCB, back&amp;lt;/small&amp;gt;&lt;br /&gt;
File:Saleae logic collection.jpg|&amp;lt;small&amp;gt;Saleae Logic collection&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Protocol ==&lt;br /&gt;
&lt;br /&gt;
The original Saleae firmware, no longer used in sigrok, announces itself on the USB bus with the same vendor and product IDs, but with two endpoints: &amp;#039;&amp;#039;&amp;#039;endpoint 1 (out)&amp;#039;&amp;#039;&amp;#039; is used for sending commands to the logic analyzer, &amp;#039;&amp;#039;&amp;#039;endpoint 2 (in)&amp;#039;&amp;#039;&amp;#039; is for transfers of sample sets. Both endpoints are of type &amp;#039;&amp;#039;&amp;#039;bulk&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The Saleae Logic does no analysis in hardware at all. Processing triggers, protocol analysis and so on is all done on the software side; the hardware unit merely sends the requested number of samples at a given sample rate. The device has 8 probes, all of which are always probed and sent along. A full sample is thus always exactly one byte.&lt;br /&gt;
&lt;br /&gt;
=== Setting the samplerate, starting an acquisition ===&lt;br /&gt;
&lt;br /&gt;
There is only one command the software sends to the Saleae Logic on &amp;#039;&amp;#039;&amp;#039;endpoint 1&amp;#039;&amp;#039;&amp;#039;: a &amp;#039;&amp;#039;&amp;#039;two-byte command&amp;#039;&amp;#039;&amp;#039; to set the samplerate. The &amp;#039;&amp;#039;&amp;#039;first byte&amp;#039;&amp;#039;&amp;#039; is always &amp;#039;&amp;#039;&amp;#039;0x01&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;0xd5&amp;#039;&amp;#039;&amp;#039; on more recent firmware versions). This is likely a command opcode meaning &amp;quot;set sample rate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;second byte&amp;#039;&amp;#039;&amp;#039; indicates the samplerate. The samplerate is given in the form of a divider based on the FX2LP&amp;#039;s clock, which runs at 48MHz. The following formula is used:&lt;br /&gt;
&lt;br /&gt;
 samplerate = 48 / (1 + divider)&lt;br /&gt;
&lt;br /&gt;
Thus, a samplerate of 2 MHz (for example) is selected by using 23 as the divider:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; style=&amp;quot;font-size: smaller&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#6699ff&amp;quot;&lt;br /&gt;
!1st byte&lt;br /&gt;
!2nd byte&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 0x01 (1)&lt;br /&gt;
| 0x17 (23)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Supported samplerates ===&lt;br /&gt;
&lt;br /&gt;
The following samplerates are supported in older firmware versions:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; style=&amp;quot;font-size: smaller&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#6699ff&amp;quot;&lt;br /&gt;
!Samplerate&lt;br /&gt;
!Divider (hex)&lt;br /&gt;
!Divider (int)&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 200 kHz&lt;br /&gt;
| 0xef&lt;br /&gt;
| 239&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 250 kHz&lt;br /&gt;
| 0xbf&lt;br /&gt;
| 191&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 500 kHz&lt;br /&gt;
| 0x5f&lt;br /&gt;
| 95&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 1 MHz&lt;br /&gt;
| 0x2f&lt;br /&gt;
| 47&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 2 MHz&lt;br /&gt;
| 0x17&lt;br /&gt;
| 23&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 4 MHz&lt;br /&gt;
| 0x0b&lt;br /&gt;
| 11&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 8 MHz&lt;br /&gt;
| 0x05&lt;br /&gt;
| 5&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 12 MHz&lt;br /&gt;
| 0x03&lt;br /&gt;
| 3&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 16 MHz&lt;br /&gt;
| 0x02&lt;br /&gt;
| 2&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 24 MHz&lt;br /&gt;
| 0x01&lt;br /&gt;
| 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Recent versions of the vendor software have additional samplerate settings of &amp;#039;&amp;#039;&amp;#039;100 kHz&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;50 kHz&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;25 kHz&amp;#039;&amp;#039;&amp;#039;. However, these result in the same divider value of &amp;#039;&amp;#039;&amp;#039;239&amp;#039;&amp;#039;&amp;#039; (and the software likely just uses every 2nd/4th/8th sample) as with the 200 kHz samplerate, so they&amp;#039;re not really too useful.&lt;br /&gt;
&lt;br /&gt;
The following samplerates are supported in newer firmware versions:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; style=&amp;quot;font-size: smaller&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#6699ff&amp;quot;&lt;br /&gt;
!Samplerate&lt;br /&gt;
!Divider (hex)&lt;br /&gt;
!Divider (int)&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 200 kHz&lt;br /&gt;
| 0x4e&lt;br /&gt;
| 78&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 250 kHz&lt;br /&gt;
| 0x9e&lt;br /&gt;
| 158&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 500 kHz&lt;br /&gt;
| 0xfe&lt;br /&gt;
| 254&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 1 MHz&lt;br /&gt;
| 0x8e&lt;br /&gt;
| 142&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 2 MHz&lt;br /&gt;
| 0xe6&lt;br /&gt;
| 230&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 4 MHz&lt;br /&gt;
| 0xda&lt;br /&gt;
| 218&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 8 MHz&lt;br /&gt;
| 0xd4&lt;br /&gt;
| 212&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 12 MHz&lt;br /&gt;
| 0xe2&lt;br /&gt;
| 226&lt;br /&gt;
|- bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| 16 MHz&lt;br /&gt;
| 0xd5&lt;br /&gt;
| 213&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
| 24 MHz&lt;br /&gt;
| 0xe0&lt;br /&gt;
| 224&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Getting samples ===&lt;br /&gt;
&lt;br /&gt;
Samples are read off &amp;#039;&amp;#039;&amp;#039;endpoint 2&amp;#039;&amp;#039;&amp;#039;. The Saleae Logic receives a read request from the host, and responds by sending the requested number of samples. The maximum number of samples transferred at a time is 4096, a constraint in the USB protocol. A sample is one byte, with each bit representing the state of one of the probes. Probe 1 (black wire) is in the MSB of the sample, probe 8 (purple wire) is the LSB.&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
TODO.&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;br /&gt;
[[Category:Logic analyzer]]&lt;br /&gt;
[[Category:Supported]]&lt;/div&gt;</summary>
		<author><name>Rene</name></author>
	</entry>
</feed>