Skip to content

Commit a517111

Browse files
authored
added release info
1 parent 5d5e795 commit a517111

File tree

8 files changed

+32
-17
lines changed

8 files changed

+32
-17
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: ESP32 builder IDF_Arduino 4.4.3 solo1
1+
name: IDF_Arduino 4.4.3 solo1
22

33
on:
44
workflow_dispatch: # Manually start a workflow
5-
# push:
6-
# branches: master
7-
# paths-ignore:
8-
# - '.github/**' # Ignore changes towards the .github directory
95

106
jobs:
117
build-libs:
128
name: Build Arduino Libs
13-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1410
steps:
1511
- uses: actions/checkout@v3
1612
- name: Install dependencies
1713
run: bash ./tools/prepare-ci.sh
1814
- name: Build Arduino Libs
1915
run: bash ./build.sh
16+
- name: Display files
17+
run: ls -R ./*
2018
- name: Release
2119
uses: jason2866/action-gh-release@v1.2
22-
#if: startsWith(github.ref, 'refs/tags/')
2320
with:
2421
tag_name: ${{ github.run_number }}
22+
body_path: release-info.txt
2523
prerelease: true
26-
files: dist/framework*
24+
files: |
25+
dist/framework*
26+
release-info.txt
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ cd esp32-arduino-lib-builder
1111
./build.sh
1212
```
1313
### Development builds
14-
Look in release and download a version. The day of build is using the commits of this day of IDF / Arduino.
14+
Look in release and download a version. There is the Info of the used commits of IDF / Arduino.
1515

16-
### Stable Release including ESP32solo1
16+
### Stable Platformio Platform release including ESP32solo1
1717
based on Arduino Core 2.0.5 and can be used with Platformio for the ESP32/ESP32solo1, ESP32C3, ESP32S2 and ESP32S3
1818
```
1919
[platformio]
20-
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.1/platform-espressif32-2.0.5.1.zip
20+
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.2/platform-espressif32-2.0.5.2.zip
2121
framework = arduino, espidf
2222
```
2323
to use the ESP32 Solo1 Arduino framework add in your env

configs/defconfig.esp32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ CONFIG_LWIP_TCP_RTO_TIME=3000
7272
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=2560
7373
CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0=y
7474
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
75+
CONFIG_LWIP_IPV6_AUTOCONFIG=y
7576
# CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
7677
CONFIG_MBEDTLS_PSK_MODES=y
7778
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y

configs/defconfig.esp32c3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,15 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
5656
CONFIG_HAL_ASSERTION_DISABLE=y
5757
CONFIG_LOG_DEFAULT_LEVEL_NONE=y
5858
# CONFIG_LOG_COLORS is not set
59-
CONFIG_LWIP_IPV6_AUTOCONFIG=y
6059
CONFIG_LWIP_LOCAL_HOSTNAME="tasmota"
6160
CONFIG_LWIP_MAX_SOCKETS=16
6261
CONFIG_LWIP_SO_RCVBUF=y
6362
CONFIG_LWIP_IP_FORWARD=y
6463
CONFIG_LWIP_IPV4_NAPT=y
6564
CONFIG_LWIP_DHCP_OPTIONS_LEN=128
6665
CONFIG_LWIP_SNTP_UPDATE_DELAY=10800000
66+
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
67+
CONFIG_LWIP_IPV6_AUTOCONFIG=y
6768
CONFIG_MBEDTLS_PSK_MODES=y
6869
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y
6970
CONFIG_NEWLIB_NANO_FORMAT=y

configs/defconfig.esp32s2

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ CONFIG_COMPILER_WARN_WRITE_STRINGS=y
1616
CONFIG_ESP32S2_DEFAULT_CPU_FREQ_240=y
1717
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
1818
CONFIG_ESP32S2_ULP_COPROC_ENABLED=y
19-
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=1024
19+
CONFIG_ESP32S2_ULP_COPROC_RISCV=y
20+
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=4096
2021
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
2122
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2223
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=0
@@ -65,6 +66,8 @@ CONFIG_LWIP_TCP_MSS=1436
6566
CONFIG_LWIP_TCP_RTO_TIME=3000
6667
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=2560
6768
CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0=y
69+
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
70+
CONFIG_LWIP_IPV6_AUTOCONFIG=y
6871
# CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
6972
CONFIG_MBEDTLS_SSL_PROTO_DTLS=y
7073
CONFIG_MBEDTLS_PSK_MODES=y

configs/defconfig.esp32s3

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
4141
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
4242
CONFIG_ESP32S3_ULP_COPROC_ENABLED=y
4343
CONFIG_ESP32S3_ULP_COPROC_RISCV=y
44-
CONFIG_ESP32S3_ULP_COPROC_RESERVE_MEM=1024
44+
CONFIG_ESP32S3_ULP_COPROC_RESERVE_MEM=4096
4545
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
4646
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
4747
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=0
@@ -93,6 +93,8 @@ CONFIG_LWIP_TCP_MSS=1436
9393
CONFIG_LWIP_TCP_RTO_TIME=3000
9494
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=2560
9595
CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0=y
96+
CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
97+
CONFIG_LWIP_IPV6_AUTOCONFIG=y
9698
# CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
9799
CONFIG_MBEDTLS_PSK_MODES=y
98100
CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y

tools/config.sh

100755100644
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ -z $IDF_PATH ]; then
66
fi
77

88
if [ -z $IDF_BRANCH ]; then
9-
IDF_BRANCH="Tasmota/v4.4"
9+
IDF_BRANCH="release/v4.4"
1010
fi
1111

1212
if [ -z $AR_PR_TARGET_BRANCH ]; then
@@ -50,6 +50,12 @@ AR_ESPTOOL_PY="$AR_TOOLS/esptool.py"
5050
AR_GEN_PART_PY="$AR_TOOLS/gen_esp32part.py"
5151
AR_SDK="$AR_TOOLS/sdk/$IDF_TARGET"
5252

53+
IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD || echo "")
54+
AR_COMMIT=$(git -C "$AR_COMPS/arduino" rev-parse --short HEAD || echo "")
55+
56+
rm -rf release-info.txt
57+
echo "Framework built from Tasmota IDF branch $IDF_BRANCH commit $IDF_COMMIT and $AR_REPO branch $AR_BRANCH commit $AR_COMMIT" >> release-info.txt
58+
5359
function get_os(){
5460
OSBITS=`arch`
5561
if [[ "$OSTYPE" == "linux"* ]]; then

tools/copy-libs.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ for item in "${@:2:${#@}-5}"; do
9292
if [[ "${item:2:7}" != "ARDUINO" ]] && [[ "$item" != "-DESP32" ]]; then #skip ARDUINO defines
9393
DEFINES+="$item "
9494
fi
95+
elif [ "$prefix" = "-O" ]; then
96+
PIO_CC_FLAGS+="$item "
9597
elif [[ "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" ]]; then
9698
if [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" ]]; then
9799
C_FLAGS+="$item "
@@ -106,7 +108,7 @@ str=`printf '%b' "$str"` #unescape the string
106108
set -- $str
107109
for item in "${@:2:${#@}-5}"; do
108110
prefix="${item:0:2}"
109-
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" ]]; then
111+
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" && "$prefix" != "-O" ]]; then
110112
if [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" ]]; then
111113
AS_FLAGS+="$item "
112114
if [[ $C_FLAGS == *"$item"* ]]; then
@@ -125,7 +127,7 @@ str=`printf '%b' "$str"` #unescape the string
125127
set -- $str
126128
for item in "${@:2:${#@}-5}"; do
127129
prefix="${item:0:2}"
128-
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" ]]; then
130+
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" && "$prefix" != "-O" ]]; then
129131
if [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" ]]; then
130132
CPP_FLAGS+="$item "
131133
if [[ $PIO_CC_FLAGS != *"$item"* ]]; then

0 commit comments

Comments
 (0)