Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Use sim env for BOARD_SIMULATED in mftest (MarlinFirmware#27299)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored Aug 21, 2024
1 parent 056e5a4 commit 20f71fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildroot/bin/mftest
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ if ((AUTO_BUILD)); then
[[ $CHOICE > $ECOUNT ]] && { echo "Environment selection out of range." ; exit 1 ; }
fi
TARGET="${ENVS[$CHOICE-1]}"
if [[ $MB == 'SIMULATED' && $TARGET == 'linux_native' ]]; then
TARGET="simulator_linux_release" # Skip the linux_native environment
fi
echo "Selected $TARGET"
fi

Expand Down

0 comments on commit 20f71fa

Please sign in to comment.