Commit Graph

4893 Commits

Author SHA1 Message Date
Mahavir Jain
3a104b011d
examples/security: update test script to handle custom NVS partition init 2022-06-03 10:16:29 +05:30
Mahavir Jain
beca401fbc
examples/security: add support for initializing custom NVS partition with encryption 2022-06-02 18:13:43 +05:30
Michael (XIAO Xufeng)
4e231f9dac ci: partially enable pytest for esp32c2 2022-06-02 15:07:53 +08:00
morris
3247335770 mcpwm: don't support disable carrier first pulse
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.

Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
Michael (XIAO Xufeng)
f7be540222 ci: partially enable example build for esp32c2 2022-06-02 14:17:31 +08:00
morris
17a688749a timer: disable nano printf for gptimer examples
because we need to use %llu to print the timer count value, but nano
printf doesn't known that format
2022-06-02 11:08:59 +08:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Marius Vikhammer
740c8d30d6 CI: enable custom bootloader tests on S3 2022-06-01 11:39:09 +08:00
Mahavir Jain
8e9bb00781 Merge branch 'bugfix/mark_ota_test_as_flaky' into 'master'
ota_example: Mark tests as flaky

See merge request espressif/esp-idf!18311
2022-05-31 13:15:11 +08:00
Jakob Hasse
97c149f73d Merge branch 'refactor/nvs_iterator_api' into 'master'
NVS: New interface for iterator functions

Closes IDFGH-6149

See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Island
74b7a3fc83 Merge branch 'feature/final_h2_bluedroid_skc_common' into 'master'
Feature/final h2 bluedroid skc common

See merge request espressif/esp-idf!17710
2022-05-30 21:20:52 +08:00
Anton Maklakov
3c8a1390a0 Merge branch 'bugfix/esp-system-warnings' into 'master'
system: minor fixes of warnings

See merge request espressif/esp-idf!18310
2022-05-30 19:33:01 +08:00
Jiang Jiang Jian
2bc5d58807 Merge branch 'feature/support_sleep_for_esp32c2' into 'master'
esp32c2: support power management

Closes IDF-4440 and IDF-4617

See merge request espressif/esp-idf!18174
2022-05-30 17:57:18 +08:00
satish.solanke
3a42007680 Bluedroid porting changes for esp32h2
created common Kconfig for common flag of nimbble and Bluedroid

fix compile error

created common cfg file for controller

fix the compilation error on tip of master

added common controller flags and fixed compilation error

sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Anton Maklakov
1f5bb083b9 examples, timer: use llabs() 64-bit argument 2022-05-30 14:48:12 +07:00
Harshit Malpani
48bbfaeeba ota_example: Mark tests as flaky 2022-05-30 11:13:05 +05:30
Mahavir Jain
7640971f14 Merge branch 'feature/https_example_pytest_migration' into 'master'
https example pytest migration

See merge request espressif/esp-idf!18054
2022-05-30 10:45:12 +08:00
Jiang Jiang Jian
fb7994ba06 Merge branch 'feature/remove_disable_gcc8_warns' into 'master'
build: remove COMPILER_DISABLE_GCC8_WARNINGS option

See merge request espressif/esp-idf!16941
2022-05-30 09:42:17 +08:00
Jakob Hasse
ad184e979a refactor (nvs)!: New interface for iterator functions
Closes https://github.com/espressif/esp-idf/issues/7826

* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
  return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
  parameters, instead of returning an new iterator.

Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Jiang Jiang Jian
6a27983fc9 Merge branch 'feature/nimble_spp_multiple_profile_conn' into 'master'
NimBLE SPP multiple profile connection

Closes IDFGH-7001

See merge request espressif/esp-idf!17660
2022-05-29 19:24:08 +08:00
Jiang Jiang Jian
4ed2e6130a Merge branch 'feature/add_l2cap_ertm_api' into 'master'
Component_bt:Add l2cap and sdp api

Closes IDF-4487

See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
component_bt: add avdtp delay reporting

Closes BT-2308

See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Jiang Jiang Jian
368cb04194 Merge branch 'contrib/github_pr_8076' into 'master'
example: Synchronize includes in BLE walkthrough (GitHub PR)

Closes IDFGH-6417

See merge request espressif/esp-idf!17458
2022-05-29 14:31:09 +08:00
Isha Pardikar
4ab6aafecc Merge branch 'feature/nimble_spp_multiple_profile_conn' into 'master'
Added support for multiple profile connection in NimBLE SPP example.

Closes IDFGH-7001
2022-05-29 06:10:18 +00:00
Jiang Jiang Jian
6798494a05 Merge branch 'contrib/github_pr_8972' into 'master'
Fix Typo in bluedroid spp client readme (GitHub PR)

Closes IDFGH-7392

See merge request espressif/esp-idf!18200
2022-05-29 11:43:21 +08:00
xiongweichao
7624d5dd93 add l2cap client demo 2022-05-28 23:34:21 +00:00
xiongweichao
52656ad582 add l2cap server demo 2022-05-28 23:34:21 +00:00
xiongweichao
f321d62696 Modify a2dp demo 2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b add sink send delay reporting 2022-05-28 23:31:45 +00:00
jingli
efd5376fc0 fix power_save demo 2022-05-27 18:37:11 +08:00
Harshit Malpani
5a51af523c https examples pytest migration 2022-05-27 10:27:00 +05:30
Anton Maklakov
b9a549c80b build: remove COMPILER_DISABLE_GCC8_WARNINGS, no longer relevant 2022-05-27 11:40:40 +07:00
Zim Kalinowski
2c9cd8e307 Merge branch 'feature/remove_target_cmake' into 'master'
build-system: remove target component

Closes IDF-3091 and IDF-3581

See merge request espressif/esp-idf!18131
2022-05-27 06:55:25 +08:00
radim.karnis
3e08f355b6 tools: Use esptool v4 2022-05-26 13:59:50 +00:00
Rahul Tank
b45723b92e Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
NimBLE: Enabled ESP Timer support for esp32h2

See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Mahavir Jain
5607018f28 Merge branch 'feature/ota_examples_pytest_migration' into 'master'
Migrate OTA example test to pytest framework

Closes IDFCI-1146

See merge request espressif/esp-idf!17767
2022-05-24 14:28:15 +08:00
Marius Vikhammer
cf1b222cac build system: removed target component
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Marius Vikhammer
425c9e5b0f Merge branch 'feature/target_kconfig_movement_3' into 'master'
kconfig: move remaining kconfig options out of target component

Closes IDF-3579

See merge request espressif/esp-idf!18046
2022-05-24 08:45:01 +08:00
Mahavir Jain
5d88df658d Merge branch 'feature/esp-tls_optimize_memory' into 'master'
esp-tls: add api to free client session

Closes AEG-57

See merge request espressif/esp-idf!18103
2022-05-24 02:53:59 +08:00
Marius Vikhammer
0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Mahavir Jain
b54fc7ecd5 Merge branch 'feature/esp_local_ctrl_example_pytest_migration' into 'master'
esp local ctrl example pytest migration

See merge request espressif/esp-idf!18051
2022-05-23 17:06:21 +08:00
Mahavir Jain
b8e02c689d Merge branch 'bugfix/https_mbedtls_tls1_3' into 'master'
https_mbedtls: Prefer TLS 1.3 connection when enabled over TLS 1.2

Closes IDFGH-7380

See merge request espressif/esp-idf!18133
2022-05-23 16:29:25 +08:00
Li Jingyi
9b766b851a example: https_request update free client session api 2022-05-23 16:28:40 +08:00
Harshit Malpani
448b98d3bc Update relative link for example test in README.md 2022-05-23 13:11:22 +05:30
Harshit Malpani
25f02efaa1 Migrate OTA example test to pytest framework 2022-05-23 13:11:21 +05:30
morris
3b2f8dfc0d Merge branch 'contrib/github_pr_8997' into 'master'
Clean up botched merge (GitHub PR)

Closes IDFGH-7419

See merge request espressif/esp-idf!18199
2022-05-23 14:41:26 +08:00
Laukik Hase
6ad25f991d
https_mbedtls: Prefer TLS 1.3 connection when enabled over TLS 1.2
Closes https://github.com/espressif/esp-idf/issues/8960
2022-05-23 09:51:57 +05:30
Fu Hanxi
5c046631f4 Merge branch 'ci/add_qemu_hello_world_example' into 'master'
CI: add qemu hello world example

Closes IDFCI-1187

See merge request espressif/esp-idf!18151
2022-05-22 10:49:34 +08:00
Kaushik Ghose
34369cd709
Clean up botched merge 2022-05-20 16:04:41 -04:00
Fu Hanxi
4746a71028 ci: add qemu example 2022-05-21 00:11:59 +08:00
Li Jingyi
0cdee37630 https_server: add mbedtls dynamic buffer function test 2022-05-20 11:21:48 +00:00
Shu Chen
7e71c0cff2 Merge branch 'otbr-rcp-update' into 'master'
openthread: support automatic RCP update upon boot in border router

See merge request espressif/esp-idf!17322
2022-05-20 17:58:26 +08:00
David Čermák
8153695192 Merge branch 'contrib/github_pr_8962' into 'master'
Update echo_example_main.c (GitHub PR)

Closes IDFGH-7382

See merge request espressif/esp-idf!18126
2022-05-20 04:14:48 +08:00
morris
819beb4a32 example: use console repl in ble mesh coex example 2022-05-19 11:31:53 +08:00
David Cermak
b0e4ae4a5e examples: Minor fixes in udp_nulticast socket examples
Make sure that IPv6 mapped IPv4 addresses are not used when using
vanilla lwip
2022-05-18 17:10:42 +02:00
Martin Vychodil
b682527c60 Merge branch 'feature/ext_flash_fatfs_update' into 'master'
fatfs: add new ESP32 targets to external flash example

Closes IDF-3621

See merge request espressif/esp-idf!17371
2022-05-18 16:43:52 +08:00
EcotechBrad
286bc45cdc
Fix Typo in bluedroid spp client readme
`uart_wrire_bytes`  to `uart_write_bytes`
2022-05-17 10:42:34 -04:00
Harshit Malpani
63b1b1bd44 esp_local_ctrl example pytest migration 2022-05-17 15:23:22 +05:30
Mahavir Jain
361b40c994 Merge branch 'feature/cbor_example_pytest_migration' into 'master'
cbor example pytest migration

See merge request espressif/esp-idf!18052
2022-05-17 16:56:01 +08:00
Rahul Tank
95db4bbf05 NimBLE: Enabled ESP Timer support for esp32h2 2022-05-17 12:49:40 +05:30
Darian
4d751b9d6b Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog

Closes IDF-3340

See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Jiacheng Guo
ebcd922d53 fix review comments 2022-05-17 12:56:22 +08:00
Kapil Gupta
ba1daac5f0 Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
esp_wifi: Add APIs to check for BTM, RRM support of connected AP

See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
David McCurley
58db82c764
Update echo_example_main.c
Fixed compile error in example.  `error: designator order for field 'esp_ping_callbacks_t::cb_args' does not match declaration order in 'esp_ping_callbacks_t'`. Moved `.cb_args` in example to match declaration.
2022-05-16 11:30:55 -05: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
Kapil Gupta
ee33c6ae05 esp_wifi: Add APIs to check BTM and RRM support of connected AP 2022-05-16 15:57:59 +05:30
Anton Maklakov
cc2010682d Merge branch 'bugfix/bluedroid_warnings' into 'master'
bluedroid: fix warnings

Closes GCC-242

See merge request espressif/esp-idf!17872
2022-05-16 13:36:36 +08:00
Fu Hanxi
38345d9cd8 Merge branch 'ci/improve_build_scripts_for_multi_targets' into 'master'
CI: improve build scripts for multi targets

See merge request espressif/esp-idf!17895
2022-05-16 11:18:11 +08:00
Darian Leung
7c02bde904 esp_system: Update task watchdog unit tests and example
This commit does the following:

- Update existing unit tests that use the TWDT to call the new
  esp_task_wdt_init() API
- Add a set of dedicate TWDT unit tests
- Updates the TWDT example
2022-05-13 18:01:28 +08:00
Anton Maklakov
c89974b7cf examples/bluetooth: suppress -Waddress-of-packed-member warning 2022-05-13 15:24:17 +07:00
Kapil Gupta
72e53d116a Merge branch 'feature/internal_tls_code_update' into 'master'
wpa_supplicant: sync eap code with upstream

See merge request espressif/esp-idf!16962
2022-05-13 12:57:48 +08:00
Kapil Gupta
c2429f1cf9 wpa_supplicant: sync eap code with upstream 2022-05-13 12:57:47 +08:00
Harshit Malpani
57e2e7a27c Migrate cbor example to pytest framework 2022-05-13 04:41:00 +00:00
Fu Hanxi
52b5a8348e test: add pytest_wifi_getting_started script 2022-05-13 11:56:59 +08:00
Fu Hanxi
4a7315b1b0 ci: improve import path 2022-05-13 11:54:42 +08:00
Jakob Hasse
847f3813a0 Merge branch 'bugfix/sdcard_example_test' into 'master'
examples: sd_card: fix example test not getting the expected name

Closes IDFCI-1249

See merge request espressif/esp-idf!18070
2022-05-13 10:01:46 +08:00
Adam Múdry
e5cff100b7 fatfs: add new ESP32 targets to external flash example 2022-05-12 18:57:10 +00: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
Mahavir Jain
af1f342ee8 Merge branch 'fix/make_esp_tls_t_private' into 'master'
Make esp_tls_t as private structure

Closes IDF-2812

See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
morris
47e4fe83ba ci: enable build pytest ut and examples on esp32c2 2022-05-12 05:18:57 +00:00
morris
6d288575dc test: fix broken host test of idf_as_lib 2022-05-12 05:18:57 +00:00
morris
aaa2eca57d blink: support ESP8684-DevKitM board 2022-05-12 05:18:57 +00:00
Mahavir Jain
42aac8d1d7 Merge branch 'contrib/github_pr_8816' into 'master'
Don't ignore return value of `httpd_stop` (GitHub PR)

Closes IDFGH-7222

See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Ivan Grokhotkov
27e1490bfc
examples: sd_card: fix example test not getting the expected name
SD card example prints the line which looks like:

   Name: 00000

If only part of the line is received, the regular expression in the
test still matches, and partial name is obtained. Later the example
test expects to see the same name in the file read from the SD card.
This check fails, because only partial name was received earlier.

Fix by adding a CR to the regular expression so that the entire name
is matched.
2022-05-11 21:50:11 +02:00
Ivan Grokhotkov
2e506bd93e Merge branch 'bugfix/iperf_output_regex' into 'master'
ci: iperf: recognize report results from newer iperf versions

Closes IDFCI-1226 and IDFCI-1229

See merge request espressif/esp-idf!18055
2022-05-12 03:26:34 +08:00
Ondrej Kosta
a213f7baf7 iperf: added sequential numberring of Tx'ed datagrams 2022-05-11 13:32:16 +02:00
Harshit Malpani
2c56c6cad8 Updated coding style and added error logs 2022-05-11 08:58:01 +00:00
Nathan Phillips
e8e63a06e8 Don't ignore return value of httpd_stop 2022-05-11 08:58:01 +00:00
Aditya Patwardhan
26a15058d3 Add sdkconfig.h to protocol/https* examples 2022-05-11 07:09:34 +00:00
Aditya Patwardhan
788c9ddf8d esp_tls: Added getter function for esp_tls ssl ctx. 2022-05-11 07:09:34 +00:00
Martin Valik
be452efd4a msc example made hot plugable
Closes https://github.com/espressif/esp-idf/issues/8386
2022-05-10 18:48:37 +02:00
morris
df5872b3a4 Merge branch 'feature/support_i2c_on_esp32h2' into 'master'
i2c: support i2c on esp32h2

Closes IDF-4155

See merge request espressif/esp-idf!17798
2022-05-10 22:48:05 +08:00
morris
722fde218d uart: add default source clock for all targets 2022-05-09 11:26:30 +08:00
morris
f472551910 example: added dshot esc example based on new rmt driver 2022-05-07 10:34:50 +00:00
morris
0e19bc1463 example: update stepper motor example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
b3c1480d9c example: update musical buzzer example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
d537da5bfb example: update led strip example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
977a2830dd example: update ir nec example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
5bfe873725 driver: deprecate legacy rmt driver
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
Roland Dobai
efc3357f1a Merge branch 'feature/semihosting_call_number_change' into 'master'
Semihosting V2

Closes IDF-4893

See merge request espressif/esp-idf!17412
2022-05-07 00:28:48 +08:00
morris
1f922f2124 Merge branch 'contrib/github_pr_8900' into 'master'
hello_world_main : fix incorrect printf format (GitHub PR)

Closes IDFGH-7312

See merge request espressif/esp-idf!17998
2022-05-06 21:22:51 +08:00
huardti
a01820c583 hello_world: fix incorrect printf format
spi_flash_get_chip_size return a size_t to printf this type it's better to use %u than %d.

We didn't use %zu because it will be ignored by "nano" printf (i.e. when
CONFIG_NEWLIB_NANO_FORMAT is on).

Closes https://github.com/espressif/esp-idf/pull/8900
2022-05-06 10:38:49 +00:00
morris
3a5fdfe35a temp_sensor: added enable/disable functions
The previous start/stop functions have been rename to enable/disable.
2022-05-06 18:18:39 +08:00
morris
d67888b92b pcnt: added enable/disable functions 2022-05-06 18:18:39 +08:00
morris
e7295c3577 gptimer: added enable/disable functions 2022-05-06 18:18:39 +08:00
Jiang Jiang Jian
34211f898c Merge branch 'docs/update_esp_hid_device' into 'master'
[docs] fix documents for Bluetooth HID Device API reference and example

See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Erhan Kurubas
ad078c5153 semihosting: drop absolute path support 2022-05-05 09:12:42 +00:00
Kapil Gupta
805b5c9115 Merge branch 'feature/11r_changes' into 'master'
esp_wifi: Add support for FT psk

Closes WIFI-2160

See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
Ivan Grokhotkov
dad4ac5251
examples: console: add a readme with an overview of examples 2022-05-04 11:34:07 +02:00
Ivan Grokhotkov
3390d2a2d1
examples: support USB_CDC and USB_SERIAL_JTAG in basic console example
Related to https://github.com/espressif/esp-idf/issues/8738
Related to https://github.com/espressif/esp-idf/issues/8879

Doesn’t implement USB_CDC (over USB_OTG peripheral) for ESP32-S3 yet;
this only works on ESP32-S2 for now. On ESP32-S3 it is now possible to
use USB_SERIAL_JTAG console.
2022-05-04 11:34:06 +02:00
Ivan Grokhotkov
11c67d175f
examples: console: move duplicated cmd_wifi files into a new component 2022-05-04 11:34:06 +02:00
Ivan Grokhotkov
32360cc1a3
examples: move console_usb example to console directory 2022-05-04 11:34:06 +02:00
Jiang Jiang Jian
e4eeff87f2 Merge branch 'bugfix/enterprise_certs_ca_expired' into 'master'
esp_wifi: Fix issue of ca certificate expired

Closes WIFI-4354

See merge request espressif/esp-idf!17786
2022-05-03 15:09:45 +08:00
Mahavir Jain
eef5e73842 Merge branch 'contrib/github_pr_8851' into 'master'
Fixed the commented out coap_new_optlist() in the coap_client example. (GitHub PR)

Closes IDFGH-7262

See merge request espressif/esp-idf!17969
2022-05-02 14:53:53 +08:00
kapil.gupta
3d5ca7ee6e wpa_supplicant: Add support for FT psk 2022-05-01 16:16:51 +05:30
Aditya Patwardhan
4dec4b87e7 flash_encryption_example_test: Add support for erasing the flash for the
target.
2022-04-30 00:28:35 +00:00
Jiang Jiang Jian
96ff900d7d Merge branch 'Optimize/udp_example_receive_data_with_recvmsg_interface' into 'master'
udp example:Optimization udp example with recv_msg

Closes IDFGH-5400

See merge request espressif/esp-idf!17949
2022-04-29 15:03:22 +08:00
Aditya Patwardhan
b6a5ace34d Merge branch 'ci/reenable_http2_req_test' into 'master'
ci: Re-enable HTTP/2 request example test

Closes IDF-4916

See merge request espressif/esp-idf!17911
2022-04-29 14:39:00 +08:00
Laukik Hase
ba4e318e4c
ci: Re-enable HTTP/2 request example test 2022-04-29 09:55:09 +05:30
Laukik Hase
1a7eac2d69
docs: Add section for server verification (esp_https_ota)
- Updated OTA example README
2022-04-29 09:50:06 +05:30
nosuz
6127da32e4 Fixed the commented out coap_new_optlist() example in the coap_client example.
coap_new_optlist() requires 3 arguments but the example had 2 arguments.
2022-04-28 18:49:55 +09:00
xueyunfei
231ef90fc5 udp example:Optimization udp example with recv_msg 2022-04-28 07:55:28 +00:00
Simon
e4d85807ea Merge branch 'feature/spi_flash_esp8684_support' into 'master'
spi_flash: refactor spi_flash clock configuration logic and support esp32c2

Closes IDF-4474, IDF-4025, and IDF-4066

See merge request espressif/esp-idf!16602
2022-04-27 11:05:45 +08:00
Ivan Grokhotkov
3175e472ba Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
esp_timer: remove from freertos public requirements

See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
Cao Sen Miao
4418a855ba spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2 2022-04-26 15:22:37 +08:00
David Čermák
b85c44403a Merge branch 'bugfix/asio_example_config' into 'master'
[EXAMPLES/ASIO] Renames Kconfig parameter and clarify

See merge request espressif/esp-idf!17769
2022-04-26 13:24:17 +08: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
517c0b54d8 Merge branch 'contrib/github_pr_8827' into 'master'
led_strip component : fix timing by adding the reset signal (GitHub PR)

Closes IDFGH-7233

See merge request espressif/esp-idf!17891
2022-04-25 18:33:31 +08:00
morris
a385df8ea3 test: remove makefiles in unit-test-app 2022-04-25 17:12:34 +08:00
Mahavir Jain
7e1b3f401f Merge branch 'bugfix/esp_http_client_example' into 'master'
esp_http_client example: Add cert for redirect to HTTPS example

See merge request espressif/esp-idf!17879
2022-04-25 12:08:14 +08:00
Jacques Supcik
c7fe38926a fix timing by adding the reset signal 2022-04-25 00:07:35 +02:00
Aditya Patwardhan
b1856a60b1 Merge branch 'feature/update_security_examples_test_with_pytest' into 'master'
Update flash_encryption example test to use pytest framework

See merge request espressif/esp-idf!17771
2022-04-24 22:00:35 +08:00
Tomas Rezucha
9663a282b3 Merge branch 'feature/usb_host/cdc_custom_commands' into 'master'
usb_host: Add Virtual COM Port example

Closes IDF-4816, IDFGH-7027, and IDFGH-7159

See merge request espressif/esp-idf!17560
2022-04-24 20:41:51 +08:00
Marius Vikhammer
45c1d1cba2 Merge branch 'feature/move_target_kconfig_2' into 'master'
system: move kconfig options out of target component

See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
laokaiyao
5b3468ebb3 i2c: support i2c on esp32h2 2022-04-23 07:38:25 +00:00
Shubham Kulkarni
7059ea0895 esp_http_client example: Add cert for redirect to HTTPS example
esp_http_client_test.py: Add checks for missing example logs
2022-04-22 17:39:12 +05:30
Tomas Rezucha
7fc0c14f4d usb_host: Add Virtual COM Port CDC example
This example implements usual UART/USB convertor driver.
Closes https://github.com/espressif/esp-idf/issues/8645
2022-04-22 09:50:46 +02:00
Tomas Rezucha
880b5a4bef usb_host: Unify CDC event callbacks
And return error code from C++ close method.
2022-04-22 09:50:46 +02:00
Tomas Rezucha
0428efa4ad usb_host: Propagate new device connection to user
Closes https://github.com/espressif/esp-idf/issues/8762
2022-04-22 09:50:39 +02:00
Tomas Rezucha
0ab17ec695 usb_host: Enable custom CDC commands
This new API allows further extension for vendor specific commands
2022-04-22 09:50:38 +02:00
Laukik Hase
f9da23edb9 http_client: Added explicit conversion for esp_tls_error_handle_t
- in protocols/esp_http_client example

Closes https://github.com/espressif/esp-idf/issues/8795
2022-04-22 03:42:49 +00:00
morris
de433105a2 lcd: don't turn on disp in init
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
Aditya Patwardhan
600272bc5d flash_encryption_example: Update example test to use pytest framework 2022-04-21 13:26:57 +05:30
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Laukik Hase
88c33b52bf
http2_request: Disable build in CI
- Tracked by IDF-4916
2022-04-20 12:18:26 +05:30
Laukik Hase
728a686b8a
protocols: Updated examples to use correct API
- `http_request` and `https_x509_bundle`
2022-04-20 12:18:26 +05:30
Ivan Grokhotkov
fe904085fb Merge branch 'feature/modbus_remove_component' into 'master'
freemodbus: remove component files from esp-idf

See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
morris
373d9b3dbc Merge branch 'feature/default_clk_for_gptimer' into 'master'
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)

Closes IDF-4894

See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b freemodbus: remove component files from esp-idf (fix examples) 2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771 Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
Move adding prefix/postfix of DPP key to example

Closes IDFGH-7116

See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Kapil Gupta
86013e918a Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
wpa_supplicant: Add CA certification bundle support

See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
aditi_lonkar
72cc487aff esp_wifi: Fix issue of ca certificate expired 2022-04-18 06:24:29 +00:00
Konstantin Kondrashov
04bcc17dcc Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday

See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Michael (XIAO Xufeng)
7c668770ee Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
ledc: Provide support for esp32c2 and esp32h2

Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648

See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
Mahavir Jain
ca9f285782 Merge branch 'bugfix/smtp_client' into 'master'
smtp_client: Fix heap leakage

Closes IDFGH-7167

See merge request espressif/esp-idf!17777
2022-04-14 20:53:13 +08:00
Nachiket Kukade
282d3c6188 wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
1. Move adding of prefix/postfix to the private key to example code.
   This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
songruojing
534346f4bb ledc: Provide support for esp32c2 and esp32h2
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
Laukik Hase
44214a3028
smtp_client: Fixed garbage characters being printed
- The R/W buffers were not cleared before reading/writing
  anything new
2022-04-14 13:35:02 +05:30
KonstantinKondrashov
1e0eef52d3 esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
Laukik Hase
4e9bf05091
smtp_client: Fix heap leakage
- Freed all allocated resources by Mbed TLS at the end of routine
2022-04-14 12:14:41 +05:30
Euripedes Rocha
232b0eda5f [EXAMPLES/ASIO] Renames Kconfig parameter and clarify
On ip::tcp::resolver ASIO uses service to identify the type of
connection and get the port number. LWIP can't resolve this way.
2022-04-13 11:22:34 -03:00
Mahavir Jain
bc1ec37f92 Merge branch 'fix/use_crt_bundle_in_http2_request_example' into 'master'
http2_request_example: Use esp_crt_bundle instead of hardcoded root

Closes IDCCI-1190, IDFCI-1195, and IDFCI-1197

See merge request espressif/esp-idf!17755
2022-04-13 19:17:17 +08:00
Ondrej Kosta
90829e64d5 Merge branch 'feature/create_l2tap_example' into 'master'
Feature/create l2tap example

Closes IDF-4096

See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
Martin Vychodil
3b3bfc1971 Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
vfs: renamed FATFS convenience mounting functions

Closes IDF-4370

See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
Aditya Patwardhan
3b1f1febc8 http2_request_example: Use esp_crt_bundle instead of hardcoded root
certificate in order to avoid frequent failure of the example due to
shift in CA chain
2022-04-13 10:34:34 +05:30
morris
cb5507f11c Merge branch 'feature/clk_tree_defs' into 'master'
clk_tree: prework of introducing clock subsystem control

Closes IDF-4892

See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ondrej Kosta
fcdb0306d0 examples: added ESP-NETIF L2 TAP example 2022-04-12 12:33:57 +00:00
Mahavir Jain
467e9c07d6 lwip: fix build with CONFIG_LWIP_DHCPS disabled
Also added example build configuration for this option.
2022-04-11 12:31:17 +00:00
Matus Fabo
24268d47a2 change: renamed FATFS convenience mounting functions
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
60bb5c913d clk_tree: prework of introducing clk subsystem control
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
   upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
   Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
wangmengyang
bed86d8a27 examples/Bluetooth/bt_hid_mouse_device: improved the exmaple README 2022-04-11 02:50:50 +00:00
wangmengyang
f7d942c42a examples/bluetooth/bt_hid_mouse_device: fixed code format, added more comments to improve code readability 2022-04-11 02:50:50 +00:00
Adam Múdry
36db6a6681 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Martin Gano
d76de32f74 fatfsgen.py: enabled date and time for fatfs 2022-04-07 15:01:28 +02:00
Wang Meng Yang
0c23d45918 Merge branch 'bugfix/fix_blecent_compilation_issue' into 'master'
Nimble: Add default config options for esp32h2 for blecent app

See merge request espressif/esp-idf!17648
2022-04-07 09:59:03 +08:00
Rahul Tank
c6eb49082a Nimble: Add default config options for esp32h2 to fix blecent
compilation issues
2022-04-06 17:14:31 +05:30
Mahavir Jain
021f545f0d examples: add dependency on cert bundle configuration
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-04-06 05:10:43 +00:00
Ivan Grokhotkov
ff6ccfff8e
examples: build system: add link-time registration plugin example
Closes https://github.com/espressif/esp-idf/issues/7682
2022-04-05 18:51:47 +02:00
Kapil Gupta
62eb06e386 wpa_supplicant: Add CA certification bundle support
Add support for CA certificate bundle support for server
certificate validation
2022-04-05 10:57:09 +05:30
morris
1459a09978 Merge branch 'bugfix/cxx_gcc11_warnings' into 'master'
C++: fix several gcc11 warnings

Closes GCC-229

See merge request espressif/esp-idf!17658
2022-04-01 15:12:55 +08:00
Wei Tian Hua
dbe4606eab Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
components/bt: support for vendor specific battery level and docker status...

See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
Anton Maklakov
9386014201 examples/cxx: add missing header 2022-03-31 15:02:34 +07:00
Anton Maklakov
40d189137e examples/cxx: add explicit-declared copy constructor 2022-03-31 15:02:27 +07:00
Laukik Hase
8f77caa637
https_server: Fix example test failure
- Closed the client connection gracefully for the https server
  callback check to pass in test
- Made some functions static in the example
2022-03-30 20:45:48 +05:30
Armando (Dou Yiwen)
ee034d5b6a Merge branch 'feature/support_spi_on_h2' into 'master'
spi: support spi on h2

Closes IDF-3796 and IDF-4226

See merge request espressif/esp-idf!17191
2022-03-30 19:59:31 +08:00
Laukik Hase
1d71fbae92
https_server: Add provision for callback at session close
Closes https://github.com/espressif/esp-idf/issues/8288
2022-03-30 11:25:11 +05:30
morris
6f538b1c95 Merge branch 'refactor/move_periph_ctrl_hw_support' into 'master'
hw_support: move periph_ctrl from driver to hw_support

Closes IDF-4796

See merge request espressif/esp-idf!17583
2022-03-30 04:54:07 +08:00
morris
204432191d Merge branch 'bugfix/spi_master_rx_bug' into 'master'
examples/spi_master: Fixed SPI read (keeping CS active) in SPI master example

Closes IDFGH-7034

See merge request espressif/esp-idf!17606
2022-03-29 22:51:24 +08:00
Laukik Hase
d7090b4d52 https_server: Add config option to min. cert. auth mode
- Added a config option to set the minimum Certificate Verification
  mode to Optional
- When this option is enabled, the peer (the client) certificate
  is checked by the server, however the handshake continues even if
  verification failed.
- By default, the peer certificate is not checked and ignored by the server.

Closes https://github.com/espressif/esp-idf/issues/8664
2022-03-29 08:57:36 +00:00
Vilem Zavodny
29792561ca examples/spi_master: Fixed SPI read (keeping CS active) in SPI master example
Closes https://github.com/espressif/esp-idf/issues/8652
2022-03-29 08:43:16 +02:00
Armando
fe9c6cde4f spi: support spi on h2 2022-03-29 11:54:08 +08:00
morris
bf677182a6 sigmadelta: change gpio number from u8 to int
Fix the issue that macro compares unsigned to 0
2022-03-29 11:53:31 +08:00
baohongde
418b546a7c components/bt: support for vendor specific battery level and docker status indication over HFP profile 2022-03-29 11:38:09 +08:00
Shubham Kulkarni
779bcc8614 native_ota_example: Rename example_test.py to pytest_native_ota.py
Add type annotations
2022-03-28 03:51:21 +00:00
Shubham Kulkarni
68c246990c native_ota_example: Change example_test to use pytest framework 2022-03-28 03:51:21 +00:00
Alex Lisitsyn
e653ce82b2 Merge branch 'feature/modbus_master_fix_check_uart_set_pin' into 'master'
example/modbus_master: fix the erro check for uart_set_pin

Closes IDFGH-6988

See merge request espressif/esp-idf!17534
2022-03-27 04:20:17 +08:00
morris
6be28e832b Merge branch 'bugfix/coverity_scan_fix_driver' into 'master'
fix some driver "bugs" found by Coverity Scan

Closes IDF-4776

See merge request espressif/esp-idf!17566
2022-03-25 12:32:25 +08:00
Ondrej Kosta
8ce997f02c Merge branch 'bugfix/eth_iperf_performance_iram' into 'master'
Eth iperf default sdkconfig: Enable lwIP IRAM optimization

See merge request espressif/esp-idf!17556
2022-03-24 23:16:35 +08:00
morris
fe13b2ed50 lcd: add rgb isr iram safe callback test 2022-03-24 21:23:01 +08:00
Ondrej Kosta
ab2bc59501 Eth iperf default sdkconfig: Enable lwIP IRAM optimization 2022-03-24 09:49:34 +01:00
Shubham Kulkarni
3e3cde2f9f advanced_https_ota/example_test.py: Update redirect URL test to include two redirects 2022-03-24 06:23:17 +00:00
Mahavir Jain
97fb98a91b Merge branch 'feature/pytest_wifi_prov' into 'master'
wifi_prov_mgr: Upgraded CI example test to pytest framework

Closes IDFCI-1140

See merge request espressif/esp-idf!17547
2022-03-24 12:52:04 +08:00
morris
08a4cff6d5 Merge branch 'bugfix/disable_touch_sleep_s3' into 'master'
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3

Closes IDF-4810

See merge request espressif/esp-idf!17562
2022-03-24 10:22:31 +08:00
Michael (XIAO Xufeng)
a84faa3cef touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
This is not supported yet.
2022-03-24 03:00:47 +08:00
Laukik Hase
c8c13c58c4
wifi_prov_mgr: Upgraded CI example test to pytest framework 2022-03-23 18:12:25 +05:30
Mahavir Jain
4f04d55f0b Merge branch 'feature/check_fw_version_at_start_of_ota' into 'master'
Check FW version at start of ota with pre-encrypted binary

Closes IDF-4682

See merge request espressif/esp-idf!17479
2022-03-23 16:54:21 +08:00
Harshit Malpani
cca208f71a Check FW version at start of ota for encrypted binary 2022-03-23 11:09:48 +05:30
Anton Maklakov
118d39c8fe Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
Remove IRAM_ATTR from any function declarations

Closes GCC-223

See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +08:00
David Cermak
965b8f0e62 examples/sntp: Document that SNTP-over-DHCP resets other NTP servers
Closes https://github.com/espressif/esp-lwip/issues/42
2022-03-22 15:01:02 +00:00
Anton Maklakov
68e5d9d585 Remove IRAM_ATTR from any function declarations
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Elbert van de Put
980fd32f69 example/modbus_master: fix the assert for uart_set_pin
Signed-off-by: aleks <aleks@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/8607
2022-03-22 09:45:06 +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
Tomas Rezucha
7c2cf30109 usb_host: Update MSC test for fatfs 0.14b 2022-03-21 18:34:25 +01:00
Tomas Rezucha
3abeee00d0 usb_host: Pin test task to core 0
When we try to uninstall usb_host library on multi-core SoC (ESP32S3)
the USB interrupt can be triggered even after it was disabled on one CPU
2022-03-21 18:34:25 +01:00
Tomas Rezucha
9049230e4a usb_host: Rename symbols that conflict with TinyUSB 2022-03-21 18:34:25 +01:00
Tomas Rezucha
e3ba980d11 usb_host: Use USB_Host library calls for desc printing 2022-03-21 18:34:25 +01:00
Tomas Rezucha
3074981dcb usb_host: Update MSC tests for running in CI 2022-03-21 18:34:25 +01:00
Tomas Rezucha
6206302787 ci: Add USB Host CDC and MSC pytests to pipeline 2022-03-21 18:34:24 +01:00
Tomas Rezucha
7d950a63cc usb_host: Add Mock device to CDC tests 2022-03-21 18:34:24 +01:00
Tomas Rezucha
913d53384f usb_host: Update CDC tests for latest USB Host 2022-03-21 18:34:24 +01:00
Marius Vikhammer
0cd07d907e CI: disable S3 sleep related example tests 2022-03-21 11:56:01 +08:00
Tomas Rezucha
f5f865df07 Merge branch 'fix/usb_host/cdc_build' into 'master'
usb_host: Don't build CDC host driver for unsupported targets

See merge request espressif/esp-idf!17517
2022-03-18 16:37:38 +08:00
Anton Maklakov
6d13c8b3a6 Merge branch 'bugfix/managed-components-version-refs' into 'master'
managed components: fix version references to allow implicit updates

See merge request espressif/esp-idf!17438
2022-03-18 14:52:15 +08:00
Tomas Rezucha
c8fc4d226a usb_host: Don't build CDC host driver for unsupported targets 2022-03-17 13:10:29 +01:00
Ivan Grokhotkov
2f9d47c708 Merge branch 'feature/gdbstub_rt_multicore' into 'master'
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)

See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Anton Maklakov
6200d2328d Merge branch 'bugfix/printf-placeholder-for-time_t' into 'master'
components: correct printf() placeholder for time_t

See merge request espressif/esp-idf!17439
2022-03-17 16:08:08 +08:00
Marius Vikhammer
263771a744 Merge branch 'bugfix/adjust_deepsleep_example_limit' into 'master'
ci: increase acceptence limits for deep sleep example test

See merge request espressif/esp-idf!17501
2022-03-16 16:48:10 +08:00
Michael (XIAO Xufeng)
5a2f672d5a Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup' into 'master'
example/deep_sleep: add example of EXT0 and using internal pullups

Closes IDF-4657 and IDFGH-6711

See merge request espressif/esp-idf!17099
2022-03-16 16:27:07 +08:00
Marius Vikhammer
a9a82b8b5e ci: increase acceptence limits for deep sleep example test 2022-03-16 11:23:32 +08:00
Marius Vikhammer
453516fbbe Merge branch 'bugfix/replace_deprecated_options' into 'master'
kconfig: replace deprecated options with new values

See merge request espressif/esp-idf!17494
2022-03-16 09:32:55 +08:00
Michael (XIAO Xufeng)
fcd396a37e example/deep_sleep: add example of EXT0 and using internal pullups 2022-03-15 22:34:34 +08:00
Marius Vikhammer
ca3c056ac9 kconfig: replace deprecated options with new values 2022-03-15 16:28:53 +08:00
Jiang Jiang Jian
10f3aba770 Merge branch 'feature/final_h2' into 'master'
Add support in Nimble for ESP32H2

See merge request espressif/esp-idf!16329
2022-03-15 16:03:24 +08:00
Xue Yun Fei
b049ff915c Merge branch 'optimization/example_for_wifi_station' into 'master'
wi-fi:optimization example of wifi station

See merge request espressif/esp-idf!15457
2022-03-15 14:31:51 +08:00
Marius Vikhammer
8a9ab63ecb Merge branch 'feature/system_tests_pytest_embedded' into 'master'
CI: migrated system example tests to pytest-embedded framework

Closes IDFCI-1134

See merge request espressif/esp-idf!17401
2022-03-15 09:08:31 +08:00
morris
ca1e2af1d6 Merge branch 'feature/i2s1_lcd_mode_esp32' into 'master'
LCD driver various improvements

Closes IDF-3781, IDFGH-6753, IDFGH-6632, and IDFGH-6569

See merge request espressif/esp-idf!17323
2022-03-14 18:30:24 +08:00
Mahavir Jain
c5d982b235 Merge branch 'bugfix/esp_https_ota_breaking_changes' into 'master'
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images

See merge request espressif/esp-idf!17312
2022-03-14 18:15:52 +08:00
Marius Vikhammer
9918bbeb63 CI: migrated system example tests to pytest-embedded framework 2022-03-14 16:32:44 +08:00
Anton Maklakov
e27f1331e4 components: correct printf() placeholder for time_t
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Rahul Tank
f376bb5d05 Add support in Nimble for ESP32H2 2022-03-14 11:57:53 +05:30
morris
f06a13ad82 lcd: workaround auto next frame hardware bug
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
Mahavir Jain
b57fc93585 Merge branch 'bugfix/use_decrypt_user_ctx' into 'master'
example: use decrypt_user_ctx in decryption callback

See merge request espressif/esp-idf!17460
2022-03-14 13:39:23 +08:00
morris
5963de1caf Merge branch 'ci/fix_duplicated_test_names' into 'master'
CI: rename some tests to avoid duplicated test names

See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
Harshit Malpani
c813de50ec example: use decrypt_user_ctx in decryption callback 2022-03-11 18:05:40 +05:30
Harshit Malpani
de2f915092 esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images 2022-03-11 16:52:08 +05:30
Chen Yudong
4dc74c9c42 CI: rename some tests to avoid duplicated test names 2022-03-11 18:38:41 +08:00
Martin Gaňo
fea2b5b64e fatfsgen.py: enabled long names support
Closes https://github.com/espressif/esp-idf/issues/8171
2022-03-11 11:20:31 +01:00
Mahavir Jain
61c68b7f4d Merge branch 'contrib/github_pr_8544' into 'master'
esp_https_ota: add user_ctx to decrypt_cb (GitHub PR)

Closes IDFGH-6924

See merge request espressif/esp-idf!17456
2022-03-11 15:43:38 +08:00
Anton Maklakov
4c865baae4 managed components: fix version references to allow implicit updates according to semver
Syntax details: https://devhints.io/semver
2022-03-11 13:49:26 +07:00
Mahavir Jain
99e7059cbe Merge branch 'bugfix/kconfig_defaults' into 'master'
kconfig: Changed default values of `bool` configs

Closes IDF-4747

See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
David Čermák
4196c3f591 Merge branch 'update/discontinue_tcpip_adapter' into 'master'
esp_netif: Remove tcpip_adapter compatibility layer

Closes IDF-4457

See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
MacDue
e47419374c esp_https_ota: add user_ctx to decrypt_cb
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
morris
c6aeb86485 Merge branch 'bugfix/esp_modem_cxx-version-ref' into 'master'
examples: fix esp_modem_cxx component version number reference

See merge request espressif/esp-idf!17437
2022-03-10 17:46:03 +08:00
David Cermak
c941e29cf6 examples: Fix implicit includes after legacy code removal 2022-03-10 10:36:38 +01:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
- Some bool configs were using default values true and false,
  instead of y and n.
2022-03-10 14:26:37 +05:30
xueyunfei
6fe39e5dc8 wifi example:optimization example of wifi station 2022-03-10 15:20:39 +08:00
David Cermak
79d1865d62 examples: Fix IP mesh implicit includes 2022-03-10 08:19:43 +01:00
David Cermak
795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
David Čermák
0b58f987cd Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
mdns: Add support for dynamic network interfaces

Closes IDF-939

See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
Mahavir Jain
4cdf2459f0 Merge branch 'contrib/github_pr_8535' into 'master'
Upgrade esp_encrypted_img version in pre-encrypted OTA example (GitHub PR)

Closes IDFGH-6915

See merge request espressif/esp-idf!17432
2022-03-10 14:46:37 +08:00
Anton Maklakov
47de9e37f3 examples: fix esp_modem_cxx version number reference
see https://devhints.io/semver for syntax
2022-03-10 11:51:44 +07:00
Jiang Jiang Jian
7c7e8a83b9 Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
Remove legacy system event framework.

Closes IDF-3608

See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
MacDue
f17a3491e5 examples/pre_encrypted_ota: update to esp_encrypted_img 2.x.x 2022-03-09 16:30:22 +00:00
MacDue
615e44f430 examples/pre_encrypted_ota: readme tweaks and link to component manager 2022-03-09 16:29:39 +00:00
morris
b841332aa5 Merge branch 'component/esp_websocket_migration' into 'master'
websocket: Remove internal component, examples and test

Closes IDF-4076

See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
Sagar Bijwe
6501eff7f5 Remove legacy system event framework. 2022-03-09 15:53:45 +05:30
David Cermak
42ba8a8338 mdns: Fix copyright messages, update API descrition
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98 mdns: Add API to control custom network interfaces 2022-03-09 07:33:23 +01:00
David Cermak
dd3cd52fd6 CI/mdns: Reworked example test to be run repeatably 2022-03-09 07:33:16 +01:00
David Cermak
d1b809e6a1 CI/mdns: Extend example test for sockets, netifs 2022-03-08 13:46:57 +01:00
David Cermak
bec42ff85d mdns: Add support for registering custom netif 2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86 mdns: Indicate interface using esp_netif in search results 2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b mdns: Use predefined interfaces to prepare for custom netifs 2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8 mdns: Prepare for dynamic esp-netif support 2022-03-08 13:39:53 +01:00
Mahavir Jain
55fd823001 Merge branch 'contrib/github_pr_8523' into 'master'
Removed unnecessary #include statement (GitHub PR)

Closes IDFGH-6903

See merge request espressif/esp-idf!17390
2022-03-08 16:13:08 +08:00
lukedukeus
469be7cc54
Removed unnecessary #include statement 2022-03-07 16:30:37 -05:00
Zim Kalinowski
0440aca4e3 Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories

See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
morris
4aa81975d1 Merge branch 'bugfix/i2c_fix_typo_of_slave_macro' into 'master'
i2c: fix typo in SOC_I2C_SUPPORT_SALVE

Closes IDFGH-6893

See merge request espressif/esp-idf!17373
2022-03-07 23:38:13 +08:00
Ivan Grokhotkov
5f1c6ac605 Merge branch 'contrib/github_pr_8500' into 'master'
Fix compiler error in mbedtls (GitHub PR)

Closes IDFGH-6879 and IDFGH-6881

See merge request espressif/esp-idf!17380
2022-03-07 22:17:30 +08:00
Simon
4bf4a020a6 Merge branch 'refactor/abstract_temperature_sensor' into 'master'
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3

Closes IDF-3665, IDF-3367, and IDF-1793

See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Fu Hanxi
6ddd6e6d29 Merge branch 'docs/pytest_in_idf' into 'master'
docs: add README about pytest in IDF

See merge request espressif/esp-idf!17250
2022-03-07 15:34:28 +08:00
gabsuren
f3c7215565 websocket: Remove internal component, examples and test 2022-03-07 11:07:40 +04:00
laokaiyao
9ebfd7832d i2c: update legacy name ESP8684 to ESP32C2 2022-03-07 14:59:56 +08:00
Mahavir Jain
9ba1b333f9 examples/wifi: add test coverage for CONFIG_WPA_DEBUG_PRINT 2022-03-07 12:17:04 +05:30
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Jin Cheng
19ddb8bde1 Merge branch 'bugfix/crash_when_reconnect_to_sink' into 'master'
bugfix/fix the failure of reconnect to sink

See merge request espressif/esp-idf!17281
2022-03-04 19:20:05 +08:00
Ivan Grokhotkov
3df2be5904 Merge branch 'bugfix/sdmmc_example_esp32s3' into 'master'
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins

Closes IDF-4642

See merge request espressif/esp-idf!17352
2022-03-04 18:47:59 +08:00
Ivan Grokhotkov
c8b43ee0c1 Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins

Closes IDF-4641

See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
morris
a0283234cd Merge branch 'feature/support_esp32h2_gpio' into 'master'
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix

Closes IDF-4232 and IDF-3439

See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb Temperature_sensor: Create new temperature sensor API 2022-03-04 18:13:35 +08:00
morris
52fcdbacc3 Merge branch 'feature/pcnt_driver_ng' into 'master'
 Driver-NG: Introduce a brand new driver for PCNT

Closes IDF-2196 and IDF-2896

See merge request espressif/esp-idf!10507
2022-03-04 12:25:35 +08:00
jincheng
d2361dcb9e fix the failure of reconnect to sink 2022-03-04 04:14:04 +00:00
songruojing
c8c137f2b7 esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Ivan Grokhotkov
e9ed46d7ce
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins 2022-03-03 23:37:42 +01: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
Ivan Grokhotkov
c8d1737d57
examples: file_serving: add support for ESP32-S3, refactoring
* Move filesystem mounting code into a separate file to simplify the
  main source file.
* Clean up SDMMC and SDSPI related code. Move pin configuration into
  Kconfig.
* Use same base_path ('/data') for either SPIFFS or SD. Remove the
  check in file_server.c about the base path.
* Update README according to the changes above.
2022-03-03 21:43:37 +01:00
Ivan Grokhotkov
eefb0442c9
examples: sdspi: use default DMA channel 2022-03-03 21:40:05 +01:00
Ivan Grokhotkov
dc2f4483bf
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins 2022-03-03 21:40:03 +01:00
morris
d234f2f769 example: migrate to use pulse_cnt driver 2022-03-03 22:38:32 +08:00
morris
04b3f8b210 pcnt: deprecated as legacy driver 2022-03-03 22:38:32 +08:00
Jiang Jiang Jian
1068c7720b Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
Always connect Station in PMF mode if possible

Closes WIFI-4320

See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Alex Lisitsyn
dcaac79380 Merge branch 'bugfix/modbus_fix_start_after_destroy_issues' into 'master'
modbus: fix tcp slave destroy issues

Closes IDFGH-6568

See merge request espressif/esp-idf!16856
2022-03-03 16:34:33 +08:00
Alex Lisitsyn
224901fed3 modbus: fix tcp slave destroy issues 2022-03-03 16:34:33 +08:00
Fu Hanxi
5ccb5eeebd docs: add README about pytest in IDF 2022-03-03 14:36:50 +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
Marius Vikhammer
f6cfe1a549 Merge branch 'bugfix/ulp_gpio_example_build' into 'master'
ulp: add driver dependecy for ULP riscv gpio interrupt example

See merge request espressif/esp-idf!17332
2022-03-03 12:36:36 +08:00
Song Ruo Jing
b665dcbe68 Merge branch 'feature/esp32c2h2_support_uart' into 'master'
UART: Provide support for esp32c2 and esp32h2

Closes IDF-3823, IDF-4154, and IDF-4221

See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0 Merge branch 'feature/mbedtls-3.1' into 'master'
Update to mbedtls-3.1

Closes IDF-3723

See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Marius Vikhammer
8901941064 ulp: add driver dependecy for ULP riscv gpio interrupt example 2022-03-03 11:17:34 +08:00
Wang Meng Yang
94a62a1b50 Merge branch 'bugfix/hfp_disc_audio_err' into 'master'
bugfix/fix_err_when_ag_disc_audio

Closes IDFGH-6239

See merge request espressif/esp-idf!16920
2022-03-03 11:07:40 +08:00
Marius Vikhammer
706a14884f Merge branch 'feature/riscv_ulp_gpio_intr' into 'master'
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor

Closes IDFGH-6589

See merge request espressif/esp-idf!17288
2022-03-03 09:40:03 +08:00
Aditya Patwardhan
1dc63850e3 mbedtls-3.X: Update the esp-cryptoauthlib submodule 2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351 ci: Fix pre-check stage failing tests
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure

Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326 mbedtls-3.0: Fixed ESP32 build issues
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
  pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
  Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr

mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required

mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module

mbedtls-3.0: Fixed ESP32-H2 build issues

ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices

- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3

ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes

- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3

ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes

- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3

ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2

- Tests:
- example_test_protocols 1/2

ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example

- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3

Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0 mbedtls-3 update:
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
0483bfbbfe Initial Changes for updating mbedtls to v3.0 2022-03-03 01:37:09 +05:30
Kapil Gupta
84f9aa13c9 Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
esp_example: Enable MbedTLS for DPP enrollee by default

Closes WIFI-4275

See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
Omar Chebib
2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
songruojing
24a60c12c6 uart: Provide support for esp32c2 and esp32h2
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Dmitry
a8c3fe56c8 This commit add to GDBstup:
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Euripedes Rocha
f7b842bbc7 EXAMPLES/ASIO: Adds a SOCKS4 example
Creates an example on how to connect using Socks4 based proxy.
2022-03-01 13:50:47 +00:00
jincheng
216a57b767 correct the rate of data-producing
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-01 21:49:44 +08:00
Island
f1a4057877 Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt' into 'master'
ble mesh:example:correct repl config prompt in ble mesh console

See merge request espressif/esp-idf!16986
2022-03-01 13:50:24 +08:00
Marius Vikhammer
c974a000d7 ULP: Add example of using GPIO to wakeup the ULP-RISCV processor 2022-02-28 14:15:25 +08:00
Kevin (Lao Kaiyao)
cc1d89ebba Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
i2c: support i2c on esp32c2 and esp32h2

Closes IDF-3918

See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
Mahavir Jain
229ed08484 Merge branch 'bugfix/http_client_ci' into 'master'
esp_http_client example: Use dl.espressif.com URL for performing request with Range header

Closes IDFCI-1113

See merge request espressif/esp-idf!17256
2022-02-25 08:33:10 +00:00
morris
b85eeb3224 Merge branch 'feature/lcd_isr_in_iram' into 'master'
refactor LCD unit tests into test apps

Closes IDF-4666

See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
Shubham Kulkarni
8199f711a2 examples/esp_http_client: Use dl.espressif.com URL for performing request with Range header
esp_http_client_test.py: Add check for range request log
2022-02-25 10:29:17 +05:30
David Cermak
afe7ab3b2c ci/mdsn: Fix example test on ethernet runners
* Ethernet kit uses GPIO0 for ref-clock, so the test button hits
constantly
* Add a freeRTOS delay when checking result on assync queries
2022-02-24 11:01:26 +01:00
David Cermak
51a5de2525 mdns: Fix potential read behind parsed packet 2022-02-24 11:01:26 +01:00
Mahavir Jain
66593bf140 Merge branch 'feature/coap_to_component_manager' into 'master'
Push out `coap` to idf-extra-component repository

Closes IDF-4626

See merge request espressif/esp-idf!17241
2022-02-23 19:43:02 +00:00
Harshit Malpani
1cb9ba5076 Push out coap to idf-extra-component repository 2022-02-23 15:08:36 +05:30
Mahavir Jain
38d4250c15 examples/spiffs: increase test timeout
This is to address frequent CI test failure where test most likely
timeouts during SPIFFS formatting operation.
2022-02-23 14:33:10 +05:30
laokaiyao
cf353c505a i2c: support esp32h2 2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae i2c: support esp32c2 2022-02-23 15:19:37 +08:00
Sudeep Mohanty
f163ab26a9 Merge branch 'feature/ulp_fsm_support_on_esp32s3' into 'master'
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2

See merge request espressif/esp-idf!17197
2022-02-23 02:20:39 +00:00
Sudeep Mohanty
4d8a0cce29 ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-02-22 12:25:57 +05:30
Adam Múdry
bb8587a139 fatfs: Update to version 0.14b
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
Nachiket Kukade
7ed8fdac59 esp_wifi: Always connect Station in PMF mode if possible
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Mahavir Jain
fbc9c729b2 esp_https_ota: rename config option for more clarity 2022-02-17 10:54:06 +05:30
Harshit Malpani
5a6dbaa487 feature: Pre Encrypted Binary for OTA updates
This feature enables using encrypted binaries for OTA updates

Closes https://github.com/espressif/esp-idf/issues/6172
2022-02-17 10:48:41 +05:30
Yuan Hong Hui
1ff2b724f4 ble mesh:example:correct the output log level 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
18567bb108 ble mesh:example:delete unused tag 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
22c0248284 ble mesh:example:response for checking restart in auto_test 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
1b4d9c8b3f ble mesh:example:correct repl config prompt 2022-02-16 14:47:07 +08:00
Jiang Jiang Jian
1604891b27 Merge branch 'bugfix/enterprise_certs_weak_md' into 'master'
esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example.

Closes WIFI-4284

See merge request espressif/esp-idf!16978
2022-02-16 03:55:04 +00:00
Mahavir Jain
71e29053cf Merge branch 'refactor/esp_https_server_api_cleanup' into 'master'
esp_https_server: API cleanup

Closes IDFGH-6540

See merge request espressif/esp-idf!17136
2022-02-15 16:11:09 +00:00
David Čermák
412fb564ca Merge branch 'bugfix/emac_config_dma_burst_len' into 'master'
esp_eth: Make EMAC DMA burst size configurable (GitHub PR)

Closes IDFGH-6199 and IDFGH-5658

See merge request espressif/esp-idf!16412
2022-02-15 10:36:51 +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
Harshit Malpani
94056fd4a5 esp_https_server: API cleanup 2022-02-14 16:25:54 +05:30
morris
dbfde65515 lcd: refactor ut into test app 2022-02-14 18:43:50 +08:00
morris
f8dc675318 lcd: support model NT35510 in example 2022-02-14 18:42:14 +08:00
morris
e5afb4f933 lvgl: upgrade to 8.2.0 in examples 2022-02-14 18:42:14 +08:00
Mahavir Jain
8400ff8607 examples/simple_ota: use certificate bundle in default configuration
- This allows to easily test example with different public servers
- Flash footprint impact is limited due to selection of only most common
certs from bundle.
2022-02-14 12:43:42 +05:30
Mahavir Jain
fbe4457a71
examples/ota: fix README for instructions on hosting image on github.com server
Ref: https://esp32.com/viewtopic.php?f=13&t=26076
2022-02-14 12:43:27 +05:30
Marius Vikhammer
5ef585b1b9 Merge branch 'feature/remove_frc2_timer' into 'master'
esp_timer: remove legacy ESP32 FRC timer implementation

Closes IDF-3805

See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Jiang Jiang Jian
f807b711c4 Merge branch 'test/modify_example_advanced_ota_checker' into 'master'
modify advanced ota checker line for nimble and bluedroid

Closes IDFCI-852

See merge request espressif/esp-idf!17082
2022-02-11 03:18:11 +00:00
Marius Vikhammer
edb76f14d6 esp_timer: remove legacy ESP32 FRC timer implementation. 2022-02-10 15:17:49 +08:00
Mahavir Jain
ba348f11b8 Merge branch 'bugfix/fix_esp_http_client_example' into 'master'
esp_http_client: Fix memory leak in esp_http_client_example

Closes IDFGH-6717

See merge request espressif/esp-idf!17051
2022-02-10 05:19:51 +00:00
Darian
61639fe1ec Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
FreeRTOS: Remove usage of legacy data types

Closes IDF-4566

See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Jiang Jiang Jian
cca2234619 Merge branch 'feature/pmf_support_for_softAP' into 'master'
esp_wifi: Add pmf support for softAP.

Closes WIFI-1353

See merge request espressif/esp-idf!14906
2022-02-10 04:17:00 +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
aditi_lonkar
c3a661c0fd esp_wifi: Add pmf support for softAP. 2022-02-09 18:58:37 +05:30
morris
5810ed1d04 Merge branch 'refactor/remove_ets_sys_from_public_header' into 'master'
esp_rom: remove ets_sys.h dependency from public header files

See merge request espressif/esp-idf!16919
2022-02-09 12:27:06 +00:00
Wang Meng Yang
e640060e2d Merge branch 'bugfix/controller_hci_uart_esp32c3_readme' into 'master'
Added support for ESP32-S3 chip in controller_hci_uart_esp32c3_and_esp32s3's README

Closes BT-1906

See merge request espressif/esp-idf!16583
2022-02-09 11:17:28 +00:00
Lu Ai Jun
75abbcdcdd modify advanced ota checker line for nimble and bluedroid 2022-02-09 18:40:03 +08:00
yuanjm
a3105a950b esp_http_client: Fix memory leak in esp_http_client_example
Closes https://github.com/espressif/esp-idf/issues/8346
2022-02-09 17:35:02 +08:00
morris
ef00bd59dc esp_rom: extract int matrix route and cpu ticks getter 2022-02-09 13:52:20 +08:00
Wang Meng Yang
e6c0d1e481 Merge branch 'bugfix/nimble_spp' into 'master'
NimBLE :  SPP example fails to build on Windows

See merge request espressif/esp-idf!16992
2022-02-07 02:33:41 +00:00
Mahavir Jain
4c6d72ba90 Merge branch 'bugfix/esp32c3_sysview_examples_build_error' into 'master'
riscv: fix portSTACK_GROWTH redefinition error

See merge request espressif/esp-idf!17011
2022-02-05 05:43:05 +00:00
Michael (XIAO Xufeng)
c1b30491dd Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
UART: add uart wakeup event for esp32c3 and esp32s3

Closes IDF-3416

See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
Erhan Kurubas
e40cd91065 heap: use HEAP_TRACING_STACK_DEPTH default value for riscv 2022-02-03 14:55:49 +01:00
Erhan Kurubas
88889e2f88 esp32c3: fix portSTACK_GROWTH redefinition error 2022-02-03 14:55:49 +01:00
Suren Gabrielyan
cbc767b6d7 Merge branch 'bugfix/websocket_example_echo_server' into 'master'
websocket: Updated Kconfig to use 'echo.websocket.events' echo server

Closes IDFGH-6619

See merge request espressif/esp-idf!16965
2022-02-03 08:40:53 +00:00
Aditya Patwardhan
b284016bfd configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
Closes https://github.com/espressif/esp-idf/issues/8285
2022-01-31 14:13:25 +05:30
Wei Tian Hua
2467aa7f6c Merge branch 'demo/opt_a2dp_demo_doc' into 'master'
demo/optimize a2dp demo documents

Closes BT-2135

See merge request espressif/esp-idf!16527
2022-01-29 05:02:19 +00:00
Shu Chen
095fb1afc1 Merge branch 'feature/ot-multicast-routing' into 'master'
openthread: enable 1.2 multicast routing

See merge request espressif/esp-idf!16943
2022-01-28 15:43:04 +00:00
Anton Maklakov
7cdd151612 Merge branch 'bugfix/nocommon' into 'master'
enable and fix warnings on common symbols

Closes IDFGH-3055 and IDF-3013

See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
Isha Pardikar
8846dc83db Merge branch 'bugfix/nimble_spp' into 'master'
NimBLE : Fixed BLE SPP build fail on Windows

Closes : https://github.com/espressif/esp-idf/issues/8305
2022-01-28 18:43:09 +05:30
Sudeep Mohanty
1c393a32c4 Merge branch 'refactor/refactor_ulp_component' into 'master'
ulp: refactor ulp component

Closes IDF-4520

See merge request espressif/esp-idf!16886
2022-01-28 10:23:56 +00:00
Mahavir Jain
9150034b6d Merge branch 'provisioning/update_readme' into 'master'
provisioning: Remove legacy examples reference

Closes IDF-4614

See merge request espressif/esp-idf!16977
2022-01-28 09:32:08 +00:00
Kapil Gupta
f57ccaabee esp_example: Enable MbedTLS for DPP enrollee by default 2022-01-28 13:53:39 +08:00
Laukik Hase
07f1e49566 provisioning: Remove legacy examples section from README 2022-01-28 09:58:43 +05:30
morris
9f893130ad Merge branch 'feature/lcd_i2c_oled_example' into 'master'
lcd: add i2c oled example

See merge request espressif/esp-idf!16506
2022-01-28 04:07:34 +00:00
dizcza
23598dfcec websocket: Updated Kconfig to use 'echo.websocket.events' echo server
Updated README to show how to run websocket echo server using Flask

Merges https://github.com/espressif/esp-idf/pull/8262
2022-01-27 17:10:15 +04:00
aditi_lonkar
9fb605a9be esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example. 2022-01-27 17:17:45 +05:30
Martin Valik
68ff1b8c07 Bugfix: omit MSC reset during initialization 2022-01-27 10:03:40 +01:00
Mahavir Jain
d587a1ce6d Merge branch 'refactor/provisioning_examples' into 'master'
provisioning: Remove legacy examples

Closes IDF-4558

See merge request espressif/esp-idf!16776
2022-01-27 07:28:52 +00:00
Jiacheng Guo
a271753a6a openthread: enable 1.2 multicast routing
This MR enables Thread 1.2 Backbone Border Router(BBR) feature and
multicast routing.
2022-01-27 15:22:27 +08:00
Sudeep Mohanty
2fc9bd61bf ulp: refactor ulp component
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.

This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Anton Maklakov
4085443a17 examples: esp_ble_mesh: move ble_mesh_node_prestore_params symbol to source file 2022-01-27 11:01:23 +07:00
Ivan Grokhotkov
acfdf9f6e1 examples: esp_ble_mesh: move cfg_cli definition to source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
3a57dfe905 examples: wifi/ftm: make global variables static
Prevents conflict between g_ftm_report_num_entries defined in the
example and in the Wi-Fi library.
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
7dac0abdff examples: advanced_https_ota: make some globals static 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
9d3e618bc5 examples: esp_ble_mesh: move definition of globals into source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
b92f8b0a95 examples/bluetooth: mark auto_tb and sync_obj as extern 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
92e18ba78e bluedroid: make hf_peer_addr as extern 2022-01-27 11:00:09 +07:00
Song Ruo Jing
3821a09f83 Merge branch 'bugfix/ledc_consecutive_fade' into 'master'
ledc: Bugfixes for issues related to fade protection on ESP32

Closes IDFGH-4918 and IDFGH-5565

See merge request espressif/esp-idf!14568
2022-01-26 06:00:59 +00:00
David Čermák
41761fc762 Merge branch 'ci/enable_s3_ethernet_examples_build' into 'master'
Re-enable ESP32-S3 build for an ethernet examples

Closes IDFCI-1058

See merge request espressif/esp-idf!16875
2022-01-25 16:16:00 +00:00
AndriiFilippov
88604b0c60 CI: Remove supported targets from ethernet examples README.md 2022-01-25 15:11:19 +01:00
laokaiyao
c4cfb654d2 uart: support light sleep on esp32s3 2022-01-25 17:43:02 +08:00
Chen Wu
35941de800 debug: esp32c3 uart1 wakeup 2022-01-25 17:43:02 +08:00
Chen Yi Qun
29229ce32f simple test for uart wakeup 2022-01-25 17:43:02 +08:00
songruojing
68e12f7092 ledc: Add ledc_fade_stop API to support stopping the fade operation.
Note that ESP32 cannot support this new feature.
2022-01-25 11:19:20 +08:00
morris
cf9a7d8509 Merge branch 'example/pytest_for_component_ut' into 'master'
Example/pytest for component ut

See merge request espressif/esp-idf!16234
2022-01-25 02:34:34 +00:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
Fu Hanxi
90f8d27985 ci: use pytest-embedded 0.5.1 2022-01-24 15:55:00 +08:00
Fu Hanxi
ea4673a3a2 ci(pytest): support special markers "supported_targets", "preview_targets", "all_targets" 2022-01-24 15:55:00 +08:00
Island
ce4a4be37f Merge branch 'feature/pro_recv_hb' into 'master'
provisioner receive heartbeat message

See merge request espressif/esp-idf!14680
2022-01-24 07:54:30 +00:00
Yuan Hong Hui
154d82c6bc provisioner receive heartbeat message 2022-01-24 07:54:28 +00:00
Island
e50f250b16 Merge branch 'bugfix/filter_repeated_packages' into 'master'
filter repeated packages but not send response

See merge request espressif/esp-idf!15906
2022-01-24 07:51:02 +00:00
Armando (Dou Yiwen)
7967a317d6 Merge branch 'feature/add_flash_suspend_example' into 'master'
system: add an example showing how to run non-iram ISR when operating Flash

Closes IDF-4501

See merge request espressif/esp-idf!16658
2022-01-24 07:40:00 +00:00
jincheng
0e8f7d7fe4 optimize a2dp demo documents 2022-01-24 14:22:04 +08:00
Armando
a36e5188e9 system: add an example showing how to run non-iram ISR when operating Flash 2022-01-21 15:20:37 +08:00
Alex Lisitsyn
2cad565781 Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict' into 'master'
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)

See merge request espressif/esp-idf!12162
2022-01-21 05:18:01 +00:00
Alex Lisitsyn
e9cdb3e0d3 freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) 2022-01-21 05:18:00 +00:00
morris
24e6fdf3c6 lcd: add i2c oled example with lvgl port 2022-01-21 11:21:38 +08:00
morris
dcee019311 Merge branch 'feature/rgb_panel_example' into 'master'
lcd: add rgb panel example

Closes IDF-4429

See merge request espressif/esp-idf!16459
2022-01-21 03:06:04 +00:00
Marius Vikhammer
cbe23087fc Merge branch 'feature/ulp_stop' into 'master'
ULP: add functions for stopping/restarting the ulp-riscv

Closes IDFGH-6588

See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
morris
821634b24e lcd: add rgb panel example 2022-01-20 22:09:23 +08:00
Marius Vikhammer
ff6f927b5f ULP: add functions for stopping/restarting the ulp-riscv
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
David Čermák
1c94345737 Merge branch 'bugfix/protocols_test_on_eth' into 'master'
ci/mqtt: Move protocol tests to eth runners

Closes IDFCI-653

See merge request espressif/esp-idf!16752
2022-01-19 14:44:00 +00:00
Laukik Hase
e284eb070f provisioning: Removed legacy examples 2022-01-19 11:02:52 +05:30
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Zim Kalinowski
6e00f10fd4 Merge branch 'feature/adds_tips_to_run_ci_example_tests' into 'master'
examples: Adds a note on how to meet requirements to run the example_test.py

See merge request espressif/esp-idf!16834
2022-01-19 02:55:44 +00:00
Shu Chen
6ac4d031ce Merge branch 'feature/zigbee_example_update' into 'master'
Zigbee: Zigbee example update

See merge request espressif/esp-idf!16812
2022-01-18 13:03:16 +00:00
likunqiao
2c7f950084 Zigbee: Zigbee example update
* minor update for the zigbee example
2022-01-18 17:07:10 +08:00
Yuan Hong Hui
0e0d8fb433 filter repeated packages then send response 2022-01-18 16:38:42 +08:00
KonstantinKondrashov
041ba0c297 examples: Adds a note on how to meet requirements to run the example_test.py
export PYTHONPATH="$IDF_PATH/tools:$IDF_PATH/tools/ci/python_packages"
python -m pip install -r $IDF_PATH/tools/ci/python_packages/ttfw_idf/requirements.txt

It helps to fix the ModuleNotFoundError issue with ttfw_idf and tiny_test_fw modules.

Closes https://github.com/espressif/esp-idf/issues/7815
2022-01-18 15:55:30 +08:00
Sudeep Mohanty
2ed15d8b1e ulp: Added ULP RISC-V support for esp32s3
This commit adds support for ULP RISC-V for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Mahavir Jain
b149ff8dda Merge branch 'bugfix/http_auto_redirect' into 'master'
esp_http_client: Added event for HTTP redirection

Closes IDFGH-6371

See merge request espressif/esp-idf!16753
2022-01-16 05:59:21 +00:00
Martin Vychodil
f76d695aba Merge branch 'feature/vfs_semihosting_c3' into 'master'
vfs: add support for semihosting on ESP32-C3

Closes IDF-2287

See merge request espressif/esp-idf!11890
2022-01-14 20:20:26 +00:00
David Cermak
323622be64 ws_client: Optimize example test payloads and timeouts
Important update: NO_DATA_TIMEOUT_SEC=5, as some ws-servers typically send pings in 30s or 10s intervals, so we might never fire shutdown test
2022-01-14 18:11:59 +01:00
Ivan Grokhotkov
876f4d6a1c vfs: add support for semihosting on ESP32-C3 2022-01-14 17:29:03 +01:00
David Cermak
2649413ae8 ci/websockets: Run ws-client example test on ethernet runners 2022-01-14 14:35:06 +01:00
David Cermak
96616b6056 ci/mdns: Run mdns test on ethernet runners 2022-01-14 14:35:06 +01:00
David Cermak
51e222e71f ci/mqtt: Move mqtt example tests to ethernet runners 2022-01-14 14:35:02 +01:00
morris
6050388f51 Merge branch 'feature/i80_lcd_psram_s3' into 'master'
lcd: i80 lcd can transfer framebuffer in PSRAM

Closes IDFGH-6426

See merge request espressif/esp-idf!16548
2022-01-14 06:36:08 +00:00
Mahavir Jain
833f8bf6fb Merge branch 'bugfix/check_chip_id_at_start_ota' into 'master'
esp_https_ota: fix for checking chip id at start of OTA

Closes IDF-1724

See merge request espressif/esp-idf!16739
2022-01-14 04:14:01 +00:00
morris
a611b39254 lcd: update i80 lcd example to work with PSRAM 2022-01-14 11:35:34 +08:00
Harshit Malpani
c0b796532b esp_https_ota: fix for checking chip id at start of OTA 2022-01-13 15:20:26 +05:30
Jiacheng Guo
0a46c6a3ee openthread: update README 2022-01-13 12:25:15 +08:00
zhangwenxu
3262d74513 openthread: ot extension command refactor 2022-01-13 12:25:15 +08:00
Mahavir Jain
dae8bdb60b Merge branch 'ci/enable_s3_examples_build' into 'master'
ci: re-enable s3 build for few examples

Closes IDFCI-1058

See merge request espressif/esp-idf!16770
2022-01-13 03:51:34 +00:00
Harshit Malpani
1095ab0697 ci: re-enable s3 build for few examples 2022-01-12 17:46:42 +05:30
Armando (Dou Yiwen)
342c830d9b Merge branch 'feature/support_spi_on_8684' into 'master'
spi: support spi on 8684

Closes IDF-4470 and IDF-4024

See merge request espressif/esp-idf!16475
2022-01-12 09:10:21 +00:00
Laukik Hase
ca84d2d6c9 esp_http_client: Added event for HTTP redirect
- Allows users to manually intercept and process the HTTP redirection
 when disable_auto_redirect (from the esp_http_client handle) is set to true

Closes https://github.com/espressif/esp-idf/issues/8029
2022-01-12 11:40:32 +05:30
Armando
6a74cb695d spi: support spi on 8684 2022-01-12 11:30:29 +08:00
Ivan Grokhotkov
bbe8aabca0 Merge branch 'bugfix/perfmon_s3' into 'master'
perfmon: re-enable example for ESP32-S3, remove warning from the docs

Closes IDF-3309

See merge request espressif/esp-idf!16744
2022-01-11 17:23:35 +00:00
Ivan Grokhotkov
3edc4bbf4a perfmon: re-enable example for ESP32-S3, remove warning from the docs
Includes minor fix for formatting of code blocks in the example readme
2022-01-11 08:28:51 +01:00
Mahavir Jain
d90bd94788 examples: add sh2lib dependency on http2_request through component manager 2022-01-11 10:26:25 +05:30
Mahavir Jain
0da44db394 sh2lib: Remove component and move to idf-extra-components
This component will be used through ESP-IDF component manager
2022-01-11 10:26:25 +05:30
xiongweichao
8dc3392b3f Rename controller_hci_uart_esp32c3 to controller_hci_uart_esp32c3_and_esp32s3 2022-01-10 11:46:23 +08:00
xiongweichao
b08c3a022a Added support for ESP32-S3 chip in controller_hci_uart_esp32c3's README 2022-01-10 11:19:53 +08:00
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
David Čermák
e8a4c4b440 Merge branch 'bugfix/mdns_add_result_count_async' into 'master'
mdns: Added results count to async API (GitHub PR)

Closes IDFGH-6340

See merge request espressif/esp-idf!16362
2021-12-16 12:48:39 +00:00
shenjun
f646e7759d esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted 2021-12-16 17:18:47 +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
Armando
4dc0d6b2fe adc: support adc dma driver on all chips 2021-12-16 00:19:15 +00:00
Euripedes Rocha
2433816b14 EXAMPLE/ASIO Async HTTP request
Introduces a new example on ASIO to ilustrates on how to compose
async operation to build network related protocols.
2021-12-15 19:54:24 +08:00
Mahavir Jain
b208d832a3 Merge branch 'contrib/github_pr_8041' into 'master'
print Firmware Upgrade URL to help user debug (GitHub PR)

Closes IDFGH-6382

See merge request espressif/esp-idf!16387
2021-12-14 14:59:23 +00:00
Simon
1c82e6eac7 Merge branch 'ci/8684_build_ci' into 'master'
CI: Enable ESP8684 build (2nd stage) CI on master (except example build)

Closes IDF-4388

See merge request espressif/esp-idf!16197
2021-12-14 11:12:10 +00:00
Mahavir Jain
0054732991 Fix debug print to handle URL in internal testing scenarios as well 2021-12-14 14:29:02 +05:30
morris
d87b6ec7e2 Merge branch 'feature/gc9a01_driver_pr' into 'master'
lcd: added gc9a01 driver (PR + Example)

Closes IDFGH-6232

See merge request espressif/esp-idf!15985
2021-12-14 05:26:05 +00:00
František Nečas
7277e61672 example: Synchronize includes in BLE walkthrough
Previously, the includes in the initial walkthrough section were
different from the actual ones used includes in the code example.
Moreover, if one was following the walkthrough and only taking
inspiration from there rather than the code itself, with these includes,
the code wouldn't compile. Synchronize the source code file with the
walkthrough in this regard.

Signed-off-by: František Nečas <frantisek.necas@protonmail.com>
2021-12-14 00:42:10 +01:00
Mahavir Jain
1d0ae38c11 Merge branch 'bugfix/advanced_ota_redirect_url_failure' into 'master'
Fix for advanced_ota_redirect_url example failure in CI

See merge request espressif/esp-idf!16330
2021-12-13 13:13:40 +00:00
Cao Sen Miao
e81841318f CI: Enable ESP8684 build stage CI on master 2021-12-13 19:18:47 +08:00
Harshit Malpani
66a8615c18 Fix for advanced_ota_redirect_url example failure in CI 2021-12-13 10:50:43 +05:30
weitianhua
731a29c256 Fix Typos 2021-12-13 11:06:06 +08: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
David Cermak
c297301ecc mdns: Minor fix of API description and API usage 2021-12-10 13:25:03 +01:00
Armando
9896b65972 spi_slave_hd: fix stack variable bug in seg_slave example
Closes https://github.com/espressif/esp-idf/issues/7163
2021-12-10 17:54:29 +08:00
Tomas Rezucha
dd1b698075 usb: Add USB host CDC-ACM class driver 2021-12-09 10:28:46 +01:00
Eric Fontaine
53b0263342
print Firmware Upgrade URL to help user debug 2021-12-08 12:09:42 -05:00
baohongde
bcb5c7a759 components/bt: Modify demo bt_discovery 2021-12-08 14:55:13 +08:00
Bao Hong De
23b5e16e93 Merge branch 'bugfix/update_licenses' into 'master'
components/bt: Update licenses

Closes BT-2150

See merge request espressif/esp-idf!16273
2021-12-08 06:47:26 +00:00
Michael (XIAO Xufeng)
ae13597f39 Merge branch 'bugfix/ir_protocol_channel_number' into 'master'
rmt: update ir example to work with esp32s3 out of box

See merge request espressif/esp-idf!16198
2021-12-08 06:46:04 +00:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
Kevin (Lao Kaiyao)
9bc274b47b Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
i2s: deprecate confusing names

Closes IDF-4368

See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
Aditya Patwardhan
c66c18596c Merge branch 'fix/https_request_example_test' into 'master'
https_request_example: Update the example test to use local python server

See merge request espressif/esp-idf!15931
2021-12-07 11:14:34 +00:00
David Čermák
eacaa9823d Merge branch 'feature/remove_pppos' into 'master'
PPPoS/Examples: Remove internal component, examples and test

Closes IDF-4078

See merge request espressif/esp-idf!16251
2021-12-07 08:21:07 +00:00
Sudeep Mohanty
4143a3f572 Merge branch 'feature/update-freertos-module-handles-to-struct-type' into 'master'
freertos: update module handles to struct type

Closes IDF-3768, IDF-3769, and IDF-3770

See merge request espressif/esp-idf!15766
2021-12-07 04:40:29 +00:00
David Cermak
5a41e6afa9 Examples: Remove pppos_client example 2021-12-06 12:42:17 +01:00
Ondrej Kosta
914eafe2db Merge branch 'feature/ksz80xx_support_extension' into 'master'
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs

Closes IDFGH-6203 and IDF-3522

See merge request espressif/esp-idf!16024
2021-12-06 08:54:33 +00:00
David Čermák
13978c9556 Merge branch 'feature/asio_ssl_esp' into 'master'
asio: Use internal ssl context and engine impl

Closes IDF-3432

See merge request espressif/esp-idf!15523
2021-12-06 05:54:14 +00:00
Sudeep Mohanty
40c1f3e06e freertos: update module handles to struct type
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Aditya Patwardhan
36bb817b80 https_request_example:
Use local python server to test client session tickets
Update example test to test the client session tickets
Check for minimum heap info in the example test.
2021-12-05 02:54:52 +08:00
weitianhua
de47bf87d1 Optimize HFP Documents 2021-12-03 20:13:36 +08:00
David Cermak
d823106aa6 asio: Use internal ssl context and engine impl
Implement asio-ssl layer with three classes in asio::ssl::mbedtls:
* context -- replaces SSL_CTX, used mainly as a container to options,
certs, keys
* engine -- replaces SSL, implements the actual mbedtls operations
* bio -- implements openssl BIO specifically tailered to mbedtls and
its asio usage

Further updates:
* asio: Used shared_ptr<> for bio pairs
* asio: Add error checks to mbedtls-bio
* asio: Address potential ssl-context ownership issue
* asio: Address potential bio-engine ownership issue
2021-12-03 09:32:42 +01:00
Island
71c66abcb7 Merge branch 'ci/upload_build_example_for_release_test' into 'master'
ci: preserve artifacts for local test apps

See merge request espressif/esp-idf!15990
2021-12-02 11:25:44 +00: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
morris
ed1fe1d5ba rmt: update ir example to work with esp32s3 out of box 2021-12-02 13:55:03 +08:00
Fu Hanxi
5c3bc247cb test: use pytest for examples/custom_bootloader 2021-12-02 10:55:24 +08:00
morris
c043c43247 lcd: gc9a01 meter example
We take the GC9A01 as an example to illustrate how to implement user's
own panel driver in their project folder, without making the esp-idf
dirty.
2021-12-01 22:22:19 +08:00
Roland Dobai
f4d1bb017a Merge branch 'feature/add-wl-support-fatfs' into 'master'
Add wear levelling support for fatfs partition generator

Closes IDF-4043 and IDF-2053

See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Chen Yudong
8fe7d74453 example: build ble_mesh_console example on c3 and s3 as well 2021-12-01 12:03:34 +08:00
Tomas Rezucha
ebaca79557 other: Move cbor, jsmn and libsodium to idf-component-manager
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components.
They are distributed via idf-component-manager, see
https://components.espressif.com.
2021-11-30 21:44:48 +01:00
Fu Hanxi
ef685456ab example: use pytest-embedded to replace examples/system/console test scripts 2021-11-30 09:42:12 +08:00
Martin Gano
7460deeae8 support for wear levelling in fatfs partition generator
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Jiang Jiang Jian
7878255f17 Merge branch 'bugfix/repeated_ftm_failures_issue' into 'master'
Fix FTM failures after repeated operations

Closes IDFGH-6015

See merge request espressif/esp-idf!15689
2021-11-29 07:39:22 +00:00
Mahavir Jain
59974b447c Merge branch 'feature/update_esp_cryptoauthlib_submodule' into 'master'
atecc608a_example: Update esp-cryptoauthlib submodule pointer

See merge request espressif/esp-idf!16077
2021-11-26 07:17:34 +00:00
Wang Meng Yang
28d5d5787b Merge branch 'nimble_spp' into 'master'
NimBLE: BLE example for SPP service

See merge request espressif/esp-idf!14998
2021-11-26 06:02:27 +00:00
Wang Meng Yang
2269a962c5 Merge branch 'nimble/add_throughput_example' into 'master'
NimBLE: Add NimBLE throughput demo examples

Closes BT-532

See merge request espressif/esp-idf!9476
2021-11-26 06:01:04 +00:00
Prasad Alatkar
bdf96f8621 NimBLE: Add NimBLE throughput demo examples 2021-11-26 06:01:01 +00:00
Aditya Patwardhan
6a44accdbb atecc608a_example: Update esp-cryptoauthlib submodule pointer
*Provide configuratble option to I2C address of the secure element.
2021-11-26 12:38:32 +08:00
David Čermák
07f502410a Merge branch 'bugfix/sntp_example_docs' into 'master'
sntp example - updated ntp over dhcp code/comments (GitHub PR)

Closes IDFGH-6147

See merge request espressif/esp-idf!15897
2021-11-25 11:37:34 +00:00
Nachiket Kukade
c3d971c52e esp_wifi: Update wifi lib
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
   unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
   while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
   avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
   timeout issue in ASAP mode

Closes https://github.com/espressif/esp-idf/issues/7702

Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
Christoph Rackwitz
4af1da0f21 esp_wifi: Reset event bits in ftm example to avoid repeated failures
Closes https://github.com/espressif/esp-idf/pull/7773
2021-11-25 15:48:34 +05:30
Tomáš Bravenec
25934167bd Changed argument pointer to correct data 2021-11-25 09:55:25 +01:00
David Cermak
020047b0f9 Examples/lwip: sntp example - Make SNTP server configurable
Also updates NTP example test to allow more attempts
2021-11-25 08:50:29 +01:00
Shu Chen
87d19d7ef9 Merge branch 'feature/Add_zigbee_light_example' into 'master'
zigbee: add light example

See merge request espressif/esp-idf!15458
2021-11-25 02:14:53 +00:00
Shu Chen
a08d2732d5 Merge branch 'bugfix/esp32h2_iperf_udp_WTD_trigger' into 'master'
fix watch dog trigger when iperf udp is running

See merge request espressif/esp-idf!15625
2021-11-25 01:56:26 +00:00
Darian
68df7d2ddf Merge branch 'bugfix/gpio_example_typo' into 'master'
Fix typo in gpio_example_main.c (GitHub PR #7823)

Closes IDFGH-6145

See merge request espressif/esp-idf!15974
2021-11-24 20:13:55 +00:00
Darian
fab2bfbb90 Merge branch 'bugfix/console_example_chip_model_github_pr_7717' into 'master'
Console example should print correct model name (GitHub PR #7717)

Closes IDFGH-6031

See merge request espressif/esp-idf!15979
2021-11-24 19:39:35 +00:00
Min Seok Kim
020f20e45e gpio: Fixed typo in generic_gpio example
Closes https://github.com/espressif/esp-idf/pull/7823

[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 00:05:23 +08:00
david zuhn
0742790408 console: Console example prints the correct chip model
This commit updates the console example's components so that
the correct chip model name is printed instead of "Unknown"

Closes https://github.com/espressif/esp-idf/pull/7717

[darian@espressif.com: Update chip names, used const char, updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 00:04:56 +08:00
cvvletter
dee4424a45 docs: fix double spelling error in bt_spp_initiator
when checking the idf.py menuconfig, we see that this path is incorrectly spelled
2021-11-25 00:03:54 +08:00
isha pardikar
d35a9a09dc Merge branch 'nimble_spp' of ssh://gitlab.espressif.cn:27227/espressif/esp-idf into nimble_spp
Nimble: Added BLE SPP Service

Closes: https://github.com/espressif/esp-idf/issues/7303

See merge request espressif/esp-idf!14998
2021-11-24 16:04:27 +05:30
radim.karnis
5d55d34481 docs: Update references to esptool docs 2021-11-24 10:28:39 +01:00
laokaiyao
fa4e77eb44 i2s: deprecate confusing names 2021-11-24 13:21:13 +08:00
Harshit Malpani
b93d63b067 Fix 'address already in use' exception in OTA tests
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2021-11-24 11:32:15 +08:00
zhangwenxu
0fe32adb58 iperf: handle NO_MEM error in OpenThread iperf
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Emil Muratov
696acf5e3f Examples/lwip: sntp example - updated ntp over dhcp code/comments
Apply suggestions from code review
Co-authored-by: david-cermak <38914379+david-cermak@users.noreply.github.com>

Merges https://github.com/espressif/esp-idf/pull/7824
2021-11-23 12:59:58 +01:00
Aditya Patwardhan
5d61eea847 efuse_example_test: Fix the example test ( broken due to latest change
in info message)

*Unify the log messages when UART ROM Download mode is kept enabled
2021-11-23 15:21:32 +05:30
Hrudaynath Dhabe
75f32ffdcf Merge branch 'feature/support_eap_fast' into 'master'
esp_wifi: Add support for EAP-FAST authentication method.

Closes WIFI-2820 and WIFI-4198

See merge request espressif/esp-idf!14232
2021-11-23 06:22:22 +00:00
Mahavir Jain
780879dc93 Merge branch 'feature/enable_cert_expiry_check' into 'master'
feature: checking certificate expiry

Closes IDF-2572

See merge request espressif/esp-idf!15378
2021-11-23 05:50:22 +00:00
Hrudaynath Dhabe
4cad64babf esp_wifi: Add example code for EAP-FAST. 2021-11-22 17:33:36 +05:30
Pedro Minatel
a18cb70905 Merge branch 'example/nimble_readme_cleanup' into 'master'
docs/examples Changes on README files on Bluetooth Examples

Closes DO-76

See merge request espressif/esp-idf!13579
2021-11-22 11:12:40 +00:00
Island
704994785a Merge branch 'docs/examples_bluedroid_ble50' into 'master'
Readme for the bluedroid ble50 example with tutorial of walkthrough example

See merge request espressif/esp-idf!15606
2021-11-22 06:29:56 +00:00
Mahavir Jain
7207a3c4d5 Merge branch 'bugfix/improve_ota_test_success_rate' into 'master'
OTA examples: Reduce example test failure rate

See merge request espressif/esp-idf!15953
2021-11-22 04:49:46 +00:00
Jakob Hasse
a052b37ab1 Merge branch 'bugfix/cxx_gpio_explicit_constructor' into 'master'
bugfix (cxx)!: added missing explicit for some strong value types

Closes IDF-4234

See merge request espressif/esp-idf!16015
2021-11-22 02:57:12 +00:00
Shubham Kulkarni
d959a35e28 advanced_https_ota: Move example tests on ethernet runners
Move BT tests to nightly run
2021-11-19 15:07:31 +05:30
Shubham Kulkarni
91ccac08f8 native_ota_example: Move all example tests to ethernet based runners 2021-11-19 15:07:31 +05:30
Shubham Kulkarni
40a72ef3cf simple_ota_example: Move redundant and failing example_tests to nightly run 2021-11-19 15:07:31 +05:30
Jakob Hasse
ce7cdeffb4 bugfix (cxx)!: added missing explicit for some strong value types
BREAKING CHANGE: Users who have been using the GPIO and SPI classes
                 may need to revisit their code as it's now not allowed
                 anymore to pass raw numbers for classes like MOSI
                 or GPIONum.
2021-11-19 16:07:32 +08:00
satish.solanke
b523256c49 Readme for the bluedroid ble50 example with tutorial of walkthrough example. 2021-11-19 12:04:47 +05:30
Harshit Malpani
cfa896ec54 feature: Checking Certificate Expiry 2021-11-19 09:43:27 +05:30
Anton Maklakov
a7347cdf1a Merge branch 'feat/add_track_startup_time_to_startup_time_example' into 'master'
feat: Added tracking startup_time example startup times

Closes IDFCI-823

See merge request espressif/esp-idf!14976
2021-11-19 03:08:52 +00:00
Darian
098dfe8a08 Merge branch 'bugfix/doc_for_ipc_isr' into 'master'
doc: Update esp_ipc documentation

See merge request espressif/esp-idf!15661
2021-11-18 17:01:35 +00:00
KonstantinKondrashov
209702d055 esp_ipc: Update documentation and API descriptions
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-11-18 21:34:50 +08:00
Jakob Hasse
de6bc33f3c refactor (cxx): C++ I2C example now uses MPU9250 instead of MCP9808
Also fixes the documentation of I2CTransfer::sync_transfer().
2021-11-18 19:07:44 +08: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
pedro.minatel
cb646ff068 docs: Rebase and typos fixed for the bluetooth README files 2021-11-16 16:56:47 +08: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
morris
2e008825a9 Merge branch 'feat/rm_makefiles' into 'master'
Build & config: Remove leftover files from the unsupported make build system

Closes IDF-4273 and IDF-2827

See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
Mahavir Jain
1e6d07d80c examples: esp_timer: disable secondary console for S3/C3 that can affect test timing 2021-11-12 17:27:07 +05:30
Roland Dobai
337d9e68a4 Storage: Remove makefile reference from spiffsgen README 2021-11-11 15:32:36 +01:00
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
likunqiao
a9146920b9 Zigbee: Add light example
* provide light example for acting as zigbee coordinator, router and end-device
* remove unused componenent for example usage
* remove unused variable
* clean up unused header include for example
* update the license header
* update copyright
* Add readme for instruction adding esp-zboss-lib component
* esp-idf:update copy_right_check ignore file
* CI: fix the ci check error from pipeline
* sdkconfig: default set change for better user use
* use Button (BOOT) as switch input
* update the statemachine for debouncing
* esp-zboss-lib: support lib 0.0.2
* fix warning issue from example
2021-11-11 19:03:01 +08:00
Roland Dobai
016198f68f Merge branch 'feat/remove_make' into 'master'
Build & config: Remove the "make" build system

Closes IDF-4272

See merge request espressif/esp-idf!15818
2021-11-10 14:13:25 +00:00
Roland Dobai
9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Andy Carle
3e9cdbdedf enc28j60: allow multicast packets in default enc28j60 configuration 2021-11-09 01:34:15 -08:00
Wang Meng Yang
f5a2fc578d Merge branch 'bugfix/hfp_demo_audio_not_sine' into 'master'
bugfix/fix hfp demo audio not sine

Closes IDFGH-6114

See merge request espressif/esp-idf!15745
2021-11-09 03:01:40 +00:00
Alex Lisitsyn
0586be45d2 modbus: update to support other targets 2021-11-08 16:28:55 +00:00
Omar Chebib
c49d9e152c Merge branch 'bugfix/fix_eventfd_example' into 'master'
Example: Fix eventfd example test and add a diagram for explaining it

Closes IDFCI-934

See merge request espressif/esp-idf!15800
2021-11-08 11:12:38 +00:00
Kevin (Lao Kaiyao)
3399255c34 Merge branch 'feature/github-7661' into 'master'
mck pin not defined in i2s examples

Closes IDFGH-5973 and IDFGH-5974

See merge request espressif/esp-idf!15452
2021-11-08 09:32:14 +00:00
Omar Chebib
0a3cdd4e4f Example: Fix eventfd example test and added a diagram to explain printed values 2021-11-08 14:16:04 +08:00
morris
16677b0d3c global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
Ivan Grokhotkov
53015490e3 Merge branch 'bugfix/freemodbus_tcp_master_fix_long_frame_buffer_issue' into 'master'
freemodbus: fix tcp master long frame buffer issue

See merge request espressif/esp-idf!11687
2021-11-05 16:23:35 +00:00
Alex Lisitsyn
0d393558d3 freemodbus: fix tcp master long frame buffer issue 2021-11-05 16:23:35 +00:00
aleks
ee104f8de2 freemodbus: fix timer port to use esp_timer instead of group timer 2021-11-05 13:19:09 +00:00
Jiacheng Guo
674a3ff878 openthread: support updating RCP with OTA over spinel 2021-11-05 16:47:30 +08:00
Ivan Grokhotkov
263fe84130 Merge branch 'bugfix/http2_request' into 'master'
CI: Fix example test for http_request

See merge request espressif/esp-idf!15819
2021-11-04 18:49:55 +00:00
David Cermak
e99490a0dd CI: Fix example test for http_request
Test is based on a public http server which might not be always
available, so the example test checks if it's available
so the test could be (by)passed if the public server not available.

But we didn't correctly check if a socket/timeout exception occurs
when trying to connect
2021-11-04 17:02:36 +01:00
jincheng
60a0d328d1 fix hfp demo audio not sine
Closes https://github.com/espressif/esp-idf/issues/7792
2021-11-04 11:25:03 +08:00
Alexey Gerenkov
c9bc16e35d docs: Updates apptrace menuconfig options in examples 2021-11-04 01:33:24 +03:00
Alexey Gerenkov
bd1af716fc example/gcov: Adds support for esp32s2, esp32s3, esp32c3 and esp32h2 2021-11-04 01:33:24 +03:00
Alexey Gerenkov
bb9cd84cdc debug_stubs: Refactor and add support for RISCV 2021-11-04 01:33:24 +03:00
Martin Gano
3c4034d36e support for generating FATFS on a host 2021-11-03 13:06:11 +01:00
Jakob Hasse
7df16fdf8f Merge branch 'feature/i2c_mock' into 'master'
feat (driver): Added mocking for i2c.h

See merge request espressif/esp-idf!15641
2021-11-03 05:49:04 +00:00
Mahavir Jain
268143b732 Merge branch 'bugfix/mbedtls_disable_dhe_by_default' into 'master'
mbedtls: disable Diffie-Hellman key exchange modes by default

Closes IDF-1230

See merge request espressif/esp-idf!15642
2021-11-03 04:30:30 +00:00
Shu Chen
d756f31da9 Merge branch 'bugfix/esp32h2_iperf_set_dest_ip6_addr_bugs' into 'master'
openthread: fix iperf get dest_ip6_addr

See merge request espressif/esp-idf!15577
2021-11-03 02:57:02 +00:00
zhangwenxu
1bb69cde88 openthread: fix iperf get dest_ip6_addr
* update copyright headers
2021-11-02 17:10:12 +08:00
Mahavir Jain
b05666a2c2 examples: blufi: enable MBEDTLS_DHM_C, as blufi has dependency on this 2021-11-02 15:52:09 +08:00
KonstantinKondrashov
bf9829df5b efuse example: Fix pre-load SB test for S2, C3 (erase revoke bits) 2021-11-02 15:26:24 +08:00
Jakob Hasse
1eb96cfc79 feat (driver)!: Added mocking for i2c.h
BREAKING CHANGE: removed ringbuf.h from public i2c.h
2021-11-02 14:16:31 +08:00
Shubham Kulkarni
5bf49e1cd6 esp_http_client: Support handling larger content lengths
Closes https://github.com/espressif/esp-idf/issues/6580
2021-10-29 18:14:22 +08:00
Ivan Grokhotkov
b549523152 Merge branch 'docs/blink_update_supported_targets_on_readme' into 'master'
example: Update on the README file to change from ESP32-S3-Addax-1 to ESP32-S3-DevKitC-1

See merge request espressif/esp-idf!15604
2021-10-26 13:14:01 +00:00
Aleksei Apaseev
d2745e090f feat: Added tracking startup_time example startup times 2021-10-26 19:41:52 +08:00
Jakob Hasse
04dc51732b Merge branch 'feature/spi_cxx' into 'master'
[cxx]: simple spi master class

Closes IDF-3750

See merge request espressif/esp-idf!13363
2021-10-26 02:44:35 +00:00
Harshit Malpani
47b17f6c99 Enable the example test for http2_request example 2021-10-25 16:38:08 +08:00
Wang Meng Yang
ae39bf1cfe Merge branch 'demo/controller_hci_uart_rename_and_README' into 'master'
[document] add README.md for demo controller_hci_uart_esp32

Closes BT-1619

See merge request espressif/esp-idf!15450
2021-10-25 08:09:16 +00:00
Guo Jia Cheng
a928411ab3 Merge branch 'feature/mdns-subtype' into 'master'
mdns: support service subtype

Closes IDFGH-3560

See merge request espressif/esp-idf!15467
2021-10-25 07:50:49 +00:00
Jakob Hasse
7efb01846f [cxx]: simple spi master class
* spi cxx unit test (CATCH-based, on host)
* added portmacro.h to driver mocking
* added simple testing app to write/read SPI,
  using an MPU9250
2021-10-25 14:56:59 +08:00
Alex Lisitsyn
bdf0298009 Bugfix/modbus fix copyright headers 2021-10-23 01:23:03 +08:00
pedro.minatel
7a07f29d4f example: Update on the README file to change from ESP32-S3-Addax-1 to ESP32-S3-DevKitC-1 2021-10-22 10:44:56 +01:00
Jiacheng Guo
1e5c5f38d9 br: support Thread Radio Encapsulation Link (TREL)
TREL allows sending 15.4 frames on the backbone link by encapsulating it
in an UDP packet.
2021-10-21 19:55:58 +08:00
Kapil Gupta
b0e5fd71fa Merge branch 'bugfix/enable_gcmp_gmac_192bit' into 'master'
esp_example: Enable GCMP, GMAC for 192 bit config example by default

Closes WIFI-4125

See merge request espressif/esp-idf!15558
2021-10-21 08:46:22 +00:00
Anton Maklakov
a047b15314 Merge branch 'version/v5.0.0' into 'master'
version: starting v5.0.0 development

See merge request espressif/esp-idf!15580
2021-10-21 03:37:51 +00:00
Ivan Grokhotkov
e89dce8fd1 examples/i2s: bump IDF version in component manifest 2021-10-21 00:24:50 +02:00
morris
e2275b1f63 gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
Mahavir Jain
51d58aac4f Merge branch 'bugfix/fix_http_client_example' into 'master'
examples/protocols/esp_http_client: fetch headers in POST example for native requests

Closes IDFGH-6004

See merge request espressif/esp-idf!15554
2021-10-20 06:45:23 +00:00
Kapil Gupta
8e211c1179 esp_example: Enable GCMP, GMAC for 192 bit config 2021-10-19 19:02:26 +05:30
Jiacheng Guo
e7e8610f56 mdns: support service subtype
* Closes https://github.com/espressif/esp-idf/issues/5508
2021-10-19 17:54:17 +08:00
Shu Chen
dc19bd4e5a Merge branch 'feature/ot-esp-console' into 'master'
openthread: Use esp console for CLI

See merge request espressif/esp-idf!15365
2021-10-19 09:38:40 +00:00
jincheng
733839ab85 add README.md for demo controller_hci_uart 2021-10-19 17:07:42 +08:00
Sven Fuchs
37da873da9 Fetch headers in POST example for native requests
In the POST section of `http_native_request` headers are not fetched. thus, just commenting out the GET request example would result in a `status` and `content_length` of `0` being reported (quite confusing).

(Plus, it should log `HTTP POST Status` here, instead of `HTTP GET Status`.)

Merges https://github.com/espressif/esp-idf/pull/7696
2021-10-19 11:25:49 +08:00
Roland Dobai
b544b521f4 Merge branch 'feat/idf_monitor_for_linux' into 'master'
feature: idf.py flash/monitor for linux target

Closes IDF-2417

See merge request espressif/esp-idf!15264
2021-10-18 12:39:14 +00:00
Ivan Grokhotkov
b46183a539 Merge branch 'feature/esp_timer_example_reenable' into 'master'
examples: esp_timer: enable for all targets

Closes IDF-2022

See merge request espressif/esp-idf!15028
2021-10-18 09:43:17 +00:00
Jiacheng Guo
be4a45ab70 openthread: Use esp console for CLI 2021-10-18 12:27:50 +08:00
Fu Hanxi
811ed96042 example: auto restart int the linux hello world example 2021-10-18 11:50:50 +08:00
Guo Jia Cheng
484457f02c Merge branch 'bugfix/ot-log-verbosity' into 'master'
openthread: reduce default log verbosity

See merge request espressif/esp-idf!15326
2021-10-14 09:46:49 +00:00
Kevin (Lao Kaiyao)
dc20768913 Merge branch 'feature/add_i2s_es8311_example_and_loop_unit_test' into 'master'
example/i2s: add es8311 example and i2s unit-test

Closes IDF-3412

See merge request espressif/esp-idf!14459
2021-10-14 09:28:35 +00:00
Jiacheng Guo
b7fd68c438 openthread: reduce default log verbosity
Packet logging increases latency and packet drop rate significantly.
2021-10-14 12:14:17 +08:00
Krzysztof Budzynski
15b2985ff3 Merge branch 'bugfix/ot_br-description' into 'master'
docs: Provide missing information about OT joiner configuration

See merge request espressif/esp-idf!15456
2021-10-14 01:50:19 +00:00
Marek Fiala
ff18a96f7d tools: replace _ with - in idf.py
Closes https://github.com/espressif/esp-idf/issues/5126
2021-10-13 17:30:38 +08:00
Krzysztof
d22a73155c docs: Provide missing information about OT joiner configuration
Fix typo
2021-10-13 17:09:18 +08:00
Kapil Gupta
f1b4a027aa esp_examples: Update WiFi enterprise example 2021-10-12 20:48:53 +08:00
alex.li
26d8b7ee17 Add HW external coexist api.
Simplify the external coex flow.

And replace gpio of driver interface with hal one.
2021-10-12 14:05:14 +08:00
Kevin (Lao Kaiyao)
a9faafee3c Merge branch 'feature/touch_sensor_driver_support_for_esp32s3' into 'master'
driver(touch): support touch sensor for esp32s3 platform

Closes IDF-1784 and IDF-3302

See merge request espressif/esp-idf!14102
2021-10-12 05:50:58 +00:00
Mahavir Jain
b94bbdbd9c Merge branch 'feature/esp_https_server_callback' into 'master'
feature: Added user callback for esp_https_server

Closes IDFGH-5771

See merge request espressif/esp-idf!15405
2021-10-12 04:37:50 +00:00
Chen Jian Xing
263850da6c Merge branch 'bugfix/fix_s3_wifiperformance_doc' into 'master'
Update esp32s3 wifi performace docs.

Closes WIFI-3952, WIFI-3929, and WIFI-3928

See merge request espressif/esp-idf!14767
2021-10-12 02:50:55 +00:00
Marius Vikhammer
3398a39b91 Merge branch 'bugfix/uart_doc_links' into 'master'
docs: update bluetooth hci readme to reflect uart hci example being target specific

See merge request espressif/esp-idf!15468
2021-10-12 02:21:47 +00:00
laokaiyao
3eb09287f9 example/i2s: add es8311 example and i2s loop unit-test 2021-10-11 18:32:34 +08:00
Mahavir Jain
4307ea9a58 Merge branch 'feature/update_esp_cryptoauthlib_submodule' into 'master'
examples/secure_element: update esp-cryptoauthlib submodule pointer

See merge request espressif/esp-idf!15436
2021-10-11 07:10:13 +00:00
WangShichang
9f37cfc7fc add docs "How to improve Wi-Fi performance" in api-guides for esp32s3. 2021-10-11 15:08:02 +08:00
Laukik Hase
1d2b2b5879 feature: Added user callback for esp_https_server
- Can be used to get connection or client information (SSL context)
- E.g. Client certificate, Socket FD, Connection state, etc.
- Added example callback for getting client certificate information in 'https_server/simple' example

Closes https://github.com/espressif/esp-idf/issues/7479
2021-10-11 09:41:01 +05:30
Marius Vikhammer
c33aeef0d3 docs: update bluetooth hci readme to reflect uart hci example being target specific 2021-10-11 11:45:29 +08:00
Jakob Hasse
f86e154a56 Merge branch 'feature/removed_hyphens_from_examples' into 'master'
[examples]: Project names consistent with their directories

Closes IDFGH-3673

See merge request espressif/esp-idf!13570
2021-10-11 03:43:37 +00:00
Jakob Hasse
4641b16158 Merge branch 'bugfix/i2c_cxx_warning' into 'master'
[cxx]: Added virtual destructor in I2C class

Closes IDFGH-5716

See merge request espressif/esp-idf!15453
2021-10-11 03:13:06 +00:00
Guo Jia Cheng
1e67cf1ec5 Merge branch 'feature/mdns-multiple-instance' into 'master'
mdns: allow mutiple instances with same service type

See merge request espressif/esp-idf!15180
2021-10-11 02:49:16 +00:00
Arnaud-Oechslin
18653586ab i2s: add mck pin definition in the example
If the mck pin is not set to GPIO 0,1,3 or -1 the whole pin configuration fails. This fix corrects that.

Merges https://github.com/espressif/esp-idf/pull/7661
2021-10-10 20:51:00 +08:00
Jiang Jiang Jian
f05351497c Merge branch 'feature/mbo_support' into 'master'
esp_wifi: Add support for MBO certification

Closes WIFI-3777

See merge request espressif/esp-idf!12650
2021-10-09 16:31:31 +00:00
morris
7283e349b9 Merge branch 'refactor/rgb_lcd_callback_add_event_data' into 'master'
lcd: modify callback prototype && build API docs

See merge request espressif/esp-idf!15354
2021-10-09 06:26:44 +00:00
Jakob Hasse
d023036be9 [cxx]: Added virtual desctructor in I2C class
Closes https://github.com/espressif/esp-idf/issues/7435
2021-10-09 14:00:29 +08:00
Jakob Hasse
81e9266204 [examples]: removed hyphens
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
2021-10-09 13:58:24 +08:00
Jakob Hasse
669a006bf5 [examples, tools]: added some new license headers 2021-10-09 13:58:24 +08:00
Wang Meng Yang
76a44106aa Merge branch 'bugfix/controller_hci_uart_sdkconfig' into 'master'
controller_hci_uart: fixed the use of deprecated sdkconfig options in the example and rename the example

Closes BT-1907

See merge request espressif/esp-idf!14800
2021-10-08 08:22:56 +00:00
Kevin (Lao Kaiyao)
79cb8e3c52 Merge branch 'fix/example_pdm_mic_recording' into 'master'
example: Fixed example I2S PDM microphone recording on sdcard

Closes IDF-3952 and IDFGH-5912

See merge request espressif/esp-idf!14928
2021-10-08 06:25:31 +00:00
laokaiyao
f4705f8eb4 touch sensor: update copyright notice 2021-10-08 11:45:57 +08:00
laokaiyao
a1cadba191 touch_sensor: apply general check 2021-10-08 11:32:12 +08:00
fuzhibo
589646a31e update touch with review advice 2021-10-08 10:39:46 +08:00
fuzhibo
3ca9da0386 update touch sensor examples 2021-10-08 10:39:46 +08:00
fuzhibo
057b9d61b5 driver(touch): support touch sensor for esp32s3 platform 2021-10-08 10:39:46 +08:00
Mahavir Jain
5879a92eec examples/secure_element: update esp-cryptoauthlib submodule pointer 2021-10-07 13:30:39 +05:30
Mahavir Jain
71fc5fa478 Merge branch 'fix/update_esp_http_client_example_test' into 'master'
Update example test for esp_http_client

See merge request espressif/esp-idf!15399
2021-10-06 06:26:32 +00:00
David Čermák
c0e5c7296d Merge branch 'docs/deprecate_openssl_api' into 'master'
openssl: Add deprecation warning to ssl.h

See merge request espressif/esp-idf!15287
2021-10-06 05:27:59 +00:00
David Čermák
6237f5859d Merge branch 'bugfix/pppos_client_dce_deref' into 'master'
Examples/pppos_client: Fix potential nullptr deref on DCE init (GitHub PR)

Closes IDFGH-5730

See merge request espressif/esp-idf!15392
2021-10-05 12:52:47 +00:00
David Cermak
cfc001870c openssl: Add deprecation warning to ssl.h
OpenSSL component will be discontinued in ESP-IDF v5.x. The only official TLS API will be esp-tls
Add docs warning about deprecation in v5.x

Removed all examples demonstrating usage of openssl in IDF
2021-10-05 11:45:52 +02:00
Harshit Malpani
933989125d Update example test for esp_http_client 2021-10-05 16:58:23 +08:00
Marco Gigante
b40b22c136 Fix DCE deferencing crash in pppos example
Merges https://github.com/espressif/esp-idf/pull/7439
2021-10-04 16:09:27 +02:00
David Cermak
336de29413 Examples/pppos_client: Fix manual parsing to accept unexpected lines
Regression from a90817cda0 that caused
parsing exit in case of an unexpected result found (line handler
reported ESP_FAIL). Prevously if any error found in the line handler we
just posted an unexpected event, but continued with parsing. Fixed by
allowing for further parsing.

Related: https://github.com/espressif/esp-idf/issues/7176
2021-10-04 19:34:17 +08:00
pedro.minatel
5144458905 Fix on the readme file for the supported devices 2021-10-04 10:44:49 +01:00
Ivan Grokhotkov
bfae073454 examples: esp_timer: enable for all targets
The example compiles and works correctly on all supported targets now,
re-enable it in CI.
2021-10-04 16:12:47 +08:00
Kapil Gupta
834afad47e esp_wifi: Add support for MBO certification 2021-10-04 15:56:14 +08:00
Zim Kalinowski
e35a87f723 Merge branch 'feature/github-7365-second' into 'master'
Typo fix in cmd_nvs.c

See merge request espressif/esp-idf!15317
2021-10-03 12:49:59 +00:00
Zim Kalinowski
ea7122e3fb Merge branch 'master' into feature/github-7365-second 2021-10-03 18:40:13 +08:00
Zim Kalinowski
002cd296e1 Merge remote-tracking branch 'origin/master' into feature/github-7022 2021-10-03 12:25:39 +08:00
morris
e09e39c94f lcd: unify callback prototype 2021-10-02 14:23:31 +08:00
laokaiyao
7264c0e59a i2s_rec_example: add support for esp32s3 2021-10-01 16:05:04 +01:00
laokaiyao
1327a56369 i2s: fix the param check on PDM mode
Closes https://github.com/espressif/esp-idf/issues/7604
2021-10-01 16:05:04 +01:00
pedro.minatel
a21225d86d Rebase and removed the sample rate division by 2 2021-10-01 16:05:04 +01:00
pedro.minatel
389db51f25 Changes on the recording function 2021-10-01 16:05:04 +01:00
pedro.minatel
4bd057013d Added driver unistall function for I2S 2021-10-01 16:05:04 +01:00
pedro.minatel
e736c20cc9 Removed unused define and added mck pin definition to i2s_pin_config
Changes on the pin configuration

Fixed the pin setup and minor improvements
2021-10-01 16:05:04 +01:00
Harshit Malpani
3203b42c87 Updated the root certificate of https examples 2021-10-01 13:02:48 +05:30
morris
7b8d5562d2 Merge branch 'feature/support_sdspi_on_s2_c3' into 'master'
example: support sdspi on s2 c3

Closes IDF-1279

See merge request espressif/esp-idf!15107
2021-09-27 03:48:52 +00:00
morris
03bf1b8ce9 Merge branch 'feature/rmt_new_example_step_motor' into 'master'
feature/rmt: new example step motor & support loop auto-stop on s3

Closes IDF-3587

See merge request espressif/esp-idf!14587
2021-09-27 03:47:24 +00:00
SalimTerryLi
075b091696
RMT: new example step motor, targeting at esp32s3
also working on c3 and s2 but may not reliable under loads
2021-09-24 15:41:40 +08:00
SalimTerryLi
92e337a38c
sdspi: enable UT & ExampleTest for C3/S2
Closes https://github.com/espressif/esp-idf/issues/7389

(1)     "MMC_RSP_BITS" [sd]                                                             [Y]
(2)     "probe SD in SPI mode" [sd][test_env=UT_T1_SPIMODE]                             [Y]
(3)     "probe SD in SPI mode, slot 0" [sd][ignore]                                     [N]
(4)     "SDMMC performance (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]                  [Y]
(5)     "SDMMC test read/write with offset (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]  [Y]
(6)     "CD input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
(7)     "WP input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
2021-09-24 15:17:18 +08:00
SalimTerryLi
f1202abc4e
example/sdspi: fix incorrect SPI DMA setting on c3 2021-09-24 15:17:03 +08:00
KonstantinKondrashov
709abee65c example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +08:00
David Čermák
092f53cea6 Merge branch 'bugfix/pppos_client_manual_pattern_detection' into 'master'
Examples/pppos_client: Remove uart pattern detection

Closes IDFGH-5435

See merge request espressif/esp-idf!15053
2021-09-22 14:09:42 +00:00
Jiacheng Guo
b7a99f4658 mdns: allow mutiple instances with same service type 2021-09-22 13:07:31 +08:00
David Cermak
a90817cda0 Examples/pppos_client: Remove uart pattern detection
Due to these problems
* possible race condition, two events competing
* pattern detection work a little different for different IDF versions
* switching between pattern detection and data reading is complicated
* using just data events is easier for porting to a different communication peripheral
These changes were made:
* Removed the UART pattern detection entirely
* Used manual pattern detection after reading plain data from the UART

Closes https://github.com/espressif/esp-idf/issues/7176
2021-09-21 10:12:54 +02:00
morris
ce969ad7fe Merge branch 'feature/lcd_lvgl_example' into 'master'
lcd: lvgl porting example

See merge request espressif/esp-idf!15042
2021-09-18 09:52:28 +00:00
Alex Lisitsyn
cd27a44107 Merge branch 'bugfix/modbus_fix_stack_reinitialization_sequence' into 'master'
freemodbus: fix TCP stack/examples reinitialization sequence

Closes IDFGH-4432

See merge request espressif/esp-idf!12123
2021-09-17 11:13:57 +00:00
Alex Lisitsyn
c965b48e77 freemodbus: fix TCP stack/examples reinitialization sequence 2021-09-17 19:13:48 +08:00
Mahavir Jain
8b4c0e71a9 Merge branch 'feature/mbedtls_session_ticket_support' into 'master'
Feature/mbedtls session ticket support

Closes IDFGH-5288 and IDF-3242

See merge request espressif/esp-idf!14496
2021-09-17 09:59:02 +00: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
Bao Hong De
eccb1f85d8 Merge branch 'bugfix/btdm_link_error_of_kconfig' into 'master'
Bugfix/btdm link error of kconfig

See merge request espressif/esp-idf!15176
2021-09-17 06:26:37 +00: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
baohongde
b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2021-09-16 20:26:35 +08: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
Armando (Dou Yiwen)
b9ea273e78 Merge branch 'feature/suppport_self_icode_calibration_on_s3' into 'master'
adc: support self calibration icode on s3

Closes IDF-3913

See merge request espressif/esp-idf!15195
2021-09-16 11:14:58 +00:00
Armando
ddd0235783 adc: support adc self-calibration on esp32s3 2021-09-16 15:17:29 +08:00
Fu Hanxi
923e862ed2 ci: temporarily disable s3 build for a few examples 2021-09-16 12:20:11 +08:00
Zim Kalinowski
7bd62b660d Merge branch 'bugfix/fix_linux_host_example' into 'master'
[examples]: fixed linux host example

See merge request espressif/esp-idf!15154
2021-09-15 22:04:07 +00:00
Laukik Hase
88f9a6b90f Update README.md: Added information about session ticket feature
- Enabled client session tickets as default in https_request example
2021-09-15 22:19:04 +05:30
Aditya Patwardhan
695f1b6503 Added demo to showcase use of client session tickets
* Added required example test
2021-09-15 22:19:04 +05:30
Shu Chen
8f283421da Merge branch 'feature/ot_example_doc' into 'master'
openthread: enrich documentation for openthread examples

See merge request espressif/esp-idf!15156
2021-09-15 13:48:17 +00:00
Jiang Jiang Jian
bd61d4dd70 Merge branch 'bugfix/fix_blufi_init_crash_c3' into 'master'
Blufi [Nimble] Add fix to crash while running blufi on ESP32C3

See merge request espressif/esp-idf!14414
2021-09-15 13:16:01 +00:00
Ondrej Kosta
61455ddc19 Merge branch 'feature/set_phy_loopback' into 'master'
esp_eth: add PHY loopback control via esp_eth_ioctl

Closes IDF-3865

See merge request espressif/esp-idf!15096
2021-09-15 13:07:21 +00:00
Shu Chen
c09633d41b openthread: enrich documentation for openthread examples 2021-09-15 15:44:07 +08:00
Jakob Hasse
418303d38a [examples]: fixed linux host example 2021-09-15 13:52:35 +08:00
baohongde
05768e9878 components/bt: Combine 3 Bluetooth controller menu 2021-09-15 10:57:37 +08:00
Mahavir Jain
4ac198906e Merge branch 'docs/http_readme_cleanup' into 'master'
docs: Updated protocols/http* examples READMEs

Closes IDF-206

See merge request espressif/esp-idf!15120
2021-09-14 11:44:21 +00: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
Armando
5d54a34a9b adc: add an example of using ADC Single Read driver and ADC Calibration driver 2021-09-14 11:42:50 +08:00
bizhuangyang
d6d0c37b30 simple_sniffer: can store packets in memory 2021-09-13 10:16:29 +02:00
baohongde
6fc4bf7145 components/bt: Fix link error of Kconfig 2021-09-13 15:45:27 +08:00
Yu Zhe
64045ea9f4 lcd: add lvgl demo ui 2021-09-13 15:08:48 +08:00
morris
9240fb03d8 lcd: lvgl porting example 2021-09-13 15:08:48 +08:00
morris
f04f078825 pcap: refactor and move to common components 2021-09-13 12:33:53 +08:00
Harshit Malpani
294b805f31 docs: Updated protocols/http* examples READMEs 2021-09-13 09:55:19 +05:30
morris
691780ffa6 Merge branch 'feature/mcpwm_timer_sync' into 'master'
mcpwm: add driver option to sync with internal signals

Closes IDFGH-3469

See merge request espressif/esp-idf!9259
2021-09-09 19:05:10 +00:00
SalimTerryLi
932d4d13f0
MCPWM/sync: expose API for configuring timer sync
removed example: mcpwm_basic_config

Closes https://github.com/espressif/esp-idf/issues/5429

Co-authored-by: wubowen <wubowen@espressif.com>
2021-09-09 17:33:37 +08:00
David Cermak
008d677746 http_server: Fix docs for ws server user implementation
Closes https://github.com/espressif/esp-idf/issues/7027
2021-09-09 17:16:48 +08:00
morris
882d6a9d07 Merge branch 'feature/restore_spi_lcd_example' into 'master'
example/spi_master: bring back lcd example

Closes IDF-3856

See merge request espressif/esp-idf!15112
2021-09-09 08:11:12 +00:00
morris
21da7156e6 Merge branch 'bugfix/modem_example_links' into 'master'
Example/PPPoS: Correct docs, fix links, warn about support

See merge request espressif/esp-idf!15114
2021-09-09 03:33:40 +00:00
SalimTerryLi
e3ac4d806e
example/spi_master: bring back lcd example and clean up
partially revert ac069bfca1
2021-09-09 10:51:12 +08:00
David Čermák
df1b524d07 Merge branch 'bugfix/iperf_counter_size' into 'master'
Update the formula for calculating the average bandwidth

Closes IDF-3705

See merge request espressif/esp-idf!14915
2021-09-08 17:26:18 +00:00
Wang Meng Yang
80c3aaab7c Merge branch 'feature/add_bt_hid_host_support_dev' into 'master'
Feature/add bt hid host btc layer

Closes IDFGH-3329, IDFGH-1104, IDFGH-3724, IDFGH-4383, and IDFGH-5428

See merge request espressif/esp-idf!12016
2021-09-08 11:54:19 +00: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
David Cermak
64419f7247 Examples/esp_modem: Fix broken links, add details on using the example 2021-09-08 09:58:19 +02:00
David Cermak
f0ecd70fd7 Examples/PPPoS: Warn about not supporting in v5.0 2021-09-08 09:58:14 +02:00
Roland Dobai
02b6436644 Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'

See merge request espressif/esp-idf!15054
2021-09-08 07:34:24 +00:00
liqigan
2078dfe293 1. update esp_hid component to use esp HID API
2. add esp_hidh_config_t::callback_arg
2021-09-08 14:08:34 +08:00
Wang Meng Yang
a885c42cda Merge branch 'example/controller_hci_uart_for_esp32s3' into 'master'
examples: added support of ESP32-S3 chip in controller_hci_uart example

Closes BT-1906

See merge request espressif/esp-idf!14935
2021-09-08 06:02:18 +00:00
David Čermák
25e14bd8d9 Merge branch 'feature/esp_netif_ppp_params' into 'master'
Examples: Add esp_modem example to experimental cxx components

Closes IDF-1923, IDFGH-217, IDFGH-2608, IDFGH-4838, IDFGH-1229, IDFGH-3848, and IDFGH-3809

See merge request espressif/esp-idf!13161
2021-09-07 18:16:13 +00:00
Shu Chen
dc71fa895d Merge branch 'bugfix/skip_threadnetwork_config' into 'master'
ot_br_example: skip network configuration if dataset is active

See merge request espressif/esp-idf!15051
2021-09-07 12:48:53 +00:00
David Cermak
6cc07ecd58 examples: Add experimental modem example
* esp_modem cxx example to use esp_event_cxx (using only sync event)
* Use 0.1.9 version of the esp_modem to support CMake 3.5
* Add supported targets ESP32 and ESP32s2

Closes https://github.com/espressif/esp-idf/issues/1847
Closes https://github.com/espressif/esp-idf/issues/4688
Closes https://github.com/espressif/esp-idf/issues/6637
Closes https://github.com/espressif/esp-idf/issues/5754
Closes https://github.com/espressif/esp-idf/issues/5722
2021-09-07 13:27:50 +02:00
David Čermák
803c0bc380 Merge branch 'feature/esp_mqtt_cxx' into 'master'
Adds a C++ Mqtt client wrapper over mqtt_client

See merge request espressif/esp-idf!11634
2021-09-07 09:00:31 +00:00
liqigan
1c15c9207c 1. transparent HID device
2. add esp API for HID
3. add PM config for HID
4. add HID device demo

Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
WangQixiang
321f301e3e ot_br: skip network configuration if dataset is active 2021-09-07 16:18:48 +08:00
Shu Chen
1e0219f16f Merge branch 'feature/add_openthread_iperf' into 'master'
openthread: add iperf example for ot-network test

See merge request espressif/esp-idf!14635
2021-09-07 02:07:44 +00:00
Roland Dobai
e37e877374 CI: Check the number of detected cores of apptrace 2021-09-06 21:52:27 +03:00
Rahul Tank
351653f6b3 Blufi [Nimble] Add fix to crash while running blufi on ESP32C3
A race condition is occuring while creating task on ESP32C3. Task is
getting created, but the function returns with a delay. Since task was
created, events start getting posted, but existing application
initializes certain threads / callbacks after stack initialization.

The same application works in different ways for bluedroid and nimble.
Hence modified the order during initialization accordingly.
2021-09-06 23:01:51 +08:00
Mahavir Jain
bc3c9d27f6 Merge branch 'feature/esp-mqtt_esp32s3_support' into 'master'
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature

Closes IDF-3859

See merge request espressif/esp-idf!15065
2021-09-06 09:52:29 +00:00
Guo Jia Cheng
8d51f554db Merge branch 'feature/otbr-discovery-delegate' into 'master'
openthread: support discovery delegate in border router

See merge request espressif/esp-idf!15041
2021-09-06 09:29:09 +00:00
zhangwenxu
2be77287b3 openthread: add iperf example for ot-network test 2021-09-06 15:32:38 +08:00
Sachin Billore
667017d517 ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Jiacheng Guo
51372704bf openthread: support discovery delegate in border router 2021-09-03 19:07:59 +08:00
Mahavir Jain
d5f58ab135 Merge branch 'feature/captive_portal' into 'master'
Captive Portal Example

Closes IDFGH-5347, IDFGH-1868, and IDF-1123

See merge request espressif/esp-idf!14726
2021-09-03 09:04:18 +00:00
Wang Meng Yang
e09818bd33 Merge branch 'bugfix/btdm_fix_some_Document_Description_Error' into 'master'
component/bt: fix some ble document description error

See merge request espressif/esp-idf!14816
2021-09-03 01:40:15 +00:00
Euripedes Rocha Filho
d53f0e074c experimental/mqtt_cxx: Adds a C++ Mqtt client wrapper
- Base class with separated event handlers for each Mqtt client event.
- Topic matcher added to support data events.
- Filter class to allow only mqtt valid topic filters.
- Initial code for unit test on the host.
2021-09-02 11:41:04 -03:00
Michael (XIAO Xufeng)
db33e957b8 Merge branch 'bugfix/gpio_example_config_struct_zero_init' into 'master'
example: fixed the issue that config struct is not properly initialized

See merge request espressif/esp-idf!15007
2021-09-02 12:59:55 +00:00
XieWenxiang
461f2bd186 component/bt: fix some ble document description error 2021-09-01 20:39:13 +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
Ivan Grokhotkov
05d0298656 Merge branch 'feature/add_component_manager_python_dependency' into 'master'
Build System: Add idf-component-manager python dependency

Closes PACMAN-172 and DOC-1623

See merge request espressif/esp-idf!13432
2021-09-01 11:03:33 +00:00
morris
8f3dadf46a Merge branch 'refactor/rom_tjpgd_unify' into 'master'
refactor/rom: unify tjpgd library

Closes IDF-3615

See merge request espressif/esp-idf!14977
2021-09-01 10:05:11 +00:00
SalimTerryLi
23e23b697c
rom/tjpgd: unify library & add rom patch
remove external tjpgd library inside example

enable tjpgd decoding on all chips
2021-09-01 14:42:17 +08:00
Suren Gabrielyan
a06357ab62 examples: Asio tests consolidation to use loopback interface
Closes IDF-3072
2021-08-31 23:39:18 +04:00
Jon Shallow
ed3d440428 libcoap_430: Update code for use with libcoap 4.3.0
Remove no longer needed code from coap_server/coap_client.

Add in multicast support for coap_server/coap_client.

Update libcoap logging to use esp-idf logging

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-08-31 12:05:30 +08:00
Michael (XIAO Xufeng)
b910724ea9 example: fixed the issue that config struct is not properly initialized 2021-08-30 22:59:36 +08:00
Sergei Silnov
7fc28f7883 examples: Add the component manager example 2021-08-30 13:23:23 +02:00
Shu Chen
342d1e5ee4 esp32h2: enable blink example 2021-08-30 13:10:57 +08:00
Martin Vychodil
0bcde21c72 Merge branch 'bugfix/sdcard_example_format_timeout_v4.4' into 'master'
CI: [Examples/Storage] provide sufficient timeout for SD card formatting (v4.4)

Closes IDF-3741

See merge request espressif/esp-idf!14886
2021-08-27 11:56:59 +00:00
Shu Chen
89b316b6e0 Merge branch 'bugfix/border-agent-mesh-local-prefix' into 'master'
openthread: fix mesh local prefix missing in border agent example

See merge request espressif/esp-idf!14920
2021-08-27 09:10:08 +00:00
Mahavir Jain
3850eba152 Merge branch 'feature/local_control_sec1' into 'master'
Added support for security1 in local control

See merge request espressif/esp-idf!13684
2021-08-27 08:31:33 +00:00
Jiacheng Guo
2213a35156 openthread: fix mesh local prefix missing in border agent example 2021-08-27 14:21:47 +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
Shu Chen
ab0d0b7dd2 Merge branch 'festure/add_ot_rcp_base_master' into 'master'
add ot-rcp

See merge request espressif/esp-idf!14609
2021-08-26 11:44:28 +00:00
Vikram Dattu
5691c9a8e8 Added support for security1 in local control
1. Added config options to chose from protocom security.
    It can be chosen 0/1 or custom.
    Possible to set POP as well

2. Added support in `esp_local_ctrl.py` test script for sec_ver selection

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Michael (XIAO Xufeng)
375145ecdb Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
mcpwm: bldc hall example

Closes IDF-3648

See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
Shu Chen
e770817dc7 openthread: refine ot_rcp example documentation and APIs 2021-08-26 16:10:16 +08:00
wangmengyang
c053ef0541 examples: added support of ESP32-S3 chip in controller_hci_uart example 2021-08-26 14:24:32 +08:00
morris
8bb36a432d Merge branch 'bugfix/mcpwm-capture-hcsr04-example' into 'master'
Bugfix/mcpwm hc-sr04 capture example

Closes IDFGH-5699

See merge request espressif/esp-idf!14941
2021-08-25 13:21:42 +00:00
morris
aafb628683 Merge branch 'examples/network_folder' into 'master'
examples: Created a new folder structure for generic network examples

Closes IDF-3311

See merge request espressif/esp-idf!14513
2021-08-25 11:45:21 +00:00
zhangwenxu
4175aa0892 openthread: add ot_rcp example 2021-08-25 18:04:45 +08:00
SalimTerryLi
6c272d6515
bugfix: hc-sr04 example: init queue before setup ISR
Closes https://github.com/espressif/esp-idf/issues/7419
2021-08-25 16:35:08 +08:00
David Čermák
2417b9361f Merge branch 'feature/lwip_sntp_max_servers' into 'master'
lw-ip: Add config option for sntp max servers (GitHub PR)

Closes IDFGH-5616

See merge request espressif/esp-idf!14590
2021-08-25 08:10:21 +00:00
Guo Jia Cheng
e5766eb3d3 Merge branch 'feature/mdns-async-callback' into 'master'
mdns: add notification callback for async APIs

See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
David Cermak
e54523708d Merge branch 'master' into feature/lwip_sntp_max_servers 2021-08-24 18:16:07 +02: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
morris
0dbe872542 mcpwm: bldc hall example 2021-08-24 15:38:46 +08:00
Laukik Hase
dd3d27a03c Added Feature: Example for Captive Portal system.
Feature note: Sets up a simple DNS server that answers all questions with the ESP softAP's IP as well as a HTTP server which redirects all requests to a captive portal welcoming page.
Triggers captive portal detection (log-in screen popup) for iOS, Android and Windows.
Includes example test for testing DNS redirect and HTTP redirect.

Closes https://github.com/espressif/esp-idf/issues/7099
Closes https://github.com/espressif/esp-idf/issues/4075
2021-08-24 10:47:14 +05:30
Guo Jia Cheng
139bf4af64 Merge branch 'feature/add-mdns-result-attributes' into 'master'
mdns: add more mdns result attributes

See merge request espressif/esp-idf!14674
2021-08-23 09:28:19 +00:00
Martin Vychodil
a866779070 Examples/Storage: sufficient timeout for SD formatting
Too short timeouts often cause useless failures on large-capacity SDs (16GB+)
Fixed by adding 60 sec timeout on new "Filesystem mounted" checkpoint

JIRA IDF-3741
2021-08-23 06:13:41 +02:00
Roland Dobai
98a6538877 Merge branch 'feature/gcov_dump_in_thread' into 'master'
gcov dump in a special thread

Closes OCD-216 and IDF-1034

See merge request espressif/esp-idf!13328
2021-08-20 10:22:58 +00:00
Erhan Kurubas
56176b69dd gcov: enable single core tests 2021-08-20 15:00:55 +08:00
Erhan Kurubas
f6f7ab2e7f gcov: readme update for ESP32-S2 2021-08-20 15:00:55 +08:00
Shubham Kulkarni
5eb1570a01 advanced_https_ota_example: Enable debug logs for partial HTTP download test 2021-08-20 09:35:40 +05:30
morris
71d475149d lcd: update doc unit test and example to support 8-line spi 2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041 spi_master:support octal mode for esp32s2 and esp32s3
Add support for 8-line spi for lcd on esp32s2 and esp32s3

Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
morris
aa434de6dd Merge branch 'bugfix/examples_connect_openeth' into 'master'
examples/protocols: fix compilation when CONFIG_EXAMPLE_USE_OPENETH=y

See merge request espressif/esp-idf!14792
2021-08-19 03:05:07 +00:00
Jiacheng Guo
986603cf07 mdns: add notification callback for async APIs 2021-08-17 16:53:37 +08:00
Jakob Hasse
b3271a51af Merge branch 'bugfix/common_components_linux' into 'master'
[build system]: Fixed common requirement for Linux target

Closes IDF-3638

See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Marius Vikhammer
342da3f86b Merge branch 'bugfix/readme_links_precheck' into 'master'
ci: always run check_readme_links

See merge request espressif/esp-idf!14796
2021-08-17 04:35:35 +00:00
wangmengyang
ef2a871e2c controller_hci_uart: rename the example with suffix "_esp32" to differentiate with that of ESP32-C3 2021-08-17 09:49:15 +08:00
wangmengyang
5eb098393b controller_hci_uart: fixed the deprecated Kconfig options in the example 2021-08-17 09:49:15 +08:00
Cao Sen Miao
f6b1e68675 Merge branch 'example/bringup_s3_blink' into 'master'
example: update GPIO num for blink example

See merge request espressif/esp-idf!14801
2021-08-16 08:55:40 +00:00
Zim Kalinowski
1c690aa5d2 Merge branch 'feature/bootloader_components_kconfig_in_menuconfig' into 'master'
bootloader: Kconfig files in bootloader_components is now part of menuconfig

Closes IDF-3696

See merge request espressif/esp-idf!14740
2021-08-16 06:01:50 +00:00
Cao Sen Miao
63d58cb47e example: update GPIO num for blink example 2021-08-16 12:11:55 +08:00
Marius Vikhammer
6fc8c484ea ci: always run check_readme_links 2021-08-16 10:29:20 +08: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
Jakob Hasse
7029f0537e [build system]: Fixed common requirement for Linux 2021-08-13 16:50:29 +08:00
Jakob Hasse
ca12c92877 [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
morris
49acb81a87 Merge branch 'feature/pid_speed_control_of_brushed_DC' into 'master'
MCPWM example: DC motor speed control

Closes IDF-3142

See merge request espressif/esp-idf!13392
2021-08-13 04:23:48 +00:00
Omar Chebib
339454ff19 bootloader: Kconfig files in bootloader_components is now part of menuconfig
It is now possible to configure the options (Kconfig) of bootloader components
directly from the menuconfig
2021-08-12 10:43:00 +08:00
Nachiket Kukade
09ab053ea1 esp_wifi: Fix some PMF and FTM issues
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
   with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Jiacheng Guo
76ec76c12c mdns: add more mdns result attributes 2021-08-11 19:02:05 +08:00
Zim Kalinowski
32ee0bdb29 Merge branch 'refactor/move_mocks_to_tools' into 'master'
[mocks]: move mocks dir to tools/

Closes IDF-3675

See merge request espressif/esp-idf!14719
2021-08-11 06:27:19 +00:00
morris
f0fab687ad pid_ctrl: abstract into example common component 2021-08-10 15:32:06 +08:00
pedro.minatel
50adfe8eab Added support for the ESP32-S3 in the blink example 2021-08-10 15:32:02 +08:00
laokaiyao
b6c5a6ee8b mcpwm: DC motor PID control example 2021-08-10 15:31:45 +08:00
Jakob Hasse
88eb4fa6a6 [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
morris
768af636a6 mcpwm: updated brushed dc example 2021-08-10 10:42:12 +08:00
Jakob Hasse
69ea35ffac Merge branch 'feature/freertos_mock' into 'master'
[freertos] Freertos mock

See merge request espressif/esp-idf!14493
2021-08-09 02:52:55 +00:00
Jiang Jiang Jian
6e1f8a68b9 Merge branch 'feature/support_esp32s3_wifi_lightsleep' into 'master'
support esp32s3 wifi lightsleep

Closes IDF-1781

See merge request espressif/esp-idf!14569
2021-08-06 12:51:46 +00:00
Jakob Hasse
c9984faaef [mocks]: freertos mock
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Wang Meng Yang
8fc30ece07 Merge branch 'component_bt/add_spp_faq' into 'master'
Component_bt/Add FAQ in SPP Demo README

Closes FCS-611

See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
Michael (XIAO Xufeng)
947980ecac Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
uart: uart_set_pin function will now use IOMUX whenever possible

Closes IDF-3183

See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Shu Chen
ee6b1736c6 Merge branch 'feature/add-openthread-docs' into 'master'
docs: add OpenThread docs

See merge request espressif/esp-idf!14488
2021-08-05 03:56:43 +00:00
Li Shuai
4ae9428cb7 light sleep: add wifi power save example for esp32s3 2021-08-04 21:31:45 +08:00
liqigan
d8023ba09c add FAQ in SPP demo README 2021-08-04 20:49:51 +08:00
Kevin (Lao Kaiyao)
8131d6f46d Merge branch 'feature/esp32s3_i2s_support' into 'master'
Feature(I2S): Support esp32s3 & esp32c3 I2S driver

Closes IDF-1769, IDF-2098, IDF-3271, IDF-2337, and IDF-3463

See merge request espressif/esp-idf!10655
2021-08-04 06:08:09 +00:00
Jeff Kent
02bc5df476
Typo fix in cmd_nvs.c 2021-08-03 23:51:55 -05:00
Omar Chebib
779e7400b0 uart: uart_set_pin function will now use IOMUX whenever possible
By using IOMUX instead of GPIO Matrix for UART, it is now possible
on ESP32 boards to use the UART as a wake up source even if it is
not used as a console.
For other boards where this issue was not present, using IOMUX has
the advantage to be faster than using GPIO matrix, so a highest
baudrate can be used
2021-08-04 12:48:30 +08:00
laokaiyao
f7f8c9c11f driver/i2s: support i2s on c3 and s3
1. Support i2s on esp32c3 and esp32s3
    2. Refactor i2s_config_t to avoid breaking change
    2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
    4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
houwenxiang
2f1247e1c4 driver: support I2S on ESP32-S3 & ESP32-C3
1. refactor I2S driver.
  2. support TDM mode for esp2s3 & esp32c3.
2021-08-04 10:20:03 +08:00
Jakob Hasse
06956d46c1 [cxx]: GPIO CXX wrappers, experiemental CI rule
* Wrapper class for simple GPIO interaction
  like read/write without ISRs.
* Added rule to provoke builds after changes in
  the experimental C++ component.
2021-08-03 19:51:21 +08:00
Konstantin Kondrashov
4972605b16 esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt 2021-08-03 14:35:29 +08:00
Jiacheng Guo
ba5b7ddded docs: add OpenThread docs 2021-08-02 17:17:38 +08:00
Emil Muratov
34be62665c lwip: menuconfig option to enable ntp servers option request via DHCP
This could be toggled on/off, off is the default.
SNTP debug option. Example update for ntp via DHCP

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-08-02 01:21:35 +03:00
Michael (XIAO Xufeng)
f26006a3bc Merge branch 'feature/ledc_fade_callback' into 'master'
ledc: Add a callback for LEDC fade end

Closes IDF-2475 and IDF-3222

See merge request espressif/esp-idf!14302
2021-07-31 08:52:00 +00:00
shenjun
42a1be10db esp_wifi_mesh: add non mesh connections access 2021-07-30 22:17:30 +08:00
Armando (Dou Yiwen)
f5266c1066 Merge branch 'feature/support_spi_example_on_s3' into 'master'
spi: support spi example on s3

See merge request espressif/esp-idf!14517
2021-07-30 03:51:26 +00:00
Armando
6aef940cde spi: support spi example on s3 2021-07-30 10:14:16 +08:00
Marius Vikhammer
172ce2881e docs: update readme link to not use parentheses
CI script for checking links failed to parse link to due to parentheses.
Bypass issue by encoding the symbol instead.
2021-07-30 09:19:04 +08:00
morris
f907009056 Merge branch 'refactor/cleanup_mcpwm_examples' into 'master'
mcpwm: more clean up (example + LL + doc)

Closes IDF-3295

See merge request espressif/esp-idf!12798
2021-07-29 10:41:07 +00:00
songruojing
9d098cc9bd ledc: Add a callback for LEDC fade end
This commit adds a feature where users can register a callback that is
called when an LEDC fade completes.
2021-07-29 17:56:22 +08:00
Armando (Dou Yiwen)
3c3e802048 Merge branch 'feature/essp_spi_driver' into 'master'
spi: essl spi driver and spi_slv_hd append mode example

Closes IDF-1698, IDF-2279, and IDF-2932

See merge request espressif/esp-idf!12104
2021-07-29 09:53:10 +00:00
Michael (XIAO Xufeng)
5569dedd7f Merge branch 'bugfix/i2c_example_esp32s3' into 'master'
i2c: bringup on ESP32-S3

Closes IDF-3232 and IDF-3292

See merge request espressif/esp-idf!13985
2021-07-29 07:01:38 +00: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
Armando
b320945908 spi_slave_hd: add append mode example 2021-07-28 18:36:13 +08:00
Marius Vikhammer
49eb42928a docs: fix broken link in usb example readme 2021-07-28 12:44:40 +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
David Čermák
b35ff492cf Merge branch 'bugfix/pppos_client_dce_handle_response_static' into 'master'
Examples: esp_modem_dce_service: Make esp_modem_dce_handle_* functions static (GitHub PR)

Closes IDFGH-5542

See merge request espressif/esp-idf!14512
2021-07-27 08:03:39 +00:00
Michael (XIAO Xufeng)
18bee2380a Merge branch 'refactor/usb_device_driver' into 'master'
tiny_usb: support on esp32-s3

Closes IDF-3234

See merge request espressif/esp-idf!14293
2021-07-26 16:21:55 +00:00
suda-morris
039cb93787 mcpwm: update bldc example 2021-07-26 22:32:45 +08:00
morris
251afb4a79 mcpwm: update servo control example 2021-07-26 22:32:45 +08:00
Martina
1e5a2f92c3 feature/update_cmake: Update of outdated CMake version 3.16.4->3.20.3 and CCache version 3.7->4.3 in tools.json
Closes https://github.com/espressif/esp-idf/issues/7083
2021-07-26 21:30:59 +08:00
Ondrej Kosta
47c4e5d63e Merge branch 'bugfix/enc28j60' into 'master'
enc28j60: fix stability of the ENC28J60 Ethernet driver example

Closes IDFGH-5412, IDFGH-5368, and IDFGH-2673

See merge request espressif/esp-idf!14475
2021-07-26 11:50:59 +00:00
Ondrej Kosta
4ac24549ad examples: create a new folder structure for generic network examples
simple_sniffer was moved from /wifi folder to /network folder

network_tests was moved from /system to /network folder

README's were updated accordingly to reflect new structure
2021-07-26 12:25:19 +02:00
Axel Lin
d6248eaf9b Examples: esp_modem_dce_service: Make esp_modem_dce_handle_* functions static
These functions are unlikely to be reused, make them static.
Take esp_modem_dce_handle_cbc as an example, it's internal implementation
of esp_modem_dce_get_battery_status, expose esp_modem_dce_get_battery_status
function is enough.

Signed-off-by: Axel Lin <axel.lin@gmail.com>

Merges https://github.com/espressif/esp-idf/pull/7266
2021-07-26 11:48:15 +02: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
Hrishikesh Dhayagude
ab970ac0cf Merge branch 'bugfix/bluedriod_esp32c3' into 'master'
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack

See merge request espressif/esp-idf!14124
2021-07-23 08:33:22 +00:00
Wang Meng Yang
dcefc4d6f7 Merge branch 'bugfix/typo_in_hci_uart_example_for_esp32c3' into 'master'
example/controller_hci_uart_esp32c3: fixed the incorrect GPIO pin bit mask for input PINs of UART1

See merge request espressif/esp-idf!14458
2021-07-23 08:30:55 +00:00
Switi Mhaiske
99cce49299 ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack 2021-07-22 15:37:46 +08:00
Marius Vikhammer
a29a6ceef0 uart: update register headers and examples for S3 2021-07-22 12:05:49 +08:00
morris
81448dcae8 tiny_usb: rename Kconfig name
1. Renamed Kconfig file of tinyusb (distinguish tinyusb stack from usb
   peripheral)
2. bugfix/typofix/doc update of tinyusb
2021-07-22 10:43:10 +08:00
Alexey Gerenkov
a9db7831b0 Merge branch 'bugfix/sysview_timestamp' into 'master'
sysview: fix tiemrgroup as sv timestamp

See merge request espressif/esp-idf!14374
2021-07-21 19:15:45 +00:00
Marius Vikhammer
b691001cc1 Merge branch 'docs/fix_readme_links' into 'master'
docs: fixed two dead readme links

See merge request espressif/esp-idf!14461
2021-07-21 10:53:49 +00:00
David Čermák
dbbf219d85 Merge branch 'feature/add_dns_config' into 'master'
example: Add DNS configure and test for static ip example

Closes IDFGH-5523

See merge request espressif/esp-idf!14324
2021-07-21 10:30:31 +00:00
Shu Chen
80f03f4820 Merge branch 'feature/otbr-1.3' into 'master'
openthread: support 1.3 border routing features

See merge request espressif/esp-idf!14407
2021-07-21 08:01:26 +00:00
He Yin Ling
bf65e3c679 Merge branch 'test/update_ble_mesh_console_files' into 'master'
test: fix ble mesh send problem

See merge request espressif/esp-idf!11053
2021-07-21 07:51:44 +00:00
Marius Vikhammer
11ea7c9072 docs: fixed two dead readme links 2021-07-21 15:20:57 +08:00
Mahavir Jain
417427965e Merge branch 'fix/coap_client_example' into 'master'
Update the coap client example URL and README

Closes IDFGH-5485

See merge request espressif/esp-idf!14411
2021-07-21 07:05:59 +00:00
yuanjm
1b68ad93ad example: Add DNS configure and test for static ip example
Closes https://github.com/espressif/esp-idf/issues/7251
2021-07-21 14:46:59 +08:00
Aditya Patwardhan
9b5747c370 Update the coap client example URL and README
Closes https://github.com/espressif/esp-idf/issues/7219
2021-07-21 12:58:24 +08:00
Omar Chebib
b8c6c5334f i2c: modify examples to work out of the box on ESP32S3
On ESP32S3, the default I2C pins of the examples are already used by USB.
This commit changes the default pins.
2021-07-21 11:04:16 +08:00
wangmengyang
c01ef27ae5 example/controller_hci_uart_esp32c3: fixed the GPIO pin mask for input PINs of UART1 2021-07-21 10:54:25 +08:00
Jiacheng Guo
a74bbde9c5 openthread: support 1.3 border routing features
- Support ICMPv6 auto config
- Support SRP service delegation
- Publish _meshcop._mdns service
2021-07-21 10:44:10 +08:00
SalimTerryLi
9302b28b73 bugfix by disabling IRAM attr on ISR 2021-07-20 19:39:27 +08:00
Shu Chen
bb23ca2006 Merge branch 'feature/simplify_ot_cli_config' into 'master'
openthread: simplify ot_cli example configuration

See merge request espressif/esp-idf!14410
2021-07-20 04:19:40 +00:00
Shu Chen
50b6b674cf openthread: simplify ot_cli example configuration
Use single ESP_EXTENSION_IN_OPENTHREAD_CLI config option to enable/disable
extended features. It will be pure ot_cli example if it's disabled.
2021-07-19 19:37:49 +08:00
Jakob Hasse
e5b556a938 Merge branch 'bugfix/i2c_cxx_timeout' into 'master'
[cxx]: fixed I2C master timeout

See merge request espressif/esp-idf!14277
2021-07-19 10:28:37 +00:00
Marius Vikhammer
201d6da0b0 Merge branch 'feature/simple_i2c_ex' into 'master'
i2c: add simple example

See merge request espressif/esp-idf!8487
2021-07-19 03:48:10 +00:00
morris
0c7b43c3b0 sysview: fix tiemrgroup as sv timestamp 2021-07-18 16:13:32 +08:00
SalimTerryLi
1abf5c861d
examples: unify iperf component 2021-07-16 11:59:52 +08:00
Jiacheng Guo
71fd44f6ab openthread: enable lwip multicast ping in examples
Multicast ping reply is required for OpenThread certification.
2021-07-15 17:28:28 +08:00
Jakob Hasse
77909446f5 [cxx]: fixed I2C master timeout 2021-07-15 16:44:08 +08:00
Zim Kalinowski
f29d873c54 Merge branch 'feature/linenoise_improvement' into 'master'
console: re-use the available REPL console API and improve linenoise

Closes IDFGH-5296

See merge request espressif/esp-idf!13897
2021-07-15 03:37:19 +00: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
Shu Chen
8e56ecc656 openthread: enable ot_cli on esp32h2 2021-07-14 19:15:24 +08:00
Anton Maklakov
4b83f35076 Merge branch 'bugfix/update_ota_cert' into 'master'
OTA examples: Update server certificate

See merge request espressif/esp-idf!14331
2021-07-13 08:52:14 +00:00
Marius Vikhammer
eee4cd18f8 i2c: add a simple i2c sensor communication example 2021-07-13 16:31:38 +08:00
Aditya Patwardhan
6a7e15d019 Disable the example test for http2 request example.
As the certificate for http2.golang.org has expired.
It will be enabled once the cert is updated or an alternative has been
found.
2021-07-13 13:21:08 +08:00
Shubham Kulkarni
3398ee2687 OTA examples: Updated server certificate 2021-07-13 13:14:32 +08:00
morris
8887897f54 Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
driver/timer: fixed auto reload problem in default isr callback

Closes IDFGH-5229

See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Angus Gratton
c2c0e4de3b Merge branch 'feature/s3_wdt_bringup' into 'master'
TIMG and WDT bringup for S3

Closes IDF-1881, IDF-3229, IDF-3301, and IDF-3274

See merge request espressif/esp-idf!13957
2021-07-09 04:43:41 +00:00
Omar Chebib
9340cb4c1a Merge branch 'feature/override_bootloader' into 'master'
bootloader: override the 2nd stage bootloader

Closes IDF-2946 and IDFGH-5279

See merge request espressif/esp-idf!13178
2021-07-09 02:25:24 +00:00
Shu Chen
d93887f9f0 Merge branch 'feature/openthread-lib' into 'master'
openthread: provide prebuilt libopenthread libraries

See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
morris
3037581745 Merge branch 'refactor/simplify_lcd_example' into 'master'
lcd: simplify lcd example

Closes IDF-3009 and IDF-354

See merge request espressif/esp-idf!13823
2021-07-08 08:50:34 +00:00
morris
3b821b8ac3 Merge branch 'bugfix/rotary_encoder_example_main' into 'master'
bugfix: rotary encoder example isr service install

Closes IDFGH-5105

See merge request espressif/esp-idf!14114
2021-07-08 04:25:30 +00:00
David Čermák
cd47ba03bc Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
mdns: Clean the main mdns module from lwip dependencies

See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
bizhuangyang
ac069bfca1 lcd: simplify lcd example
Move the lcd example files out of the folder spi_master, and refactor
the codes with esp_lcd driver. Add image rotation function to the
example.
2021-07-07 17:14:09 +08:00
Jiacheng Guo
0050248918 openthread: provide prebuilt libopenthread libraries 2021-07-07 15:27:47 +08:00
morris
5ad0dc5041 Merge branch 'bugfix/MCPWM_input_capture_example' into 'master'
MCPWM basic example: fix bugs in MCPWM basic example

Closes IDFGH-5148

See merge request espressif/esp-idf!13329
2021-07-07 02:32:38 +00:00
Marius Vikhammer
71c1da8952 timer group: add timer group and WDT support for ESP32S3
Regenerate timer group header files and update LL, check examples
and update docs.
2021-07-06 16:21:43 +08:00
chenjianxing
564068d5af esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue 2021-07-06 11:38:40 +08:00
Michael (XIAO Xufeng)
c6716dcb39 Merge branch 'feature/esp32c3_usbjtag_console_blocking' into 'master'
USB_serial_jtag controller:  Add driver for supporting VFS on esp32c3(blocking implementation)

Closes IDF-3066 and IDF-3019

See merge request espressif/esp-idf!13414
2021-07-05 07:57:19 +00:00
Cao Sen Miao
3aa9ac2469 usb_serial_jtag: Add blocking driver to support vfs. 2021-07-05 11:22:38 +08:00
Omar Chebib
a79acb413e bootloader: override the 2nd stage bootloader
Add the possibility to have user bootloader components. This is performed
from an application/project, by creating bootloader components. To do so,
it is required to create a `bootloader_component` directory containing
the custom modules to be compiled with the bootloader.

Thanks to this, two solutions are available to override the bootloader now:
- Using hooks within a user bootloader component
- Using a user defined `main` bootloader component to totally override the
  old implementation

Please check the two new examples in `examples/custom_bootloader`

* Closes https://github.com/espressif/esp-idf/issues/7043
2021-07-05 10:25:32 +08:00
Michael (XIAO Xufeng)
7e3957f34f Merge branch 'feature/add_support_gd_32Mflash' into 'master'
spi_flash: Add support for GD 32-bits address flash

Closes IDF-3237 and ESPCS-628

See merge request espressif/esp-idf!13655
2021-07-02 13:53:02 +00:00
Michael (XIAO Xufeng)
3a285635bc Merge branch 'refactor/twai_example_default_gpio_change' into 'master'
twai:modify default gpios in twai examples for esp32s3

See merge request espressif/esp-idf!14066
2021-07-02 10:54:50 +00:00
Cao Sen Miao
fecf27e54c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
David Cermak
042fa1831e CI: mdns example test: start responder after valid IP
to clean up the test and not to pollute the network unnecessarily.
Also keeps sending the delegated query until a response found
2021-07-01 15:45:17 +02:00
David Čermák
6661d01a64 Merge branch 'feature/mdns_query_async' into 'master'
mdns: Add asynchronous query API

See merge request espressif/esp-idf!13988
2021-07-01 12:28:54 +00:00
David Cermak
d81482d699 mdns: Add asynchronous query API
Closes https://github.com/espressif/esp-idf/issues/7090
2021-06-30 17:20:30 +04:00
Nachiket Kukade
eb49ee75b8 wifi/ftm: Additional FTM features implementation
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:52:07 +05:30
bizhuangyang
1829783886 bugfix:rotary encoder example isr service install
Fix the issue mentioned when using two or more encoders. Modify PCNT_CTRL_GND_IO
to avoid the affect of USB JTAG(origin pin 19 is used for USB D-). Update esp32c3.
peripherals.ld and docs for esp32s3.

Closes https://github.com/espressif/esp-idf/issues/6889
2021-06-30 18:44:02 +08:00
luchangjie
0c193626e0 fix ble mesh send problem 2021-06-30 14:01:07 +08:00
Jiang Jiang Jian
59b49d2783 Merge branch 'feature/add-nimble-host-to-blufi' into 'master'
Add support of NimBLE host to Blufi

See merge request espressif/esp-idf!13734
2021-06-29 12:54:01 +00:00
“sonalipatil”
5175672050 Add support of NimBLE host to Blufi
Merges https://github.com/espressif/esp-idf/pull/6904
2021-06-28 19:53:33 +05:30
Ivan Grokhotkov
d7928bf1db Merge branch 'feature/esp32c3_apptrace' into 'master'
apptrace: refactoring & esp32c3 support

See merge request espressif/esp-idf!11702
2021-06-28 06:00:24 +00:00
Angus Gratton
a041faec77 Merge branch 'feature/ulp_riscv_delay' into 'master'
riscv-ulp: Add DS18B20 1wire RISCV-ULP example

Closes IDF-1746 and IDF-3456

See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
Wang Meng Yang
0b42c8fc73 Merge branch 'bugfix/fix_c3_s3_some_bugs_06_15' into 'master'
Bugfix/fix c3 s3 some bugs 06 15

See merge request espressif/esp-idf!14018
2021-06-27 23:45:22 +00:00
David Cermak
07de534191 examples: Move non-block socket examples to a single app
To simplify the examples, reused the boiler plate and statics and mainly
for testing on localhost interface with no physical network.
2021-06-25 20:46:49 +08:00
suren.gabrielyan
e8bbe2f94f examples: Added non blocking sockets example tests
Closes https://github.com/espressif/esp-idf/issues/6675
2021-06-25 20:46:49 +08:00
laokaiyao
1138be502e driver/timer: only re-enable alarm in callback when auto reload is true
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-25 15:44:23 +08:00
zwj
2ee9140e94 hid examples support esp32c3/s3 2021-06-25 15:09:13 +08:00
laokaiyao
6df89fa042 example/mcpwm_basic_config: fix bugs in MCPWM basic example
Closes https://github.com/espressif/esp-idf/issues/6926
2021-06-25 12:25:52 +08:00
Marius Vikhammer
386739595f RISCV-ULP: Add DS18B20 1wire RISCV-ULP example 2021-06-25 11:26:39 +08:00
Alexey Gerenkov
821869d98d apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
David Čermák
8d476269d6 Merge branch 'bugfix/ci_move_udp_socket_tests_to_eth_runners' into 'master'
CI: Adjust UDP socket tests to be more reliable

Closes IDFCI-528

See merge request espressif/esp-idf!14080
2021-06-24 05:53:48 +00:00
David Čermák
3452c5f194 Merge branch 'feature/mdns-value-len' into 'master'
mdns: allow explicit txt value length

See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
Ivan Grokhotkov
768fe3a10c Merge branch 'test/wifi_connect_with_full_scan_in_examples' into 'master'
example: set example wifi scan method to all channel

Closes IDFCI-528 and IDFCI-685

See merge request espressif/esp-idf!13911
2021-06-23 10:20:43 +00:00
David Cermak
bc3adaded3 CI/socket examples: Add UDP operation retries, wait until server is up 2021-06-23 07:36:27 +02:00
Mahavir Jain
456c52055c Merge branch 'fix/mbedtls_remove_invalid_menuconfig_options' into 'master'
Fix/mbedtls remove invalid menuconfig options

Closes IDF-950

See merge request espressif/esp-idf!13955
2021-06-22 10:02:25 +00:00
Aditya Patwardhan
02820a90f7 Add sdkconfig which disables all menuconfig options in mbedtls. 2021-06-21 17:53:22 +05:30
Shu Chen
30524406f0 Merge branch 'feature/otbr-example' into 'master'
openthread: add platform UDP and border router example

See merge request espressif/esp-idf!13885
2021-06-21 08:33:15 +00:00
bizhuangyang
21311ece58 twai:modify default gpios in esp32s3
GPIO 20 is used for USB JTAG in esp32s3. So change the default gpios for
twai in twai examples so that twai can be used without disturbing JTAG.
2021-06-21 14:02:14 +08:00
Michael (XIAO Xufeng)
67743ac444 Merge branch 'feat/sdio_slave_eof' into 'master'
sdio_slave: allow getting end of frame information

See merge request espressif/esp-idf!13510
2021-06-20 16:31:54 +00:00
Jiacheng Guo
68ce4f1404 openthread: add platform UDP and border router example
This MR adds the OpenThread border router example and supports the
Thread 1.1 border agent feature.

* Adds the OPENTHREAD_BORDER_ROUTER Kconfig option.
* Adds platform UDP and task queue port for the border agent feature.
* Adds `esp_openthread_border_router_*` api.
* Adds the `esp_otbr` example.
2021-06-17 17:29:16 +08:00
Michael (XIAO Xufeng)
591e4c4b31 sdio_slave: allow getting end of frame information 2021-06-17 09:40:08 +08:00
Angus Gratton
059353b0c2 Merge branch 'feature/refactor_common_secure_boot_code' into 'master'
secure_boot/flash_encryption: Refactoring

Closes IDF-2582 and IDF-2035

See merge request espressif/esp-idf!12963
2021-06-16 23:21:45 +00:00
Konstantin Kondrashov
f339b3fc96 efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
Jiacheng Guo
b4e0088b68 mdns: allow explicit txt value length 2021-06-16 17:47:07 +08:00
Ivan Grokhotkov
228fc04646 Merge branch 'example/ledc_pwm_basic' into 'master'
Example: Added LEDC basic PWM example

Closes DO-70

See merge request espressif/esp-idf!13114
2021-06-15 11:12:46 +00:00
Jiacheng Guo
8e0af4267b openthread: move implementation-specific functions to private headers 2021-06-11 18:02:03 +08:00
Jiacheng Guo
dea281a48e openthread: simplify esp_openthread initialization
The current OpenThread initialization is too verbose and error-prone.
Using a simple flow will be more user friendly and paves way for
introducing more border router features.
2021-06-11 12:13:02 +08:00
David Čermák
a09e413fb6 Merge branch 'feature/add-mdns-delegation' into 'master'
mdns: add host and service delegation

See merge request espressif/esp-idf!13063
2021-06-10 13:58:32 +00:00
Jiang Jiang Jian
a3197a5b1e Merge branch 'bugfix/enable_pmf_in_iperf_test' into 'master'
iperf example: set PMF capable to connect to PMF required APs

Closes TCI-675

See merge request espressif/esp-idf!13853
2021-06-10 12:21:08 +00: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
Marius Vikhammer
bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
He Yin Ling
0ea9ae2920 Merge branch 'ci/asio_example_test_connect_fail' into 'master'
CI: fix connection failures in asio example tests

Closes IDFCI-509

See merge request espressif/esp-idf!13697
2021-06-08 08:56:08 +00:00
Krzysztof Budzynski
aaa377f6f7 Merge branch 'docs/translate_example_for_WiFi_Coexistence' into 'master'
docs: provide EN translation for ble_mesh_wifi_coexist readme

Closes DOC-1409

See merge request espressif/esp-idf!13718
2021-06-08 07:18:04 +00:00
Mahavir Jain
664c9a343a Merge branch 'feature/prov_mgr_reset_state' into 'master'
wifi_provisioning: Add API to erase credentials and reset provisioning state

See merge request espressif/esp-idf!13756
2021-06-08 05:59:58 +00:00
Shu Chen
eae45bb41e Merge branch 'example/ot_tcp_socket' into 'master'
openthread: add ot tcp/udp socket example

See merge request espressif/esp-idf!13730
2021-06-08 05:57:58 +00:00
daiziyan
37c1060462 docs: update both CN and EN vesion for WiFI Coexistence example 2021-06-08 11:02:46 +08:00
Michael (XIAO Xufeng)
b94c61497d Merge branch 'bugfix/revert_spi_flash_cs_setup_argument' into 'master'
spi_flash: reverted unwilling cs_setup argument

See merge request espressif/esp-idf!13866
2021-06-07 16:46:06 +00:00
zhangwenxu
7bc44ad5aa openthread: add ot tcp and udp socket example 2021-06-07 21:50:19 +08:00
Shubham Kulkarni
ad0399b2f8 wifi_prov_mgr: Add Kconfig option to restart provisioning 2021-06-07 12:23:28 +00:00
Chen Yudong
b3b71bc8ab CI: fix connection failures in asio example tests 2021-06-07 04:04:14 +00:00
wangjialiang
7c4557fbe0 ble_mesh: stack: Add sdkconfig.defaults.esp32s3 for esp32s3
Closes https://github.com/espressif/esp-idf/issues/7061
2021-06-07 04:00:15 +00:00
Angus Gratton
18e3055f75 Merge branch 'bugfix/repl_on_another_uart' into 'master'
console: fix a bug preventing us from starting a CLI on non-default UART

Closes IDFGH-5114

See merge request espressif/esp-idf!13594
2021-06-07 03:53:46 +00:00
Mahavir Jain
1d7068e4be Merge branch 'test/test_examples_protocol_http_request' into 'master'
bugfix/fail on esp32.default.test_examples_protocol_http_request

Closes IDFCI-651

See merge request espressif/esp-idf!13785
2021-06-04 08:04:43 +00:00
Michael (XIAO Xufeng)
dc6d6f225e spi_flash: reverted unwilling cs_setup argument
Partially reverted 08f1bbe0c7.

The host should have this flexibility, which is consistent to the cs_hold argument.

However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-04 15:29:53 +08:00
Michael (XIAO Xufeng)
1596e336a1 Merge branch 'bugfix/spi_flash_cs_setup' into 'master'
spi_flash: fix cs line setup to make the flash driver more stable

Closes IDF-3240

See merge request espressif/esp-idf!13623
2021-06-04 07:05:05 +00:00
Jiacheng Guo
a4f263948c mdns: fix test script delayed response 2021-06-04 10:44:36 +08:00
Jiacheng Guo
e6135552d2 mdns: fix wrong SRV/PTR record handling 2021-06-04 10:44:36 +08:00
Jiacheng Guo
d2a5d25984 mdns: fix mdns probe/reply behavior
* send correct hostnames when probing.
* add test for mdns host delegation.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2d34352f3d mdns: make delegate host address a list
Also adds unit test and doc string for new apis.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2174693096 mdns: add remove delegate host api 2021-06-04 10:44:36 +08:00
Jiacheng Guo
401ff56cc1 mdns: add mdns delegation
This allows publishing mdns services for other devices.
2021-06-04 10:44:36 +08:00
Marius Vikhammer
b1aa9269fd docs: updated link to partition table docs 2021-06-04 10:14:53 +08:00
He Yin Ling
1a9abeda6b example: set PMF capable to connect to PMF required APs 2021-06-03 20:03:59 +08:00
Mahavir Jain
d0a8ff12ec Merge branch 'bugfix/esp_https_ota' into 'master'
esp_https_ota: Add  check for HTTP error codes and documentation updates

Closes IDFGH-5285 and IDFGH-5298

See merge request espressif/esp-idf!13660
2021-06-03 05:54:49 +00:00
Shu Chen
e470e7c4c3 Merge branch 'feature/ot-lwip-interface' into 'master'
openthread: add lwIP network interface

See merge request espressif/esp-idf!13188
2021-06-03 01:46:17 +00:00
Shubham Kulkarni
ab9e5d3ea4 advanced_https_ota: Remove check for CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK for validating image.
Image should be validated even if CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is enabled
2021-06-02 11:19:30 +00:00
a2800276
bdea007a37 Update README.md
Made some grammatical corrections and improved reading flow.

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Closes: https://github.com/espressif/esp-idf/pull/7050
2021-06-02 11:19:30 +00:00
Jiacheng Guo
52a68cb7fe openthread: integrate OpenThread network interface with esp_netif 2021-06-02 17:03:54 +08:00
Cao Sen Miao
08f1bbe0c7 spi_flash: fix cs line setup to make the flash driver more stable 2021-06-01 16:41:41 +08:00
Omar Chebib
b911951cad console: fix a bug preventing us from starting a CLI on non-default UART
It is now possible to start a REPL CLI on another UART than the default
one.

Closes https://github.com/espressif/esp-idf/issues/6897
2021-06-01 15:50:15 +08:00
Tomas Sebestik
f658e19d91 Add longer dut.expect timeout DNS -> 30s 2021-05-31 17:40:54 +02:00
Angus Gratton
2ef16a3861 Merge branch 'bugfix/ci_ble_wifi_example_test' into 'master'
Fix for ble and wifi example test

Closes IDFCI-543

See merge request espressif/esp-idf!13223
2021-05-29 06:09:40 +00:00
Shivani Tipnis
2d22374460 ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests 2021-05-28 19:50:28 +05:30
Ondrej Kosta
b0f79a6ae3 wifi/simple_sniffer: Add sniffer feature for Ethernet
Extends the example by adding option to sniff traffic on Ethernet interface. User have interactive option to use either WiFi or Ethernet interface to sniff on.
2021-05-28 10:56:50 +00:00
Michael (XIAO Xufeng)
a49f48a72b Merge branch 'bugfixed/i2ctools_example' into 'master'
i2c_tools: support i2ctools example on all chips

See merge request espressif/esp-idf!13246
2021-05-26 08:02:34 +00:00
Mahavir Jain
f7e07fc4a5 Merge branch 'feature/update_esp_cryptoauthlib' into 'master'
secure_element: Update esp-cryptoauthlib submodule latest version.

See merge request espressif/esp-idf!13563
2021-05-25 04:10:01 +00:00
David Čermák
36e6938920 Merge branch 'feature/lwip_ipv6_automatic_coap_asio' into 'master'
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap

Closes IDF-2832

See merge request espressif/esp-idf!13616
2021-05-24 12:39:37 +00:00
David Čermák
5801712caf Merge branch 'bugfix/start_emac_after_phy_reset' into 'master'
esp_eth: speed up Ethernet start up process

Closes WIFI-3563, WIFI-3564, WIFI-3687, and IDFGH-5269

See merge request espressif/esp-idf!13461
2021-05-24 09:30:14 +00:00
Aditya Patwardhan
1abdfee3b7 secure_element: Update esp-cryptoauthlib submodule latest version.
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-05-24 07:28:20 +00:00
Jiang Jiang Jian
c6238303cf Merge branch 'bugfix/btdm_set_discoverable_after_create_server' into 'master'
components/bt: Set discoverable after create server

See merge request espressif/esp-idf!12913
2021-05-24 03:58:58 +00:00
He Yin Ling
79cd45fdee Merge branch 'test/support_multiple_targets_for_iperf_example_test' into 'master'
test: support multiple targets for iperf example test

Closes TCI-656

See merge request espressif/esp-idf!13527
2021-05-21 06:43:21 +00:00
Angus Gratton
e305f29382 asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
- Removes need to manually exclude these components as shown at
  https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378

- Hide the config for these components if IPV6 is disabled

- The components are still included in the build, but with no source
  files
2021-05-20 19:53:00 +10:00
He Yin Ling
8cc4cd775e test: support multiple targets for iperf example test 2021-05-20 16:58:38 +08:00
Michael (XIAO Xufeng)
2e4d3ad880 Merge branch 'feature/bringup_esp32s3beta_cmake_sdmmc' into 'master'
esp32s3: add sdmmc support

Closes IDF-1569

See merge request espressif/esp-idf!8304
2021-05-20 04:22:11 +00:00
Ivan Grokhotkov
38d902f544 Merge branch 'feature/gdbstubs_rt' into 'master'
Extension of GDBStub component for handling GDB by serial port at runtime.

See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00: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
Jiacheng Guo
71be904cf1 openthread: add lwIP network interface
This allows the applications to use the socket and raw api in lwIP to
send packets via OpenThread.
2021-05-17 17:18:20 +08:00
Michael (XIAO Xufeng)
5ee7a58a7d Merge branch 'bugfix/spi_example_gdma' into 'master'
spi: update examples to use the new GDMA driver

See merge request espressif/esp-idf!13150
2021-05-17 03:03:24 +00:00
Andrey Starodubtsev
6e343c1f8b Fix typo
s/\bUnknow\b/Unknown/g
2021-05-14 18:26:22 +03:00
Angus Gratton
b7ad39f694 Merge branch 'bugfix/pthread_docs' into 'master'
Fix and improve pthread docs, create pthread example

Closes IDF-731 and IDFGH-5085

See merge request espressif/esp-idf!13314
2021-05-14 01:19:02 +00:00
Angus Gratton
e6d15a0975 docs: Rename esp_pthread docs to pthread, expand details of supported APIs
- Move the code that was in the document out to an example
2021-05-14 10:03:11 +10:00
Dmitry
00a7ecb5a3 Code cleanup. Bugfix after rebase with master. Formating. 2021-05-13 15:03:40 +03:00
Jiang Jiang Jian
95dfdf7680 Merge branch 'nimble/fix_broadcaster_role' into 'master'
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix

See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar
3dfcaee9bd NimBLE: Add custom logging support and fix build error for broadcaster role
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Marius Vikhammer
4de9cbcf0f spi: update examples to use the new GDMA driver 2021-05-13 14:01:05 +08:00
Michael (XIAO Xufeng)
b722b8e4ec Merge branch 'feature/LEDC_support_invert_channel_output' into 'master'
LEDC: Support invert channel output

Closes IDF-2869

See merge request espressif/esp-idf!13310
2021-05-13 03:55:50 +00:00
Ivan Grokhotkov
67b0e0389f Merge branch 'bugfix/hid_stack_size' into 'master'
esp_hid: allow setting stack size for the event task, increase stack size in the example (Github PR)

Closes IDFGH-4568 and IDFGH-4563

See merge request espressif/esp-idf!13438
2021-05-12 18:52:42 +00:00
Dmitry
7bb91f912c gdbstub component 2021-05-11 15:55:39 +03:00
laokaiyao
48c848a895 driver/ledc: support invert channel output 2021-05-11 11:54:16 +08:00
Ivan Grokhotkov
47685f901d examples: sdmmc: set slot width and pins explicitly
... and prefer SDMMC_SLOT_FLAG_INTERNAL_PULLUP over explicitly setting
pullups on pins.
2021-05-10 23:21:27 +02:00
Akihiro YAMAZAKI
24225e5c16 examples/esp_http_client: output_buffer isn't necessarily NUL-terminated
Closes https://github.com/espressif/esp-idf/pull/6927
Closes IDFGH-5150
2021-05-10 05:45:59 +00:00
Jiang Jiang Jian
9afd57057d Merge branch 'bugfix/add_sniffer_fcs_filter' into 'master'
example: Add sniffer FCSFAIL filter

Closes IDFGH-4661

See merge request espressif/esp-idf!12249
2021-05-08 07:31:51 +00:00
KonstantinKondrashov
2e4b625f59 simple_ota_example: Adds sha256 check for app images 2021-05-05 22:18:40 +08:00
Layne Bernardo
5266d81602 Use larger event stack for esp_hid_host example
Merges https://github.com/espressif/esp-idf/pull/6385
2021-05-05 15:45:54 +02:00
Ivan Grokhotkov
c88287851d Merge branch 'feature/raise_log_level' into 'master'
feature: Set maximum log level, add startup time example

Closes IDFGH-3599 and IDFGH-333

See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
wangmengyang
59c0825ed8 Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport 2021-04-30 15:25:10 +00:00
Martin Vychodil
99aa037793 * SD card example split (SDMMC/SDSPI)
JIRA IDF-1456
2021-04-29 10:38:55 +02:00
Michael (XIAO Xufeng)
859f7e3664 Merge branch 'feature/support_eon_flash_qaud_mode_esp_flash' into 'master'
esp_flash: support override default chip driver list

Closes IDF-2907

See merge request espressif/esp-idf!12565
2021-04-29 04:03:56 +00:00
pedro.minatel
a6798eac98 Added LEDC basic PWM example
Changes on the ledc_init function
Review on the README, docs and example functions
Added how to set freq and duty on README
Fix on the ledc.rst docs in the App Example
Added new example reference in the Chinese docs
2021-04-28 11:11:07 +01:00
Jiang Jiang Jian
3c0801584a Merge branch 'bugfix/update_esp32c3_docs' into 'master'
Bugfix/update esp32c3 wifi driver docs

See merge request espressif/esp-idf!13274
2021-04-28 07:40:20 +00:00
xiehang
91e019ea97 example: Add sniffer FCSFAIL filter
Closes https://github.com/espressif/esp-idf/issues/6473
2021-04-27 11:56:30 +00:00
chenjianxing
c66b1aeda7 update esp32c3 iperf config 2021-04-27 14:41:08 +08:00
Michael (XIAO Xufeng)
8e599a2365 Merge branch 'bugfix/simple_sniffer_c3' into 'master'
examples/simple_sniffer: only enable apptrace if JTAG is selected

Closes ESPCS-583

See merge request espressif/esp-idf!12718
2021-04-27 03:37:33 +00:00
Michael (XIAO Xufeng)
26585b4b4b esp_flash: support override default chip driver list 2021-04-26 16:05:42 +08:00
Cao Sen Miao
0d81edb174 spi_flash: refactoring flash encryption into new api 2021-04-25 17:09:25 +08:00
Shu Chen
00a66083c7 Merge branch 'roll-openthread-210416' into 'master'
openthread: update openthread submodule

See merge request espressif/esp-idf!13166
2021-04-25 02:18:03 +00:00
Michael (XIAO Xufeng)
0adc6fa17d Merge branch 'example/i2s_sound_record' into 'master'
Added I2S example for microphone recording to WAV file and I2S examples folder moved

See merge request espressif/esp-idf!12835
2021-04-24 10:41:26 +00:00
pedro.minatel
86fa666343 Added I2S example for microphone recording to WAV file and I2S examples folder moved
Added import module check on generate_audio_file.py and removed from mypy ignore list
Added sugestions and minor changes on the README
2021-04-23 15:06:26 +01:00
Michael (XIAO Xufeng)
5997fcd45d Merge branch 'feature/update_adc_programming_guide_on_c3' into 'master'
adc: update esp32c3 programming guide

Closes IDF-2333

See merge request espressif/esp-idf!12563
2021-04-23 12:52:07 +00:00
Ivan Grokhotkov
9522034144 Merge branch 'doc/linux_host_testing' into 'master'
Doc: Linux host test documentation

See merge request espressif/esp-idf!11857
2021-04-23 09:08:42 +00:00
Angus Gratton
cdef1ea38a examples: Add example for fastest startup time
Example includes README and sdkconfig.defaults with notes about trade-offs
made for minimum boot time.
2021-04-23 18:27:20 +10:00
Angus Gratton
32895bcb7b Merge branch 'feature/multi_config_build_example' into 'master'
examples: build_system: demonstrate building app with multiple configs

See merge request espressif/esp-idf!13259
2021-04-23 06:51:09 +00:00
David Čermák
0d6482b8ee Merge branch 'feature/esp_eth_ksz8851snl' into 'master'
Add a KSZ8851SNL SPI Ethernet driver

Closes IDFGH-4736 and IDFGH-4837

See merge request espressif/esp-idf!12574
2021-04-23 05:14:16 +00:00
Michael (XIAO Xufeng)
fdb8736a95 Merge branch 'feature/spi_slave_hd_segment_example' into 'master'
spi_slave_halfduplex: add an example for segment mode

Closes IDF-1699

See merge request espressif/esp-idf!10043
2021-04-23 03:23:25 +00:00
laokaiyao
5b5dc4c8ca examples/i2c_tools: fixed the build error of i2ctools example on esp32c3 2021-04-23 10:31:24 +08:00
Jakob Hasse
68393c41c4 doc: linux host test documentation 2021-04-23 09:27:35 +08:00
David Cermak
7e6ff47363 Examples: Add basic ethernet example of using ksz8851 2021-04-22 13:55:51 +00:00
David Čermák
f14cdd8a31 Merge branch 'test/esp_ssl_example' into 'master'
examples: Add esp-ssl example tests server/client

Closes IDF-1156

See merge request espressif/esp-idf!12366
2021-04-22 12:21:20 +00:00
laokaiyao
92670e499c examples/simple_sniffer: add SPI work mode to SD card to support all chips 2021-04-22 19:52:41 +08:00
Armando
6930d6aa1e spi_slave_hd: add segment mode example 2021-04-22 19:24:59 +08:00
Ivan Grokhotkov
08f7ac962c examples/simple_sniffer: only enable apptrace if JTAG is selected
Fixes compilation of this example on esp32c3, where apptrace is not
yet supported.
2021-04-22 11:39:11 +08:00
Mahavir Jain
a82466674a Merge branch 'bugfix/esp_http_client_read' into 'master'
Fix esp_http_client_read for file size aligned to 289 bytes

Closes IDFGH-4981

See merge request espressif/esp-idf!13193
2021-04-22 01:48:00 +00:00
David Čermák
10fd0c36a1 Merge branch 'bugfix/spi_eth_example_pin' into 'master'
esp_eth: Examples: Extend configurable pins for SPI modules

Closes IDFGH-4372

See merge request espressif/esp-idf!13113
2021-04-21 16:06:13 +00:00
Shubham Kulkarni
691e30e659 advanced_https_ota: Add example test for OTA with OpenSSL server with binary file aligned to 289 byte boundary 2021-04-21 20:57:58 +05:30
suren.gabrielyan
823abfdfd5 examples: Add esp-ssl example tests server/client
Closes IDF-1156
2021-04-21 16:18:03 +04:00
Jiang Jiang Jian
822cdd81ef Merge branch 'bugfix/correct_cod_check' into 'master'
esp-idf: Corrected check of Class of Device for discovered devices

Closes IDF-6548

See merge request espressif/esp-idf!12391
2021-04-21 11:38:31 +00:00
Mahavir Jain
2d472f47b8 Merge branch 'bugfix/enable_wifi_prov_example_c3' into 'master'
CI: re-enable wifi prov examples for C3

Closes IDFGH-4712

See merge request espressif/esp-idf!13260
2021-04-21 09:07:49 +00:00
Mahavir Jain
5692868e23 Merge branch 'feature/gatts_in_simple_ota' into 'master'
Feature/gatts in advanced https ota example

See merge request espressif/esp-idf!12593
2021-04-21 09:04:49 +00:00
Armando
3177130256 adc: add adc programming guide on c3 2021-04-21 10:40:55 +08:00
Marius Vikhammer
70b304bc2f CI: re-enable wifi prov examples for C3 2021-04-21 09:45:35 +08:00
Ivan Grokhotkov
5730711185 examples: build_system: demonstrate building app with multiple configs
This example shows how to use ESP-IDF build system features to build
multiple configurations of an app from the same source files.

Configurations are set by overriding SDKCONFIG_DEFAULTS variable when
invoking idf.py.

Related: https://github.com/espressif/esp-idf/issues/5658
2021-04-21 01:11:06 +02: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
Jiang Jiang Jian
9b73403efd Merge branch 'bugfix/ftm_fixes_logging_change' into 'master'
wifi/ftm: Move FTM report logging into application and general Bugfixes

Closes WIFI-3294

See merge request espressif/esp-idf!13009
2021-04-20 15:26:49 +00:00
Wang Meng Yang
c94916de8f Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
optimize c3 multi con and add connection retry

See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Jiacheng Guo
64c498a584 openthread: update openthread submodule
Roll OpenThread submodule and rename OpenThread config macros and api
calls accordingly.
2021-04-20 20:26:19 +08:00
Chinmay Chhajed
3eaf78d462 advanced_https_ota: Added BLE GATTS code.
`advanced_https_ota` can run a minimal BLE GATT server while
downloading OTA update. Both NimBLE and Bluedroid stack can be used
here by configuring relevant options in menuconfig.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2021-04-20 15:34:53 +05:30
Nachiket Kukade
c93907fb27 wifi/ftm: Move FTM report logging into application and some bugfixes
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled

Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
Shu Chen
bd010f2d71 Merge branch 'feature/update-example-readme' into 'master'
examples: update README for the openthread examples

See merge request espressif/esp-idf!13167
2021-04-20 03:05:06 +00:00
zwj
0a016fa59e update esp32s3 default sdkconfig 2021-04-20 02:41:14 +00:00
Ivan Grokhotkov
7c60ba8a7d examples: eventfd: remove IRAM placement of timer ISR callback
esp_vfs_write (a.k.a "write") is not in IRAM, so placing just the
ISR callback into IRAM doesn't make the callback IRAM-compatible.
2021-04-19 17:20:47 +02:00
Ivan Grokhotkov
80213b6203 examples: eventfd: remove use of deprecated timer_spinlock functions 2021-04-19 14:43:08 +02:00
Angus Gratton
209a6cc855 Merge branch 'bugfix/check_partitions_fit' into 'master'
cmake partition_table: Check binaries fit in partition spaces at build time

Closes IDF-1539 and IDFGH-2503

See merge request espressif/esp-idf!9330
2021-04-19 07:33:36 +00:00
morris
9e0c9e8551 restful_example: upgrade axios 2021-04-19 11:51:56 +08:00
Ivan Grokhotkov
fa72ef6bd8 Merge branch 'feature/add-eventfd' into 'master'
vfs: add eventfd support

See merge request espressif/esp-idf!12573
2021-04-16 10:33:06 +00:00
Jiacheng Guo
6374946cc5 examples: update README for the openthread examples 2021-04-16 16:21:42 +08:00
Angus Gratton
920edd4e73 partition_table: Add a "single factory app (large)" option for 1.5MB app size
Needed to build some examples in their default configurations (especially
ESP32-C3). Wasn't noticed until the CI checks for partition size were added.
2021-04-16 16:40:47 +10:00
Angus Gratton
bc3d45026c Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled

See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
zwj
57ac0bb793 update esp32s3 default sdkconfig 2021-04-15 22:32:14 +08:00
Jiacheng Guo
bbb0e7a573 vfs: fix build & ci errors 2021-04-15 15:19:00 +08:00
Jiacheng Guo
0d986de363 vfs: add default initializer for vfs_eventfd 2021-04-15 15:19:00 +08:00
Jiacheng Guo
37a992bbde vfs: add example for eventfd 2021-04-15 15:18:59 +08:00
Angus Gratton
7f0fc3a37b ci: Consolidate deep sleep example test configs 2021-04-15 16:24:44 +10:00
Angus Gratton
b68d46c8a0 deep sleep example: Extend test coverage to ESP32-S2
* Modify the example on ESP32-S2 to print same output pattern as ESP32
* Add example test verification that "fast booting" (skipping of verification) is working
2021-04-15 16:20:58 +10:00
Shubham Kulkarni
0a395134d4 Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols 2021-04-15 04:00:06 +00:00
David Cermak
fd47dd4bea Examples/PPPoS: Fix pppos SMS send potential timeout in prompt waiting 2021-04-14 07:50:10 +02:00
Liu Han
6471396ae6 esp_modem: Fixed send data and wait for prompt fail from DCE
Closes https://github.com/espressif/esp-idf/issues/6428
Closes https://github.com/espressif/esp-idf/issues/6651
2021-04-14 07:50:09 +02:00
KonstantinKondrashov
af3cbe2888 simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA) 2021-04-13 11:28:13 +00:00
David Čermák
36fcdc482a Merge branch 'feature/add_static_ip_example' into 'master'
examples: Add static IP example

Closes IDF-2518

See merge request espressif/esp-idf!12333
2021-04-12 15:43:35 +00:00
David Čermák
1b6b05f1ab Merge branch 'bugfix/pppos_configs' into 'master'
esp-modem: Add options to support LCP ECHO and UART_ISR_RAM in the example

Closes IDFGH-2470 and IDFGH-4759

See merge request espressif/esp-idf!12962
2021-04-12 14:30:38 +00:00
yuanjm
9c9b96deff examples: Add a separate static_ip example 2021-04-12 05:32:48 +00:00
Angus Gratton
936523b904 Merge branch 'feature/secure_bootv2_c3' into 'master'
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3

Closes IDF-2647

See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
Michael (XIAO Xufeng)
cb179fe105 Merge branch 'doc/update_i2c_on_esp32c3' into 'master'
i2c: update api reference and example pin definition

Closes IDF-2746 and IDF-2336

See merge request espressif/esp-idf!12407
2021-04-11 17:57:30 +00:00
Aditya Patwardhan
b40df07521 http2_request/sh2lib: Modified the "sh2lib_connect" API to take in a new
defined `struct sh2lib_config_t` which contains required config options.

Modified the http2_request_example with the required changes.
2021-04-09 10:24:15 +00:00
David Cermak
b6f0b9ae2a esp_modem: Add option which enables UART_ISR_IN_IRAM to support OTA
Closes https://github.com/espressif/esp-idf/issues/4582
2021-04-09 06:53:30 +00:00
David Cermak
37b694559f esp_modem: Add option to support for LCP keepalive
Closes https://github.com/espressif/esp-idf/issues/6562
2021-04-09 06:53:30 +00:00
KonstantinKondrashov
ec4de4fe5c example_tests: CI uses ECO0 for esp32c3 tests 2021-04-09 14:26:06 +08:00
David Čermák
e412c52829 Merge branch 'bugfix/dangling_dce_when_init_fails' into 'master'
reset DCE pointer in DTE if we failed to init modem

Closes IDFGH-4936

See merge request espressif/esp-idf!12897
2021-04-09 06:14:54 +00:00
Floris Romeijn
2610e9c22d Examples/esp_modem: Reset DCE pointer in DTE on failure
if we failed to init modem so we can e.g. retry later

Merges https://github.com/espressif/esp-idf/pull/6727
2021-04-08 16:50:38 +00:00
Euripedes Rocha
98930e7be2 bugfix/mqtt examples: Updates the CA certificates used.
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
  the examples.

Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2021-04-08 15:24:43 +00:00
Michael (XIAO Xufeng)
57af5acefe Merge branch 'ci/enable_all_test_for_i2c_on_c3' into 'master'
I2C: enable all unit test for i2c on esp32c3

Closes IDF-2494

See merge request espressif/esp-idf!12474
2021-04-08 12:31:51 +00:00
Angus Gratton
cef3b26a91 Merge branch 'refactor/move_from_esp_system' into 'master'
Movements from esp_system

Closes IDF-2165

See merge request espressif/esp-idf!12695
2021-04-08 10:16:08 +00:00
Angus Gratton
70cab5bd81 Merge branch 'bugfix/ulp_riscv_unintended_wake' into 'master'
ulp: unintended wakeup in ulp_riscv

See merge request espressif/esp-idf!12894
2021-04-08 01:52:41 +00:00
pedro.minatel
da471dfcd1 Examples README's updated on peripherals, system and wifi
Updated main examples README to add missing examples folders and Getting Started links
Updated wifi/fastscan example README
Updated wifi examples README
Updated wifi main examples README
Added instructions and removed obviousness from examples README
Updates on example README in peripherals, system and wifi
Updates on example README in peripherals and added wave form pictures on wave_gen example
Updates and review on example README
Revision on unit style convention
Added the getting started link for each supported version
Readme review and recommended enhancements
Added the default note on the wave form option info
Added the ESP32-C3 support information on the temperature sensor example README
Added Getting Started information for ESP32-S2 and ESP32-C3
Issue fixed on the supported target on README
Resolved merge conflict
2021-04-07 14:24:38 +00:00
David Čermák
32ccbcdf8c Merge branch 'bugfix/pppos_netif_clear_ip_event' into 'master'
esp_modem: Fixed modem netif deinit to clear IP events

Closes IDFGH-5000

See merge request espressif/esp-idf!12964
2021-04-07 11:37:36 +00:00
Renz Bagaporo
586023790e esp_system: move sleep modes to esp_hw_support, power down light sleep to esp_pm 2021-04-07 17:53:37 +08:00
David Cermak
7872057976 esp_modem: Fixed modem netif deinit to clear IP events
Function esp_modem_netif_clear_default_handlers() didn't unregister
event handlers from IP related events, so if the netif modem was
reinitialized the previous handler was called with already destroyed
esp_netif handle.

Closes https://github.com/espressif/esp-idf/issues/6787
2021-04-07 06:56:30 +00:00
Aditya Patwardhan
f66bdf1233 esp_http_client: Enable support of crt_bundle in esp_http_client 2021-04-07 05:31:21 +00:00
Aditya Patwardhan
81b96ec06b Fix esp_http_client example: Set proper server verification by adding the postman root cert for https_async demo
test case.
2021-04-07 05:31:21 +00:00
Cao Sen Miao
c3da21a93f I2C: enable all unit test for i2c on esp32c3 2021-04-06 17:37:55 +08:00
Cao Sen Miao
372584d1de i2c: update api reference and example pin defination 2021-04-06 13:47:02 +08:00
Chen Shu
6be0ed9077 Merge branch 'feature/add-openthread' into 'master'
openthread: add OpenThread and porting

Closes IDF-2911

See merge request espressif/esp-idf!12570
2021-04-02 06:49:55 +00:00
Guo Jia Cheng
7c38989309 OpenThread: add OpenThread and porting
* Adds the OpenThread submodule.
* Adds porting on ESP32.
* Adds the OpenThread cli example.
2021-04-02 14:49:49 +08:00
Rahul Tank
1aff02ea55 esp-idf: Corrected check of Class of Device for discovered devices
Current code stopped inquiry if major class is not Phone. Modified the
condition to consider for both Phone and Audio to cover majority of real
world devices.

Closes https://github.com/espressif/esp-idf/issues/6548
2021-04-01 10:31:36 +00:00
Angus Gratton
3c9e9a7704 Merge branch 'bugfix/renable_unit_tests' into 'master'
ci: enable previously disabled unit tests

See merge request espressif/esp-idf!12582
2021-04-01 03:23:22 +00:00
David Čermák
aecfbf966c Merge branch 'feature/ethernet_phy_ksz8081' into 'master'
Ethernet phy driver: ksz8081

Closes IDFGH-4775

See merge request espressif/esp-idf!12723
2021-03-31 09:45:32 +00:00
Renz Bagaporo
754c8fcaa5 ci: modify ulp_riscv example to detect unintended wake 2021-03-31 17:15:55 +08:00
Jiang Jiang Jian
813d9ca420 Merge branch 'bugfix/add_multiple_scan_mode' into 'master'
Bugfix: Connect example to add scan mode config

Closes IDFGH-4793 and IDFGH-4812

See merge request espressif/esp-idf!12525
2021-03-31 08:10:55 +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
Marius Vikhammer
3fea0727b0 system: enable C3 light sleep related example tests 2021-03-30 10:45:27 +08:00
Angus Gratton
2a6dd33d35 Merge branch 'feature/c3_flash_enc_tests' into 'master'
flash enc: add flash encryption unit and example test for C3

Closes IDF-2936

See merge request espressif/esp-idf!12774
2021-03-29 06:45:32 +00:00
Krzysztof Budzynski
d25d3789e9 Merge branch 'doc/update_dead_url_links_to_iot_solution_repo' into 'master'
fix dead links directed to ESP-IoT-Solution repo

Closes DOC-1101 and IDFCI-472

See merge request espressif/esp-idf!12535
2021-03-26 14:23:06 +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
Armando
37e3b79b89 adc: rename adc examples according to hw feature and usage 2021-03-26 12:04:46 +08:00
Armando
0030179642 adc: rename adc related examples 2021-03-26 12:04:46 +08:00
Marius Vikhammer
d3d145285d flash enc: add flash encryption unit and example test for C3 2021-03-25 17:51:22 +08:00
baohongde
5ebbc17b9a components/bt: Set discoverable after create server 2021-03-25 17:28:35 +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
Erohal
1da8dd5816 Update Gatt_Client_Example_Walkthrough.md
Closes https://github.com/espressif/esp-idf/pull/5961
Closes IDFGH-4090
2021-03-23 17:40:18 +05:30
mjcross
0ce4d3f9f7 examples/provisioning: add comment about linker errors
If the user copies the BLE example to their own project without understanding the need to enable the BT stack or BTDM BLE settings in the SDK then their build will probably fail at this line due to linker errors.

Closes https://github.com/espressif/esp-idf/pull/6652
Closes IDFGH-4854
2021-03-23 17:33:51 +05:30
mjcross
08087f754e Explain the need to enable BT and BTDM BLE in SDK
If users may try to use this (excellent) example code in their own projects, without understanding the need to enable the BT stack and BTDM settings in the SDK. If they do that then their builds will fail with linker errors but they may not understand why.
2021-03-23 17:31:40 +05:30
Shubham Kulkarni
4f6e0c1d27 esp_http_client: Add config option for HTTP Digest auth 2021-03-23 11:58:35 +05:30
Michael (XIAO Xufeng)
67ba80f2ec Merge branch 'bugfix/reduce_the_consumption_of_touch_sensor_during_deep_sleep' into 'master'
fix: reduce the consumption of touch sensor during deep sleep

See merge request espressif/esp-idf!12248
2021-03-22 07:10:44 +00:00
Michael (XIAO Xufeng)
3a90d51831 Merge branch 'refactor/using_isr_callback_in_timer_example' into 'master'
TIMG: clean up timer example and add example test

Closes IDF-2722, IDF-2766, and IDF-2347

See merge request espressif/esp-idf!12218
2021-03-22 06:36:32 +00:00
shenjun
f9fe524c32 mesh/ps: network duty signaling 2021-03-18 16:22:19 +00:00
Jiri Schiebel
0c58d5fc6a lwip: added config option to enable LWIP_NETIF_API 2021-03-17 17:53:07 +00:00
Aditya Patwardhan
a06dbc11a7 https_mbedtls_example: Add minimum free heap print in the example and
respective check in the example_test.py
2021-03-16 17:15:56 +05:30
morris
089801cd7f timer_group: added example test 2021-03-16 17:56:37 +08:00
morris
fcbde13755 timer_group: using isr callback in example 2021-03-16 17:56:37 +08:00
Michael (XIAO Xufeng)
be30289364 Merge branch 'feature/c3_example_tests' into 'master'
CI: add Example_GENERIC for C3

Closes IDF-2935

See merge request espressif/esp-idf!12557
2021-03-16 09:43:38 +00:00
yuanjm
3874c20b5d esp_http_server: Fix examples parse ws keep-alive packet fail. 2021-03-16 09:55:02 +05:30
Aditya Patwardhan
54b2b88e9e https_server/wss_server: Added example_test 2021-03-16 09:55:02 +05:30
Aditya Patwardhan
7c68c7a318 https_server_simple: Added example test 2021-03-16 09:55:02 +05:30
Aditya Patwardhan
d51c41d4c5 http_server/file_serving: Added example test
* Fixed unsused function warning
2021-03-16 09:55:01 +05:30
Aditya Patwardhan
4b7eaa1d1f http_request_example: Added example test 2021-03-16 09:55:01 +05:30
Aditya Patwardhan
31ddfbb7a6 https_mbedtls_example: Added example test 2021-03-16 09:55:01 +05:30
Aditya Patwardhan
dc62958241 http2_request_example: Added example test 2021-03-16 09:55:01 +05:30
fuzhibo
6b361ed70f fix: reduce the consumption of touch sensor during deep sleep 2021-03-15 03:59:54 +00:00
Marius Vikhammer
c85d949c1f ci: run Example_GENERIC for C3
Add support for running example_GENERIC tests for C3 on label.

Fix examples that fail.
2021-03-15 10:27:07 +08:00
Angus Gratton
429ea0a1c1 Merge branch 'feature/riscv_ulp_s2_example_test' into 'master'
ci: RISCV-ULP example test

Closes IDF-2505

See merge request espressif/esp-idf!12397
2021-03-10 23:53:47 +00:00
yuanjm
07d784f7fe examples: Add OTA bind specified interface example
Closes https://github.com/espressif/esp-idf/issues/6090
2021-03-10 02:19:29 +00:00
Mahavir Jain
2c511e0295 Merge branch 'feature/update_wifi_provisioning_readme' into 'master'
Feature/update wifi provisioning readme

Closes IDFGH-4830

See merge request espressif/esp-idf!12584
2021-03-09 15:15:04 +00:00
Mahavir Jain
67cb6b98f8 Merge branch 'feature/support_ws_handshake_callback' into 'master'
example: Identify the callback whether is hanshake or frame-receive by req->method

Closes IDFGH-4796 and IDFCI-488

See merge request espressif/esp-idf!12634
2021-03-09 12:11:56 +00:00
yuanjm
444f81983e provisioning: update README.md 2021-03-09 11:41:33 +00:00
mjcross
b3e384272a provisioning: Update README.md to explain QR code format
Add examples of how to create a QR code that will be recognised by the iOS or Android app

Signed-off-by: yuanjm <yuanjianmin@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6629
2021-03-09 11:41:33 +00:00
Mahavir Jain
f5f25d2b53 Merge branch 'bugfix/ota_docs_openssl_windows' into 'master'
examples: Document OTA examples with openssl on windows tips/issues

See merge request espressif/esp-idf!12372
2021-03-09 08:21:38 +00:00
yuanjm
a1d5cfc260 example: Identify the callback whether is hanshake or frame-receive by req->method
Now the uri handler gets called immediately after the handshake. In the handler we can identify that this was the handshake by checking req->method as it is still a GET from the first part of the handshake the client has sent. On a normal websocket-frame-receive (when normally a websocket uriHandler gets called) this field is set to 0
Closes https://github.com/espressif/esp-idf/issues/6597
2021-03-09 07:32:15 +00:00
Mahavir Jain
907ea44ee9 Merge branch 'feature/http_server_optimizations' into 'master'
esp_http_server optimisations

Closes IDFGH-4484 and IDFGH-4741

See merge request espressif/esp-idf!12240
2021-03-08 09:01:20 +00:00
Island
ddea60c5ad Merge branch 'bugfix/kconfig_rename' into 'master'
Bugfix/kconfig rename

See merge request espressif/esp-idf!12588
2021-03-08 08:53:30 +00:00
Michael (XIAO Xufeng)
a3f5cf2c71 Merge branch 'bugfix/touch_element_callback_para' into 'master'
touch_element: fix event callback parameter type, change it into pointer

See merge request espressif/esp-idf!12600
2021-03-05 02:28:04 +00:00
David Cermak
7a020ea16f examples: Document OTA examples with openssl on windows tips/issues 2021-03-04 08:05:25 +01:00
David Cermak
79d596bcdc docs/ota: Allow example_test.py to run a custom https-server 2021-03-04 08:05:16 +01:00
mjcross
03901946ba Explain how to fix 'httpd_parse: header too long'
Because this is the 'simple' server example, it is probably where users will start out to understand the HTTP Server API; and also where they might come if they are having problems.
So I think it is useful to explain to users what to do if they see "httpd_parse: parse_block: request URI/header too long", which can easily happen if they submit a POST from an HTML form (for example). That certainly would have helped me!

Merges https://github.com/espressif/esp-idf/pull/6547

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-04 04:08:47 +00:00
Kang Zuo Ling
022bf82e01 touch_element: fix event callback parameter type, change it into pointer 2021-03-03 15:53:12 +08:00
Shubham Kulkarni
fb0beefefb advanced_https_ota: Add example_test for partial HTTP download 2021-03-02 16:48:18 +05:30
Chinmay Chhajed
3fa1f5d4d6 Renamed Kconfig to Kconfig.projbuild in some examples. 2021-03-02 16:00:59 +05:30
David Čermák
138ab8a3af Merge branch 'feature/refactor_pppos_modem' into 'master'
pppos-client: Refactor modem component

Closes IDFGH-4671

See merge request espressif/esp-idf!12313
2021-03-02 07:26:40 +00:00
Liu Han
b3a35e3d4e pppos-client: Refactor modem component
Merges https://github.com/espressif/esp-idf/pull/6483
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
42aaefe218 Remove duplicated empty lines
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
3968660b2a Move DCE_CHECK in the esp_modem_dce
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
de239f151f Edit comments with protocol foreach methods
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
a77e9a8ab9 Move typedef with private resource into esp_modem_dce.h
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
ea1df995f8 Move commun methods in DCE and align few methods
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Hassan DRAGA
b2eb199502 Update native_ota_example.c
* assert(update_partition) should be before trying to use update_partition in ESP_LOGI().
* if we show detailed description about the error ESP_ERR_OTA_VALIDATE_FAILED, why show it again using esp_err_to_name() ?

Merges https://github.com/espressif/esp-idf/pull/6623

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-01 14:00:27 +00:00
Kang Zuoling
cd8e874c8d touch_element: add touch element lib example 2021-02-28 17:33:50 +08:00
David Cermak
3748b4ac57 esp_modem: Add specific power-down command for SIM7600 2021-02-26 17:16:28 +01:00
David Čermák
00432fa2c3 Merge branch 'feature/update_mqtt_test_url' into 'master'
Feature/update mqtt test url

See merge request espressif/esp-idf!12473
2021-02-26 16:09:38 +00:00
Michael (XIAO Xufeng)
60dfb09122 Merge branch 'bugfix/freemodbus_fix_zero_based_reg_address_in_iterator' into 'master'
freemodbus: fix mb zero based reg address

See merge request espressif/esp-idf!12422
2021-02-26 08:13:59 +00:00
Renz Bagaporo
e5b3824f61 ci: add example test for ulp_riscv example 2021-02-26 13:34:09 +08:00
Cao Sen Miao
a8343bc470 esp_system: support gpio wakeup from deep sleep on esp32c3 2021-02-26 12:26:49 +08:00
aleks
0d3f19beea freemodbus: fix mb zero based reg address in the iterator
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-02-25 15:17:45 +01:00
Michael (XIAO Xufeng)
fcad110dc8 Merge branch 'bugfix/flash_fatfs_example' into 'master'
spi_flash: bugfix for external flash fatfs example

Closes IDFCI-464

See merge request espressif/esp-idf!12468
2021-02-25 07:55:40 +00:00
Mahavir Jain
5db150b48a Merge branch 'feature/add_qrcode_in_provisioning_example' into 'master'
examples: Add QR code support for provisioning examples

Closes IDF-2030

See merge request espressif/esp-idf!12409
2021-02-25 00:41:01 +00:00
David Čermák
a91e2744d5 Merge branch 'feature/support_dynamic_payload_len_for_ws_server' into 'master'
esp_http_server: support dynamic payload len for ws server

Closes IDFGH-4619

See merge request espressif/esp-idf!12235
2021-02-24 15:41:42 +00:00
Island
f283b7087d Merge branch 'feature/support_esp32c3_aligenie_demo' into 'master'
ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3

See merge request espressif/esp-idf!12260
2021-02-24 12:08:08 +00:00
Yuan Ming Fu
a2dc356e2c ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3 2021-02-24 20:08:04 +08:00
yuanjm
cd521d4ae3 esp_http_server: support dynamic payload len for ws server
Closes https://github.com/espressif/esp-idf/issues/6433
2021-02-24 11:40:34 +00:00
David Čermák
5f0aa46cbf Merge branch 'feature/seperate_ipv6_function_from_ipv4' into 'master'
Add LWIP_IPV6 macro to strip IPv6 function

See merge request espressif/esp-idf!11977
2021-02-24 11:20:53 +00:00
yuanjm
3c4bfdbf48 examples: Add QR code support for provisioning examples 2021-02-24 17:23:25 +08:00
Michael (XIAO Xufeng)
db1c635db4 Merge branch 'feature/esp32c3_rtc_temp_calibration' into 'master'
temperature_sensor: calibration for esp32c3

Closes IDF-2502

See merge request espressif/esp-idf!12158
2021-02-24 03:27:49 +00:00
Cao Sen Miao
3e0a765cfd spi_flash: fix the issue of ext_flash_fatfs_example 2021-02-24 11:13:43 +08:00
yuanjm
f8d27ebd76 examples: Make tcp_server example support tcp keepalive function 2021-02-23 18:26:03 +08:00
yuanjm
b06a588263 examples: Use CONFIG_LWIP_IPV6 to strip tcp_server example 2021-02-23 18:26:03 +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
yuanjm
ca037eba9b examples: Update mqtt open source test server address 2021-02-23 15:29:07 +08:00
yuanjm
3ff3ea8f88 examples: Add Kconfig for resetting provisioning config 2021-02-23 14:21:11 +08:00
Cao Sen Miao
85855ad8a6 temp_sensor: add calibration for esp32c3 2021-02-23 10:48:17 +08:00
morris
0f5d1c1c46 rtc: supported disable rom log temporarily 2021-02-22 20:56:43 +08:00
Fu Hanxi
fc7b962e54 bugfix: fix http_server example sdkconfig file name 2021-02-22 15:50:52 +08:00
Michael (XIAO Xufeng)
f5f6c59e63 Merge branch 'feature/apply_gdma_new_channel_api_to_adc' into 'master'
adc: apply gdma new channel api to adc

Closes IDF-2500

See merge request espressif/esp-idf!12008
2021-02-19 13:07:32 +00:00
David Cermak
41146d674f ci: Update pppos client test regex with esp-tls transport layer 2021-02-16 09:01:35 +01:00
David Cermak
b4d792446c examples/mqtt: Use common transport for setting log severity 2021-02-16 09:00:43 +01:00
Angus Gratton
5b5431a5f0 Merge branch 'feature/new_blink_example' into 'master'
new blink example

See merge request espressif/esp-idf!12238
2021-02-15 22:47:47 +00: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
yuanjm
850053caad provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash
Closes https://github.com/espressif/esp-idf/issues/6240
2021-02-15 05:08:22 +00:00
Euripedes Rocha Filho
b5682610b6 examples/mqtt: Cleanup on examples
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
  and add documentation on usage of handler_args.
2021-02-11 07:29:29 +01:00
Liu Han
94512a76b7 example/http_server: add basic authenticated example to HTTP server
Closes https://github.com/espressif/esp-idf/issues/5646
2021-02-10 05:23:01 +00: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
Armando
5427c18781 adc: apply gdma api to adc on esp32c3 2021-02-08 11:41:21 +08:00
wangmengyang
2dd730d35c component/bt: [esp32c3] modify Bluetooth coexistence options 2021-02-05 09:16:29 +00:00
David Čermák
a2005adf32 Merge branch 'bugfix/disable_software_flow_control_with_small_buffers' into 'master'
esp_eth: added option to disable soft flow control when rx buffer is few

Closes WIFI-3362

See merge request espressif/esp-idf!12186
2021-02-04 20:36:04 +08:00
Island
aaa032b532 Merge branch 'bugfix/ble_mesh_example_c3_sdkconfig' into 'master'
ble_mesh: example: Add sdkconfig.defaults for esp32c3

See merge request espressif/esp-idf!12222
2021-02-04 20:13:37 +08:00
Jiang Jiang Jian
c172438e42 Merge branch 'bugfix/fix_iperf_example_exception_handling_for_no_ap_found' into 'master'
add exception handling for iperf example's scan when no ap was found

Closes WIFI-3229

See merge request espressif/esp-idf!11750
2021-02-04 19:36:41 +08:00
Jiang Jiang Jian
c1aacb2efc Merge branch 'bugfix/btdm_add_ble_connection_params_check' into 'master'
Bugfix/btdm add ble connection params check

See merge request espressif/esp-idf!12193
2021-02-04 17:32:42 +08:00
lly
3f8a7cc125 ble_mesh: example: Add sdkconfig.defaults for esp32c3 2021-02-04 09:20:18 +00:00
dongyou
543664f247 add exception handling for iperf example's scan when no ap was found 2021-02-04 08:40:10 +00:00
Jiang Jiang Jian
46b3cde07b Merge branch 'bugfix/fix_espnow_example_issue' into 'master'
espnow example: Fix the issue of restart in espnow blocking system

See merge request espressif/esp-idf!12084
2021-02-04 16:22:02 +08:00
Ivan Grokhotkov
1678f142fa Merge branch 'bugfix/fix_partition_find_example_on_find_null_partition' into 'master'
example/storage: fix find_partition function when no partition is found

See merge request espressif/esp-idf!12144
2021-02-03 23:00:16 +08:00
David Cermak
c6339d0b4c ci: Make the mqtt example test to send only portion of the partition
This makes the test faster and more robust in very a busy WiFi environment
(our CI) and still exercises the scenario of fragmenting the message on
both mqtt and ssl levels (binary size to send > mqtt buffer size)
2021-02-02 14:25:57 +01:00
Pedro Minatel
42b85a82ae Apply 1 suggestion(s) to 1 file(s) 2021-02-01 08:35:25 +00:00
pedro.minatel
5c1d19ad02 example/storage: fix find_partition function when no partition is found 2021-02-01 08:35:25 +00:00
morris
932c509280 ethernet: not using test MAC address for EMAC example 2021-02-01 14:14:54 +08:00
Mahavir Jain
d34acd0d82
examples/protocols: update www.howsmyssl.com certificate to fix test failures 2021-01-29 19:06:24 +05:30
zwj
ee53342786 fix throughput example build error 2021-01-29 15:29:18 +08:00
ChenJianxing
243417c48c temporarily disable hardware encryption for esp32s3 2021-01-28 21:05:51 +08:00
Jiang Jiang Jian
9eae54f3be Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
fix a2dp sink crash due to ble 5.0 code

Closes BT-1358, BT-1354, and BT-1356

See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
zwj
83f8272645 enable coex config in C3 and S3 default sdkconfig 2021-01-28 17:59:59 +08:00
Alex Lisitsyn
96b77a28b1 freemodbus: add support for list of area descriptors for each register area
add multi register area descriptors into concrete port (initial)
add create/destroy of area descriptors into concrete port
add  the list of descriptors in common slave interface structure and init/destroy in concrete slave port
move r/w callback functions into common slave
final update of common slave interface wrappers add override API option in concrete port
update slave examples to check new  feature
2021-01-28 12:29:32 +08:00
Michael (XIAO Xufeng)
9ff04b2e79 Merge branch 'feature/musical_buzzer' into 'master'
RMT example: musical buzzer

See merge request espressif/esp-idf!10346
2021-01-28 01:04:24 +08:00
Jiang Jiang Jian
20b20eef72 Merge branch 'feature/ftm_support' into 'master'
Add FTM support for ESP32-S2 & ESP32-C3

Closes IDFGH-3034 and WIFI-3293

See merge request espressif/esp-idf!10441
2021-01-28 00:28:10 +08:00
Nachiket Kukade
8de3b31d2d FTM support for ESP32-C3 and connectionless mode
1. Support for FTM to work without any connection
1. Support for ESP32-C3 chip
3. Fix error case handling if FTM fails
4. Fix asynchronization, re-transmission related issues
2021-01-27 20:49:07 +05:30
Jiang Jiang Jian
67f78569a2 Merge branch 'component_bt/update_bt_demo_and_api_comment' into 'master'
component_bt/doc&demo: update bt demo and api comment

See merge request espressif/esp-idf!10461
2021-01-27 21:25:11 +08:00
zwj
b937485ad1 add ble examples default sdkconfig for esp32s3 2021-01-27 15:57:20 +08:00
Angus Gratton
526f9507de Merge branch 'bugfix/linux_host_build_clang' into 'master'
build system: don't add GCC-specific options when building with clang

See merge request espressif/esp-idf!12066
2021-01-27 15:17:19 +08:00
weitianhua
c347b0a937 Update bt_discovery demo and README
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README

Update SPP demo

1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.

Format comment in esp_a2dp_api.h

Format comment in esp_avrc_api.h

Format comment in esp_spp_api.h

Fix bt_discovery build err

Update HFP API guide error

Remove BTA_AV_DEBUG

Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
Nachiket Kukade
a71976ab54 wifi/ftm: Stability fixes, raw FTM data in event
Update wifi lib with below additions -
1. Add FTM frame formation, IEEE definitions, event and IOCTL.
2. Implementation of FTM bursts, Measurements and RTT calculations
3. Fix Watchdog timeout, crashes with better cleanup of timers
4. Included FTM Report raw data in FTM event

Closes https://github.com/espressif/esp-idf/issues/5059
2021-01-27 11:16:35 +05:30
Nachiket Kukade
acb1143409 Add support for FTM operation
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
Angus Gratton
f7a8593a3b Merge branch 'style/python_isort_double_quote_fixer' into 'master'
style: format python files with isort and double-quote-string-fixer

See merge request espressif/esp-idf!12149
2021-01-27 12:25:39 +08:00
Fu Hanxi
0146f258d7 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
Angus Gratton
241af87c58 examples console: Fix parts of the code related to deep sleep on ESP32-C3
Example not yet working on ESP32-C3, crashes in _findenv_r
2021-01-25 17:20:04 +00:00
Angus Gratton
1cfd65f8c4 examples: Update deep sleep example for ESP32-C3 2021-01-25 17:20:04 +00:00
Jiang Jiang Jian
dc8402ea61 Merge branch 'feature/add_init_and_deinit_evt_for_a2dp' into 'master'
feature/ Add A2DP Init and Deinit Complete Evt

See merge request espressif/esp-idf!11458
2021-01-25 23:23:12 +08:00
weitianhua
bfad85a372 Add init & deinit event for a2dp 2021-01-25 16:30:09 +08: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
Armando
f9ec7ddda3 adc: add comment for ADC sampling frequency 2021-01-25 04:51:40 +00:00
Armando
d8a4b247b9 adc_digi: update_adc_api_for_5M_freq_limit
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 04:51:40 +00:00
Armando
02600309c8 adc: fix some regression issues 2021-01-25 04:51:40 +00:00
Armando
2b737c1927 adc: fix adc invalid data issue by update adc_reset 2021-01-25 04:51:40 +00:00
Armando
4793bb3267 adc: update adc_dma example README.md 2021-01-25 04:51:40 +00:00
Marius Vikhammer
3fd37d0b59 adc: change the way data is formattted in adc_dma_demo
The way the adc_dma_demo data was formatted caused it go get parsed as markdown syntax.

Changed it be more "human" readable as well as put all ADC examples in a common folder
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
d7d1dee208 system: reset dma when soft reset 2021-01-25 04:51:40 +00:00
Armando
b38f4646de adc_digi: add dma drivers 2021-01-25 04:51:40 +00:00
Jiang Jiang Jian
76bb9565af Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA

See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
Ivan Grokhotkov
ed7fbfefac build system: don't add GCC-specific options when building with clang 2021-01-24 12:48:29 +01:00
Ivan Grokhotkov
cd427c1712 Merge branch 'bugfix/blink_tabs' into 'master'
examples/blink: convert tabs to spaces

See merge request espressif/esp-idf!12065
2021-01-22 19:53:50 +08:00
David Čermák
a461f8f115 Merge branch 'bugfix/ws_transport_ping' into 'master'
ws_transport: Add option to propagate control packets to the app

Closes IDFGH-4478

See merge request espressif/esp-idf!11957
2021-01-22 19:21:43 +08:00
Mahavir Jain
f5e51e7c1b Merge branch 'feature/esp32c3_ds_mbedtls_integration' into 'master'
esp32c3/Digital Signature: mbedtls integration through ESP-TLS

Closes IDF-2267

See merge request espressif/esp-idf!12033
2021-01-22 17:06:46 +08:00
David Cermak
acc7bd2ca4 ws_transport: Add option to propagate control packets to the app
Client could choose if they want to receive control packets and handle
them.
* If disabled (default) the transport itself tries to handle PING
and CLOSE frames automatically during read operation. If handled
correctly, read outputs 0 indicating no (actual app) data received.
* if enabled, all control frames are passed to the application to be
  processed there.

Closes https://github.com/espressif/esp-idf/issues/6307
2021-01-22 07:22:41 +00:00
yuanjm
7e17f64a2d Make OTA example support keepalive 2021-01-22 06:56:28 +00:00
Aditya Patwardhan
7c11988d19 configure_ds.py: Fix double quoted strings ( pre_hook check ) 2021-01-22 12:11:04 +05:30
Aditya Patwardhan
79c23a1886 esp32c3/Digital Signature: mbedtls integration through ESP-TLS 2021-01-22 11:54:16 +05:30
Jiang Jiang Jian
9c5a9ae8fd Merge branch 'bugfix/support_esp32c3_lightsleep_master_cpu_pd_issue' into 'master'
fix cpu pd bug of normal light sleep

See merge request espressif/esp-idf!12083
2021-01-22 14:03:10 +08:00
Angus Gratton
a7da0c894b Merge branch 'feature/c3_master_flash_enc_support' into 'master'
flash encryption: merge C3 flash encryption changes to master

See merge request espressif/esp-idf!12040
2021-01-22 12:58:38 +08:00
Mahavir Jain
67c7b6f130 Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
Feature/nvs encryption usability improvements

See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
xiehang
d331d7f2a6 example: Fix espnow stuck issue 2021-01-21 11:37:10 +08:00
Aditya Patwardhan
b06fa1d7c2 https_request_example: Updated the example to showcase cacert_buf and global_ca store
* Made required changes in the example_test
2021-01-21 01:17:23 +00:00
Jiang Jiang Jian
f7c9f1afd7 Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd

Closes BT-711

See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098 Merge branch 'feature/hfp_console' into 'master'
Feature/modify hfp console style by using esp console

Closes BT-1052

See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
Li Shuai
eaa6ab4dab light sleep: add system light sleep example support 2021-01-20 22:17:24 +08:00
Aditya Patwardhan
a02be97fda nvs_flash: Modify the default NVS initialization API with internal nvs encryption
handling (only when nvs encryption is enabled)
    * NVS Encryption will now be turned on by default with flash encryption
    * Updated the flash encryption example to shocase NVS encryption
    along with information on how to configure and use NVS encryption
    * Updated respective test case
    * Added two partition tables for NVS encryption
     i) Table 1- Single factory app, no OTA, encrypted NVS
     ii) Table 2- Factory app, Two OTA, encrypted NVS
2021-01-20 11:12:14 +00:00
Jiang Jiang Jian
d017c21131 Merge branch 'nimble/support_wl_DLE_esp32c3' into 'master'
NimBLE: Support whtelist remove, packet length set APIs

Closes BT-1271 and BT-1242

See merge request espressif/esp-idf!12069
2021-01-20 17:17:34 +08:00
Jiang Jiang Jian
26ae354dc5 Merge branch 'feature/support_esp32c3_lightsleep_master' into 'master'
support esp32c3 lightsleep for master

Closes IDF-2106

See merge request espressif/esp-idf!11975
2021-01-20 16:00:06 +08:00
Prasad Alatkar
3a184b18f2 wifi_prov_mgr: Make BLE transport option visible in example config except for S2 2021-01-20 12:24:17 +05:30
Jiang Jiang Jian
53e1a7f661 Merge branch 'nimble_esp32c3_support' into 'master'
ESP32C3 NimBLE support

See merge request espressif/esp-idf!12046
2021-01-20 13:57:38 +08:00
Ivan Grokhotkov
d8a3f59d29 examples/blink: convert tabs to spaces 2021-01-20 01:15:51 +01:00
Prasad Alatkar
f959028486 NimBLE: Fix host flow control in NimBLE porting layer.
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
Li Shuai
355dd10257 light sleep: dfs support for esp32c3 2021-01-19 14:50:58 +08:00
xiehang
dffbce9813 esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP 2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54 esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA 2021-01-19 11:55:44 +08:00
lly
bcd9710b86 ble_mesh: ci: Add disable log sdkconfig test files 2021-01-19 02:09:58 +00:00
Mahavir Jain
4ebd258dde Merge branch 'fix/http2_request_example_enable_insecure_tls_by_default' into 'master'
http2_request: Enable insecure TLS by default

See merge request espressif/esp-idf!12042
2021-01-18 21:36:49 +08:00
Jiang Jiang Jian
3748fdbbb3 Merge branch 'feature/wifi_lightsleep_optimization' into 'master'
esp_wifi: Wi-Fi lightsleep optimization

See merge request espressif/esp-idf!11811
2021-01-18 20:43:52 +08:00
Jiang Jiang Jian
f5e7504000 Merge branch 'nimble/update_nimble-1.3.0-idf' into 'master'
NimBLE: Update NimBLE to latest 1.3.0 release

See merge request espressif/esp-idf!9917
2021-01-18 20:29:10 +08:00
Aditya Patwardhan
64e543ed0a http2_request: Enable insecure TLS by default 2021-01-18 16:05:46 +05:30
ninh
659d805411 esp_wifi: light sleep optimization 2021-01-18 15:31:03 +08:00
Marius Vikhammer
03fa63b0c9 bootloader: add flash encryption support for C3
Adds flash encryption support for C3 and updates docs for S2 & C3
2021-01-18 14:10:54 +08:00
Island
f01264f9d5 Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master' into 'master'
Bugfix/ble mesh build error c3 merge master

See merge request espressif/esp-idf!11844
2021-01-18 13:20:48 +08:00
Jiang Jiang Jian
9e059689f2 Merge branch 'bugfix/fix_iperf_example_crash_issue' into 'master'
example: Scan failure should not cause system crash

Closes WIFI-3306

See merge request espressif/esp-idf!11998
2021-01-18 10:52:58 +08:00
lly
bcdd470618 ble_mesh: example: Add gpio option for ESP32C3-DevKitC 2021-01-18 08:59:23 +08:00
Angus Gratton
e82fe93b3d Merge branch 'feature/update_esptool' into 'master'
tools: Update esptool submodule

Closes IDFGH-4600

See merge request espressif/esp-idf!12011
2021-01-18 07:13:33 +08:00
Jiang Jiang Jian
8b33695495 Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
Feature/support esp32c3 s3 ble 5.0 and bug fix

See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
Roland Dobai
eadb69aa36 tools: Update esptool submodule
Closes https://github.com/espressif/esp-idf/issues/6415
2021-01-16 09:37:04 +01:00
Prasad Alatkar
afcf0e9101 NimBLE: Enable NIMBLE_MESH_FRIEND by default for blemesh example 2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2 NimBLE: Update NimBLE to latest 1.3.0 release 2021-01-15 16:57:29 +00:00
Mahavir Jain
526f682397 Merge branch 'bugfix/httpd_session_close_lru' into 'master'
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru

Closes IDF-2443

See merge request espressif/esp-idf!11543
2021-01-15 20:06:00 +08:00
Mahavir Jain
d43b3b4dd5 Merge branch 'feature/configure_ds_read_and_parse_efuse_summary' into 'master'
esp32s2/configure_ds.py: The script now reads and parses the efuse summary

See merge request espressif/esp-idf!11748
2021-01-15 19:54:13 +08:00
xiehang
d9e1d51ec8 example: Scan failure should not cause system crash 2021-01-15 11:45:23 +00:00
Jiang Jiang Jian
9ff1609a20 Merge branch 'feature/add_esptouch_v2' into 'master'
WiFi: add ESPTouch v2

Closes WIFI-942 and WIFI-2619

See merge request espressif/esp-idf!10093
2021-01-15 19:11:47 +08:00
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
ninh
27aa6c289f components/pm: Add slp gpio configure workaround 2021-01-15 15:34:45 +08:00
zhangyanjiao
1da9d9c356 esp_wifi: add esptouch v2
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
Shubham Kulkarni
59869bf610 http_server example: Add example test which opens multiple connections 2021-01-15 05:53:41 +00:00
Aditya Patwardhan
f97aed80c2 configure_ds.py: Add function documentation for improving redability. 2021-01-14 22:40:40 +05:30
Aditya Patwardhan
5331bc2c71 esp32s2/configure_ds.py: The script now reads and parses the efuse summary of
the esp32-s2 chip.
    * Added option to read and use previously burned efuse keys
    * Added option for the user to save the DS parameters for
    * development purpose.
    * Updated required documentation.
2021-01-14 22:40:40 +05:30
morris
1969313b6f rmt: add musical buzzer example 2021-01-14 21:32:49 +08:00
Marius Vikhammer
0713e93b8f TWAI: bringup for S3 and C3 2021-01-14 20:30:31 +08:00
Mahavir Jain
ccf89cd4bf wifi_provisioning: fix build warnings due to incorrect event handler argument type 2021-01-14 10:47:35 +05:30
Mahavir Jain
1ae280aee2 wifi_prov_mgr: increase firmware partition size
For ESP32-C3, firmware with Bluedroid host stack exceeds by ~20KB over default
allocated partition size.
2021-01-14 10:47:35 +05:30
Mahavir Jain
7d4acd9e17 wifi_prov_mgr: keep SoftAP transport as default only for ESP32S2
This allows to have default transport as BLE for all chips except
ESP32S2.
2021-01-14 10:47:35 +05:30
Mahavir Jain
9ca00064bd Merge branch 'bugfix/send_conn_close_header' into 'master'
file_serving example: Demonstrate use of connection close header from request headers

Closes IDFGH-3874

See merge request espressif/esp-idf!11922
2021-01-13 22:59:26 +08:00
Jiang Jiang Jian
755b5d617c Merge branch 'bugfix/fix_wps_example_issue' into 'master'
example: We should not check the return value of esp_wifi_connect() in any case

See merge request espressif/esp-idf!11897
2021-01-13 22:23:27 +08:00
Shubham Kulkarni
6f91d408ab file_serving example: Demonstrate use of connection close header from request headers
Closes: https://github.com/espressif/esp-idf/issues/5775
2021-01-13 13:01:15 +00:00
Liu Han
7f3bcc13d7 esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode 2021-01-11 13:47:33 +00:00
Ash
935edc9e09 rename dce parameter
Merges https://github.com/espressif/esp-idf/pull/5750
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
Robert Nuttall
d59ffd9128 Expose get operator name command. Add get access tech
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00: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
Marius Vikhammer
9c8e4fd4c5 C3: build and run unit tests
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors

Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Ivan Grokhotkov
66ac736a8c Merge branch 'bugfix/tusb_partial_read' into 'master'
usb: Add fix for tinyusb reading

Closes IDF-2029 and IDFGH-4465

See merge request espressif/esp-idf!10069
2021-01-11 00:07:29 +08:00
Andrei Gramakov
1d1896d409 tinyusb: Add fix for tinyusb reading
Closes IDF-2029
2021-01-08 14:21:26 +00:00
liaowenhao
6c0e3fe23c bugfix:unhandle event when tg receive set_player_app_value cmd 2021-01-08 20:58:35 +08:00
Euripedes Rocha Filho
61f8dc4365 examples/mqtt : Fix ssl mutual auth to use event loop
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2021-01-08 07:38:14 +00:00
liaowenhao
60e2eb8dfc bugfix/fixed the warning info always being printed when entering the cona command in msbc mode 2021-01-07 11:37:24 +00:00
liaowenhao
06344bd531 add gap module in hfp_hf for fisrt connecting 2021-01-07 11:37:24 +00:00
liaowenhao
7e10572e8b modify console by using console REPL environment 2021-01-07 11:37:24 +00:00
Yinling He
d74eaadd56 test: add softap iperf test 2021-01-07 17:10:41 +08:00
He Yin Ling
97220af848 test: use pyecharts to replace matplotlib in iperf test 2021-01-07 17:10:41 +08:00
He Yin Ling
5197716d5d test: modify bad point check logic of Wi-Fi iperf test 2021-01-07 17:10:41 +08:00
He Yin Ling
16a488c405 test: fix iperf example errors:
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
ninh
e908a32381 put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf 2021-01-06 03:40:28 +00:00
David Cermak
1c093c48ed Examples: MQTT DS example to use ds_peripheral API 2021-01-05 12:04:36 +00:00
Shubham Kulkarni
3452e06e7e https_request example: Perform request over HTTP/1.1 to enable keepalive timeout
Closes: https://github.com/espressif/esp-idf/issues/6133
2021-01-04 15:39:39 +05:30
He Yin Ling
faeaddbd22 Merge branch 'bugfix/ci_socket_tests' into 'master'
ci: Made socket example tests more robust

Closes IDFCI-325

See merge request espressif/esp-idf!11733
2020-12-30 09:52:25 +08:00
Ivan Grokhotkov
7f3b16a99d freertos: always enable static allocation
to use it for newlib locks
2020-12-29 16:18:04 +01:00
David Cermak
25499115eb ci: Made socket tests more robust
Added common timeout
Added debug logs for both addr families
Renamed example tests to have different names
2020-12-29 13:22:54 +00:00
Marius Vikhammer
9fc771ad1b CI: change icmp example test address
Use a server that is inside the great firewall of china for CI test.
This avoid issues due to proxies, network configs etc.
2020-12-28 10:07:00 +08:00
Michael (XIAO Xufeng)
0cee6a9e17 Merge branch 'bugfix/ir_protocol_example_timeout_issue' into 'master'
ir_protocol: fix ir example timeout issue

See merge request espressif/esp-idf!11348
2020-12-24 22:42:13 +08:00
Angus Gratton
66d2c9196f example ulp_riscv: Set IDF_TARGET to esp32s2 2020-12-24 14:18:02 +11:00
Angus Gratton
01696afc34 esp32c3: Add new esp_sleep_is_valid_wakeup_gpio() function 2020-12-24 13:40:01 +11:00
Jiang Jiang Jian
1fdd83b1da Merge branch 'docs/wifi_wpa2-enterprise' into 'master'
docs:wifi: Add wifi_guide for wpa2_enterprise.

Closes WIFI-987

See merge request espressif/esp-idf!10402
2020-12-23 12:50:46 +08:00
Jiang Jiang Jian
52e66cb143 Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
component_bt/fix spp vfs demo crash when use dynamic memory

See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
David Čermák
8b82c31f59 Merge branch 'bugfix/ppp_deinit_failure' into 'master'
esp_modem: Fixed race condition on exiting PPP mode

Closes IDFGH-4151, IDF-2269, IDFGH-3828, IDFGH-4199, IDFGH-4162, IDFGH-2786, IDFGH-2568, IDFGH-3627, IDFGH-3776, IDFGH-2354, and IDFGH-3705

See merge request espressif/esp-idf!11006
2020-12-22 16:36:23 +08:00
Jiang Jiang Jian
05d48c1ea1 Merge branch 'ajust_espnow_channel_config_range' into 'master'
components/wifi: ajust espnow channel range

Closes IDFGH-4445

See merge request espressif/esp-idf!11656
2020-12-22 15:42:18 +08:00
David Cermak
55d41c3377 esp_modem: Fixed race condition on exiting PPP mode
esp_modem_stop_ppp() stops both ppp netif and switches the modem back to
command mode. IF these two actions are not synchronised, we might
experience issues of
* active PPP session trying to send/receive uart-data
* command mode already active before modem switched to it
both resulting in crashes.
Fixed by introducing the transition mode and running these actions in sequence
* set esp-modem to transition mode
* enter command mode, wait for the reply or re-sync
* close the PPP netif
* wait until the netif closes
Other fixes include ignoring certain events if modem component not ready
or not in appropriate mode:
* ignoring all UART events comming from DTE with no DCE attached
* ignore pattern detection in PPP mode

Closes https://github.com/espressif/esp-idf/issues/6013
Closes https://github.com/espressif/esp-idf/issues/5737
Closes https://github.com/espressif/esp-idf/issues/6024
Closes https://github.com/espressif/esp-idf/issues/6058
Closes https://github.com/espressif/esp-idf/issues/5563
Closes https://github.com/espressif/esp-idf/issues/5695
Closes https://github.com/espressif/esp-idf/issues/5633
Closes https://github.com/espressif/esp-idf/issues/4482
Related https://github.com/espressif/esp-idf/pull/4849
Related https://github.com/espressif/esp-idf/pull/4653
2020-12-21 16:38:20 +01:00
lly
a18304224d ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files 2020-12-21 09:08:25 +00:00
Jiang Jiang Jian
0c853a547e Merge branch 'feature/nimble_bt_wifi_coex_example' into 'master'
NimBLE: example running BLE prph & ICMP echo reply simultaneously.

Closes BT-1125

See merge request espressif/esp-idf!11094
2020-12-20 22:43:06 +08:00
Ivan Grokhotkov
41cd344c6b Merge branch 'feature/example_use_cpp_thread' into 'master'
cxx: improve experimental cxx examples

See merge request espressif/esp-idf!11638
2020-12-17 22:02:00 +08:00
aditi_lonkar
cd85c79d30 docs:wifi: Add wifi_guide for wpa2_enterprise.
Closes https://github.com/espressif/esp-idf/issues/2698
2020-12-17 10:41:41 +05:30
dongyou
65513824a7 ajust espnow channel range
Close https://github.com/espressif/esp-idf/issues/6276
2020-12-17 10:58:49 +08:00
Ivan Grokhotkov
792dc6ebb8 Merge branch 'feature/linux_target' into 'master'
build system: Add Linux target

Closes IDF-2145

See merge request espressif/esp-idf!10076
2020-12-16 16:25:38 +08:00
Jakob Hasse
5b15f37458 fix[cxx]: improve experimental cxx examples
* use std::this_thread::sleep_for instead of
  FreeRTOS sleep functions
* adjusted/added lincense headers in examples
2020-12-16 10:10:20 +08:00
Jakob Hasse
52093fa4ef linux: added linux target
* add toolchain file
* add linux to preview targets
* add stub for dfu number in cmake
* excluded unity runner per default
* Added esp_attr.h and esp_partition.h linux stubs
* component.cmake check list for emptyness
* added switch for linux in unity cmake file
* Added Linux host example app
2020-12-14 18:53:14 +08:00
morris
138c1e278f ir_protocol: fix ir example timeout issue
More detail see https://esp32.com/viewtopic.php?f=25&t=18204
2020-12-14 12:03:53 +08:00
Jakob Hasse
8282b0f9ea esp_timer: added C++ wrapper for esp_timer
Closes IDF-1074
2020-12-14 11:17:56 +08:00
Ivan Grokhotkov
b0150615df Merge branch 'test/disable_twai_example_ci' into 'master'
Temporarily disable TWAI network example test

See merge request espressif/esp-idf!11560
2020-12-13 04:15:21 +08:00
Angus Gratton
7472d76db0 Merge branch 'bugfix/after_ligth_sleep_esp_timer_forms_one_event' into 'master'
esp_timer: Add an option skip_unhandled_events

See merge request espressif/esp-idf!10969
2020-12-11 06:04:58 +08:00
Darian Leung
9b34f1c49c twai: Temporarily disable network example test
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:17:44 +08:00
liqigan
478cef9b75 fix spp vfs demo crash when use dynamic memory 2020-12-09 19:46:43 +08:00
KonstantinKondrashov
aa96c9a4d8 esp_timer: Add an option to skip unhandled events for periodic timers
- Added an option to skip unhandled events for periodic timers. Useful for light sleep.
- Added doc about this case
- Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events.
- Fixed for esp_timer_dump() if name of timer is NULL
- Refactored timer_process_alarm()
- Added the delete function after using in UTs
2020-12-09 17:19:19 +08:00
lly
b77563abb0 ble_mesh: Replace zephyr integer types with C99 types [Zephyr] 2020-12-08 15:13:04 +08:00
Chinmay Chhajed
ecfceaf7b9 NimBLE: example running BLE prph & ICMP echo reply simultaneously.
This commit adds an example in NimBLE where esp32 runs a peripheral as
well as a ping request to configured IP address. This example uses
nimble host stack.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-12-07 11:29:49 +05:30
lly
2803c81f83 ble_mesh: ci: Add settings sdkconfig test files 2020-12-04 20:31:25 +08:00
Mahavir Jain
1d4380853c Merge branch 'feature/demonstrate_http_partial_download' into 'master'
Update esp_http_client example to demonstrate partial HTTP downloads

See merge request espressif/esp-idf!11442
2020-12-03 19:54:41 +08:00
Shubham Kulkarni
60749b5483 esp_http_client example: Update example to demonstrate partial HTTP downloads 2020-12-03 09:39:16 +00:00
Shubham Kulkarni
4874f52d96 Update advanced_https_ota_example and native_ota_example to use esp_ota_abort in case of error 2020-12-03 14:49:55 +05:30
Island
66416d1a8b Merge branch 'bugfix/aligenie_demo_timer' into 'master'
bugfix: update genie timer in aligenie example

See merge request espressif/esp-idf!11411
2020-12-02 12:04:32 +08:00
Yuan Ming Fu
76c279bee1 bugfix: update genie timer in aligenie example 2020-12-02 12:04:27 +08:00
Angus Gratton
38116853f4 Merge branch 'feature/esp32c3_small_changes' into 'master'
esp32c3: Merge small target support changes

Closes IDF-2361

See merge request espressif/esp-idf!11381
2020-12-01 13:46:57 +08:00
Angus Gratton
5228d9f9ce esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
Island
6c58c1f73d Merge branch 'bugfix/aligenie_demo' into 'master'
bugfix: update function parameter in aligenie example

See merge request espressif/esp-idf!11397
2020-11-30 13:49:39 +08:00
Angus Gratton
b782ccd1fb Merge branch 'bugfix/blecent_example_test' into 'master'
ci: Fix blecent example test

Closes IDFCI-93

See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
InfiniteYuan
39bddb720f ble_mesh: example: update function parameter 2020-11-30 11:01:41 +08:00
morris
8d0a0537cc eth: hide spi configuration when using internal emac 2020-11-27 21:11:31 +08:00
Jiang Jiang Jian
079247b42a Merge branch 'bugfix/blufi_config_potential_double_free' into 'master'
Bugfix/blufi config potential double free

Closes BCI-249, BCI-241, BCI-244, and BT-1174

See merge request espressif/esp-idf!9980
2020-11-27 13:44:37 +08:00
Michael (XIAO Xufeng)
a3b59aeeb5 Merge branch 'bugfix/clk_allocator' into 'master'
I2C: Fix logic issue on i2c clk allocator

See merge request espressif/esp-idf!11343
2020-11-26 18:18:52 +08:00
Island
bebdd08e08 Merge branch 'optimize/ble_mesh_provision_dev_uuid_check' into 'master'
ble_mesh: stack: Need uuid when adding device for provisioning

See merge request espressif/esp-idf!11299
2020-11-26 10:36:10 +08:00
Shivani Tipnis
fc146a98e4 ci: Fix blecent example test 2020-11-25 22:37:24 +05:30
Mahavir Jain
0a933f66e3 Merge branch 'fix/https_server_mem_leak_for_error_ret' into 'master'
Fix/https server mem leak for error ret

Closes IDFGH-4300

See merge request espressif/esp-idf!11369
2020-11-26 00:11:58 +08:00
lly
382815cad6 ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files 2020-11-25 20:51:23 +08:00
Angus Gratton
893a42e72c Merge branch 'bugfix/ci_example_test_check_performance_exception' into 'master'
CI: remove fake binary size check in example test

Closes IDFCI-255, IDFCI-256, and IDFCI-257

See merge request espressif/esp-idf!11356
2020-11-25 20:36:08 +08:00
Island
af45d6d6ea Merge branch 'bugfix/ble_mesh_wifi_coexit_example' into 'master'
bugfix: Delete local variables to avoid null global variables

See merge request espressif/esp-idf!11367
2020-11-25 20:29:15 +08:00
Aditya Patwardhan
df0b016cfd Fixed typo in configure_ds.py script commmand. 2020-11-25 13:47:48 +05:30
InfiniteYuan
b6c86dfa00 bugfix: Delete local variables to avoid null global variables 2020-11-25 15:41:31 +08:00
InfiniteYuan
7e182bb808 ble mesh: add aligenie ble mesh example 2020-11-25 14:33:33 +08:00
Cao Sen Miao
31afe8109f i2c: Fix bug on i2c clk allocator 2020-11-25 14:26:37 +08:00