Skip to content

Commit b1e495e

Browse files
committed
Support back older esp32 core versions
1 parent b211baf commit b1e495e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/EspExceptionDecoder.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,12 @@ private void createAndUpload(){
269269
try {
270270
tarch = BaseNoGui.getBoardPreferences().get("build.tarch");
271271
if(tarch == null || tarch.contentEquals("")){
272-
editor.statusError("Arch Not Found for "+BaseNoGui.getBoardPreferences().get("name"));
273-
return;
272+
editor.statusError("Arch Not Found for '"+BaseNoGui.getBoardPreferences().get("name")+"'. Defaulting to 'xtensa'");
274273
}
275274
target = BaseNoGui.getBoardPreferences().get("build.target");
276275
if(target == null || target.contentEquals("")){
277-
editor.statusError("Target Not Found for "+BaseNoGui.getBoardPreferences().get("name"));
278-
return;
276+
editor.statusError("Target Not Found for '"+BaseNoGui.getBoardPreferences().get("name")+"'. Defaulting to 'esp32'");
277+
target = "esp32";
279278
}
280279
} catch(Exception e){
281280
editor.statusError(e);

0 commit comments

Comments
 (0)