As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Difference between revisions of "Installing ChipWhisperer/Installing ChipWhisperer from Git"

From ChipWhisperer Wiki
Jump to: navigation, search
(Update for github issue #140)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
If you want the cutting-edge version of ChipWhisperer, you can clone the repository. If you have Git already set up, this is easy to do:
 
If you want the cutting-edge version of ChipWhisperer, you can clone the repository. If you have Git already set up, this is easy to do:
<code>
+
<pre>
git clone git@github.com:newaetech/chipwhisperer.git
+
git clone https://github.com/newaetech/chipwhisperer.git
cd chipwhisperer/software
+
cd chipwhisperer
python setup.py develop
+
git checkout develop
</code>
+
cd software
 +
python setup.py develop --user
 +
</pre>
 +
The user flag installs ChipWhisperer in the user's <b>local</b> python site-packages directory. Note bleeding-edge development is done on the "develop" branch, which you probably want if you are trying GIT.
  
 
You may also want the OpenADC software, which is necessary to build new firmware for the ChipWhisperer FPGA. This is unnecessary for most users. If you need it:
 
You may also want the OpenADC software, which is necessary to build new firmware for the ChipWhisperer FPGA. This is unnecessary for most users. If you need it:
<code>
+
<pre>
 
cd ..
 
cd ..
git clone git://git.assembla.com/openadc.git
+
git submodule init
 +
git submodule update
 
cd openadc/controlsw/python
 
cd openadc/controlsw/python
python setup.py develop
+
python setup.py develop --user
</code>
+
</pre>

Latest revision as of 07:15, 8 May 2018

If you want the cutting-edge version of ChipWhisperer, you can clone the repository. If you have Git already set up, this is easy to do:

git clone https://github.com/newaetech/chipwhisperer.git
cd chipwhisperer
git checkout develop
cd software
python setup.py develop --user

The user flag installs ChipWhisperer in the user's local python site-packages directory. Note bleeding-edge development is done on the "develop" branch, which you probably want if you are trying GIT.

You may also want the OpenADC software, which is necessary to build new firmware for the ChipWhisperer FPGA. This is unnecessary for most users. If you need it:

cd ..
git submodule init
git submodule update
cd openadc/controlsw/python
python setup.py develop --user