Commit Graph

83 Commits

Author SHA1 Message Date
Tomas Rezucha
0a511e576e Merge branch 'feature/remove_extra_components' into 'master'
examples: Use components from idf-extra-components repository

See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Tomas Rezucha
4dde197cca examples: Use components from idf-extra-components repository 2022-05-12 08:37:44 +00:00
Ondrej Kosta
1a20b10fd3 Examples: common source for GPIO range in Kconfigs defined 2022-05-12 09:33:40 +02:00
morris
aaa2eca57d blink: support ESP8684-DevKitM board 2022-05-12 05:18:57 +00:00
Ondrej Kosta
a213f7baf7 iperf: added sequential numberring of Tx'ed datagrams 2022-05-11 13:32:16 +02:00
morris
d537da5bfb example: update led strip example with new rmt driver 2022-05-07 10:34:50 +00:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
a385df8ea3 test: remove makefiles in unit-test-app 2022-04-25 17:12:34 +08:00
Jacques Supcik
c7fe38926a fix timing by adding the reset signal 2022-04-25 00:07:35 +02:00
Ondrej Kosta
fcdb0306d0 examples: added ESP-NETIF L2 TAP example 2022-04-12 12:33:57 +00:00
Ondrej Kosta
97ddccafd3 Added bandwidth limitaion option to iperf test scripts 2022-03-22 07:17:40 +00:00
Ondrej Kosta
c8b08b9a4b iperf: added Tx bandwidth limit option 2022-03-22 07:17:40 +00:00
Mahavir Jain
8878d91b47 Merge branch 'bugfix/tcp_iperf_example_issue' into 'master'
wifi:bugfix for iperf issue

Closes WIFI-4348

See merge request espressif/esp-idf!17319
2022-03-04 04:50:21 +08:00
xueyunfei
dc06c31a58 examples/common_components: iperf: fix closing of client socket in TCP server mode
Details of the problem : After iperf ended, the socket was not closed, resulting in the WIFI buffer not being released.
2022-03-03 14:04:01 +08: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
Ondrej Kosta
81cd70cf7f Merge branch 'contrib/github_pr_7966' into 'master'
Changed argument pointer to correct data (GitHub PR)

Closes IDFGH-6303

See merge request espressif/esp-idf!16351
2021-12-16 08:03:19 +00:00
Ondrej Kosta
774a26515a Fixed pcap summary print of 802.11 frame
802.11 Packet Type and Packet Subtype is now correctly decoded
2021-12-10 14:13:41 +01: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
zhangwenxu
0fe32adb58 iperf: handle NO_MEM error in OpenThread iperf
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
morris
72d5be5264 Merge branch 'feature/add_parse_packet_and_sniff_certain_number_of_packet_function_to_simple_sniffer' into 'master'
Support sniffer packets in memory, added example test

Closes IDF-3210

See merge request espressif/esp-idf!13595
2021-09-17 08:53:41 +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
morris
f04f078825 pcap: refactor and move to common components 2021-09-13 12:33:53 +08: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
AndriiFilippov
677ebc276c iperf: Update the formula for calculating the average bandwidth
The ethernet\iperf example has a bug, once bandwidth is more than 80 Mbits/s the average counter shows wrong total transmitted data value. Issue occur due to overflow of the uint32_t total_len variable.
* created new average formula to avoid the overflow
* updated interval formula according to new variables
* renamed variable according to its purpose
2021-09-08 11:20:47 +02:00
zhangwenxu
2be77287b3 openthread: add iperf example for ot-network test 2021-09-06 15:32:38 +08: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
morris
f0fab687ad pid_ctrl: abstract into example common component 2021-08-10 15:32:06 +08: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
SalimTerryLi
1abf5c861d
examples: unify iperf component 2021-07-16 11:59:52 +08:00
He Yin Ling
97a09e51ce example: set example wifi scan method to all channel:
in CI example test we could have runners with same SSID in the same lab.
Use scan on all channel will let DUT connect to the AP with best RSSI.
2021-06-09 10:01:17 +08:00
ronghulin
3373eff989 Bugfix: Connect example to add scan mode config
Closes https://github.com/espressif/esp-idf/issues/6595
2021-03-24 15:44:48 +08:00
yuanjm
821eea45b3 examples: Strip IPv6 function in example and use sockaddr_storage to replace sockaddr_in6 2021-02-23 18:26:03 +08:00
pedro.minatel
cccdb3e4aa Get started example update for addressable LED compatibility.
Added the RMT/addr LED blink to the example and more detailed README.md
 Moved component/led_strip to common_components
 Added missing README file to common_components/led_strip
 README file update
 Makefile and Kconfig fixed for led_strip component
 Fixing end-of-line on main/blink.c
 Component updated to handle multiple instances
 Added note on the RMT channel number (ESP32 and ESP32-S2)
 Removed components folder from rmt/led_strip example and README updated
 Changed the led_strip_denit function and added ESP32-C3 RMT info on channel configuration
 Updates on README, Kconfig default settings and configure_led() function added
2021-02-15 12:34:55 +00:00
Nachiket Kukade
76b2cb28d2 Add DPP Enrollee example
1. Add Example for DPP Enrollee
2. Use DPP Supplicant API's to setup connection
3. Add support for multiple channels in Bootstrapping
4. Add Unity testcase for testing Offchannel operations

Closes https://github.com/espressif/esp-idf/issues/5654
2021-01-25 13:26:33 +05:30
Nachiket Kukade
1a85d64da8 Add QR Code display support
Add a component to support QR Code display required for
different types of provisioning.
2021-01-25 13:24:21 +05:30
xiehang
b8a8fe3f54 esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA 2021-01-19 11:55:44 +08:00
xiehang
c260c223e9 example: We should not check the return value of esp_wifi_connect() in any case 2021-01-11 14:40:18 +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
nx518
9207c6ca8e lwip: Added description to Kconfig option on IPv6 SLAAC
Closes https://github.com/espressif/esp-idf/issues/6076
Merges https://github.com/espressif/esp-idf/pull/6078
2020-11-09 22:10:32 +00:00
David Cermak
52a7721bf7 examples: Common connect component: Unregister shutdown handler on disconnection
To be able to connect smoothly after disconnecting, we have to unregister all handlers including shutdown handler on disconnection
2020-09-02 11:12:08 +02:00
David Cermak
085d2b8d25 examples: common connect to also support no connection flow if no inteface chosen
This is useful for testing if there's no need for external network and connection
2020-07-14 10:42:17 +00:00
houwenxiang
8e00522cd7 vfs: support vfs uart set line endings with specified uart number 2020-07-10 11:15:09 +08:00