@@ -50,7 +50,7 @@ public static void doAutoDfu(Object selectedItem, JComponent parent) {
50
50
if (isSignatureValidated .get ()) {
51
51
if (!ProgramSelector .IS_WIN ) {
52
52
wnd .append ("Switched to DFU mode!" );
53
- wnd .append ("rusEFI console can only program on Windows" );
53
+ wnd .append ("FOME console can only program on Windows" );
54
54
return ;
55
55
}
56
56
submitAction (() -> {
@@ -81,7 +81,7 @@ public Void apply(SerialAutoChecker.CallbackContext callbackContext) {
81
81
}
82
82
});
83
83
if (signature .get () == null ) {
84
- wnd .append ("*** ERROR *** rusEFI has not responded on selected " + port + "\n " +
84
+ wnd .append ("*** ERROR *** FOME has not responded on selected " + port + "\n " +
85
85
"Maybe try automatic serial port detection?" );
86
86
wnd .setErrorState ();
87
87
return null ;
@@ -99,11 +99,11 @@ public Void apply(SerialAutoChecker.CallbackContext callbackContext) {
99
99
return null ;
100
100
}).getSerialPort ();
101
101
if (port == null ) {
102
- wnd .append ("*** ERROR *** rusEFI serial port not detected" );
102
+ wnd .append ("*** ERROR *** FOME serial port not detected" );
103
103
wnd .setErrorState ();
104
104
return null ;
105
105
} else {
106
- wnd .append ("Detected rusEFI on " + port + "\n " );
106
+ wnd .append ("Detected FOME on " + port + "\n " );
107
107
}
108
108
}
109
109
return isSignatureValidated ;
@@ -135,7 +135,7 @@ public static void runDfuProgramming() {
135
135
private static void executeDFU (StatusWindow wnd ) {
136
136
boolean driverIsHappy = detectSTM32BootloaderDriverState (wnd );
137
137
if (!driverIsHappy ) {
138
- wnd .append ("*** DRIVER ERROR? *** Did you have a chance to try 'Install Drivers' button on top of rusEFI console start screen?" );
138
+ wnd .append ("*** DRIVER ERROR? *** Did you have a chance to try 'Install Drivers' button on top of FOME console start screen?" );
139
139
wnd .setErrorState ();
140
140
return ;
141
141
}
@@ -159,7 +159,7 @@ private static void executeDFU(StatusWindow wnd) {
159
159
} else if (stdout .toString ().contains ("Target device not found" )) {
160
160
wnd .append ("ERROR: Device not connected or STM32 Bootloader driver not installed?" );
161
161
appendWindowsVersion (wnd );
162
- wnd .append ("ERROR: Please try installing drivers using 'Install Drivers' button on rusEFI splash screen" );
162
+ wnd .append ("ERROR: Please try installing drivers using 'Install Drivers' button on FOME splash screen" );
163
163
wnd .append ("ERROR: Alternatively please install drivers using Device Manager pointing at 'drivers/silent_st_drivers/DFU_Driver' folder" );
164
164
appendDeviceReport (wnd );
165
165
wnd .setErrorState ();
@@ -213,7 +213,7 @@ private static void timeForDfuSwitch(StatusWindow wnd) {
213
213
}
214
214
215
215
private static String getDfuWriteCommand () throws FileNotFoundException {
216
- String prefix = "rusefi " ;
216
+ String prefix = "fome " ;
217
217
String suffix = ".bin" ;
218
218
String fileName = IniFileModel .findFile (Launcher .INPUT_FILES_PATH , prefix , suffix );
219
219
if (fileName == null )
@@ -246,7 +246,7 @@ static List<String> getDevicesReport() {
246
246
BufferedReader stdout = new BufferedReader (new InputStreamReader (powerShellProcess .getInputStream ()));
247
247
while ((line = stdout .readLine ()) != null ) {
248
248
String lowerCase = line .toLowerCase ();
249
- if (!lowerCase .contains ("stm32" ) && !lowerCase .contains ("dfu" ) && !lowerCase .contains ("rusefi " ))
249
+ if (!lowerCase .contains ("stm32" ) && !lowerCase .contains ("dfu" ) && !lowerCase .contains ("fome " ))
250
250
continue ;
251
251
report .add (line );
252
252
}
0 commit comments