WanqQixiang
5cc3c09a15
fix(openthread): Fix CI failure of ot_trel example build
2024-12-17 10:26:47 +08:00
Shu Chen
7d46a4a0b0
Merge branch 'example_connect/thread' into 'master'
...
feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples
See merge request espressif/esp-idf!34892
2024-12-16 17:56:46 +08:00
WanqQixiang
3d0688942c
feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples
2024-12-11 19:13:20 +08:00
Ivan Grokhotkov
58f2dd5a66
fix(protocol_examples_common): don't override MAC address for openeth
...
The intention of the code block was to set MAC address for SPI
Ethernet modules, however !CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET also
affected the case of CONFIG_EXAMPLE_USE_OPENETH.
This commit corrects the code to match the original intention.
Related to https://github.com/espressif/qemu/issues/107
2024-12-09 10:51:19 +01:00
yinqingzhao
f40c2cbc72
feat(wifi): avoid compiling components related to wifi when wifi is not supported
2024-11-19 11:02:09 +08:00
Ivan Grokhotkov
4d75d2d487
Merge branch 'bugfix/protocols_examples_common_driver_dep' into 'master'
...
remove leftover dependencies on `driver` component
See merge request espressif/esp-idf!33548
2024-11-14 22:21:57 +08:00
David Cermak
c7e2a9ea0d
fix(common_connect): Fix example's stdin/out to setup UART interrupt once
...
Function example_configure_stdin_stdout() was used for simple UART I/O
operation in CI to enter test env configuration (wifi ssid, IPs, etc).
It could be called multiple times, but didn't handle the situation where
we install UART interrupt from multiple source (e.g. in ICMP tests,
where we first need to enter wifi credentials of test AP and then we
start ping-cmd console to handle ping commands)
2024-11-08 12:21:35 +01:00
Ivan Grokhotkov
68e9bcbf1e
fix(build): clean up dependencies on driver component
2024-11-07 13:09:23 +01:00
Ondrej Kosta
0738314308
feat(esp_eth): added new generic PHY driver
2024-10-11 10:14:53 +02:00
jgujarathi
e411e43b4b
fix(examples) : Common component's wifi disconnect handler should ignore roaming disconnect
...
- Common component's wifi disconnect handler should ignore roaming disconnect (WIFI_REASON_ROAMING)
as connect gets issued internally in these cases.
2024-09-11 11:39:43 +08:00
Ondrej Kosta
9e10cca102
fix(esp_eth): fixed default GPIO to match new ver. of P4 devboard
2024-08-08 18:11:38 +02:00
Xu Si Yu
33e7f004e3
fix(common_components): unregister event handler if wifi disconnect and stop reconnecting
2024-07-22 15:56:55 +08:00
David Cermak
39f4f98aa1
fix(examples): Add wifi_remote option to common connect example
...
* Add MQTT test configuration with WiFi on ESP32-P4
* Document esp_wifi_remote workflow in the example's README
2024-05-29 19:42:00 +08:00
zwx
d7715b96b2
feat(eth) configure eth mac using esp_read_mac
...
* Closes https://github.com/espressif/esp-idf/issues/13808
2024-05-23 16:41:26 +08:00
Ondrej Kosta
d15a9c2c48
feat(esp_eth): a new folder structure of the driver and other improvements
...
Fixed memory leak in emac_esp_new_dma function.
Polished ESP EMAC cache management.
Added emac_periph definitions based on SoC features and improved(generalized) ESP EMAC GPIO
initialization.
Added ESP EMAC GPIO reservation.
Added check for frame error condition indicated by EMAC DMA and created a target test.
2024-05-14 08:23:31 +02:00
Tomas Rezucha
cb21994358
Merge branch 'fix/common_examples_cmake' into 'master'
...
fix(examples): Make esp_eth public dependency of protocol_examples_comon
See merge request espressif/esp-idf!28618
2024-01-23 23:55:30 +08:00
Tomas Rezucha
21df64f4a9
fix(examples): Make esp_eth public dependency of protocol_examples_comon
2024-01-22 21:51:37 +08:00
Ondrej Kosta
85c4601ed5
fix(examples): fixed common_connect example to support ESP32P4 internal EMAC
2024-01-22 09:48:15 +01:00
laokaiyao
baccc61482
refactor(parlio): make parlio driver as component
2024-01-04 14:12:42 +08:00
Song Ruo Jing
bc09031496
refactor(uart_vfs): Move uart implementation of vfs to esp_driver_uart
...
Deprecated esp_vfs_dev_uart_xxx APIs
vfs_uart test case moved to esp_driver_uart test_apps
Astyle fixed for uart_vfs
2023-12-15 17:14:55 +08:00
David Cermak
1780bababd
feat(examples): Add PPP to common connection component
2023-10-30 14:50:00 +01:00
David Cermak
88d18e9a40
fix(esp_netif): Mark esp_netif_next deprecated and fix usages
...
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-10-13 15:56:45 +02:00
Euripedes Rocha
4778d9b477
protocols/examples: Disable Wifi connection if not supported
...
- Disable Kconfig option for Wifi if not supported by the SoC
- Enable building mqtt examples when target is set to esp32h2
2023-05-30 13:26:45 +02:00
xieqinan
745780cdc4
comm_components: eth_start initializes spi bus with SPI_DMA_CH_AUTO
...
Close https://github.com/espressif/esp-idf/issues/11083
2023-04-17 12:02:05 +00:00
David Čermák
956e62c461
Merge branch 'feature/lwip_ipv6_only' into 'master'
...
lwip: Support IPv6 only mode
Closes IDF-6023
See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
Harshit Malpani
34705c0cc4
fix esp_http_client_example to build for Linux target. Made protocol_examples_common
compatible for Linux target
2023-02-27 15:12:14 +05:30
David Cermak
5f6cb31105
lwip: Support IPv6 only mode
2023-02-27 08:53:34 +01:00
David Cermak
854e16feb3
examples: Add common linux component tapif_io
...
That can be used with linux target on lwip to pass packets from lwip to
linux host networking stack, e.g. routing the trafic to internet.
2023-01-31 08:43:50 +01:00
Laukik Hase
167618d6a4
examples/protocols: Added URI encoding/decoding feature
...
- http_server/simple: Decoding received query
- esp_http_client: Sending encoded query
2023-01-25 17:47:14 +05:30
Chen Yudong
9c28e3f1cb
example_common: fix netif ips may be printed before got ipv4
2022-09-05 16:53:55 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
Chen Yudong
4d9393fc53
example: use example common componments in esp_local_ctrl
2022-07-15 01:16:35 +08:00
Chen Yudong
bf0e4943be
common_components: add wifi connect console commands
2022-07-15 01:16:27 +08:00
Ondrej Kosta
bb6c6aff36
esp_eth: SPI Ethernet modules initialization simplification
2022-07-14 08:46:22 +02:00
Harshit Malpani
3f00a3e120
Add config option to set stack size for emac_rx task
2022-06-16 09:03:49 +00:00
David Cermak
5e19b9c951
esp-netif: Make dependency on esp-eth optional
...
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
Ondrej Kosta
1a20b10fd3
Examples: common source for GPIO range in Kconfigs defined
2022-05-12 09:33:40 +02:00
Ondrej Kosta
fcdb0306d0
examples: added ESP-NETIF L2 TAP example
2022-04-12 12:33:57 +00:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
David Cermak
8da2e4088c
esp_eth: Update esp32's EMAC API to decouple driver and vendor config
2022-02-14 16:17:29 +00:00
David Cermak
2553fb5845
esp_eth: Make EMAC DMA burst size configurable
...
Merges https://github.com/espressif/esp-idf/pull/7874
Closes https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Fischerauer Christian
3fb83f2866
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
...
* add support for KSZ8001, KSZ8021, KSZ8031, KSZ8051 and KSZ8061
* remove duplicate code
* simplify architecture to make the code base extensible (for future work)
2021-12-02 11:56:08 +01:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Ondrej Kosta
35454b2bf7
Eth_examples: added support of ESP32-S3 chip
...
Defined SPI modules default GPIO values for ESP32-S3
SPI bus needs to be initialized with SPI_DMA_CH_AUTO option
2021-09-08 13:11:39 +02:00
Ondrej Kosta
300618e5be
Merge branch 'feature/dual_eth' into 'master'
...
esp_eth: add support for multiple Ethernets modules at a time
Closes IDFGH-5596
See merge request espressif/esp-idf!14640
2021-08-27 06:11:48 +00:00
Ondrej Kosta
ef30384902
esp_eth: add support for multiple Ethernets modules at a time
...
Ethernet driver events properly bounded with ESP NETIF actions to support multiple Ethernet modules used at a time.
Components using Ethernet updated to conform with new API.
Closes https://github.com/espressif/esp-idf/issues/7318
2021-08-24 17:10:36 +02:00
Ivan Grokhotkov
ece73a3e55
examples/protocols: fix compilation when CONFIG_EXAMPLE_USE_OPENETH=y
...
The code checked CONFIG_ETH_USE_SPI_ETHERNET (which is usually set),
but CONFIG_EXAMPLE_ETH_SPI_xxx_GPIO options are only defined if
CONFIG_EXAMPLE_USE_SPI_ETHERNET is set. Fix the ifdef accordingly.
Regression from aea901f0.
2021-08-15 21:58:42 +05:00
Ondrej Kosta
4e77430107
examples: Update Ethernet examples to use new PHY LAN87xx init function
...
Ethernet examples device usage and Kconfig options synchronized
2021-07-28 19:34:05 +08:00