1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/goodfet
MrKevinWeiss b26c4727a7 dist/tools/goodfet: Update goodfet flasher to python3
Apply `2to3` for scripted python 2 to 3 update.
Fix encoding and decoding of serial write and read.
Fix `chr` and `ord` to `to_bytes` and `bytearray`.
2021-01-28 11:03:21 +01:00
..
goodfet.bsl dist/tools/goodfet: Update goodfet flasher to python3 2021-01-28 11:03:21 +01:00
README.txt remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00

#For Mac, install the following.
# XCode
# MacPorts
# FTDI Virtual COM Driver

#For Windows,
# Python 2.7, 32-bit
# py-serial for Python 2.7.  Version for 2.6 will not work.
# FTDI VCP drivers, available in Windows Update
# Add python to %PATH% and use it to run the scripts in \trunk\client\.

# In Linux, the FTDI driver should be included by default.  Be sure
# that the user is allowed to use /dev/ttyUSB0, which often requires
# being a member of the dialout group.

# Now install these packages.  They might have different names.
# python-serial wget subversion gcc-msp430 curl

# Use subversion to grab the code.
mkdir -p ~/svn; cd ~/svn
svn co https://goodfet.svn.sourceforge.net/svnroot/goodfet

# Then link the client into /usr/local/bin/
# You could also add the client directory to your $PATH.
cd ~/svn/goodfet/trunk/client
sudo make link

# Load firmware, not yet building it locally.
goodfet.bsl --fromweb
goodfet.monitor test