Skip to content

Commit

Permalink
Xia shall error
Browse files Browse the repository at this point in the history
  • Loading branch information
cnadler86 committed Oct 10, 2024
1 parent 01e5cf4 commit 063e2e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ESP32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@ jobs:
fi
if [ -n "${CAMERA_MODEL}" ]; then
echo "FW_NAME=${CAMERA_MODEL}" >> $GITHUB_ENV
make ${MAKE_CMD} CFLAGS_EXTRA="-DMP_CAMERA_MODEL_${CAMERA_MODEL}=1" all
FINAL_CMD="make ${MAKE_CMD} CFLAGS_EXTRA=\"-DMP_CAMERA_MODEL_${CAMERA_MODEL}=1\" all"
else
echo "FW_NAME=${BUILD_TARGET}" >> $GITHUB_ENV
make ${MAKE_CMD} all
FINAL_CMD="make ${MAKE_CMD} all"
fi
echo "Running command: $FINAL_CMD"
eval $FINAL_CMD
mv ~/micropython/ports/esp32/build-${BUILD_TARGET}/firmware.bin ~/firmware.bin
Expand Down
1 change: 1 addition & 0 deletions src/camera_pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
#define MICROPY_CAMERA_PIN_PCLK 21

#elif defined(MP_CAMERA_MODEL_XIAO_ESP32S3)
#error THIS IS A PLACEHOLDER FOR THE XIAO ESP32-S3 CAMERA PINOUT
#define MICROPY_CAMERA_PIN_PWDN -1
#define MICROPY_CAMERA_PIN_RESET -1
#define MICROPY_CAMERA_PIN_XCLK 10
Expand Down

0 comments on commit 063e2e9

Please sign in to comment.