Skip to content

Commit

Permalink
ESP32.yml aktualisieren
Browse files Browse the repository at this point in the history
  • Loading branch information
cnadler86 authored Sep 29, 2024
1 parent ccb9c5b commit 6776aeb
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ESP32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,11 @@ jobs:
cp ../../../src/sdkconfig_${{ env.BOARD_NAME }} sdkconfig.defaults
fi
# Create a specific build directory
BUILD_DIR=~/build/${{ env.BOARD_NAME }}
mkdir -p $BUILD_DIR
# Check if a variant is defined and adjust the make command
if [ "${{ env.BOARD_VARIANT }}" != "none" ]; then
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} VARIANT=${{ env.BOARD_VARIANT }} BUILD=$BUILD_DIR all
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} VARIANT=${{ env.BOARD_VARIANT }} all
else
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} BUILD=$BUILD_DIR all
fi
make USER_C_MODULES=${{ github.workspace }}/src/micropython.cmake BOARD=${{ env.BOARD_NAME }} all
fi
# delete Build in MicroPython

0 comments on commit 6776aeb

Please sign in to comment.