Commit Graph

4000 Commits

Author SHA1 Message Date
Kevin (Lao Kaiyao)
04b4bc6cb5 Merge branch 'feature/support_i2s_on_esp32c6' into 'master'
i2s: support i2s on esp32c6

See merge request espressif/esp-idf!19989
2022-09-16 12:31:24 +08:00
AndriiFilippov
1befb078cd Create TCP Client using TCP TRANSPORT instead of socket
Update error logs with returned values. Add transport_tcp_init() error check.Clean up
2022-09-15 14:26:21 +02:00
laokaiyao
bae4944b90 i2s: bringup i2s on esp32c6 2022-09-15 20:03:39 +08:00
ajit1433
39e0d72c05 Update uart_events_example_main.c
Spelling correction
2022-09-15 07:00:00 +00:00
Isha Pardikar
fed3d613db NimBLE: Added example framework for BLE PHY 2022-09-15 06:39:01 +00:00
Omar Chebib
79598b1db7 Flash: fix flash_suspend example to include worst case
flash_suspend example will now test the worst case in order to be able
to detect real regression:
- shorter response time is acceptable, as the tested function may be in the cache already
- response time longer than 120us will be considered a potential regression
2022-09-15 14:37:59 +08:00
Omar Chebib
6798bfc4b0 TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog 2022-09-15 14:37:59 +08:00
Omar Chebib
53c7dd4efc WDT: implement interrupt wdt and task wdt for ESP32-C2
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
morris
7760053138 gptimer: incerase example test threshold 2022-09-14 14:40:28 +00:00
Jiang Jiang Jian
4d8a026b21 Merge branch 'bugfix/espnow_config_channel' into 'master'
esp_wifi: fix espnow example add peer fail when config channel

Closes IDFGH-8090

See merge request espressif/esp-idf!19770
2022-09-14 18:58:55 +08:00
Jiang Jiang Jian
7232c0e493 Merge branch 'feature/use_nimble_host_by_default_for_esp32c2' into 'master'
fixed default build error in blufi example when use nimble host

See merge request espressif/esp-idf!19992
2022-09-14 14:15:17 +08:00
morris
4c6c170b15 Merge branch 'staging/add_wrap_example' into 'master'
example: add an example to show how to wrap functions in IDF and bootloader

See merge request espressif/esp-idf!20005
2022-09-13 14:33:27 +08:00
Martin Vychodil
56f2001317 sdmmc/sdspi: allow custom setup of SD card frequency
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit

Closes https://github.com/espressif/arduino-esp32/issues/6225
2022-09-12 17:08:36 +02:00
Sudeep Mohanty
e9ef5e9c51 Merge branch 'feature/ulp_fsm_wakeup_in_normal_mode' into 'master'
ulp: Updated ULP docs and ulp_fsm example for wakeup when SoC is not in sleep mode.

Closes IDFGH-6712 and IDFGH-3261

See merge request espressif/esp-idf!19967
2022-09-12 16:26:11 +08:00
Abhik Roy
f3cc6d4b59 network examples: Multiple ethernet interfaces and VLAN support.
Closes https://github.com/espressif/esp-idf/issues/8807
2022-09-10 00:35:15 +05:30
Omar Chebib
6dfac0dd68 example: add an example to show how to wrap functions in IDF and bootloader
A section in the documentation has also been added to talk about the wrap feature of the linker.
2022-09-09 16:47:16 +08:00
Abhik Roy
b3c39d2324 examples/socket: Fix for send() failure handling.
Closes https://github.com/espressif/esp-idf/issues/9475
2022-09-09 13:03:23 +05:30
Tomas Rezucha
cf59a8a2bd Merge branch 'feature/usb_v5_qol' into 'master'
usb: USB IDF v5 update

Closes IDF-4690 and IDF-5767

See merge request espressif/esp-idf!19875
2022-09-08 19:50:22 +08:00
Shen Weilong
50739cd810 use nimble host by default 2022-09-08 14:38:54 +08:00
Marius Vikhammer
77ba84eeb7 ulp-fsm: Update ulp-fsm ADC example with S3 support
Closes https://github.com/espressif/esp-idf/issues/7963
2022-09-07 16:48:06 +08:00
Wang Meng Yang
a026d9816a Merge branch 'feature/sink_support_mono' into 'master'
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data

Closes BT-2698

See merge request espressif/esp-idf!19759
2022-09-07 11:59:57 +08:00
Simon
c6610ec4c2 Merge branch 'bugfix/fix_the_duplicated_type_name_in_i2s' into 'master'
i2s: fix the duplicated type name in i2s

Closes IDF-5891

See merge request espressif/esp-idf!19960
2022-09-07 10:53:28 +08:00
Martin Válik
f1611841a3 Merge branch 'feature/usb_host_uvc_component' into 'master'
USB host UVC example

See merge request espressif/esp-idf!19397
2022-09-06 20:30:11 +08:00
Sudeep Mohanty
867745a05c Merge branch 'feature/ulp-rtc-i2c-driver-support' into 'master'
ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3

Closes IDF-1715 and IDF-5798

See merge request espressif/esp-idf!19549
2022-09-06 16:43:36 +08:00
Sudeep Mohanty
afbea0a04c ulp: Updated ULP docs and ulp_fsm example for wakeup when SoC is not in sleep mode.
This commit updates the ULP documentation and the ulp_fsm example with
the scenario when a wakeup is triggered from the ULP coproc when the
main CPU is not in sleep mode.

Closes https://github.com/espressif/esp-idf/issues/8341
Closes https://github.com/espressif/esp-idf/issues/5254
2022-09-06 10:32:05 +02:00
Marius Vikhammer
572e79530c Merge branch 'bugfix/c2_skip_validate' into 'master'
bootloader: allow skip image validation on C2

Closes IDF-5827

See merge request espressif/esp-idf!19755
2022-09-06 14:21:15 +08:00
Isha Pardikar
c828055218 Merge branch 'feature/nimble_rearrange_common_files' into 'master'
Nimble: Reorganized nimble examples structure

See merge request espressif/esp-idf!19771
2022-09-06 13:42:41 +08:00
laokaiyao
3bdcf2edf5 i2s: add notes for the read task of i2s basic examples 2022-09-06 10:29:30 +08:00
Tomas Rezucha
fac9579d95 usb_host: Use MSC driver from component registry 2022-09-05 20:14:57 +02:00
Tomas Rezucha
d95ba21328 usb_host: Use CDC driver from component registry 2022-09-05 20:14:56 +02:00
Mahavir Jain
04d0838e9a Merge branch 'bugfix/netif_ips_printed_before_got_ipv4' into 'master'
example_common: fix netif ips may be printed before got ipv4

See merge request espressif/esp-idf!19888
2022-09-06 00:01:44 +08:00
Isha Pardikar
fb619d20ee NimBLE: Reorganized nimble examples structure to avoid repetition of files. 2022-09-05 17:35:46 +05:30
Chen Yudong
9c28e3f1cb example_common: fix netif ips may be printed before got ipv4 2022-09-05 16:53:55 +08:00
Sudeep Mohanty
4fde033a5f ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3
This commit adds support for using the RTC I2C peripheral on the ULP
RISC-V core for esp32s2 and esp32s3. It also adds an example to demonstrate the
usage of the RTC I2C peripheral.

This commit also modifies the rtc_i2c register structure files to enable
the use of bitfields in the ULP RISC-V RTC I2C driver.
2022-09-05 10:21:43 +02:00
Mahavir Jain
d35b076a30
docs: nvs: prior flash erase note for device generated nvs_keys partition 2022-09-01 18:41:37 +05:30
Song Ruo Jing
06b517efcb ci: Modify build-test-rules.yml enable' to disable` to exclude preview targets 2022-09-01 12:38:00 +08:00
Shu Chen
91e8312f03 Merge branch 'feature/add_readme_for_ot_br_discovery_delegate' into 'master'
openthread: add README for discovery delegate.

See merge request espressif/esp-idf!19223
2022-08-31 14:31:06 +08:00
Mahavir Jain
a8c8946766 Merge branch 'fix/mqtt_ssl_ds_remove_unwanted_readme_section' into 'master'
mqtt/ssl_ds: Remove unwanted readme section

See merge request espressif/esp-idf!19841
2022-08-30 22:30:22 +08:00
Simon
f923a835d2 Merge branch 'contrib/github_pr_9666' into 'master'
correct spelling of detect (GitHub PR)

Closes IDFGH-8170

See merge request espressif/esp-idf!19857
2022-08-30 18:58:30 +08:00
Aditya Patwardhan
6c7fd1edc0 mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
the DS documentation
2022-08-30 10:54:15 +05:30
Fu Hanxi
4f3610f957 Merge branch 'ci/upload_elf_map_to_minio' into 'master'
ci: upload elf map file to s3 server to reduce artifacts size

Closes IDFCI-1385

See merge request espressif/esp-idf!19756
2022-08-30 01:06:11 +08:00
Fu Hanxi
1ed5bf0bff test: remove elf sha256 check from pytest_blink to qemu test
not upload elf file
2022-08-29 16:57:31 +08:00
Martin Valik
3bcd9ceefe USB: Add usb uvc example
Closes https://github.com/espressif/esp-idf/issues/6493
2022-08-29 10:44:39 +02:00
Aditya Patwardhan
41707d0f17 mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
the example
2022-08-29 13:06:21 +05:30
Aditya Patwardhan
8387725c4f mqtt/ssl_ds example: Update the code to use esp_secure_cert component 2022-08-29 10:53:17 +05:30
Aditya Patwardhan
d64bda5946 mqtt/ssl_ds example: Remove configure_ds.py script, use
esp-secure-cert-tool instread
2022-08-29 10:53:17 +05:30
david zuhn
0c84879b74 correct spelling of detect 2022-08-28 22:06:32 -05:00
Ondrej Kosta
742205a1e7 Merge branch 'feature/examples_eth_init' into 'master'
Ethernet examples: new common init

Closes IDF-5521

See merge request espressif/esp-idf!19210
2022-08-27 22:16:36 +08:00
Ondrej Kosta
20e668259e Ethernet examples: added new common init for Ethernet drivers 2022-08-26 15:43:16 +02:00
Omar Chebib
6f3c6dcd86 Merge branch 'bugfix/i2c_port_unsigned' into 'master'
I2C: i2c_port_t type is now an enumeration

Closes IDFGH-7433

See merge request espressif/esp-idf!18230
2022-08-25 17:25:51 +08:00
Marius Vikhammer
c36cd5238c bootloader: allow skip image validation on C2
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-08-25 16:51:44 +08:00
chenjianxing
ff217b566c esp_wifi: fix espnow example add peer fail when config channel
Closes https://github.com/espressif/esp-idf/issues/9592
2022-08-25 14:32:51 +08:00
xiongweichao
697755dfe5 Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-08-25 11:36:28 +08:00
Wang Zi Yan
409e4241ed Merge branch 'docs/update_wifi_application_examples' into 'master'
docs: update wifi application examples

Closes DOC-3513

See merge request espressif/esp-idf!19673
2022-08-25 11:09:16 +08:00
morris
935a63efca Merge branch 'example/update_format_string_in_touch_related_examples' into 'master'
example: update format string in touch related examples

See merge request espressif/esp-idf!19743
2022-08-25 11:02:54 +08:00
Wang Meng Yang
7fc37a137d Merge branch 'bugfix/bt_spp_init_init_uart_crash' into 'master'
bt:Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash

Closes BT-2693

See merge request espressif/esp-idf!19722
2022-08-25 10:36:07 +08:00
wangziyan
7637d24d50 docs: update wifi application examples 2022-08-24 16:21:56 +08:00
wangyuanze
763b472958 example: update format string in touch related examples 2022-08-24 12:10:59 +08:00
Wang Yuan Ze
dac24d5ea4 Merge branch 'example/i2s_es7210_tdm_record' into 'master'
example: add es7210 4-ch tdm i2s record example

Closes IDF-5774 and IDF-5852

See merge request espressif/esp-idf!19593
2022-08-24 10:56:58 +08:00
Omar Chebib
f6ac350337 I2C: i2c_port_t type is now an enumeration
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-08-24 10:51:09 +08:00
wangyuanze
f48b647ad5 example: add es7210 4-ch tdm i2s record example 2022-08-23 17:53:59 +08:00
wangyuanze
be3792ea45 example: extract wav-format related struct 2022-08-23 16:46:31 +08:00
xiongweichao
a3df364269 Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash 2022-08-23 15:46:07 +08:00
Zhang Wen Xu
dfbebccf91 Merge branch 'feature/modify_ot_rcp_TX_RX_pin' into 'master'
openthread: add a configuration for selecting RCP UART TX_RX

See merge request espressif/esp-idf!19697
2022-08-23 14:46:50 +08:00
Armando (Dou Yiwen)
fec97b6b16 Merge branch 'bugfix/add_adc_oneshot_disable_ulp_enum' into 'master'
esp_adc: add adc ulp mode disable enum, and kconfig to enable dac output

Closes IDF-5843 and IDF-5846

See merge request espressif/esp-idf!19683
2022-08-23 10:46:54 +08:00
zhangwenxu
a1e0273db2 openthread: add README for discovery delegate. 2022-08-22 21:29:10 +08:00
Mahavir Jain
ed6e6ccdaf Merge branch 'fix/wifi_prov_mgr_update_comment_ragading_sec_params_validity' into 'master'
wifi_provisioning: Update API documentation to highlight argument validity...

See merge request espressif/esp-idf!19540
2022-08-22 17:59:48 +08:00
Xu Si Yu
a26455d120 openthread: add a configuration for selecting RCP UART TX_RX 2022-08-22 17:55:47 +08:00
Chen Yu Dong
01ec3382f7 Merge branch 'ci/ota_example_bluedroid_gatts_timeout' into 'master'
CI: modify timeout of advanced_https_ota_example_bluedroid_gatts

Closes IDFCI-1434

See merge request espressif/esp-idf!19636
2022-08-22 12:42:18 +08:00
Island
4b9d55f792 Merge branch 'bugfix/ble_mesh_console_support_nimble_host' into 'master'
ble_mesh:example:ble mesh console support nimble

See merge request espressif/esp-idf!19183
2022-08-22 11:41:48 +08:00
Yuan Hong Hui
2a5931549b ble_mesh:example:ble mesh console support nimble 2022-08-22 11:41:48 +08:00
Armando
5e31d4bb2b esp_adc: add adc ulp mode disable enum
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.

After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-22 11:00:28 +08:00
Chen Yudong
f5894c7562 CI: modify timeout of advanced_https_ota_example_bluedroid_gatts 2022-08-19 16:41:36 +08:00
Aditya Patwardhan
9b05874388 wifi_provisioning: Update API documentation to highlight argument validity while providing sec_params argument. 2022-08-19 14:02:41 +05:30
Ivan Grokhotkov
c6e9a0c350
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux 2022-08-18 18:16:45 +02:00
Mahavir Jain
a2f028abe7 Merge branch 'feature/app_metadata_to_esp_system' into 'master'
app_update: Moved app metadata to new component `esp_app_format`

Closes IDF-4808

See merge request espressif/esp-idf!18862
2022-08-18 21:51:32 +08:00
Jiang Jiang Jian
1c250860b0 Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig' into 'master'
bugfix/set default number of sco connection to 1

Closes IDFGH-8029

See merge request espressif/esp-idf!19586
2022-08-18 21:40:22 +08:00
morris
5b48a33ad5 Merge branch 'feature/use_esp_jpeg_for_example' into 'master'
examples/tjpgd: Use esp_jpeg component in tjpgd and SPI examples

Closes IDF-5652

See merge request espressif/esp-idf!19464
2022-08-18 14:42:20 +08:00
David Čermák
fbc32c0312 Merge branch 'examples/tcp_client_linux_support' into 'master'
tcp_client example: support for Linux target.

Closes IDF-5636

See merge request espressif/esp-idf!19203
2022-08-18 12:40:37 +08:00
morris
31d4ab6e04 Merge branch 'bugfix/mcpwm_operator_naming_issue_with_cxx' into 'master'
mcpwm: don't use keyword operator

Closes IDFGH-8000

See merge request espressif/esp-idf!19581
2022-08-18 10:56:15 +08:00
David Čermák
8033878507 Merge branch 'bugfix/esp_netif_remove_slip' into 'master'
esp_netif: Migrate SLIP interface to user-space

Closes IDF-5678

See merge request espressif/esp-idf!19202
2022-08-18 03:53:30 +08:00
Vilem Zavodny
2153a583ee examples/tjpgd: Use esp_jpeg component in tjpgd example. 2022-08-17 14:42:10 +02:00
Mahavir Jain
4d14c2ef2d Merge branch 'feature/coap_examples_test' into 'master'
example: Add coap_client example_test

See merge request espressif/esp-idf!19470
2022-08-17 15:16:10 +08:00
Mahavir Jain
bc7b6c983c Merge branch 'bugfix/blufi_checksum_failure_err' into 'master'
examples: blufi: fix API usage for generating dhm secret

Closes IDF-5796 and IDFGH-7977

See merge request espressif/esp-idf!19548
2022-08-17 14:41:51 +08:00
morris
2c5a866ea3 mcpwm: don't use keyword operator
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
morris
104b9c3fb1 Merge branch 'feature/introduce_lcd_color_space_enum' into 'master'
lcd: deprecate esp_lcd_color_space_t

See merge request espressif/esp-idf!19576
2022-08-17 14:19:12 +08:00
Laukik Hase
0071ea498f
esp_app_format: Fixed build errors and resolved dependencies 2022-08-17 10:59:31 +05:30
jincheng
b87eb50ada Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.

Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:07:01 +08:00
Abhik Roy
933a2a69fe tcp_client example: support for Linux target. 2022-08-16 23:48:18 +05:30
David Cermak
1f7b2d4860 Examples: Remove SLIP protocol example 2022-08-16 14:08:15 +00:00
David Cermak
83b8556f10 esp_netif: Migrate SLIP interface to user-space 2022-08-16 14:08:15 +00:00
Jiang Jiang Jian
3ff6cf26eb Merge branch 'bugfix/a2dp_sink_reconfig_i2s_clk_fail' into 'master'
bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail

Closes BT-2680

See merge request espressif/esp-idf!19530
2022-08-16 21:18:43 +08:00
Kevin (Lao Kaiyao)
38bb2debea Merge branch 'feature/touch_element_sleep' into 'master'
touch_element: add low-power support and example into touch element

Closes IDF-3027 and IDF-4353

See merge request espressif/esp-idf!13001
2022-08-16 18:57:46 +08:00
Mahavir Jain
6c2c05e8a0 Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
Push out esp-cryptoauthlib to component manager

See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
morris
bc372f8f55 rgb_lcd: deprecate esp_lcd_color_space_t 2022-08-16 14:35:08 +08:00
Mahavir Jain
1e3bbd03de
examples: blufi: fix API usage for generating dhm secret
API usage for `mbedtls_dhm_calc_secret` was incorrect, fixed by
providing correct RNG function pointer. This behavior was changed in
mbedTLS-3.x update.

Tested BluFi provisioning with this fix.

Closes IDF-5796
Closes https://github.com/espressif/esp-idf/issues/9488
2022-08-16 11:36:48 +05:30
Harshit Malpani
f1aa0eb15b example: Add coap_client example_test 2022-08-16 09:52:00 +05:30
laokaiyao
62ab4456a8 touch_sleep: complete the support for touch sleep 2022-08-15 20:04:57 +08:00
Kang Zuoling
0f1eb82acd add touch element deep sleep example and auto sleep example 2022-08-15 20:03:12 +08:00
Kang Zuoling
82bf6c0935 add skip calibration and wakeup channel, fix isr in sleep mode 2022-08-15 20:03:12 +08:00