diff --git a/components/eppp_link/.cz.yaml b/components/eppp_link/.cz.yaml index 36855ddf5..be4826c4d 100644 --- a/components/eppp_link/.cz.yaml +++ b/components/eppp_link/.cz.yaml @@ -3,6 +3,6 @@ commitizen: bump_message: 'bump(eppp): $current_version -> $new_version' pre_bump_hooks: python ../../ci/changelog.py eppp_link tag_format: eppp-v$version - version: 1.1.0 + version: 1.1.1 version_files: - idf_component.yml diff --git a/components/eppp_link/CHANGELOG.md b/components/eppp_link/CHANGELOG.md index 2efbb0f56..f7b3b180b 100644 --- a/components/eppp_link/CHANGELOG.md +++ b/components/eppp_link/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.1.1](https://github.com/espressif/esp-protocols/commits/eppp-v1.1.1) + +### Bug Fixes + +- Fix getting context for channel API ([94563cdc](https://github.com/espressif/esp-protocols/commit/94563cdc)) +- Cover more combinations in build tests ([e0b8de8f](https://github.com/espressif/esp-protocols/commit/e0b8de8f)) + ## [1.1.0](https://github.com/espressif/esp-protocols/commits/eppp-v1.1.0) ### Features diff --git a/components/eppp_link/eppp_uart.c b/components/eppp_link/eppp_uart.c index 6d89d18ba..363c14807 100644 --- a/components/eppp_link/eppp_uart.c +++ b/components/eppp_link/eppp_uart.c @@ -157,6 +157,8 @@ static void process_packet(esp_netif_t *netif, uart_port_t uart_port, size_t ava esp_netif_receive(netif, in_buf + buf_start + sizeof(struct header), payload_size, NULL); } else { #ifdef CONFIG_EPPP_LINK_CHANNELS_SUPPORT + struct eppp_handle *handle = esp_netif_get_io_driver(netif); + struct eppp_uart *h = __containerof(handle, struct eppp_uart, parent); if (h->parent.channel_rx) { h->parent.channel_rx(netif, channel, in_buf + buf_start + sizeof(struct header), payload_size); } diff --git a/components/eppp_link/examples/host/sdkconfig.ci.1 b/components/eppp_link/examples/host/sdkconfig.ci.1 new file mode 100644 index 000000000..d9297cf6a --- /dev/null +++ b/components/eppp_link/examples/host/sdkconfig.ci.1 @@ -0,0 +1,4 @@ +CONFIG_IDF_TARGET="esp32s3" +CONFIG_EPPP_LINK_DEVICE_SPI=y +CONFIG_EPPP_LINK_CHANNELS_SUPPORT=y +CONFIG_EPPP_LINK_USES_PPP=y diff --git a/components/eppp_link/examples/host/sdkconfig.ci.2 b/components/eppp_link/examples/host/sdkconfig.ci.2 new file mode 100644 index 000000000..6f6a4c72f --- /dev/null +++ b/components/eppp_link/examples/host/sdkconfig.ci.2 @@ -0,0 +1,3 @@ +CONFIG_IDF_TARGET="esp32c3" +CONFIG_EPPP_LINK_DEVICE_UART=y +CONFIG_EPPP_LINK_CHANNELS_SUPPORT=y diff --git a/components/eppp_link/examples/host/sdkconfig.defaults b/components/eppp_link/examples/host/sdkconfig.defaults index ba88b9016..5344665b0 100644 --- a/components/eppp_link/examples/host/sdkconfig.defaults +++ b/components/eppp_link/examples/host/sdkconfig.defaults @@ -1,4 +1 @@ -CONFIG_LWIP_PPP_SUPPORT=y -CONFIG_LWIP_PPP_SERVER_SUPPORT=y CONFIG_LWIP_PPP_VJ_HEADER_COMPRESSION=n -CONFIG_LWIP_PPP_DEBUG_ON=y diff --git a/components/eppp_link/examples/slave/sdkconfig.ci.1 b/components/eppp_link/examples/slave/sdkconfig.ci.1 new file mode 100644 index 000000000..17dae440b --- /dev/null +++ b/components/eppp_link/examples/slave/sdkconfig.ci.1 @@ -0,0 +1,4 @@ +CONFIG_IDF_TARGET="esp32s2" +CONFIG_EPPP_LINK_DEVICE_SPI=y +CONFIG_EPPP_LINK_CHANNELS_SUPPORT=y +CONFIG_LWIP_PPP_VJ_HEADER_COMPRESSION=n diff --git a/components/eppp_link/examples/slave/sdkconfig.ci.2 b/components/eppp_link/examples/slave/sdkconfig.ci.2 new file mode 100644 index 000000000..a4a384e93 --- /dev/null +++ b/components/eppp_link/examples/slave/sdkconfig.ci.2 @@ -0,0 +1,4 @@ +CONFIG_IDF_TARGET="esp32c2" +CONFIG_EPPP_LINK_DEVICE_UART=y +CONFIG_LWIP_PPP_VJ_HEADER_COMPRESSION=n +CONFIG_EPPP_LINK_USES_PPP=y diff --git a/components/eppp_link/examples/slave/sdkconfig.defaults b/components/eppp_link/examples/slave/sdkconfig.defaults index f2afde685..00c4362a4 100644 --- a/components/eppp_link/examples/slave/sdkconfig.defaults +++ b/components/eppp_link/examples/slave/sdkconfig.defaults @@ -1,6 +1,3 @@ CONFIG_LWIP_IP_FORWARD=y CONFIG_LWIP_IPV4_NAPT=y CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=4096 -CONFIG_LWIP_PPP_SUPPORT=y -CONFIG_LWIP_PPP_SERVER_SUPPORT=y -CONFIG_LWIP_PPP_VJ_HEADER_COMPRESSION=n diff --git a/components/eppp_link/idf_component.yml b/components/eppp_link/idf_component.yml index 4ece46247..cbf347458 100644 --- a/components/eppp_link/idf_component.yml +++ b/components/eppp_link/idf_component.yml @@ -1,4 +1,4 @@ -version: 1.1.0 +version: 1.1.1 url: https://github.com/espressif/esp-protocols/tree/master/components/eppp_link description: The component provides a general purpose PPP connectivity, typically used as WiFi-PPP router dependencies: