File tree 1 file changed +4
-1
lines changed
io.sloeber.core/src/io/sloeber/core/txt
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 45
45
public class WorkAround {
46
46
// Each time this class is touched consider changing the String below to enforce
47
47
// updates
48
- private static final String FIRST_SLOEBER_WORKAROUND_LINE = "#Sloeber created TXT file V3.00.test 23 " ;
48
+ private static final String FIRST_SLOEBER_WORKAROUND_LINE = "#Sloeber created TXT file V3.00.test 24 " ;
49
49
50
50
private static Map <String , String > USB_replacers ;
51
51
@@ -282,6 +282,9 @@ private static String platformApplyCustomWorkArounds(String inPlatformTxt) {
282
282
platformTXT = platformTXT .replace (" -DBOARD_NAME=\" {build.board}\" " , " \" -DBOARD_NAME=\\ \" {build.board}\\ \" \" " );
283
283
platformTXT = platformTXT .replace (" -DVARIANT_H=\" {build.variant_h}\" " ,
284
284
" \" -DVARIANT_H=\\ \" {build.variant_h}\\ \" \" " );
285
+ //Why would you do this?
286
+ platformTXT = platformTXT .replace ("compiler.optimization_flags={compiler.optimization_flags}" ,"" );
287
+
285
288
286
289
// for ESP32 remove the build options fix for arduino ide #1390
287
290
platformTXT = platformTXT .replace (" \" @{build.opt.path}\" " , " " );
You can’t perform that action at this time.
0 commit comments