Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

o Using group id and package to "io.trygvis".

o Using copies of snapshot dependencies releases under "io.trygvis".
  • Loading branch information...
commit b69f8facfdd093c5f2bf90864d0cd72ca66c741b 1 parent 5beb70c
@trygvis authored
Showing with 105 additions and 81 deletions.
  1. +0 −6 .gitmodules
  2. +2 −2 README.markdown → README.md
  3. +0 −1  cpptasks-parallel
  4. +3 −3 ftdi/pom.xml
  5. +2 −2 ftdi/src/main/java/{no/hackaton → io/trygvis}/usb/ftdi/Ftdi232.java
  6. +1 −1  ftdi/src/main/java/{no/hackaton → io/trygvis}/usb/ftdi/Ftdi232Util.java
  7. +1 −1  ftdi/src/test/java/{no/hackaton → io/trygvis}/usb/ftdi/Ftdi232Test.java
  8. +1 −1  ftdi/src/test/java/{no/hackaton → io/trygvis}/usb/ftdi/ReadSerial.java
  9. +1 −1  ftdi/src/test/java/{no/hackaton → io/trygvis}/usb/ftdi/ToggleDtr.java
  10. +4 −3 javalibusb1/pom.xml
  11. +2 −2 javax.usb-extra/pom.xml
  12. +1 −1  javax.usb/pom.xml
  13. +1 −1  libusb/pom.xml
  14. +0 −1  maven-nar-plugin
  15. +13 −5 pom.xml
  16. +11 −10 usbtools/pom.xml
  17. +1 −1  usbtools/src/main/assembly/all.xml
  18. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/Fx2Device.java
  19. +6 −6 usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/Fx2Programmer.java
  20. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/HexFormatter.java
  21. +2 −2 usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/IntelHex.java
  22. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ReadSerial.java
  23. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/UsbCliUtil.java
  24. +3 −3 usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/UsbEcho.java
  25. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/UsbRead.java
  26. +27 −5 usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/UsbWrite.java
  27. +2 −2 usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ztex/MemTest.java
  28. +2 −2 usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ztex/ZtexDevice.java
  29. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ztex/ZtexDeviceDescriptor.java
  30. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ztex/ZtexException.java
  31. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ztex/ZtexFpgaState.java
  32. +2 −2 usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ztex/ZtexLoadBitStream.java
  33. +1 −1  usbtools/src/main/java/{no/hackaton → io/trygvis}/usb/tools/ztex/ZtexService.java
  34. +2 −2 usbtools/src/test/java/{no/hackaton → io/trygvis}/usb/tools/HexFormatterTest.java
  35. +4 −4 usbtools/src/test/java/{no/hackaton → io/trygvis}/usb/tools/IntelHexTest.java
  36. +1 −1  usbtools/src/test/java/{no/hackaton → io/trygvis}/usb/tools/LsusbTest.java
  37. +1 −1  usbtools/src/{main/java/no/hackaton → test/java/io/trygvis}/usb/tools/lsusb.java
View
6 .gitmodules
@@ -1,9 +1,3 @@
[submodule "libusb-git"]
path = libusb-git
url = git://git.libusb.org/libusb-trygvis
-[submodule "maven-nar-plugin"]
- path = maven-nar-plugin
- url = http://github.com/duns/maven-nar-plugin.git
-[submodule "cpptasks-parallel"]
- path = cpptasks-parallel
- url = http://github.com/duns/cpptasks-parallel.git
View
4 README.markdown → README.md
@@ -37,7 +37,7 @@ be a bit more generic.
To control the debugging level from libusb set the system property
"javax.usb.libusb.debug" to the desired level:
-> -Djavax.usb.libusb.debug=3`
+> -Djavax.usb.libusb.debug=3
See their documentation for the up to date values. Current values:
@@ -50,7 +50,7 @@ See their documentation for the up to date values. Current values:
To trace all calls to libusb, truss/strace/kdump style set the
system property "javax.usb.libusb.trace" to true
-> -Djavax.usb.libusb.trace=true`
+> -Djavax.usb.libusb.trace=true
Building
--------
1  cpptasks-parallel
@@ -1 +0,0 @@
-Subproject commit 80c60b49511fb2826ac70afabe5699fe6abb7a96
View
6 ftdi/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax-usb-libusb1</artifactId>
<version>1.0.1-1-SNAPSHOT</version>
</parent>
@@ -13,13 +13,13 @@
<packaging>nar</packaging>
<dependencies>
<dependency>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javalibusb1</artifactId>
<version>${project.version}</version>
<type>nar</type>
</dependency>
<dependency>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax.usb-extra</artifactId>
<version>${project.version}</version>
</dependency>
View
4 ftdi/src/main/java/no/hackaton/usb/ftdi/Ftdi232.java → ftdi/src/main/java/io/trygvis/usb/ftdi/Ftdi232.java
@@ -1,7 +1,7 @@
-package no.hackaton.usb.ftdi;
+package io.trygvis.usb.ftdi;
import static javax.usb.UsbConst.*;
-import static no.hackaton.usb.ftdi.Ftdi232Util.*;
+import static io.trygvis.usb.ftdi.Ftdi232Util.*;
import javax.usb.*;
import javax.usb.util.*;
View
2  ...c/main/java/no/hackaton/usb/ftdi/Ftdi232Util.java → ...rc/main/java/io/trygvis/usb/ftdi/Ftdi232Util.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.ftdi;
+package io.trygvis.usb.ftdi;
import javax.usb.*;
View
2  ...c/test/java/no/hackaton/usb/ftdi/Ftdi232Test.java → ...rc/test/java/io/trygvis/usb/ftdi/Ftdi232Test.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.ftdi;
+package io.trygvis.usb.ftdi;
import org.junit.*;
import static org.junit.Assert.*;
View
2  ...rc/test/java/no/hackaton/usb/ftdi/ReadSerial.java → ...src/test/java/io/trygvis/usb/ftdi/ReadSerial.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.ftdi;
+package io.trygvis.usb.ftdi;
import javax.usb.*;
View
2  ...src/test/java/no/hackaton/usb/ftdi/ToggleDtr.java → .../src/test/java/io/trygvis/usb/ftdi/ToggleDtr.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.ftdi;
+package io.trygvis.usb.ftdi;
import static java.lang.Thread.sleep;
View
7 javalibusb1/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax-usb-libusb1</artifactId>
<version>1.0.1-1-SNAPSHOT</version>
</parent>
@@ -13,12 +13,12 @@
<packaging>nar</packaging>
<dependencies>
<dependency>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax.usb</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>libusb</artifactId>
<version>${project.version}</version>
<type>pom</type>
@@ -27,6 +27,7 @@
<build>
<plugins>
<plugin>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>maven-nar-plugin</artifactId>
<extensions>true</extensions>
<configuration>
View
4 javax.usb-extra/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax-usb-libusb1</artifactId>
<version>1.0.1-1-SNAPSHOT</version>
</parent>
@@ -12,7 +12,7 @@
<name>Javalibusb1 :: javax.usb utilities</name>
<dependencies>
<dependency>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax.usb</artifactId>
<version>${project.version}</version>
</dependency>
View
2  javax.usb/pom.xml
@@ -1,7 +1,7 @@
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax-usb-libusb1</artifactId>
<version>1.0.1-1-SNAPSHOT</version>
</parent>
View
2  libusb/pom.xml
@@ -1,7 +1,7 @@
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax-usb-libusb1</artifactId>
<version>1.0.1-1-SNAPSHOT</version>
</parent>
1  maven-nar-plugin
@@ -1 +0,0 @@
-Subproject commit 8ca1001ee7a8c824e9d72bbc874e5a5aafa2676e
View
18 pom.xml
@@ -1,6 +1,11 @@
<project>
<modelVersion>4.0.0</modelVersion>
- <groupId>no.hackaton.usb</groupId>
+ <parent>
+ <groupId>org.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>7</version>
+ </parent>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax-usb-libusb1</artifactId>
<version>1.0.1-1-SNAPSHOT</version>
<name>Javalibusb1</name>
@@ -13,6 +18,10 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <scm>
+ <connection>scm:git:git@github.com:trygvis/javax-usb-libusb1</connection>
+ <developerConnection>scm:git:git@github.com:trygvis/javax-usb-libusb1</developerConnection>
+ </scm>
<build>
<pluginManagement>
<plugins>
@@ -69,8 +78,9 @@
</configuration>
</plugin>
<plugin>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>maven-nar-plugin</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1-trygvis-1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -125,8 +135,8 @@
</configuration>
</plugin>
<plugin>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>maven-nar-plugin</artifactId>
- <version>2.1-SNAPSHOT</version>
<extensions>true</extensions>
</plugin>
</plugins>
@@ -218,12 +228,10 @@
</profile>
</profiles>
<modules>
- <module>cpptasks-parallel</module>
<module>ftdi</module>
<module>javalibusb1</module>
<module>javax.usb-extra</module>
<module>javax.usb</module>
- <module>maven-nar-plugin</module>
<module>usbtools</module>
</modules>
</project>
View
21 usbtools/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax-usb-libusb1</artifactId>
<version>1.0.1-1-SNAPSHOT</version>
</parent>
@@ -13,13 +13,13 @@
<packaging>nar</packaging>
<dependencies>
<dependency>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javalibusb1</artifactId>
<version>${project.version}</version>
<type>nar</type>
</dependency>
<dependency>
- <groupId>no.hackaton.usb</groupId>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>javax.usb-extra</artifactId>
<version>${project.version}</version>
</dependency>
@@ -38,6 +38,7 @@
</configuration>
</plugin>
<plugin>
+ <groupId>io.trygvis.usb</groupId>
<artifactId>maven-nar-plugin</artifactId>
<executions>
<execution>
@@ -92,31 +93,31 @@
<programs>
<program>
<name>lsusb</name>
- <mainClass>no.hackaton.usb.tools.lsusb</mainClass>
+ <mainClass>io.trygvis.usb.tools.lsusb</mainClass>
</program>
<program>
<name>fx2programmer</name>
- <mainClass>no.hackaton.usb.tools.Fx2Programmer</mainClass>
+ <mainClass>io.trygvis.usb.tools.Fx2Programmer</mainClass>
</program>
<program>
<name>usbecho</name>
- <mainClass>no.hackaton.usb.tools.UsbEcho</mainClass>
+ <mainClass>io.trygvis.usb.tools.UsbEcho</mainClass>
</program>
<program>
<name>usb-read</name>
- <mainClass>no.hackaton.usb.tools.UsbRead</mainClass>
+ <mainClass>io.trygvis.usb.tools.UsbRead</mainClass>
</program>
<program>
<name>usb-write</name>
- <mainClass>no.hackaton.usb.tools.UsbWrite</mainClass>
+ <mainClass>io.trygvis.usb.tools.UsbWrite</mainClass>
</program>
<program>
<name>ztex-memtest</name>
- <mainClass>no.hackaton.usb.tools.ztex.MemTest</mainClass>
+ <mainClass>io.trygvis.usb.tools.ztex.MemTest</mainClass>
</program>
<program>
<name>ztex-load-bitstream</name>
- <mainClass>no.hackaton.usb.tools.ztex.ZtexLoadBitStream</mainClass>
+ <mainClass>io.trygvis.usb.tools.ztex.ZtexLoadBitStream</mainClass>
</program>
</programs>
</configuration>
View
2  usbtools/src/main/assembly/all.xml
@@ -27,7 +27,7 @@
This would have been the optimal solution if the appassembler plugin
would be able to pick up the extra files under lib/.
<fileSet>
- <directory>${localRepository}/no/hackaton/javalibusb1/${project.version}</directory>
+ <directory>${localRepository}/io/trygvis/usb/javalibusb1/${project.version}</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>*-jni.nar</include>
View
2  ...rc/main/java/no/hackaton/usb/tools/Fx2Device.java → ...src/main/java/io/trygvis/usb/tools/Fx2Device.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static javax.usb.util.UsbUtil.*;
View
12 ...ain/java/no/hackaton/usb/tools/Fx2Programmer.java → ...main/java/io/trygvis/usb/tools/Fx2Programmer.java
@@ -1,12 +1,12 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static java.lang.Thread.*;
import static java.util.Arrays.*;
-import static no.hackaton.usb.tools.Fx2Device.*;
-import no.hackaton.usb.tools.IntelHex.*;
-import static no.hackaton.usb.tools.IntelHex.RecordType.*;
-import static no.hackaton.usb.tools.IntelHex.openIntelHexFile;
-import static no.hackaton.usb.tools.UsbCliUtil.*;
+import static io.trygvis.usb.tools.Fx2Device.*;
+import io.trygvis.usb.tools.IntelHex.*;
+import static io.trygvis.usb.tools.IntelHex.RecordType.*;
+import static io.trygvis.usb.tools.IntelHex.openIntelHexFile;
+import static io.trygvis.usb.tools.UsbCliUtil.*;
import javax.usb.*;
import java.io.*;
View
2  ...main/java/no/hackaton/usb/tools/HexFormatter.java → .../main/java/io/trygvis/usb/tools/HexFormatter.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static javax.usb.util.UsbUtil.*;
View
4 ...src/main/java/no/hackaton/usb/tools/IntelHex.java → .../src/main/java/io/trygvis/usb/tools/IntelHex.java
@@ -1,7 +1,7 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static java.lang.Integer.*;
-import static no.hackaton.usb.tools.IntelHex.RecordType.*;
+import static io.trygvis.usb.tools.IntelHex.RecordType.*;
import javax.usb.util.*;
import java.io.*;
View
2  ...c/main/java/no/hackaton/usb/tools/ReadSerial.java → ...rc/main/java/io/trygvis/usb/tools/ReadSerial.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import javax.usb.*;
import java.util.List;
View
2  ...c/main/java/no/hackaton/usb/tools/UsbCliUtil.java → ...rc/main/java/io/trygvis/usb/tools/UsbCliUtil.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static java.lang.Integer.*;
import static javax.usb.extra.ExtraUsbUtil.*;
View
6 .../src/main/java/no/hackaton/usb/tools/UsbEcho.java → ...s/src/main/java/io/trygvis/usb/tools/UsbEcho.java
@@ -1,9 +1,9 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static java.lang.Byte.parseByte;
import static javax.usb.UsbHostManager.*;
-import static no.hackaton.usb.tools.HexFormatter.writeBytes;
-import static no.hackaton.usb.tools.UsbCliUtil.findDevice;
+import static io.trygvis.usb.tools.HexFormatter.writeBytes;
+import static io.trygvis.usb.tools.UsbCliUtil.findDevice;
import javax.usb.*;
View
2  .../src/main/java/no/hackaton/usb/tools/UsbRead.java → ...s/src/main/java/io/trygvis/usb/tools/UsbRead.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static javax.usb.UsbHostManager.*;
View
32 ...src/main/java/no/hackaton/usb/tools/UsbWrite.java → .../src/main/java/io/trygvis/usb/tools/UsbWrite.java
@@ -1,7 +1,9 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
+import static java.lang.Byte.parseByte;
+import static java.lang.Integer.parseInt;
import static javax.usb.UsbHostManager.*;
-import static no.hackaton.usb.tools.UsbCliUtil.findDevice;
+import static io.trygvis.usb.tools.UsbCliUtil.findDevice;
import javax.usb.*;
@@ -14,9 +16,22 @@
public static void main(String[] args) throws Exception {
String id = null;
+ Byte endpointId = null;
- if (args.length > 0) {
- id = args[0];
+ System.setProperty("javax.usb.libusb.trace", "true");
+
+ for (String arg : args) {
+ if(arg.startsWith("--id=")) {
+ id = arg.substring(5);
+ }
+ else if(arg.startsWith("--ep=")) {
+ endpointId = parseByte(arg.substring(5));
+ }
+ }
+
+ if(id == null || endpointId == null) {
+ System.err.println("Usage: --ep=<ep> --id=VVVV:PPPP");
+ return;
}
UsbDevice device = findDevice(getUsbServices().getRootUsbHub(), idVendor, idProduct, id);
@@ -28,7 +43,11 @@ public static void main(String[] args) throws Exception {
UsbInterface usbInterface = device.getUsbConfiguration((byte) 1).getUsbInterface((byte) 0);
usbInterface.claim();
try {
- UsbEndpoint endpoint = usbInterface.getUsbEndpoint((byte) 0x04);
+ UsbEndpoint endpoint = usbInterface.getUsbEndpoint(endpointId);
+ if(endpoint == null) {
+ System.err.println("No such endpoint " + endpointId + ".");
+ return;
+ }
UsbEndpointDescriptor endpointDescriptor = endpoint.getUsbEndpointDescriptor();
System.out.println("endpointDescriptor.wMaxPacketSize() = " + endpointDescriptor.wMaxPacketSize());
@@ -46,6 +65,9 @@ public static void main(String[] args) throws Exception {
UsbIrp irp = pipe.createUsbIrp();
irp.setData(data, 0, i);
+ System.out.println("Writing");
+ pipe.syncSubmit(irp);
+ System.out.println("Done");
}
} finally {
usbInterface.release();
View
4 ...main/java/no/hackaton/usb/tools/ztex/MemTest.java → .../main/java/io/trygvis/usb/tools/ztex/MemTest.java
@@ -1,8 +1,8 @@
-package no.hackaton.usb.tools.ztex;
+package io.trygvis.usb.tools.ztex;
import static java.util.Arrays.asList;
import static javax.usb.extra.ExtraUsbUtil.findUsbDevice;
-import static no.hackaton.usb.tools.UsbCliUtil.listDevices;
+import static io.trygvis.usb.tools.UsbCliUtil.listDevices;
import javax.usb.*;
import java.util.*;
View
4 ...n/java/no/hackaton/usb/tools/ztex/ZtexDevice.java → ...in/java/io/trygvis/usb/tools/ztex/ZtexDevice.java
@@ -1,7 +1,7 @@
-package no.hackaton.usb.tools.ztex;
+package io.trygvis.usb.tools.ztex;
import static java.lang.System.*;
-import static no.hackaton.usb.tools.ztex.ZtexFpgaState.*;
+import static io.trygvis.usb.tools.ztex.ZtexFpgaState.*;
import javax.usb.*;
import javax.usb.util.*;
View
2  ...hackaton/usb/tools/ztex/ZtexDeviceDescriptor.java → .../trygvis/usb/tools/ztex/ZtexDeviceDescriptor.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools.ztex;
+package io.trygvis.usb.tools.ztex;
import javax.usb.util.*;
View
2  ...ava/no/hackaton/usb/tools/ztex/ZtexException.java → ...java/io/trygvis/usb/tools/ztex/ZtexException.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools.ztex;
+package io.trygvis.usb.tools.ztex;
public class ZtexException extends RuntimeException {
public ZtexException(String message) {
View
2  ...ava/no/hackaton/usb/tools/ztex/ZtexFpgaState.java → ...java/io/trygvis/usb/tools/ztex/ZtexFpgaState.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools.ztex;
+package io.trygvis.usb.tools.ztex;
import static javax.usb.extra.ExtraUsbUtil.*;
import static javax.usb.util.UsbUtil.*;
View
4 ...no/hackaton/usb/tools/ztex/ZtexLoadBitStream.java → .../io/trygvis/usb/tools/ztex/ZtexLoadBitStream.java
@@ -1,6 +1,6 @@
-package no.hackaton.usb.tools.ztex;
+package io.trygvis.usb.tools.ztex;
-import no.hackaton.usb.tools.*;
+import io.trygvis.usb.tools.*;
import javax.usb.*;
import static javax.usb.util.UsbUtil.*;
View
2  .../java/no/hackaton/usb/tools/ztex/ZtexService.java → ...n/java/io/trygvis/usb/tools/ztex/ZtexService.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools.ztex;
+package io.trygvis.usb.tools.ztex;
import static java.lang.Math.*;
import static org.apache.commons.io.FileUtils.*;
View
4 .../java/no/hackaton/usb/tools/HexFormatterTest.java → ...t/java/io/trygvis/usb/tools/HexFormatterTest.java
@@ -1,6 +1,6 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
-import static no.hackaton.usb.tools.HexFormatter.writeBytes;
+import static io.trygvis.usb.tools.HexFormatter.writeBytes;
import static org.junit.Assert.*;
import org.junit.*;
View
8 ...test/java/no/hackaton/usb/tools/IntelHexTest.java → .../test/java/io/trygvis/usb/tools/IntelHexTest.java
@@ -1,9 +1,9 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static javax.usb.util.UsbUtil.*;
-import no.hackaton.usb.tools.IntelHex.*;
-import static no.hackaton.usb.tools.IntelHex.RecordType.*;
-import static no.hackaton.usb.tools.IntelHex.createLine;
+import io.trygvis.usb.tools.IntelHex.*;
+import static io.trygvis.usb.tools.IntelHex.RecordType.*;
+import static io.trygvis.usb.tools.IntelHex.createLine;
import static org.junit.Assert.*;
import org.junit.*;
View
2  ...rc/test/java/no/hackaton/usb/tools/LsusbTest.java → ...src/test/java/io/trygvis/usb/tools/LsusbTest.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import org.junit.*;
View
2  ...ls/src/main/java/no/hackaton/usb/tools/lsusb.java → ...ols/src/test/java/io/trygvis/usb/tools/lsusb.java
@@ -1,4 +1,4 @@
-package no.hackaton.usb.tools;
+package io.trygvis.usb.tools;
import static javax.usb.util.UsbUtil.*;
Please sign in to comment.
Something went wrong with that request. Please try again.