1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-11-15 21:55:06 -05:00

Remove tool instructions as it is a separate project

This commit is contained in:
Raphael Assenat 2016-11-27 14:27:05 -05:00
parent 6bb9ce18a9
commit d573ff55c3

View File

@ -11,13 +11,6 @@ The project homepage is located at: http://www.raphnet.net/electronique/multiuse
The project is released under the General Public License version 3.
## Directories
* / : The firmware source code
* tool/ : This directory contains utilities to configure and update an adapter, manipulate mempak
image files, etc.
* scripts/ : Scripts and/or useful files
## Compiling the firmware
You will need a working avr-gcc toolchain with avr-libc and standard utilities such as make. Just
@ -29,36 +22,3 @@ The makefile has a convenient 'flash' target which sends a command to the firmwa
the bootloader and then executes dfu-programmer (it must of course be installed) with the
correct arguments.
Note that the tool must be compiled first and your permissions must also be set so that your
user may access the device. See 'Using the tools' below for more information.
## Compiling the tools
In the tool/ directory, just type make.
There are a few dependencies:
- libhidapi-dev
- libhidapi-hidraw0
- pkg-config
- gtk3 (for the gui only)
Provided you have all the dependencies installed, under Linux at least, it should
compile without errors. For other environments such has MinGW, there are provisions
in the makefile to auto-detect and tweak the build accordingly, but it if fails, be
prepared to hack the makefile.
## Using the tools
Under Linux, you should configure udev to give the proper permissions to your user,
otherwise communicating with the device won't be possible. The same requirement
also applies to dfu-programmer.
An easy way to do this is to copy the two files below to /etc/udev/rules.d, restart
udev and reconnect the devices.
scripts/99-atmel-dfu.rules
scripts/99-raphnet.rules
For information on how to actually /use/ the tools, try --help. Ex:
$ ./gcn64ctl --help