Skip to content

Solo1 core 2.0.6 #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 46 commits into from
Dec 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
c3df312
Update defconfig.esp32
Jason2866 Sep 16, 2022
ba5e12d
Update push.yml
Jason2866 Sep 16, 2022
2a2a1a7
Update defconfig.esp32
Jason2866 Sep 16, 2022
ffdf3c5
ITEAD
Jason2866 Sep 16, 2022
92bbe04
Tasmota Core 2.0.5
Jason2866 Sep 17, 2022
e901314
change framework name to `framework-arduino-ITEAD`
Jason2866 Sep 23, 2022
3c14482
Syntax for macOS and Linux is different for sed :-(
Jason2866 Sep 23, 2022
763b0c2
use awk for replace
Jason2866 Sep 23, 2022
0e8530f
AR_BRANCH="pr7284"
Jason2866 Sep 23, 2022
677a73f
add `cam_hal.h` to include folder
Jason2866 Oct 18, 2022
4c5045a
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
Jason2866 Oct 18, 2022
69a2d35
jason2866/action-gh-release@v1.1
Jason2866 Oct 28, 2022
c989b6b
2.0.5.2
Jason2866 Oct 28, 2022
e8401b4
Update config.sh
Jason2866 Nov 10, 2022
346633e
core 2.0.5.3
Jason2866 Nov 10, 2022
1627c46
Update push.yml
Jason2866 Nov 16, 2022
2673dfd
support for IPv6
Jason2866 Nov 29, 2022
c7959ef
support IPv6
Jason2866 Nov 29, 2022
853f152
Update push.yml
Jason2866 Dec 10, 2022
19bc335
Update config.sh
Jason2866 Dec 10, 2022
1dc3ebe
Update config.sh
Jason2866 Dec 10, 2022
633b8bc
Update push.yml
Jason2866 Dec 10, 2022
cba4fcf
Update config.sh
Jason2866 Dec 10, 2022
9d8c0e7
Update config.sh
Jason2866 Dec 10, 2022
596444f
add commit to info
Jason2866 Dec 10, 2022
8be59b8
add commit to release info
Jason2866 Dec 10, 2022
99b575c
Update README.md
Jason2866 Dec 10, 2022
117ef7a
Update README.md
Jason2866 Dec 10, 2022
ce05133
Update config.sh
Jason2866 Dec 10, 2022
9749955
Update config.sh
Jason2866 Dec 10, 2022
1ff83e3
update build scripts
Jason2866 Dec 12, 2022
fc1270d
update build scripts
Jason2866 Dec 12, 2022
43aa957
core 2.0.5.4
Jason2866 Dec 17, 2022
fca0977
core 2.0.5.4
Jason2866 Dec 17, 2022
3ab504d
Update core_version.h
Jason2866 Dec 22, 2022
06c9f92
Update config.sh
Jason2866 Dec 22, 2022
aff7253
Update push.yml
Jason2866 Dec 22, 2022
963794d
core 2.0.6
Jason2866 Dec 22, 2022
142db5f
Update push.yml
Jason2866 Dec 22, 2022
02f36cc
Update config.sh
Jason2866 Dec 22, 2022
6fb3c22
Update archive-build.sh
Jason2866 Dec 22, 2022
419694a
Merge branch 'ITEAD' into solo1
Jason2866 Dec 22, 2022
732d8aa
Update archive-build.sh
Jason2866 Dec 22, 2022
808d96e
Update push.yml
Jason2866 Dec 22, 2022
ba86a33
Update defconfig.esp32
Jason2866 Dec 22, 2022
46d048f
Update archive-build.sh
Jason2866 Dec 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: ESP32 builder IDF_Arduino 4.4.3 solo1
name: IDF_Arduino 4.4.3 solo1

on:
workflow_dispatch: # Manually start a workflow
# push:
# branches: master
# paths-ignore:
# - '.github/**' # Ignore changes towards the .github directory

jobs:
build-libs:
name: Build Arduino Libs
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: bash ./tools/prepare-ci.sh
- name: Build Arduino Libs
run: bash ./build.sh
- name: Display files
run: ls -R ./*
- name: Release
uses: jason2866/action-gh-release@v1.2
#if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: ${{ github.run_number }}
body_path: release-info.txt
prerelease: true
files: dist/framework*
files: |
dist/framework*
release-info.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Tasmota ESP32 Arduino Lib Builder [![ESP32 builder](https://github.com/Jason2866/esp32-arduino-lib-builder/actions/workflows/push.yml/badge.svg)](https://github.com/Jason2866/esp32-arduino-lib-builder/actions/workflows/push.yml)
# Tasmota ESP32 Arduino Lib Builder [![ESP32 builder](https://github.com/Jason2866/esp32-arduino-lib-builder/actions/workflows/push.yml/badge.svg)](https://github.com/Jason2866/esp32-arduino-lib-builder/actions/workflows/push.yml)[![GitHub Releases](https://img.shields.io/github/downloads/Jason2866/esp32-arduino-lib-builder/total?label=downloads)](https://github.com/Jason2866/esp32-arduino-lib-builder/releases/latest)

This repository contains the scripts that produce the libraries included with Tasmota esp32-arduino.

Expand All @@ -11,13 +11,13 @@ cd esp32-arduino-lib-builder
./build.sh
```
### Development builds
Look in release and download a version. The day of build is using the commits of this day of IDF / Arduino.
Look in release and download a version. There is the Info of the used commits of IDF / Arduino.

### Stable Release including ESP32solo1
### Stable Platformio Platform release including ESP32solo1
based on Arduino Core 2.0.5 and can be used with Platformio for the ESP32/ESP32solo1, ESP32C3, ESP32S2 and ESP32S3
```
[platformio]
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.1/platform-espressif32-2.0.5.1.zip
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.2/platform-espressif32-2.0.5.2.zip
framework = arduino, espidf
```
to use the ESP32 Solo1 Arduino framework add in your env
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ rm -rf build sdkconfig out

# Add components version info
mkdir -p "$AR_TOOLS/sdk" && rm -rf version.txt && rm -rf "$AR_TOOLS/sdk/versions.txt"
component_version="esp-idf: "$(git -C "$IDF_PATH" symbolic-ref --short HEAD)" "$(git -C "$IDF_PATH" rev-parse --short HEAD)
component_version="esp-idf: "$(git -C "$IDF_PATH" symbolic-ref --short HEAD || git -C "$IDF_PATH" tag --points-at HEAD)" "$(git -C "$IDF_PATH" rev-parse --short HEAD)
echo $component_version >> version.txt && echo $component_version >> "$AR_TOOLS/sdk/versions.txt"
for component in `ls "$AR_COMPS"`; do
if [ -d "$AR_COMPS/$component/.git" ] || [ -d "$AR_COMPS/$component/.github" ]; then
component_version="$component: "$(git -C "$AR_COMPS/$component" symbolic-ref --short HEAD)" "$(git -C "$AR_COMPS/$component" rev-parse --short HEAD)
component_version="$component: "$(git -C "$AR_COMPS/$component" symbolic-ref --short HEAD || git -C "$AR_COMPS/$component" tag --points-at HEAD)" "$(git -C "$AR_COMPS/$component" rev-parse --short HEAD)
echo $component_version >> version.txt && echo $component_version >> "$AR_TOOLS/sdk/versions.txt"
fi
done
Expand Down
1 change: 1 addition & 0 deletions configs/defconfig.esp32
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ CONFIG_LWIP_TCP_RTO_TIME=3000
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=2560
CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0=y
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
CONFIG_LWIP_IPV6_AUTOCONFIG=y
# CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
CONFIG_MBEDTLS_PSK_MODES=y
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y
Expand Down
3 changes: 2 additions & 1 deletion configs/defconfig.esp32c3
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
CONFIG_HAL_ASSERTION_DISABLE=y
CONFIG_LOG_DEFAULT_LEVEL_NONE=y
# CONFIG_LOG_COLORS is not set
CONFIG_LWIP_IPV6_AUTOCONFIG=y
CONFIG_LWIP_LOCAL_HOSTNAME="tasmota"
CONFIG_LWIP_MAX_SOCKETS=16
CONFIG_LWIP_SO_RCVBUF=y
CONFIG_LWIP_IP_FORWARD=y
CONFIG_LWIP_IPV4_NAPT=y
CONFIG_LWIP_DHCP_OPTIONS_LEN=128
CONFIG_LWIP_SNTP_UPDATE_DELAY=10800000
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
CONFIG_LWIP_IPV6_AUTOCONFIG=y
CONFIG_MBEDTLS_PSK_MODES=y
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y
CONFIG_NEWLIB_NANO_FORMAT=y
Expand Down
5 changes: 4 additions & 1 deletion configs/defconfig.esp32s2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ CONFIG_COMPILER_WARN_WRITE_STRINGS=y
CONFIG_ESP32S2_DEFAULT_CPU_FREQ_240=y
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
CONFIG_ESP32S2_ULP_COPROC_ENABLED=y
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=1024
CONFIG_ESP32S2_ULP_COPROC_RISCV=y
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=4096
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=0
Expand Down Expand Up @@ -65,6 +66,8 @@ CONFIG_LWIP_TCP_MSS=1436
CONFIG_LWIP_TCP_RTO_TIME=3000
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=2560
CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0=y
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
CONFIG_LWIP_IPV6_AUTOCONFIG=y
# CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
CONFIG_MBEDTLS_SSL_PROTO_DTLS=y
CONFIG_MBEDTLS_PSK_MODES=y
Expand Down
4 changes: 3 additions & 1 deletion configs/defconfig.esp32s3
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
CONFIG_ESP32S3_ULP_COPROC_ENABLED=y
CONFIG_ESP32S3_ULP_COPROC_RISCV=y
CONFIG_ESP32S3_ULP_COPROC_RESERVE_MEM=1024
CONFIG_ESP32S3_ULP_COPROC_RESERVE_MEM=4096
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=0
Expand Down Expand Up @@ -93,6 +93,8 @@ CONFIG_LWIP_TCP_MSS=1436
CONFIG_LWIP_TCP_RTO_TIME=3000
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=2560
CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0=y
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
CONFIG_LWIP_IPV6_AUTOCONFIG=y
# CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
CONFIG_MBEDTLS_PSK_MODES=y
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y
Expand Down
8 changes: 4 additions & 4 deletions core_version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define ARDUINO_ESP32_GIT_VER 0x38c3f487
#define ARDUINO_ESP32_GIT_DESC 2.0.5.3
#define ARDUINO_ESP32_RELEASE_2_0_5_3
#define ARDUINO_ESP32_RELEASE "2_0_5_3"
#define ARDUINO_ESP32_GIT_VER 0xcbaeab4e
#define ARDUINO_ESP32_GIT_DESC 2.0.6
#define ARDUINO_ESP32_RELEASE_2_0_6
#define ARDUINO_ESP32_RELEASE "2_0_6"
4 changes: 4 additions & 0 deletions main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ config LIB_BUILDER_FLASHFREQ
default "40m" if ESPTOOLPY_FLASHFREQ_40M
default "26m" if ESPTOOLPY_FLASHFREQ_26M
default "20m" if ESPTOOLPY_FLASHFREQ_20M

config LIB_BUILDER_COMPILE
bool
default y
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework-arduinoespressif32",
"version": "2.0.5",
"version": "2.0.6",
"description": "Tasmota Arduino Framework for the Espressif ESP32, ESP32-S and ESP32-C series of SoCs",
"keywords": [
"tasmota",
Expand Down
7 changes: 5 additions & 2 deletions tools/archive-build.sh
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD || echo "")
IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD || echo "")
IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD || git -C "$IDF_PATH" tag --points-at HEAD || echo "")

idf_version_string=${IDF_BRANCH//\//_}"-$IDF_COMMIT"
archive_path="dist/arduino-esp32-libs-solo1-$idf_version_string.tar.gz"
Expand All @@ -16,16 +16,19 @@ echo "Creating framework-arduinoespressif32-solo1"
cp -rf ../components/arduino arduino-esp32
rm -rf arduino-esp32/docs
rm -rf arduino-esp32/tests
rm -rf arduino-esp32/libraries/RainMaker
rm -rf arduino-esp32/libraries/Insights
rm -rf arduino-esp32/package
rm -rf arduino-esp32/tools/sdk
rm -rf arduino-esp32/tools/esptool.py
rm -rf arduino-esp32/tools/gen_esp32part.py
rm -rf arduino-esp32/tools/gen_insights_package.py
rm -rf arduino-esp32/tools/gen_insights_package.exe
rm -rf arduino-esp32/tools/platformio-build-*.py
rm -rf arduino-esp32/platform.txt
rm -rf arduino-esp32/package.json
cp -f platform.txt arduino-esp32/
cp -Rf tools/sdk arduino-esp32/tools/
cp -f tools/esptool.py arduino-esp32/tools/
cp -f tools/gen_esp32part.py arduino-esp32/tools/
cp -f tools/platformio-build-*.py arduino-esp32/tools/
cp ../package.json arduino-esp32/package.json
Expand Down
19 changes: 16 additions & 3 deletions tools/config.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ -z $IDF_PATH ]; then
fi

if [ -z $IDF_BRANCH ]; then
IDF_BRANCH="Tasmota/v4.4"
IDF_BRANCH="release/v4.4"
fi

if [ -z $AR_PR_TARGET_BRANCH ]; then
Expand Down Expand Up @@ -34,7 +34,7 @@ AR_USER="tasmota"
AR_REPO="$AR_USER/arduino-esp32"

# Arduino branch to use
AR_BRANCH="master"
AR_BRANCH="work_ipv6"

AR_REPO_URL="https://github.com/$AR_REPO.git"
if [ -n $GITHUB_TOKEN ]; then
Expand All @@ -46,10 +46,15 @@ AR_COMPS="$AR_ROOT/components"
AR_OUT="$AR_ROOT/out"
AR_TOOLS="$AR_OUT/tools"
AR_PLATFORM_TXT="$AR_OUT/platform.txt"
AR_ESPTOOL_PY="$AR_TOOLS/esptool.py"
AR_GEN_PART_PY="$AR_TOOLS/gen_esp32part.py"
AR_SDK="$AR_TOOLS/sdk/$IDF_TARGET"

IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD || echo "")
AR_COMMIT=$(git -C "$AR_COMPS/arduino" rev-parse --short HEAD || echo "")

rm -rf release-info.txt
echo "Framework built from Tasmota IDF branch $IDF_BRANCH commit $IDF_COMMIT and $AR_REPO branch $AR_BRANCH commit $AR_COMMIT" >> release-info.txt

function get_os(){
OSBITS=`arch`
if [[ "$OSTYPE" == "linux"* ]]; then
Expand Down Expand Up @@ -80,6 +85,14 @@ export SED="sed"
export SSTAT="stat -c %s"

if [[ "$AR_OS" == "macos" ]]; then
if ! [ -x "$(command -v gsed)" ]; then
echo "ERROR: gsed is not installed! Please install gsed first. ex. brew install gsed"
exit 1
fi
if ! [ -x "$(command -v gawk)" ]; then
echo "ERROR: gawk is not installed! Please install gawk first. ex. brew install gawk"
exit 1
fi
export SED="gsed"
export SSTAT="stat -f %z"
fi
Expand Down
12 changes: 1 addition & 11 deletions tools/copy-bootloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,8 @@ BOOTCONF=$FLASH_MODE"_$FLASH_FREQ"

source ./tools/config.sh

echo "Copying bootloader: $AR_SDK/bin/bootloader_$BOOTCONF.bin"
echo "Copying bootloader: $AR_SDK/bin/bootloader_$BOOTCONF.elf"

mkdir -p "$AR_SDK/bin"

# Workaround for getting the bootloaders to be flashable with esptool v4.x
# It might still be needed for IDF5, but using the included esptool instead
#cp "build/bootloader/bootloader.bin" "$AR_SDK/bin/bootloader_$BOOTCONF.bin"

# We use esptool v.4.21 in Tasmota IDF fork so no need to clone here

#if [ ! -e "tools/esptool" ]; then
# git clone https://github.com/espressif/esptool tools/esptool
#fi
./esp-idf/components/esptool_py/esptool/esptool.py --chip "$IDF_TARGET" elf2image --dont-append-digest "build/bootloader/bootloader.elf" -o "$AR_SDK/bin/bootloader_$BOOTCONF.bin"
cp "build/bootloader/bootloader.elf" "$AR_SDK/bin/bootloader_$BOOTCONF.elf"
9 changes: 4 additions & 5 deletions tools/copy-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ for item in "${@:2:${#@}-5}"; do
if [[ "${item:2:7}" != "ARDUINO" ]] && [[ "$item" != "-DESP32" ]]; then #skip ARDUINO defines
DEFINES+="$item "
fi
elif [ "$prefix" = "-O" ]; then
PIO_CC_FLAGS+="$item "
elif [[ "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" ]]; then
if [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" ]]; then
C_FLAGS+="$item "
Expand All @@ -106,7 +108,7 @@ str=`printf '%b' "$str"` #unescape the string
set -- $str
for item in "${@:2:${#@}-5}"; do
prefix="${item:0:2}"
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" ]]; then
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" && "$prefix" != "-O" ]]; then
if [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" ]]; then
AS_FLAGS+="$item "
if [[ $C_FLAGS == *"$item"* ]]; then
Expand All @@ -125,7 +127,7 @@ str=`printf '%b' "$str"` #unescape the string
set -- $str
for item in "${@:2:${#@}-5}"; do
prefix="${item:0:2}"
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" ]]; then
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" && "$prefix" != "-O" ]]; then
if [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" ]]; then
CPP_FLAGS+="$item "
if [[ $PIO_CC_FLAGS != *"$item"* ]]; then
Expand Down Expand Up @@ -479,9 +481,6 @@ rm -rf platform_start.txt platform_mid.txt 1platform_mid.txt
# sdkconfig
cp -f "sdkconfig" "$AR_SDK/sdkconfig"

# esptool.py
cp "$IDF_COMPS/esptool_py/esptool/esptool.py" "$AR_ESPTOOL_PY"

# gen_esp32part.py
cp "$IDF_COMPS/partition_table/gen_esp32part.py" "$AR_GEN_PART_PY"

Expand Down
3 changes: 1 addition & 2 deletions tools/copy-to-arduino.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ fi

echo "Installing new libraries to $ESP32_ARDUINO"

rm -rf $ESP32_ARDUINO/tools/sdk $ESP32_ARDUINO/tools/esptool.py $ESP32_ARDUINO/tools/gen_esp32part.py $ESP32_ARDUINO/tools/platformio-build-*.py $ESP32_ARDUINO/platform.txt
rm -rf $ESP32_ARDUINO/tools/sdk $ESP32_ARDUINO/tools/gen_esp32part.py $ESP32_ARDUINO/tools/platformio-build-*.py $ESP32_ARDUINO/platform.txt

cp -f $AR_OUT/platform.txt $ESP32_ARDUINO/
cp -Rf $AR_TOOLS/sdk $ESP32_ARDUINO/tools/
cp -f $AR_TOOLS/esptool.py $ESP32_ARDUINO/tools/
cp -f $AR_TOOLS/gen_esp32part.py $ESP32_ARDUINO/tools/
cp -f $AR_TOOLS/platformio-build-*.py $ESP32_ARDUINO/tools/
2 changes: 1 addition & 1 deletion tools/install-esp-idf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ cp "$IDF_PATH/components/esp32-camera/driver/private_include/cam_hal.h" "$IDF_PA

source $IDF_PATH/export.sh
export IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD)
export IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD)
export IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD || git -C "$IDF_PATH" tag --points-at HEAD)