File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments