Skip to content

Commit

Permalink
Updated script arduino_build_sketch.* to also build for esp32wrover…
Browse files Browse the repository at this point in the history
…kit (as specifically mentionned in #6).
  • Loading branch information
end2endzone committed Aug 7, 2024
1 parent 8c79458 commit 6a417ca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci/linux/arduino_build_sketch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,12 @@ arduino-cli compile --fqbn "esp32:esp32:esp32" "$1.ino"
echo
echo

echo ==========================================================================================================
echo Compiling $ARDUINO_INO_FILE \(esp32wroverkit\)
echo ==========================================================================================================
cd $PRODUCT_SOURCE_DIR/examples/$1
arduino-cli compile --fqbn "esp32:esp32:esp32wroverkit" "$1.ino"
echo
echo

cd "$(dirname "$0")"
9 changes: 9 additions & 0 deletions ci/windows/arduino_build_sketch.bat
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,13 @@ if %errorlevel% neq 0 exit /b %errorlevel%
echo.
echo.

echo ==========================================================================================================
echo Compiling %ARDUINO_INO_FILE% (esp32wroverkit)
echo ==========================================================================================================
cd /d "%PRODUCT_SOURCE_DIR%\examples\%~1"
arduino-cli compile --fqbn "esp32:esp32:esp32wroverkit" %~1.ino
if %errorlevel% neq 0 exit /b %errorlevel%
echo.
echo.

cd /d "%~dp0"

0 comments on commit 6a417ca

Please sign in to comment.