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
Ondrej Kosta
6d4ff2c05e
Merge branch 'feature/eth_ioctl_speed_duplex' into 'master'
...
esp_eth: esp_eth_ioctl update
Closes IDF-1240 and IDF-4060
See merge request espressif/esp-idf!15607
2021-11-16 11:56:18 +00:00
Ondrej Kosta
d1f2a3dfcc
esp_eth: added ioctl options to set Ethernet speed and duplex mode
...
esp_eth_ioctl third argument always acts as untyped pointer to memory now
2021-11-16 08:34:07 +01:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Andy Carle
3e9cdbdedf
enc28j60: allow multicast packets in default enc28j60 configuration
2021-11-09 01:34:15 -08:00
Fu Hanxi
04b36c1c2c
Merge branch 'ci/enable_s3_example_build' into 'master'
...
ci: enable esp32s3 example build
See merge request espressif/esp-idf!15213
2021-09-17 02:30:31 +00:00
Ondrej Kosta
d9d1fbb892
Merge branch 'eth_examples/esp32s3_support' into 'master'
...
Eth_examples: added support of ESP32-S3 chip
Closes IDF-3573
See merge request espressif/esp-idf!14805
2021-09-16 11:18:35 +00:00
Fu Hanxi
923e862ed2
ci: temporarily disable s3 build for a few examples
2021-09-16 12:20:11 +08:00
Ondrej Kosta
76326e8268
esp_eth: add PHY loopback control via esp_eth_ioctl
...
Fixed esp_eth_ioctl command's data argument non-standard handling
2021-09-14 09:13:54 +02: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
zhangwenxu
2be77287b3
openthread: add iperf example for ot-network test
2021-09-06 15:32:38 +08:00
laokaiyao
04970fe487
iperfUtility: add udp rx bandwidth scan
2021-09-01 19:11:28 +08:00
laokaiyao
8d18a9c614
emac: optimise iperf performane
2021-09-01 19:11:28 +08: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
Ondrej Kosta
bf7b1689de
Merge branch 'feature/lan87xx_support' into 'master'
...
Feature/lan87xx support
Closes IDFGH-5345
See merge request espressif/esp-idf!14142
2021-07-28 16:27:58 +00:00
Yuan Jian Min
3d86a9fd2e
Merge branch 'bugfix/fix_eth2ap_example_crash' into 'master'
...
eth2ap: Fix eth2ap example crash issue
See merge request espressif/esp-idf!14495
2021-07-28 11:55:17 +00: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
He Yin Ling
2849f3bf44
Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
...
Test: add ethernet iperf example test case
Closes TCI-463
See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d
test: add ethernet iperf example test case
2021-07-28 09:39:02 +08:00
yuanjm
c2bb7bf9a2
eth2ap: Fix eth2ap example crash issue
...
Closes https://github.com/espressif/esp-idf/issues/7260
2021-07-27 20:00:39 +08:00
Ondrej Kosta
ae2da1e235
enc28j60: fix stability of the ENC28J60 Ethernet driver example
...
Resolved possible race conditions when accessing registers in different banks.
Added Tx ready semaphore when requesting packet to transmit (ENC is slow => access to it needs to be controlled).
Added setting of CS hold time based on Data sheet.
Added option to set the ENC28J60 to Full Duplex mode.
Addressed several ENC28J60 Erratas.
Restructured ENC28J60 example folder structure so the driver could be easily linked from different projects.
Extended the README to guide users of how to properly use the ENC28J60 chip.
Extended iperf example to include ENC28J60.
Closes https://github.com/espressif/esp-idf/issues/4747
Closes https://github.com/espressif/esp-idf/issues/7117
Closes https://github.com/espressif/esp-idf/issues/7156
2021-07-26 09:57:18 +02:00
SalimTerryLi
1abf5c861d
examples: unify iperf component
2021-07-16 11:59:52 +08:00
Omar Chebib
0fd74a43c8
console: re-use the available REPL console API and improve linenoise
...
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.
Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
morris
83f2d802ce
esp_eth: fix default PHY reset gpio
...
Closes https://github.com/espressif/esp-idf/issues/7034
2021-05-18 11:16:05 +08:00
David Cermak
7e6ff47363
Examples: Add basic ethernet example of using ksz8851
2021-04-22 13:55:51 +00:00
David Cermak
3db3e023af
Examples/eth: Extend configurable pins for SPI modules
...
Closes https://github.com/espressif/esp-idf/issues/6206
2021-04-20 16:11:06 +00:00
Patrick Wieder
98a4c70af9
Added support for Ethernet PHY KSZ8081
...
Merges https://github.com/espressif/esp-idf/pull/6578
2021-03-30 08:53:15 +00:00
Hao Ning
80da446be7
fix dead links directed to iot solution repo
...
resolve confilcts
modify a board name
rebase master
fix ota example link in readme
2021-03-26 15:19:10 +08:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
morris
932c509280
ethernet: not using test MAC address for EMAC example
2021-02-01 14:14:54 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
morris
8d0a0537cc
eth: hide spi configuration when using internal emac
2020-11-27 21:11:31 +08:00
morris
aea901f014
eth: support W5500 in network examples
2020-11-16 13:30:49 +08:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
morris
648bcc7a87
ethernet: add ksz8041 in basic ethernet example
2020-07-09 21:49:07 +08:00
Ivan Grokhotkov
8cd1f99ace
Merge branch 'refactor/common_rom_gpio_apis' into 'master'
...
esp_rom: extract common GPIO apis into esp_rom_gpio.h
See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
morris
1184366387
ethernet: support pin emac task to core
2020-05-29 17:51:37 +08:00
morris
6020d6a5d4
ethernet: esp_eth_stop API should stop emac hardware
2020-05-13 15:58:42 +08:00
InfiniteYuan
1f43f025d8
example/eth2ap: fix station multi-connection problem and add channel config item.
...
Closes https://github.com/espressif/esp-idf/issues/5029
2020-04-01 19:20:30 +08:00
Ivan Grokhotkov
bfefee3205
examples: set correct CPU frequency in ethernet/iperf for ESP32-S2
2020-03-20 15:33:32 +01:00
morris
da6742b91f
resume iperf example on esp32s2
2020-02-24 11:59:25 +08:00
morris
9e59be1aab
ethernet: add enc28j60 example
2020-02-10 12:56:14 +08:00
Henry Gilbert
eda07acc81
Add ENC28J60 Ethernet Driver
...
Merges https://github.com/espressif/esp-idf/pull/4435
2020-02-10 12:56:14 +08:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00