Skip to content

Commit 92abc40

Browse files
author
jantje
committed
removed unneeded workarounds (no windows test workarounds left)
1 parent 39a5894 commit 92abc40

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

io.sloeber.tests/src/io/sloeber/core/Shared.java

-12
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import io.sloeber.core.api.ConfigurationDescriptor;
3131
import io.sloeber.core.api.PackageManager;
3232
import io.sloeber.core.common.ConfigurationPreferences;
33-
import io.sloeber.core.tools.FileModifiers;
3433
import io.sloeber.providers.MCUBoard;
3534

3635
@SuppressWarnings("nls")
@@ -184,18 +183,7 @@ public static boolean BuildAndVerify(String projectName, BoardDescriptor boardDe
184183
*/
185184
public static void applyKnownWorkArounds() {
186185

187-
188-
/*
189-
* for STM32 V8 #include "SrcWrapper.h" needs to be added to Arduino.h
190-
*/
191186
java.nio.file.Path packageRoot = Paths.get(ConfigurationPreferences.getInstallationPathPackages().toOSString());
192-
java.nio.file.Path arduino_h = packageRoot.resolve("STM32").resolve("hardware").resolve("stm32")
193-
.resolve("1.8.0").resolve("cores").resolve("arduino").resolve("Arduino.h");
194-
if (arduino_h.toFile().exists()) {
195-
FileModifiers.replaceInFile(arduino_h.toFile(), false, "#include \"pins_arduino.h\"",
196-
"#include \"pins_arduino.h\"\n#include \"SrcWrapper.h\"");
197-
}
198-
199187

200188

201189
/*

0 commit comments

Comments
 (0)