Skip to content

Commit 56456f3

Browse files
authored
Merge pull request #83 from david-cermak/update/v1.1.5
[v1.1.5]: Various changes on v5.4; v5.5; v6.0
2 parents 243097f + d97e306 commit 56456f3

File tree

16 files changed

+119
-153
lines changed

16 files changed

+119
-153
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
EXPECTED_WARNING: "Warning: Deprecated: Option"
4040
shell: bash
4141
run: |
42+
${IDF_PATH}/install.sh --enable-ci
4243
. ${IDF_PATH}/export.sh
43-
pip install idf-component-manager idf-build-apps --upgrade
4444
python ./components/esp_wifi_remote/scripts/generate_slave_configs.py ./components/esp_wifi_remote/${{matrix.test.path}}
4545
python $GITHUB_WORKSPACE/protocols/ci/build_apps.py ./components/esp_wifi_remote/${{matrix.test.path}} -vv --preserve-all
4646
@@ -79,8 +79,8 @@ jobs:
7979
EXPECTED_WARNING: "Warning: The smallest app partition is nearly full\nWarning: Deprecated: Option\n"
8080
shell: bash
8181
run: |
82+
${IDF_PATH}/install.sh --enable-ci
8283
. ${IDF_PATH}/export.sh
83-
pip install idf-component-manager idf-build-apps --upgrade
8484
if [ "${{matrix.example.app}}" == "esp_hosted_slave" ]; then
8585
idf.py create-project-from-example "espressif/esp_hosted:slave"
8686
rm slave/sdkconfig.ci.*
@@ -112,7 +112,7 @@ jobs:
112112
- { p4: "build_esp32p4_hosted", c6: "build_esp32c6_hosted" }
113113
runs-on: [self-hosted, wifi-remote]
114114
container:
115-
image: python:3.7-buster
115+
image: python:3.11-bookworm
116116
options: --privileged # Privileged mode has access to serial ports
117117
env:
118118
TEST_DIR: components/esp_wifi_remote/examples

.github/workflows/build_at.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
EXPECTED_WARNING: "Warning: Deprecated: Option"
4040
shell: bash
4141
run: |
42+
$IDF_PATH/install.sh --enable-ci
4243
. ${IDF_PATH}/export.sh
4344
pip install idf-component-manager idf-build-apps --upgrade
4445
python $GITHUB_WORKSPACE/protocols/ci/build_apps.py ./components/wifi_remote_over_at/${{matrix.test.path}} -vv --preserve-all

.github/workflows/build_eppp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
EXPECTED_WARNING: "Warning: Deprecated: Option"
4040
shell: bash
4141
run: |
42+
${IDF_PATH}/install.sh --enable-ci
4243
. ${IDF_PATH}/export.sh
43-
pip install idf-component-manager idf-build-apps --upgrade
4444
python $GITHUB_WORKSPACE/protocols/ci/build_apps.py ./components/wifi_remote_over_eppp/${{matrix.test.path}} -vv --preserve-all
4545
cd ./components/wifi_remote_over_eppp/${{matrix.test.path}}
4646
for dir in `ls -d build*/`; do

.github/workflows/smoke_compat.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
- name: Check that headers are the same as generated
2424
shell: bash
2525
run: |
26+
${IDF_PATH}/install.sh --enable-ci
2627
. ${IDF_PATH}/export.sh
27-
pip install idf-component-manager idf-build-apps --upgrade
28+
echo "IDF commit SHA: $(cd ${IDF_PATH} && git rev-parse HEAD)"
2829
cp -r ./components/esp_wifi_remote ./components/esp_wifi_remote_base
2930
cd ./components/esp_wifi_remote/scripts
3031
python generate_and_check.py --base-dir ../../esp_wifi_remote_base
@@ -48,8 +49,8 @@ jobs:
4849
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
4950
shell: bash
5051
run: |
52+
${IDF_PATH}/install.sh --enable-ci
5153
. ${IDF_PATH}/export.sh
52-
pip install idf-component-manager idf-build-apps --upgrade
5354
export OVERRIDE_PATH=`pwd`/components/esp_wifi_remote
5455
echo ${OVERRIDE_PATH}
5556
if [ "${{matrix.test.app}}" = "wifi_enterprise" ]; then

components/esp_wifi_remote/.cz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ commitizen:
33
bump_message: 'bump(wifi_remote): $current_version -> $new_version'
44
pre_bump_hooks: python ../../ci/changelog.py esp_wifi_remote
55
tag_format: wifi_remote-v$version
6-
version: 1.1.4
6+
version: 1.1.5
77
version_files:
88
- idf_component.yml

components/esp_wifi_remote/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [1.1.5](https://github.com/espressif/esp-wifi-remote/commits/wifi_remote-v1.1.5)
4+
5+
### Bug Fixes
6+
7+
- Fix issues when building the same file twice ([f195b64](https://github.com/espressif/esp-wifi-remote/commit/f195b64), [#84](https://github.com/espressif/esp-wifi-remote/issues/84))
8+
- Fix two-station example init issues ([2e7ae1b](https://github.com/espressif/esp-wifi-remote/commit/2e7ae1b))
9+
- Update per v6.0 changes ([12bff90](https://github.com/espressif/esp-wifi-remote/commit/12bff90))
10+
- Update per v5.4 changes ([88e1116](https://github.com/espressif/esp-wifi-remote/commit/88e1116))
11+
312
## [1.1.4](https://github.com/espressif/esp-wifi-remote/commits/wifi_remote-v1.1.4)
413

514
### Bug Fixes

components/esp_wifi_remote/CMakeLists.txt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
if(NOT CONFIG_ESP_WIFI_ENABLED AND NOT CONFIG_ESP_HOST_WIFI_ENABLED)
2-
set(src_wifi_is_remote esp_wifi_remote.c esp_wifi_remote_net.c)
2+
set(wifi_remote_sources esp_wifi_remote.c esp_wifi_remote_net.c)
3+
else()
4+
set(wifi_remote_sources esp_wifi_remote_net2.c)
35
endif()
46

57
idf_component_register(INCLUDE_DIRS include
6-
SRCS ${src_wifi_is_remote}
7-
${src_wifi_remote_eppp}
8-
dummy_src.c # Prevents making this component potentially INTERFACE only
8+
SRCS ${wifi_remote_sources}
99
REQUIRES esp_event esp_netif
1010
PRIV_REQUIRES esp_wifi esp-tls vfs)
1111

12-
1312
set(IDF_VER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/idf_v${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}")
1413

1514
# Check if we're on tagged version of ESP-IDF and if we need to supply specific version
@@ -41,10 +40,6 @@ if(CONFIG_ESP_WIFI_REMOTE_LIBRARY_HOSTED)
4140
endif()
4241
endif()
4342

44-
if(CONFIG_ESP_WIFI_ENABLED OR CONFIG_ESP_HOST_WIFI_ENABLED)
45-
list(APPEND wifi_sources "esp_wifi_remote_net2.c")
46-
endif()
47-
4843
target_include_directories(${COMPONENT_LIB} PUBLIC ${IDF_VER_DIR}/include)
4944
target_sources(${COMPONENT_LIB} PRIVATE ${src_wifi_remote_weak}
5045
${src_wifi_with_remote}

components/esp_wifi_remote/examples/two_stations/main/remote_station.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ static void event_handler_remote(void* arg, esp_event_base_t event_base,
4545

4646
void wifi_init_remote_sta(void)
4747
{
48+
s_wifi_event_group = xEventGroupCreate();
4849
esp_wifi_remote_create_default_sta();
4950

5051
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();

components/esp_wifi_remote/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.1.4
1+
version: 1.1.5
22
url: https://github.com/espressif/esp-wifi-remote
33
description: Utility wrapper for esp_wifi functionality on remote targets
44
dependencies:

components/esp_wifi_remote/idf_v5.4/include/injected/esp_wifi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/

0 commit comments

Comments
 (0)