Browse Source

Add i686 dfu-programmer binary.

master
flabbergast 7 years ago
parent
commit
63d568ad46
  1. 7
      README.md
  2. BIN
      tools/dfu-programmer.linux.i686
  3. 7
      tools/dfu-programmer.run.sh
  4. BIN
      tools/libs.linux.i686/libusb-1.0.so.0

7
README.md

@ -39,10 +39,15 @@ Select one of the Xmega boards in your IDE. Enjoy!
possibly it's buggy. However it should be good enough for some basic
Serial support.
- The build settings assume DFU bootloader. The flashing is done with
[dfu-programmer], supplied in the zip (tested on Mac OS X, Linux (i386
[dfu-programmer], supplied in the zip (tested on Mac OS X, Linux (i686
and x86_64 - you'll need to install dfu-programmer manually on arm).
- I've only tested it on [X-A4U-stick] - I don't have any other XMEGA
boards.
- `dfu-programmer` on linux might claim that 'No device present' even if
the DFU bootloader shows up on `lsusb`. It's a permissions problem
then - give your user enough permissions to access that usb device
(google usb device permissions udev rule to see how can you fix that
on your particular system).

BIN
tools/dfu-programmer.linux.i686

Binary file not shown.

7
tools/dfu-programmer.run.sh

@ -9,10 +9,9 @@ DFU_COMMAND=dfu-programmer
if [[ $PLATFORM == "Darwin" ]]; then
DFU_COMMAND="$DIR/dfu-programmer.osx"
elif [[ $PLATFORM == "Linux" ]]; then
if [[ $ARCH == "x86_64" ]]; then
DFU_COMMAND="LD_LIBRARY_PATH=$DIR/libs.linux.x86_64 $DIR/dfu-programmer.linux.x86_64"
elif [[ $ARCH == "i386" ]]; then
DFU_COMMAND="$DIR/dfu-programmer.linux.i386"
if [[ $ARCH == "x86_64" || $ARCH == "i686" ]]; then
export LD_LIBRARY_PATH="$DIR/libs.linux.$ARCH"
DFU_COMMAND="$DIR/dfu-programmer.linux.$ARCH"
fi
fi
"$DFU_COMMAND" $1 erase

BIN
tools/libs.linux.i686/libusb-1.0.so.0

Binary file not shown.
Loading…
Cancel
Save