Commit Graph

3084 Commits

Author SHA1 Message Date
xiongweichao
6b576212d9 add nvs initialize 2022-01-10 11:19:53 +08:00
Omar Chebib
c60ff26ec2 Merge branch 'staging/add_idf_as_lib_to_ci' into 'master'
CI: idf_as_lib is now run on all suported targets

See merge request espressif/esp-idf!16672
2022-01-10 02:23:54 +00:00
morris
6bf3af7c8e examples: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
morris
02f6b83f47 app_trace: support gptimer as timestamp source 2022-01-07 14:59:09 +08:00
morris
25490dd45f gptimer: add example with various use cases 2022-01-07 14:44:50 +08:00
Omar Chebib
598246d287 CI: idf_as_lib is now run on all suported targets 2022-01-07 12:10:35 +08:00
Wang Meng Yang
5f28c0c36b Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
bugfix/handle_3_esp_hid_PRs

Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586

See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
morris
869bed1bb5 soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
Darian
d95b15c557 Merge branch 'feature/usb_host_cleanup' into 'master'
USB: Host stack cleanup and QOL update

Closes IDFGH-6120, IDF-2747, IDFGH-4592, and IDFGH-6402

See merge request espressif/esp-idf!16349
2022-01-06 12:18:47 +00:00
Darian Leung
630a6b54c2 usb: Add USB Host Library Example
The commit adds a basic example for the USB Host Library
2022-01-06 15:15:15 +08:00
Darian Leung
b6dfadb168 usb: Update USB Host Library
This commit updates the USB Host Library as follows:

- usb_helpers.h
    - Removed dependency on USB Host Library API
    - Added function to print string descriptors
- usbh
    - Fixed bug where an interface/endpoint could be claimed/allocated multiple times
    - Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-01-06 15:14:10 +08:00
Darian Leung
1aad12468a usb: Hub Driver Update and Refactor
Hub Driver is refactored as follows:

This commit update and refactors the Hub Driver as follows:

- Refactored enumeration state machine and stage functions
    - Enumeration stage is now incremented
    - Combined transfer stages of enumeration into common functions
- Comments updated
- Fixed usbh_hal_disable_debounce_lock() that would cause root_port_handle_events()
    to fail the HCD_PORT_CMD_RESET call because the previous port connection interrupt
    was not cleared.

The following features were added to the Hub Driver

- Enumeration config descriptor is now fetched in two separate stages
    - Header is fetched first to determine the wTotalLength of the descriptor
    - Fetching the full descriptor will request exactly wTotalLength bytes
    - This works around some non-compliant devices that will babble/return zero
        when requesting a length > wTotalLength
    - Closes https://github.com/espressif/esp-idf/issues/7799
- Enumeration now stores string descriptors
    - The Manufacturer, Product, and Serial Number string descriptors are
        now read and stored during enumeration
    - String descriptors are now part of usb_device_info_t
- Added unit test to test enumeration
2022-01-06 15:11:13 +08:00
Darian Leung
854127a57c usb: USB Host stack uses USB PHY driver
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.

- The hcd_install() now expects the USB PHY and OTG Contorller to be
    already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
    the user wants to setup their own USB PHY (e.g., in the case of using
    and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY

Closes https://github.com/espressif/esp-idf/issues/8061
2022-01-06 15:09:39 +08:00
Aditya Patwardhan
6f20ca93ad Merge branch 'fix/http2_request_example' into 'master'
http2_request_example: Change the target http2 server to http2.github.io

See merge request espressif/esp-idf!16655
2022-01-06 03:26:50 +00:00
Zim Kalinowski
779de561f4 Merge branch 'bugfix/fix_idf_as_lib_build' into 'master'
Build: fix idf_as_lib example not building

Closes IDFGH-6453

See merge request espressif/esp-idf!16514
2022-01-06 03:17:30 +00:00
Omar Chebib
cb90544a04 Build: fix idf_as_lib example not building 2022-01-06 03:17:29 +00:00
Tomas Rezucha
6330d5d312 usb: Extend CDC device with second CDC channel
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Guo Jia Cheng
fa8364a544 Merge branch 'bugfix/openthread-socket-multicast' into 'master'
openthread: sync lwip multicast groups to Thread stack

See merge request espressif/esp-idf!16490
2022-01-05 07:04:30 +00:00
Mahavir Jain
6e1f534cab Merge branch 'feature/esp_tls_api_cleanup' into 'master'
esp-tls: mark esp_tls_conn_delete API as deprecated

See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
Aditya Patwardhan
2b026ea1fa http2_request_example: Change the target http2 server to http2.github.io and
perform only a `GET` request.
2022-01-05 12:26:39 +05:30
Murray Fordyce
00a23ec544 Fixed left right key confusion in comments.
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
Li Kun Qiao
b05b70c7f3 Merge branch 'feature/Add_zigbee_rcp_gateway' into 'master'
Zigbee example: rcp and gateway

See merge request espressif/esp-idf!16205
2022-01-05 03:28:03 +00:00
Jiacheng Guo
d610282742 openthread: sync lwip multicast groups to Thread stack
This MR synchornizes the lwIP multicast groups to the Thread stack. This
will fix sockets failing to receive messages sent to multicast groups
issue.
2022-01-04 20:08:15 +08:00
Jiang Jiang Jian
69757842aa Merge branch 'bugfix/ftm_misc_issues' into 'master'
Miscellaneous FTM bugfixes

Closes WIFI-4126

See merge request espressif/esp-idf!16525
2022-01-04 10:39:42 +00:00
Mahavir Jain
c26500cd5a esp-tls: mark esp_tls_conn_delete API as deprecated
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
likunqiao
8c577cd208 Zigbee example: add rcp and gateway
* provide Zigbee rcp and Zigbee gateway example
 * minor comment fix for light example
2022-01-04 17:46:09 +08:00
Yuan Jian Min
0c73f20afd docs: Add user-friendly guide about how to use ws_server_example_test.py
Closes https://github.com/espressif/esp-idf/issues/8060
2022-01-02 11:27:05 +00:00
Song Ruo Jing
2906fbfb9e Merge branch 'feature/support_esp8684_gpio' into 'master'
ESP8684: Support ESP8684 gpio

Closes IDF-4019 and IDF-3841

See merge request espressif/esp-idf!15667
2021-12-30 09:16:23 +00:00
Nachiket Kukade
f38144a689 esp_wifi: Miscellaneous FTM bugfixes
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example

Closes https://github.com/espressif/esp-idf/issues/8127
2021-12-30 12:22:42 +05:30
songruojing
e0bc3a923c esp8684: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example and GPIO unit test on esp8684 are both supported as well.
2021-12-29 22:01:45 +08:00
liqigan
9c5aecda38 optimize SPP documents 2021-12-29 16:18:16 +08:00
Wang Meng Yang
bc1a679052 Merge branch 'doc/update_document_of_demo_bt_discovery' into 'master'
Doc/update document of demo bt discovery

Closes BT-2133

See merge request espressif/esp-idf!16265
2021-12-29 06:07:19 +00:00
Mahavir Jain
5968bf6b0c Merge branch 'wifi_prov_mgr/service_key_check' into 'master'
wifi_prov_mgr: Added check for passphrase length in softAP scheme

Closes IDFGH-6404

See merge request espressif/esp-idf!16545
2021-12-27 09:34:24 +00:00
Laukik Hase
5261d7adf1 wifi_prov_mgr: Added check for passphrase length in softAP scheme
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-27 10:57:50 +05:30
Island
ab90076df9 Merge branch 'bugfix/update_ble_mesh_example_license' into 'master'
ble_mesh: example: Update example license

See merge request espressif/esp-idf!16501
2021-12-27 03:43:03 +00:00
zhangwenxu
91f54c673d openthread: add a manual mode in Thread border router example 2021-12-24 11:09:51 +08:00
lly
8fd34d4741 ble_mesh: example: Update example license 2021-12-24 09:08:45 +08:00
morris
f2d3a18f43 timer: example migrate to pytest 2021-12-23 11:39:32 +08:00
Shu Chen
ef7b2f5c70 Merge branch 'bugfix/otbr-example-panid' into 'master'
openthread: fix wrong panid range in border router example

See merge request espressif/esp-idf!16448
2021-12-22 04:12:30 +00:00
Martin Válik
4f7c36d859 Merge branch 'feature/usb-msc' into 'master'
USB MSC class

Closes IDFGH-4584

See merge request espressif/esp-idf!14573
2021-12-21 10:22:54 +00:00
baohongde
c6b7afccad components/bt: modify name of file 2021-12-21 10:55:06 +08:00
baohongde
d4aeef6ced components/bt: Update the document of demo bt discovery 2021-12-21 10:54:54 +08:00
Jiang Jiang Jian
2a8ef2103f Merge branch 'mesh/bugfix_fix_no_ip_issue' into 'master'
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted

See merge request espressif/esp-idf!16334
2021-12-20 12:24:24 +00:00
Martin Valik
73dce765d5 USB: added MSC Host Driver with VFS support
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Jiacheng Guo
85ea4947dc openthread: fix wrong panid range in border router example 2021-12-20 16:56:42 +08:00
Wei Tian Hua
7f06350400 Merge branch 'doc/optimize_hfp_doc' into 'master'
doc/: Optimize HFP Documents

Closes BT-2131

See merge request espressif/esp-idf!16258
2021-12-20 06:37:12 +00:00
Marius Vikhammer
c2d00810a6 Merge branch 'feature/esp8684_doc_build' into 'master'
docs: update docs to be able to build with esp8684

Closes IDF-4313

See merge request espressif/esp-idf!15849
2021-12-20 03:32:28 +00:00
Marius Vikhammer
82325f6037 docs: update docs to be able to build with esp8684 2021-12-20 10:32:49 +08:00
Rocha Euripedes
279c8aeb8a Merge branch 'example/asio_async_http_request' into 'master'
Examples/Asio:  Async http request

See merge request espressif/esp-idf!15285
2021-12-17 13:08:37 +00:00
Jakob Hasse
7572f75d6b refactor (cxx)!: I2C C++ classes use strong value types now
Added host-based I2C C++ unit tests

BREAKING CHANGE: I2C C++ interface changes, raw values for
    arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00