System.load(new File("build/"+System.mapLibraryName("FtdiUartNative")).getAbsolutePath());
}
- private final FpslicRaw chip;
+ private final FpslicBoot chip;
private final InputStream in;
private final OutputStream out;
public OutputStream getOutputStream() { return out; }
public FtdiBoard() throws Exception {
- chip = new FpslicRawUsb(new FtdiUart(0x6666, 0x3133, 1500 * 1000));
+ chip = new FpslicBoot(new FpslicBootPinsUsb(new FtdiUart(0x6666, 0x3133, 1500 * 1000)));
String bstFile = this.getClass().getName();
bstFile = bstFile.substring(0, bstFile.lastIndexOf('.'));
bstFile = bstFile.replace('.', '/')+"/slipway_drone.bst";