Commit Graph

127 Commits

Author SHA1 Message Date
Rocha Euripedes
dc016f5987 Merge branch 'fix/mqtt_esp32h2_examples' into 'master'
protocols/examples: Disable Wifi connection if not supported

See merge request espressif/esp-idf!23970
2023-06-05 13:51:30 +08:00
xuxiao
722c60c14b esp_wifi: itwt add setup timeout timer to track response frame 2023-06-02 21:10:32 +08: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
David Cermak
b2af4d9689 lwip/linux: Add lwip support for networking component under linux
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
laokaiyao
b16ed57b2e esp32h4: removed esp32h4 related files 2023-04-23 12:03:07 +00: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
Xu Xiao
2f20406202 esp_wifi: itwt support light sleep 2023-04-06 10:46:32 +08:00
Hsuan-Ting Lu
9a890137c1
Fix typo in common components example docs 2023-03-23 19:56:58 -04:00
Jiang Jiang Jian
a39514a55e Merge branch 'bugfix/fix_format_error' into 'master'
examples: fix format errors, remove -Wno-format

Closes IDF-6433

See merge request espressif/esp-idf!21637
2023-03-21 19:19:47 +08:00
Bogdan Kolendovskyy
133d0ea784 examples: common_components/iperf esp32c6 wifi code formatting fix 2023-03-10 14:28:26 +01: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
zhangwenxu
7b4961afaa iperf: support iperf break after tcp tx send timeout 2023-03-01 11:00:33 +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
aditi_lonkar
6b95b4ffd7 esp_wifi: Update some wifi config options
1) Update sta_config_t options.
        2) Update HE constellation tx/rx default value.
2023-02-23 11:13:25 +05:30
Bogdan Kolendovskyy
d7b8b36082 examples: fix format errors, remove -Wno-format
Logging in series of examples has misuse of "%d" instead of type-appropriate format specifiers.
Fix by changing "%d" to PRIxx macros corresponding to type.
Remove -Wno-format compile flag in those examples that are affected.
2023-02-14 15:46:54 +01:00
David Čermák
dba0718f47 Merge branch 'feature/lwip_linux' into 'master'
lwip: Add support for linux target

Closes IDF-5707, IDF-5647, and IDF-6003

See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
Jiang Jiang Jian
6d7282eebd Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master_2' into 'master'
esp_wifi: add txop limit support, sync header

See merge request espressif/esp-idf!21913
2023-01-31 19:41:50 +08: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
David Cermak
fa97004faf lwip: Support for linux target
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +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
lvshisheng
d1230c7d9e esp32c6: add md5check, txop limit and sync header, update esp32c6 sdkconfig and itwt example 2023-01-17 20:51:51 +08:00
Jiang Jiang Jian
c681c92e4c Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master' into 'master'
esp_wifi: add basic support for esp32c6

Closes WIFI-5174, WIFI-5175, WIFI-5176, WIFI-5185, WIFI-5188, WIFI-5193, WIFI-5141, WIFI-5157, WIFI-5154, WIFI-5155, WIFI-5156, WIFI-5200, WIFI-5168, WIFI-5160, and WIFI-5214

See merge request espressif/esp-idf!21715
2022-12-30 10:08:29 +08:00
lvshisheng
bba409eec1 wifi: update wifi libs to support wifi6 features and fix build error 2022-12-29 13:13:35 +08:00
Cao Sen Miao
4713a9a7f2 ESP32H2: Introduce new chip target esp32h2, hello_world example supported 2022-12-29 12:29:14 +08:00
yuexia
032ebd76cb esp32c6: support wifi 6 2022-12-29 11:48:36 +08:00
Xu Si Yu
f90183adc8 Merge branch 'feature/add_iperf_format_change' into 'master'
iperf: add output format change function for iperf

See merge request espressif/esp-idf!21065
2022-12-05 16:31:12 +08:00
Xu Si Yu
fcafd8dc27 iperf: add output format change function for iperf 2022-12-01 12:24:05 +08:00
Marius Vikhammer
72b8a3de3e examples: update max GPIO range for C2 examples to exclude UART0 pins
Closes https://github.com/espressif/esp-idf/issues/10174
2022-11-14 10:13:42 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
wuzhenghui
fca7d70e05 esp32c6: add minimal ci support
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Chen Yudong
9c28e3f1cb example_common: fix netif ips may be printed before got ipv4 2022-09-05 16:53:55 +08:00
morris
dfafa619c7 led_strip: use component manager in the example 2022-08-12 10:48:21 +08:00
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04: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
morris
dede9da16e led_strip: move api functions to single file 2022-06-28 14:17:12 +08:00
Mahavir Jain
d5a9f67ce9 Merge branch 'bugfix/fix_pre_encrypted_ota_pytest_example' into 'master'
ci: Fix pre_encrypted_ota pytest example

Closes IDFCI-1295

See merge request espressif/esp-idf!18454
2022-06-19 12:53:51 +08:00
Harshit Malpani
3f00a3e120 Add config option to set stack size for emac_rx task 2022-06-16 09:03:49 +00:00
Ondrej Kosta
b83de6acbc example common_components: fixed GPIO max range for ESP32-C2 2022-06-14 15:29:44 +02: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
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