Skip to content

Commit d207ba1

Browse files
committed
bump(eppp): 0.2.0 -> 0.3.0
0.3.0 Features - Add support for TUN interface (6c040af) - Add support for transport via Ethernet link (a21ce88)
1 parent 6c040af commit d207ba1

File tree

4 files changed

+50
-45
lines changed

4 files changed

+50
-45
lines changed

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

components/eppp_link/CHANGELOG.md

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

3+
## [0.3.0](https://github.com/espressif/esp-protocols/commits/eppp-v0.3.0)
4+
5+
### Features
6+
7+
- Add support for TUN interface ([6c040af6](https://github.com/espressif/esp-protocols/commit/6c040af6))
8+
- Add support for transport via Ethernet link ([a21ce883](https://github.com/espressif/esp-protocols/commit/a21ce883))
9+
310
## [0.2.0](https://github.com/espressif/esp-protocols/commits/eppp-v0.2.0)
411

512
### Features

components/eppp_link/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.2.0
1+
version: 0.3.0
22
url: https://github.com/espressif/esp-protocols/tree/master/components/eppp_link
33
description: The component provides a general purpose PPP connectivity, typically used as WiFi-PPP router
44
dependencies:

components/eppp_link/include/eppp_link.h

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -110,49 +110,47 @@ typedef enum eppp_transport {
110110

111111
typedef struct eppp_config_t {
112112
eppp_transport_t transport;
113-
union {
114-
struct eppp_config_spi_s {
115-
int host;
116-
bool is_master;
117-
int mosi;
118-
int miso;
119-
int sclk;
120-
int cs;
121-
int intr;
122-
int freq;
123-
int input_delay_ns;
124-
int cs_ena_pretrans;
125-
int cs_ena_posttrans;
126-
} spi;
127-
128-
struct eppp_config_uart_s {
129-
int port;
130-
int baud;
131-
int tx_io;
132-
int rx_io;
133-
int queue_size;
134-
int rx_buffer_size;
135-
} uart;
136-
137-
struct eppp_config_sdio_s {
138-
bool is_host;
139-
int width;
140-
int clk;
141-
int cmd;
142-
int d0;
143-
int d1;
144-
int d2;
145-
int d3;
146-
} sdio;
147-
148-
struct eppp_config_ethernet_s {
149-
int mdc_io;
150-
int mdio_io;
151-
int phy_addr;
152-
int rst_io;
153-
} ethernet;
154-
155-
};
113+
struct eppp_config_spi_s {
114+
int host;
115+
bool is_master;
116+
int mosi;
117+
int miso;
118+
int sclk;
119+
int cs;
120+
int intr;
121+
int freq;
122+
int input_delay_ns;
123+
int cs_ena_pretrans;
124+
int cs_ena_posttrans;
125+
} spi;
126+
127+
struct eppp_config_uart_s {
128+
int port;
129+
int baud;
130+
int tx_io;
131+
int rx_io;
132+
int queue_size;
133+
int rx_buffer_size;
134+
} uart;
135+
136+
struct eppp_config_sdio_s {
137+
bool is_host;
138+
int width;
139+
int clk;
140+
int cmd;
141+
int d0;
142+
int d1;
143+
int d2;
144+
int d3;
145+
} sdio;
146+
147+
struct eppp_config_ethernet_s {
148+
int mdc_io;
149+
int mdio_io;
150+
int phy_addr;
151+
int rst_io;
152+
} ethernet;
153+
156154
struct eppp_config_task_s {
157155
bool run_task;
158156
int stack_size;

0 commit comments

Comments
 (0)