only: on the one hand we can do low level DFU programming but c'mon we are not planning to maintain it any day soon!

This commit is contained in:
rusefillc 2024-04-01 20:22:18 -04:00
parent 53d16bf014
commit d715e3ee4a
3 changed files with 10 additions and 3 deletions

View File

@ -16,11 +16,12 @@ dependencies {
implementation global_libs.antlr
implementation 'com.miglayout:miglayout-swing:4.1'
implementation files('../lib/dfu/dfu_java.jar')
implementation files('../lib/SteelSeries-3.9.30.jar')
/*
implementation files('../lib/dfu/dfu_java.jar')
implementation files('../lib/trident-6.2.jar')
implementation files('../lib/dfu/IntelHexParser.jar')
*/
testImplementation global_libs.mockito
testImplementation testFixtures(project(':ecu_io'))
}

View File

@ -95,8 +95,10 @@ public class ConsoleTools {
registerTool("version", ConsoleTools::version, "Only print version");
registerTool("lightui", strings -> lightUI(), "Start lightweight GUI for tiny screens");
/*
on the one hand we can do low level DFU programming but c'mon we are not planning to maintain it any day soon!
registerTool("dfu", DfuTool::run, "Program specified file into ECU via DFU");
*/
registerTool("local_proxy", ConsoleTools::localProxy, "Detect rusEFI ECU and proxy serial <> TCP");
registerTool("detect", ConsoleTools::detect, "Find attached rusEFI");

View File

@ -1,5 +1,6 @@
package com.rusefi.tools;
/*
import com.rusefi.dfu.BinaryImage;
import com.rusefi.dfu.DfuImage;
import com.rusefi.dfu.DfuLogic;
@ -9,10 +10,12 @@ import com.rusefi.dfu.usb4java.USBDfuConnection;
import cz.jaybee.intelhex.IntelHexException;
import java.io.IOException;
*/
/**
* prototype of our own DFU frontend, not used in real life
*/
/*
public class DfuTool {
public static void run(String[] args) throws IOException, IntelHexException {
if (args.length < 2) {
@ -35,3 +38,4 @@ public class DfuTool {
logger.info("DfuSe DFU " + device);
}
}
*/