Skip to content

Commit 2cc7c99

Browse files
authored
Merge pull request #908 from david-cermak/update/modem_v1.4.1
[modem]: Fix version v1.4.1 from `release-modem-v1.4` branch
2 parents b710dbd + 07be98e commit 2cc7c99

File tree

16 files changed

+59
-90
lines changed

16 files changed

+59
-90
lines changed

.github/workflows/modem__build-host-tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ jobs:
1515
matrix:
1616
idf_ver: ["latest", "release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4"]
1717
example: ["pppos_client", "modem_console", "modem_tcp_client", "ap_to_pppos", "simple_cmux_client"]
18-
include:
19-
- idf_ver: "release-v5.0"
20-
example: "simple_cmux_client"
21-
warning: "Warning: The smallest app partition is nearly full"
22-
2318
runs-on: ubuntu-22.04
2419
container: espressif/idf:${{ matrix.idf_ver }}
2520
steps:
@@ -30,9 +25,9 @@ jobs:
3025
- if: ${{ matrix.skip_config }}
3126
run: rm -f $GITHUB_WORKSPACE/protocols/components/esp_modem/examples/${{ matrix.example }}/sdkconfig.ci.${{ matrix.skip_config }}*
3227
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }}
33-
env:
34-
EXPECTED_WARNING: ${{ matrix.warning }}
3528
shell: bash
29+
env:
30+
EXPECTED_WARNING: "Warning: The smallest app partition is nearly full\nwarning: unknown kconfig symbol 'ESP32_PANIC_PRINT_HALT'"
3631
run: |
3732
. ${IDF_PATH}/export.sh
3833
python -m pip install idf-build-apps

.github/workflows/pre_commit_check.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/publish-docs-component.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- release-modem-v1.4
78

89
env:
910
DOCS_DEPLOY_URL_BASE: ${{ secrets.DOCS_DEPLOY_URL_BASE }}
@@ -55,9 +56,6 @@ jobs:
5556
if [[ "${{ env.BUMP_COMPONENT }}" == "${comp}" ]]; then
5657
echo "Building specific version of ${comp} (${{ env.BUMP_VERSION }})"
5758
./generate_docs ${{ env.BUMP_VERSION }}
58-
else
59-
echo "Building latest version of ${comp}"
60-
./generate_docs
6159
fi
6260
fi
6361
done
@@ -67,16 +65,6 @@ jobs:
6765
source $GITHUB_WORKSPACE/docs/utils.sh
6866
add_doc_server_ssh_keys $DOCS_DEPLOY_KEY $DOCS_DEPLOY_SERVER $DOCS_DEPLOY_SERVER_USER
6967
export GIT_VER=$(git describe --always)
70-
export GITHUB_REF_NAME=latest
71-
for comp in `ls components`; do
72-
if [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then
73-
echo "Deploying latest of ${comp}"
74-
export DOCS_BUILD_DIR=$GITHUB_WORKSPACE/docs/${comp}
75-
export DOCS_DEPLOY_PATH=$DOCS_DEPLOY_PATH_ORIG/${comp}
76-
cd $GITHUB_WORKSPACE/docs/${comp}
77-
deploy-docs
78-
fi
79-
done;
8068
# Deploy docs with version path
8169
if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} ]]; then
8270
echo "Deploying specific version of ${{ env.BUMP_COMPONENT }} (${{ env.BUMP_VERSION }})"

ci/build_apps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
build_dir='build_@t_@w',
5757
config_rules_str=args.rules,
5858
build_log_filename='build_log.txt',
59-
size_json_filename='size.json' if not args.linux else None,
59+
size_json_filename=None,
6060
check_warnings=True,
6161
manifest_files=args.manifests,
6262
default_build_targets=SUPPORTED_TARGETS,
@@ -65,6 +65,7 @@
6565

6666
sys.exit(
6767
build_apps(apps,
68+
verbose=2,
6869
dry_run=False,
6970
keep_going=False,
7071
no_preserve=args.delete,

components/esp_modem/.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(modem): $current_version -> $new_version'
44
pre_bump_hooks: python ../../ci/changelog.py esp_modem
55
tag_format: modem-v$version
6-
version: 1.4.0
6+
version: 1.4.1
77
version_files:
88
- idf_component.yml

components/esp_modem/CHANGELOG.md

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

3+
## [1.4.1](https://github.com/espressif/esp-protocols/commits/modem-v1.4.1)
4+
5+
### Bug Fixes
6+
7+
- Remove unused kconfig ([97194507](https://github.com/espressif/esp-protocols/commit/97194507))
8+
- Fix modem console dependencies ([0d17f19f](https://github.com/espressif/esp-protocols/commit/0d17f19f))
9+
- Fix CI build issues with IDFv6.0 ([d65f8f69](https://github.com/espressif/esp-protocols/commit/d65f8f69))
10+
- Address build issues ([b4520660](https://github.com/espressif/esp-protocols/commit/b4520660))
11+
- Fix driver dependency issue on v6.0 ([26b3859c](https://github.com/espressif/esp-protocols/commit/26b3859c))
12+
313
## [1.4.0](https://github.com/espressif/esp-protocols/commits/modem-v1.4.0)
414

515
### Features

components/esp_modem/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ else()
1111
src/esp_modem_uart.cpp
1212
src/esp_modem_term_uart.cpp
1313
src/esp_modem_netif.cpp)
14-
set(dependencies driver esp_event esp_netif)
14+
set(dependencies esp_event esp_netif)
15+
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER "5.3")
16+
list(APPEND dependencies esp_driver_uart)
17+
else()
18+
list(APPEND dependencies driver)
19+
endif()
1520
endif()
1621

1722

components/esp_modem/examples/ap_to_pppos/main/ap_to_pppos.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Unlicense OR CC0-1.0
55
*/
@@ -100,10 +100,10 @@ void wifi_init_softap(void)
100100
ESP_ERROR_CHECK(esp_wifi_init(&cfg));
101101

102102
ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT,
103-
ESP_EVENT_ANY_ID,
104-
&wifi_event_handler,
105-
NULL,
106-
NULL));
103+
ESP_EVENT_ANY_ID,
104+
&wifi_event_handler,
105+
NULL,
106+
NULL));
107107

108108
wifi_config_t wifi_config = {
109109
.ap = {
@@ -120,7 +120,7 @@ void wifi_init_softap(void)
120120
}
121121

122122
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_AP));
123-
ESP_ERROR_CHECK(esp_wifi_set_config(ESP_IF_WIFI_AP, &wifi_config));
123+
ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_AP, &wifi_config));
124124
ESP_ERROR_CHECK(esp_wifi_start());
125125

126126
ESP_LOGI(TAG, "wifi_init_softap finished. SSID:%s password:%s channel:%d",

components/esp_modem/examples/modem_console/main/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ idf_component_register(SRCS "modem_console_main.cpp"
33
"my_module_dce.cpp"
44
"httpget_handle.c"
55
"ping_handle.c"
6-
REQUIRES console esp_http_client nvs_flash
76
INCLUDE_DIRS ".")

components/esp_modem/examples/modem_console/main/console_helper.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ void ConsoleCommand::RegisterCommand(const char *command, const char *help, cons
6363

6464
arg_type end = { .end = arg_end(1) };
6565
arg_table.emplace_back(end);
66-
const esp_console_cmd_t command_def = {
67-
.command = command,
68-
.help = help,
69-
.hint = nullptr,
70-
.func = command_func_pts[last_command],
71-
.argtable = &arg_table[0]
72-
};
66+
esp_console_cmd_t command_def = { };
67+
command_def.command = command;
68+
command_def.help = help;
69+
command_def.hint = nullptr;
70+
command_def.func = command_func_pts[last_command];
71+
command_def.argtable = &arg_table[0];
7372
ESP_ERROR_CHECK(esp_console_cmd_register(&command_def));
7473
last_command++;
7574
console_commands.emplace_back(this);

0 commit comments

Comments
 (0)