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
(Use git submodule commands instead of manually cloning)
m (Adding the --user flag to the setup process by suggestion from user of ChipWhisperer)
Line 3: Line 3:
 
git clone git@github.com:newaetech/chipwhisperer.git
 
git clone git@github.com:newaetech/chipwhisperer.git
 
cd chipwhisperer/software
 
cd chipwhisperer/software
python setup.py develop
+
python setup.py develop --user
 
</pre>
 
</pre>
 +
The user flag installs ChipWhisperer in the user's <b>local</b> python site-packages directory.
  
 
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:
Line 12: Line 13:
 
git submodule update
 
git submodule update
 
cd openadc/controlsw/python
 
cd openadc/controlsw/python
python setup.py develop
+
python setup.py develop --user
 
</pre>
 
</pre>

Revision as of 17:30, 11 January 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 git@github.com:newaetech/chipwhisperer.git
cd chipwhisperer/software
python setup.py develop --user

The user flag installs ChipWhisperer in the user's local python site-packages directory.

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