Commit Graph

4918 Commits

Author SHA1 Message Date
Harshit Malpani
c24d012808
remove(http2_request): Move http2_request example to idf-extra-components repository
Related: https://github.com/espressif/idf-extra-components/pull/193/
2023-07-03 17:46:16 +05:30
cjin
28788a96f2 ble:support esp32h2 power save example 2023-07-03 16:05:42 +08:00
Jakob Hasse
197e919d74 refactor(examples/console): Warn if secondary console is active
Having a secondary serial console is not useful when applications
use a REPL console type, hence we warn for it in examples.

Closes https://github.com/espressif/esp-idf/issues/11731
2023-07-03 13:42:35 +08:00
xiaqilin
6998a4b240 openthread: disable HW AES (IDF-7704) 2023-07-03 02:21:58 +00:00
xiaqilin
ce724d9cf1 openthread: change readme about specific target to 802.15.4 Soc 2023-07-03 02:21:58 +00:00
xiaqilin
c7ab495b0b ieee802154: exclude sleep file when do not define CONFIG_FREERTOS_USE_TICKLESS_IDLE 2023-07-03 02:21:58 +00:00
xiaqilin
45f5d54a60 openthread sleepy device: remove HW acceleration in sdkconfig 2023-07-03 02:21:58 +00:00
xiaqilin
1bb0c2c723 ieee802154: change light sleep config in ieee802154 2023-07-03 02:21:58 +00:00
xiaqilin
59ffcd07d6 ieee802154: change BLE_BB/ieee802154_BB 2023-07-03 02:21:58 +00:00
xiaqilin
95afd4b9af openthread: add openthread autostart for sleep device 2023-07-03 02:21:58 +00:00
xiaqilin
485a9d44cf ieee802154: add sleep state 2023-07-03 02:21:58 +00:00
xiaqilin
dc4b3f24bc ieee802154: support light sleep 2023-07-03 02:21:58 +00:00
morris
b739756cc4 feat(blink): Support different led_strip backend peripheral 2023-07-01 12:43:52 +00:00
laokaiyao
e3789d99a0 feat(example): bump up version of es8311 lvgl in the example 2023-07-01 17:55:58 +08:00
Ondrej Kosta
3288f83401 feat(network/examples): extended LwIP bridge example
Extended LwIP bridge example to support WiFi AP interface and DHCP Server

https://github.com/espressif/esp-idf/issues/5697
2023-06-30 14:38:24 +02:00
Rahul Tank
1ad891361f Merge branch 'bugfix/handle_correct_return_value' into 'master'
Nimble: Corrected conditional check during connection to handle failure case

See merge request espressif/esp-idf!24047
2023-06-30 15:17:05 +08:00
Rahul Tank
6eb1a8f51f fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
Island
9b5f3c69a9 Merge branch 'ble_dev/esp32c6_support_power_save_example' into 'master'
ble: support esp32c6 power save example

Closes EBLE50Y23-148

See merge request espressif/esp-idf!24385
2023-06-30 14:36:26 +08:00
Roman Leonov
f9bc38f573 Merge branch 'feature/usb/host/hid_host_example_update' into 'master'
USB Host (HID): HID Host example update

Closes IDF-7636

See merge request espressif/esp-idf!24415
2023-06-30 02:05:47 +08:00
Alexey Lapshin
f92908ceb1 Merge branch 'fix/segger_sysview_build' into 'master'
fix(app_trace): Fix SystemView build

Closes IDF-7661

See merge request espressif/esp-idf!24430
2023-06-30 01:12:07 +08:00
Aditya Patwardhan
e2a8413486 Merge branch 'bugfix/mbedtls_dyanmic_buffer_with_dhm_build' into 'master'
fix(mbedtls): Build issue in dynamic buffer feature

Closes IDFGH-10526

See merge request espressif/esp-idf!24488
2023-06-29 22:03:48 +08:00
Ondrej Kosta
7f2257ca2d Merge branch 'feature/eth_build_test_rules_cleanup' into 'master'
Ethernet related .build-test-rules.yml cleanup

Closes IDF-5551

See merge request espressif/esp-idf!24300
2023-06-29 21:44:17 +08:00
Roman Leonov
5ceac3cd19 feat(usb): update HID Host example 2023-06-29 11:58:46 +02:00
Mahavir Jain
90290507fb
fix(mbedtls): Build issue in dynamic buffer feature
Fix build issue in mbedTLS dynamic buffer feature with
`CONFIG_MBEDTLS_DHM_C` enabled case. Also added a build
configuration for the test coverage.

Closes https://github.com/espressif/esp-idf/issues/11770
2023-06-29 13:30:30 +05:30
cjin
c460a1c1af ble: support esp32c6 power save example 2023-06-29 14:35:48 +08:00
Alexey Lapshin
ef699e70ad fix(app_trace): Fix SystemView build 2023-06-28 18:28:36 +04:00
Lou Tian Hao
7c2ac1feb6 Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
esp32h2: support light_sleep

Closes IDF-6266 and IDF-7359

See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
Eren Terzioglu
804c12646b feat(apptrace): Added sensor data visualization example
Added example and python script to show how to transfer and visualize sensor data.
2023-06-27 18:32:56 +03:00
Jiang Jiang Jian
93fcfbeb54 Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc' into 'master'
esp_wifi: fix ret when setting channel at wifi not started, fix timer callback

Closes IDF-7270, WIFI-5607, WIFI-5736, and WIFI-3607

See merge request espressif/esp-idf!23782
2023-06-27 21:34:53 +08:00
Liu Ning
8514469092 esp_wifi: fix ret when setting channel at wifi not started, fix timer callback 2023-06-27 21:34:53 +08:00
Mahavir Jain
f2f5b41702 Merge branch 'example/remove_coap_example_from_idf' into 'master'
Move CoAP examples to idf-extra-component repository

See merge request espressif/esp-idf!24376
2023-06-27 15:59:19 +08:00
Jiang Jiang Jian
7b89dcf029 Merge branch 'bugfix/change_shell_to_python' into 'master'
change shell to python

See merge request espressif/esp-idf!24295
2023-06-27 13:47:28 +08:00
Harshit Malpani
d9e8aca7ee
remove(coap)!: Move CoAP examples to idf-extra-components repository
Related:
https://github.com/espressif/idf-extra-components/pull/188
2023-06-27 11:16:21 +05:30
morris
1c0be26531 fix(soc): soc header files can pass CI check 2023-06-26 23:00:45 +08:00
ding huan
859df2a983 feat(certs): Add python script for generating certificate 2023-06-26 22:38:33 +08:00
Alex Lisitsyn
16d9ba59f3 Merge branch 'feature/modbus_add_support_esp32h2' into 'master'
examples: modbus add support for target esp32h2

See merge request espressif/esp-idf!23905
2023-06-26 21:57:59 +08:00
Lou Tianhao
7fd74057a3 example: bringup light sleep example for esp32h2 2023-06-26 21:05:16 +08:00
Zhang Wen Xu
df67c02d93 Merge branch 'feature/ot_enable_hw_aes' into 'master'
openthread: enable HW AES in ot_cli example

See merge request espressif/esp-idf!24186
2023-06-26 17:25:39 +08:00
Sudeep Mohanty
67552c31da Merge branch 'feature/lp_uart_on_lp_core' into 'master'
lp-core-uart: Added LP UART driver support and printf ability to the LP core

Closes IDF-6831 and IDF-5815

See merge request espressif/esp-idf!23971
2023-06-26 14:40:20 +08:00
Mahavir Jain
8d589d758e Merge branch 'ci/fix_failures_in_esp_http_client_example' into 'master'
CI: fix esp_http_client example failures in CI. Timeout was observed in the...

Closes IDFCI-1689

See merge request espressif/esp-idf!23274
2023-06-26 11:23:45 +08:00
morris
7f8404ed91 doc: state the rgb lcd example may need extra initialitions
Closes https://github.com/espressif/esp-idf/issues/11736
2023-06-25 11:16:39 +08:00
Wu Zheng Hui
c41abacb3a Merge branch 'feature/enable_sleep_reject_for_deep_sleep' into 'master'
sleep: enable sleep reject when entering deepsleep

Closes WIFI-6010

See merge request espressif/esp-idf!24127
2023-06-25 00:02:32 +08:00
Harshit Malpani
b9caa324bc
examples: pre_encrypted_ota: update to newer API from esp_encrypted_img component
The members of the esp_decrypt_cfg_t configuration structure have been updated to correctly
reflect that we are using RSA private key member for the decryption purpose. Earlier their names were
incorrect. This old names have been marked as deprecated for IDF 5.2 release. This change can be viewed
at https://github.com/espressif/idf-extra-components/pull/187 and its part of esp_encrypted_img
component version 2.0.4

This commit updated to newer API usage from esp_encrypted_img component v2.0.4 for
pre_encrypted_ota example.
2023-06-23 21:04:41 +05:30
Harshit Malpani
20ed23bcd0
CI: fix esp_http_client example failures in CI. Timeout was observed in the logs while performing HTTP requests. Changing the endpoint when testing in CI 2023-06-23 10:32:20 +05:30
Aditya Patwardhan
3f58defcc9 Merge branch 'contrib/github_pr_11724' into 'master'
esp_http_client: Fix unsigned integer overflow (GitHub PR)

Closes IDFGH-10477

See merge request espressif/esp-idf!24366
2023-06-23 12:53:22 +08:00
Rahul Tank
0d5ce55e08 Nimble: Added Example Walkthrough tutorial for HTP example in nimble 2023-06-21 16:20:59 +05:30
Rahul Tank
9403cea79b Merge branch 'docs/walkthrough_for_multi_adv_examples' into 'master'
Nimble: Added Example Walkthrough tutorial for Multi Adv example

See merge request espressif/esp-idf!23985
2023-06-21 18:40:32 +08:00
Sudeep Mohanty
38c1759fb4 lp-core-uart: Added support for printf to the LP core
This commit adds a minimal logging driver for the LP core. The logging
driver provides a printf function which is built on top of the LP UART
driver. The commit also adds an example to demonstrate how to use print
statements in an LP core program.
2023-06-21 11:16:13 +02:00
Sudeep Mohanty
3638082670 lp-core-uart: Added LP UART support for LP core
This commit adds a UART driver for the LP core to interact with the LP
UART. The commit also adds an example to demonstrate the usage of the LP
UART driver.
2023-06-21 11:16:13 +02:00
aleks
2c7ea7f819 examples: modbus add support for target esp32h2 2023-06-21 09:53:02 +02:00
wuzhenghui
6fe405bffc ci: fix failed ci test jobs 2023-06-21 15:24:50 +08:00
Rahul Tank
df2612d104 Nimble: Corrected conditional check during connection to handle failure case 2023-06-21 11:56:36 +05:30
hwqchi
482f6340b9 esp_http_client: Fix unsigned integer overflow
Fix unsigned integer overflow when `content_length` is -1.
The proposed change is to modify the format specifier for content_length from PRIu64 to PRId64, which will print the signed value as a 64-bit integer instead.
2023-06-21 04:42:03 +08:00
Abhik Roy
baaa4c8910 examples:Added example for NAT from Wifi AP to STA. 2023-06-21 00:25:53 +10:00
idrey
0f634bb6d7 fix proto cmd crash problem in iperf example 2023-06-20 15:51:28 +08:00
Ondrej Kosta
b7ba0c610c renamed 'sta_to_eth' example to 'sta2eth' 2023-06-20 08:55:51 +02:00
Ondrej Kosta
4e10048400 Moved 'eth2ap' example to /examples/network folder
Ethernet related .build-test-rules.yml cleanup
2023-06-19 16:09:28 +02:00
David Čermák
28c643a56d Merge branch 'feature/example_network_wifi_bridge_provisioning' into 'master'
Examples/Network: Add WiFi to Eth/USB bridge example

See merge request espressif/esp-idf!23978
2023-06-16 01:04:32 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Jiang Jiang Jian
13c794f5be Merge branch 'feature/add_generate_cert_script' into 'master'
add generate cert script

See merge request espressif/esp-idf!24075
2023-06-15 20:32:58 +08:00
Ding Huan
864f7632a4 add generate cert script 2023-06-15 20:32:57 +08:00
Roshan Bangar
2bb1e52b20 Merge branch 'bugfix/throughput_watchdog_on_c6' into 'master'
Nimble: Fix watchdog timer issue in throughput app

See merge request espressif/esp-idf!24219
2023-06-15 17:19:59 +08:00
Zhang Wen Xu
bcb17412f5 Merge branch 'feature/lwip_add_ip6_src_addr_select_hook' into 'master'
lwip: add a hook for ip6 source address selection

See merge request espressif/esp-idf!23672
2023-06-15 16:07:29 +08:00
David Cermak
7302801bda Examples/network: sta-2-wired to support HW address update in DHCP
* Add support for runtime update of DHCP packets that contain HW
addresses (some routers wouldn't assing IP if the MAC was spoofed
only in Ethernet and ARP frames)
* Simplify Ethernet initialization using default eth-netif glue
2023-06-15 09:41:04 +02:00
Shu Chen
7676a1c8fe Merge branch 'add_nvs_flash' into 'master'
openthread: change partition table to nvs flash

See merge request espressif/esp-idf!23845
2023-06-15 09:37:48 +08:00
Roshan Bangar
eacbc00bb3 Introduced delay to avoid watchdog timer in throughput app 2023-06-14 19:36:02 +05:30
zhangwenxu
4b86ee16fa openthread: change partition table to nvs flash 2023-06-14 16:34:54 +08:00
Derek Duncan
b94fa5d106 Update itwt.c
Change name from `connect_handler` to `start_handler`
2023-06-13 16:13:38 +08:00
Konstantin Kondrashov
ac188ad074 Merge branch 'bugfix/mac_ext_order_for_c6_h2' into 'master'
esp_hw_support: Change the byte order of MAC for IEEE802154 (C6 and H2 chips)

Closes IDF-6809

See merge request espressif/esp-idf!23988
2023-06-13 16:08:13 +08:00
Shu Chen
2b3f7ac67a openthread: enable HW AES in ot_cli example 2023-06-13 10:09:38 +08:00
morris
88600bd91b driver: minor code clean up to pass coverity scan test 2023-06-10 16:21:12 +08:00
Sudeep Mohanty
ba2daf3c9e ulp-riscv-touch: Added support for the touch sensor on ULP RISC-V
This commit adds a driver for reading the touch sensor from the ULP
RISC-V core during sleep. The commit also adds an example to demonstrate
this feature.

Closes https://github.com/espressif/esp-idf/issues/10480
2023-06-09 08:41:34 +02:00
Marius Vikhammer
3cabd18133 Merge branch 'docs/h2_timer_docs' into 'master'
docs: updated misc docs with H2 specific information.

Closes IDF-6682, IDF-6683, and IDF-6694

See merge request espressif/esp-idf!24068
2023-06-09 12:12:58 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
KonstantinKondrashov
f7dfd1f48e mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
    esp_efuse_mac_get_default() -> 8 bytes
    esp_efuse_mac_get_custom() -> 8 bytes
    esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-08 23:11:32 +08:00
Mahavir Jain
f3b29d6ce2 Merge branch 'feature/move_efuse_tests_to_qemu' into 'master'
pytest_efuse: Use qemu for tests related to esp32

Closes IDF-6146 and IDF-1911

See merge request espressif/esp-idf!22279
2023-06-08 22:44:48 +08:00
Shu Chen
72972db88f Merge branch 'feature/add_ot_auto_start' into 'master'
openthread: introduce the auto start API

See merge request espressif/esp-idf!24078
2023-06-08 18:50:32 +08:00
David Cermak
022ddb1106 Examples/network: Add security options to provision sta-wired example 2023-06-08 07:38:04 +02:00
David Cermak
6ac17b5020 Examples/network: Add Ethernet iface to sta-2-wired bridge
* adds description about that it's not a bridge, but more like an 1:1
forwarder on L2
* add and describe mac spoofing for Ethernet interface
* describe virtual networking for USB-NCM interface
2023-06-08 07:33:52 +02:00
David Cermak
c603e2d956 Examples/network: Add wifi station to usb 1:1 forwarder (L2) 2023-06-08 07:33:48 +02:00
David Čermák
9f9bd8c033 Merge branch 'feature/usb_device/ncm' into 'master'
usb: Add NCM device example

See merge request espressif/esp-idf!22232
2023-06-08 13:20:43 +08:00
harshal.patil
0b86bcd35f efuse: use esp32 qemu target for a efuses example test.
The efuses example test with secure boot v2 and flash encryption enabled can be run on the esp32 qemu image.
2023-06-07 18:19:56 +05:30
zhangwenxu
65f7e1ec13 openthread: add source address selection hook 2023-06-07 12:12:31 +00:00
Xu Si Yu
c8e2135648 OpenThread CI: build 3 apps when the OpenThread related modifications exist 2023-06-07 16:53:55 +08:00
David Cermak
6edd1be973 Examples/http-server: Make DNS server a simple configurable component 2023-06-07 08:46:24 +02:00
Shu Chen
8672467d36 openthread: introduce the auto start API 2023-06-06 20:03:57 +08:00
Marius Vikhammer
aeeee67164 docs: updated misc docs with H2 specific information. 2023-06-06 09:48:47 +08:00
zhaokeke
338f0d95c4 usb: Add NCM device example
This example requires import esp_tinyusb library
2023-06-05 14:50:12 +02:00
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
Rahul Tank
1a599cd3bc Nimble: Added Example Walkthrough tutorial for Multi Adv example 2023-06-02 16:44:59 +05:30
Roshan Bangar
c797e05f25 Merge branch 'bugfix/fix_blufi_deinit' into 'master'
Blufi : Corrected blufi host deinit API

See merge request espressif/esp-idf!23826
2023-06-01 14:30:01 +08:00
Marius Vikhammer
9f31c65458 Merge branch 'feature/c6_ulp_gpio' into 'master'
ulp: added gpio API for lp core

Closes IDF-6834

See merge request espressif/esp-idf!23766
2023-06-01 09:50:33 +08:00
Roshan Bangar
bdfa402670 Blufi : fix blufi deinit 2023-05-31 12:22:12 +05:30
Fu Hanxi
3c8a782113 Merge branch 'ci/build_test_apps_according_to_required_components' into 'master'
CI: build test apps according to `requires_components` in `.build-test-rules.yml`s

Closes IDFCI-1651

See merge request espressif/esp-idf!22633
2023-05-31 09:05:38 +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
Marius Vikhammer
93ba9d1cfe system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary
If the efuse description from esptool contained semi-colons it would be interpretted as
a list delimiter in CMake. Summary is now passed as in quotes to escape this behavior.
2023-05-30 10:55:27 +08:00
Mahavir Jain
592bc0d452 Merge branch 'bugfix/fix_memory_leak_in_ws_server_example' into 'master'
example: Fix memory leak in ws_echo_server when httpd_queue_work failed

Closes IDFGH-10244

See merge request espressif/esp-idf!23941
2023-05-29 19:19:39 +08:00
Ondrej Kosta
e270c8ac72 Merge branch 'bugfix/tx_only_link_up' into 'master'
Ethernet minor fixes

See merge request espressif/esp-idf!23882
2023-05-29 19:00:10 +08:00
yuanjianmin
0b71dcc7ea example: Fix memory leak in ws_echo_server when httpd_queue_work failed
Closes https://github.com/espressif/esp-idf/issues/11507
2023-05-29 10:12:16 +00:00