Commit Graph

5328 Commits

Author SHA1 Message Date
Cao Sen Miao
ef46828683 docs(i2c): Modify some variables in I2C driver for good docs 2023-11-07 18:42:08 +08:00
wanlei
2e115ec98c feat(spi_slave_hd): p4 update examples and document 2023-11-07 16:01:44 +08:00
Armando (Dou Yiwen)
0c81f41e16 Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12

See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
morris
5f9d8a77ed Merge branch 'feature/esp_driver_gptimer' into 'master'
refactor(gptimer): refactor gptimer driver into a component

Closes IDF-8375

See merge request espressif/esp-idf!26716
2023-11-07 01:17:29 +08:00
Martin Vychodil
2beef95ff1 Merge branch 'feature/update_strorage_test_config' into 'master'
feat(storage): update config for app tests

Closes IDF-5552

See merge request espressif/esp-idf!26310
2023-11-06 19:42:04 +08:00
Armando
d3be2541de fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
morris
2ef14fe55e refactor(gptimer): refactor gptimer driver into a component 2023-11-06 17:09:31 +08:00
Darian
455cc345f7 Merge branch 'contrib/github_pr_12523' into 'master'
fix: assert failed in example uart_async_rxtxtasks (GitHub PR)

Closes IDFGH-11380

See merge request espressif/esp-idf!26935
2023-11-06 15:24:17 +08:00
Song Ruo Jing
8029946cba Merge branch 'refactor/esp_driver_gpio' into 'master'
refactor(gpio): make gpio driver as component

See merge request espressif/esp-idf!26509
2023-11-06 15:03:30 +08:00
Tomáš Rohlínek
559fb2d2bf
feat(storage): minimize platforms for tests 2023-11-06 07:41:36 +01:00
Roshan Bangar
aabb595860 feat(nimble): Added example support for Current Time Service 2023-11-04 13:21:59 +05:30
Ngai-Fung Yip
b8a3141ef9 fix: assert failed in example uart_async_rxtxtasks 2023-11-04 08:48:57 +08:00
morris
ed5deb00bb Merge branch 'contrib/github_pr_12514' into 'master'
Update ledc_basic_example_main.c (GitHub PR)

Closes IDFGH-11370

See merge request espressif/esp-idf!26896
2023-11-03 18:40:15 +08:00
Song Ruo Jing
9461993ec5 refactor(gpio): make gpio driver as component, and fix astyle 2023-11-03 15:42:23 +08:00
Marius Vikhammer
d3ca964e5f fix(ci): fixed misnamed kconfig option in https server ci config 2023-11-03 09:13:22 +08:00
diplfranzhoepfinger
007c2b155e
Update ledc_basic_example_main.c
the order of initializers should match the declaration, to be able to also use this code in C++
2023-11-02 11:13:20 +01:00
Marius Vikhammer
95703297a6 Merge branch 'ci/psram_config_fix' into 'master'
ci: fix warnings for invalid kconfig option

See merge request espressif/esp-idf!23250
2023-11-02 13:44:04 +08:00
Mahavir Jain
7441cdb82b Merge branch 'feature/esp_crt_bundle_deprecated_list' into 'master'
esp_crt_bundle: add support for deprecated cert list and relevant config

Closes IDF-8188 and IDFGH-10992

See merge request espressif/esp-idf!26734
2023-11-02 12:07:58 +08:00
Wang Meng Yang
144ee32e58 Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor' into 'master'
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example

Closes BT-3472

See merge request espressif/esp-idf!26844
2023-11-02 11:11:57 +08:00
Jiang Jiang Jian
6e0a8434a7 Merge branch 'bt/add_host_only_mode' into 'master'
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller

See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
Sudeep Mohanty
9e6e0a5677 Merge branch 'task/update_readme_for_ulp_riscv_examples' into 'master'
docs(ulp_riscv): Updated ulp_riscv example README files to update GPIO configuration

See merge request espressif/esp-idf!26782
2023-11-01 20:32:50 +08:00
gongyantao
ab55cd05c2 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-01 20:17:48 +08:00
Shu Chen
a66055ff59 Merge branch 'support/ot_deep_sleep_device' into 'master'
feat(openthread): Add deep sleep support for SED

See merge request espressif/esp-idf!26630
2023-11-01 19:09:45 +08:00
Darian
7baebd4ae3 Merge branch 'feature/add_run_time_counter_type_option' into 'master'
feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option

Closes IDFGH-10757

See merge request espressif/esp-idf!26704
2023-11-01 17:07:11 +08:00
Marius Vikhammer
77bb19c49e ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults 2023-11-01 01:14:00 +00:00
David Čermák
ef8a4dc6ff Merge branch 'fix/netif_sntp_examples' into 'master'
fix(examples): Fix usage of SNTP netif API in examples

See merge request espressif/esp-idf!26717
2023-11-01 02:23:47 +08:00
Wan Lei
10401d95d0 Merge branch 'feature/esp32p4_hp_spi_slave_support' into 'master'
Feature/esp32p4 hp spi slave support

Closes IDF-7503

See merge request espressif/esp-idf!25700
2023-10-31 23:31:24 +08:00
David Čermák
283a3d64b9 Merge branch 'feat/common_connect_ppp' into 'master'
feat(examples): Add PPP to common connection component

See merge request espressif/esp-idf!26315
2023-10-31 18:59:38 +08:00
Peter Marcisovsky
5c89fa3a4c Merge branch 'feature/usb_host_lib_example' into 'master'
feat(usb/host): Modifiy usb_host_lib example

Closes IDF-8411

See merge request espressif/esp-idf!26582
2023-10-31 18:17:32 +08:00
Sudeep Mohanty
c6c03d39f8 docs(ulp_riscv): Updated ulp_riscv example README files to update GPIO configuration
This commit updates the README files for the ULP RISC-V I2C and Touch
sensor examples to mention the GPIO configuration needed to run the
examples.
2023-10-31 10:04:08 +01:00
Chen Jian Xing
c2cf88c783 Merge branch 'bugfix/fix_wifi_enabled_macro' into 'master'
fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro

Closes WIFIBUG-207 and WIFIBUG-123

See merge request espressif/esp-idf!26740
2023-10-31 15:52:29 +08:00
Darian Leung
b878125bae change(freertos): Update real_time_stats example to use configRUN_TIME_COUNTER_TYPE
This commit updates the real_time_stats example to use the configurable
configRUN_TIME_COUNTER_TYPE. The CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 is
enabled by the example by default to demonstrate its usage.

Note: Also cleaned up redundant configs in sdkconfig.ci
2023-10-31 15:44:37 +08:00
Island
a436eaf045 Merge branch 'feat/support_ble_notify_reg_max' into 'master'
feat(bt/bluedroid): Support BLE gattc notify registration number

See merge request espressif/esp-idf!26641
2023-10-31 12:29:33 +08:00
David Cermak
327629c527 feat(example): Use PPP config in one MQTT example
to be build in CI, but only running PPP on UART to avoid adding tinyusb
dependency.
2023-10-30 14:50:03 +01:00
David Cermak
1780bababd feat(examples): Add PPP to common connection component 2023-10-30 14:50:00 +01:00
Peter Marcisovsky
546b76befa feat(usb/host): Modifiy usb_host_lib example
The example keeps handling connections/disconnections indefinitely.
Added kconfig.projbuild for GPIO selection.
GPIO0 press does terdown/uninstall.
2023-10-30 13:40:44 +01:00
zwx
f63c05357b feat(openthread): Add deep sleep support for SED 2023-10-30 17:59:55 +08:00
alanmaxwell
2eb1a7f933 fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro 2023-10-30 14:24:31 +08:00
wanlei
7cd75c1075 feat(spi_slave): add p4 hp spi slave driver support 2023-10-30 12:51:56 +08:00
Wan Lei
7c21207bd3 Merge branch 'feature/esp32p4_twai_support' into 'master'
feat(twai): support legacy twai(can) driver for esp32p4

Closes IDF-7470

See merge request espressif/esp-idf!26073
2023-10-30 10:57:03 +08:00
Jin Cheng
b319143e3b feat(bt/bluedroid): Added bt_discovery based host only example 2023-10-30 00:52:26 +00:00
Jin Cheng
fc174f5811 feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller 2023-10-30 00:52:26 +00:00
Mahavir Jain
5b047057ca
feat(mbedtls): add new deprecated cert list and relevant config
Cert bundle is periodically updated with the upstream Mozilla's NSS
root cert store. Retracted certs are moved to deprecated list now and
an additional config allows to include them in the default bundle. New
config is kept default disabled but can be enabled if one would like
to ensure 100% compatibility w.r.t. cert bundle across IDF minor or
patch releases. In IDF major release the deprecated list shall be reset.
2023-10-29 12:21:22 +05:30
zhanghaipeng
a051438322 fix(bt/bluedroid): Fix max BLE gattc notify number to improve compatibility 2023-10-27 19:31:44 +08:00
Tomáš Rohlínek
8f3abfb60e
feat(storage): add dependencies for tests 2023-10-27 10:07:40 +02:00
Tomáš Rohlínek
53f4f19cc1
feat(storage): update config for app tests 2023-10-27 10:07:31 +02:00
David Cermak
a9846479ff fix(examples): Fix usage of SNTP netif API in examples 2023-10-27 09:28:20 +02:00
Zhang Hai Peng
9327274a7a Merge branch 'bugfix/fix_ble_hid' into 'master'
fix(bt/bluedroid): Fixed BLE hid example bugs

Closes BLERP-190

See merge request espressif/esp-idf!26613
2023-10-27 15:10:33 +08:00
morris
cfbf857924 Merge branch 'refactor/esp_driver_pcnt' into 'master'
refactor(pcnt): make pcnt driver as component

Closes IDF-8380

See merge request espressif/esp-idf!26476
2023-10-27 12:37:36 +08:00
Mahavir Jain
47678fc17b Merge branch 'fix/refactor_esp_tls_server' into 'master'
fix(esp_tls): Refactor esp-tls to remove ESP_TLS_SERVER config option

Closes IDFGH-10812

See merge request espressif/esp-idf!25773
2023-10-27 06:34:44 +08:00
Zim Kalinowski
c5ae121bac Merge branch 'bugfix/fix-clean-up-in-error-condition-in-http-example' into 'master'
fix(example/http): Fixed potential memory leak/crash in when handling error condition

See merge request espressif/esp-idf!26060
2023-10-26 18:11:20 +08:00
Aditya Patwardhan
a0d73b5155 fix(esp_https_server): Convert HTTPD_SSL_CONFIG_DEFAULT MACRO to function
Previously with HTTPD_SSL_CONFIG_DEFAULT being a MACRO, the
    configuration options could not be applied to it. This was casuing
    error in multiple scenarios. For e.g., here user_cert_cb is a part
    of httpd_ssl_config_t which this macro defines. But the type of
    user_cert_cb (esp_tls_server_callback_t) is only available when it is enabled
    in esp-tls. The MACRO however cannot be modified to set the defaults
    based on configuration option. This fix solves the issue without
    breaking the compatibility
2023-10-26 09:30:13 +00:00
Martin Vychodil
1d5dbb8170 Merge branch 'update/sdcard_troubleshooting' into 'master'
fix(sd_card): update sd_card troubleshooting notes in readme.md

See merge request espressif/esp-idf!25879
2023-10-26 16:49:02 +08:00
wanlei
d9d6f5a17a feat(twai): support legacy twai(can) driver for esp32p4 2023-10-26 16:20:45 +08:00
Roman Leonov
2aa59af5f0 Merge branch 'bugfix/usb_host_hid_driver_uninstall' into 'master'
fix(usb/host): added hid_driver_uninstall call during APP_QUIT for HID Host example

Closes IDF-8446

See merge request espressif/esp-idf!26306
2023-10-26 14:56:09 +08:00
zhanghaipeng
f7e174e948 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-26 14:14:15 +08:00
Marius Vikhammer
4ea0538a88 Merge branch 'ci/system_example_test_reduction' into 'master'
ci: reduce the number of system examples built/tested in regular pipelines

See merge request espressif/esp-idf!26519
2023-10-26 10:36:18 +08:00
Zim Kalinowski
d63f83d279 fix(example/http): Fixed potential memory leak/crash in when handling error condition 2023-10-25 14:44:06 +02:00
sonika.rathi
360f7b1e14 fix(sd_card): update sd_card troubleshooting notes in readme.md 2023-10-25 11:19:08 +02:00
Roman Leonov
375907299e fix(usb/host): added hid_driver_uninstall call during APP_QUIT for HID Host example 2023-10-25 09:04:20 +02:00
Mahavir Jain
aaa438a3a2 Merge branch 'feature/tls_v1.2_and_v1.3_simultaneously' into 'master'
fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously

Closes IDF-8189 and IDF-8344

See merge request espressif/esp-idf!26304
2023-10-25 12:26:23 +08:00
Marius Vikhammer
d6a79b5108 Merge branch 'feature/hello_world_linux' into 'master'
feat(linux_target): enable hello world example for linux target

See merge request espressif/esp-idf!26638
2023-10-25 10:22:49 +08:00
Tomas Rezucha
e6fde2e13e refactor(usb/host_msc_example): Increase transfer speeds
- Upgrade to MSC driver 1.1.1 for zero copy transfers
- Use setvbuf() to increase size of VFS file buffer
- Add example test
2023-10-24 15:19:58 +02:00
Tomas Rezucha
6e92fc0416 feature(examples/usb): Define maximum opend files in MSC device example 2023-10-24 15:19:58 +02:00
zhanghaipeng
b90dc6a515 feat(bt/bluedroid): Support hid device control point 2023-10-24 15:17:49 +08:00
zhanghaipeng
5727802497 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-24 14:52:56 +08:00
Marius Vikhammer
8c52b0845d feat(linux_target): enable hello world example for linux target 2023-10-24 10:04:09 +08:00
Harshit Malpani
2da0b61374
fix: Update https_mbedtls example to fix TLS v1.2 connection 2023-10-23 16:23:18 +05:30
morris
d4f7880d68 Merge branch 'doc/fix_datasheet_link_ec11' into 'master'
docs: update EC11 datasheet link

Closes IDFGH-11286

See merge request espressif/esp-idf!26621
2023-10-23 15:26:35 +08:00
Fu Hanxi
eb37150780
ci: add all nightly run env vars while checking 2023-10-23 09:19:31 +02:00
Shu Chen
d7aa99ac2d Merge branch 'bugfix/ot_sleep_idle_time' into 'master'
fix(ci): Add a timer to print ot sleepy device status

See merge request espressif/esp-idf!26352
2023-10-23 14:37:40 +08:00
Jiang Jiang Jian
199ce4c7a9 Merge branch 'bugfix/update_scan_example_for_scan_get_ap_records' into 'master'
fix(wifi): update scan example for scan get ap records

Closes WIFI-6258 and WIFI-6301

See merge request espressif/esp-idf!26524
2023-10-23 13:43:29 +08:00
morris
845e6c3ccb docs: update EC11 datasheet link
Closes https://github.com/espressif/esp-idf/issues/12442
2023-10-23 10:12:23 +08:00
morris
98b5ea7bdf refactor(pcnt): make pcnt driver as component 2023-10-23 01:45:43 +00:00
Darian Leung
13f3a226bb change(examples): Update example configurations for FreeRTOS v10.5.1
This commit updates the sdkconfig for some examples when building with the
v10.5.1 kernel. The updates fixes the following:

Place FreeRTOS functions into flash

- Some examples use nearly 100% of available IRAM, thus any small increase in
IRAM in other components (e.g., FreeRTOS) will lead to a build error. As a
result, 'CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH' has been enabled in those
examples to save some IRAM.
- Some examples consume too much flash memory, leading to the 'factory'
parition overflowing. IN those examples,
'CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE' has been enabled to use a larger
'factory' partition.
2023-10-21 04:39:16 +08:00
Aditya Patwardhan
7b8a2e8119 Merge branch 'fix/https_request_example_build_with_esp_wolfssl' into 'master'
fix(esp-tls): Fix the https_request example build for esp-wolfssl

See merge request espressif/esp-idf!26576
2023-10-20 22:31:14 +08:00
Jiang Jiang Jian
aa22a66c22 Merge branch 'feat/support_esp32c3_eco7_wifi' into 'master'
Feat/support esp32c3(v1.1) wifi

Closes WIFI-6274

See merge request espressif/esp-idf!26132
2023-10-20 19:13:03 +08:00
Aditya Patwardhan
7e6f4d4e87 fix(esp-tls): Fix the https_request example build for esp-wolfssl 2023-10-20 13:43:18 +05:30
Alex Lisitsyn
1c0631ee70 Merge branch 'bugfix/modbus_examples_fix_format_issues' into 'master'
modbus: fix -wno-format issues in the examples

Closes IDF-6437

See merge request espressif/esp-idf!26542
2023-10-20 15:27:33 +08:00
Alex Lisitsyn
c5b2291eea modbus: fix -wno-format issues in the examples 2023-10-20 15:27:33 +08:00
alanmaxwell
cd784eb0f1 fix(ci): disable WiFi IRAM option for bleprph_wifi_coex example 2023-10-20 11:02:05 +08:00
Shen Wei Long
4c9d181076 Merge branch 'ci/update_bt_examples_build_rules' into 'master'
ci: update bluetooth examples build rules

Closes IDFCI-1820 and IDF-8368

See merge request espressif/esp-idf!26271
2023-10-20 10:50:06 +08:00
Armando (Dou Yiwen)
1bce665e73 Merge branch 'feat/sdspi_esp32p4' into 'master'
sdspi: supported sdspi on esp32p4

Closes IDF-7501

See merge request espressif/esp-idf!26458
2023-10-20 10:41:44 +08:00
Wang Meng Yang
5557ef4036 Merge branch 'fix/remove_esp_hf_ag_devices_status_indchage_in_example' into 'master'
fix(bt/bluedroid): Send device status of AG to HF with a different api

Closes BT-3437

See merge request espressif/esp-idf!26350
2023-10-20 09:45:59 +08:00
Armando (Dou Yiwen)
471f1f61ae Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'
sdmmc: esp32p4 support

Closes IDF-6502

See merge request espressif/esp-idf!25405
2023-10-19 22:00:40 +08:00
Jiang Jiang Jian
6db16c6e81 Merge branch 'feature/sta_sae_ext_key' into 'master'
feat(wifi): Add support for sae ext key for station

Closes WIFI-6170

See merge request espressif/esp-idf!24833
2023-10-19 18:49:15 +08:00
Marius Vikhammer
4f4f32ecf2 ci(system): restrict number of system examples built in regular pipelines 2023-10-19 10:10:37 +08:00
Chen Yudong
45bc939462 ci: update bluetooth examples build rules
fix some bluetooth examples supported targets
2023-10-18 21:58:28 +08:00
Guillaume Souchere
63952fe2f6 Merge branch 'feat/make-task-tracking-independant-from-poisoning' into 'master'
feat(heap): Dissociate heap poisoning from task tracking functionalities

Closes IDF-8332

See merge request espressif/esp-idf!26311
2023-10-18 20:18:22 +08:00
Zim Kalinowski
fa1a3ce0b5 Merge branch 'refactor/components_linux_compatible' into 'master'
Exclude all currently incompatible components from Linux build

Closes IDF-8318 and IDF-5996

See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Armando
70314b56d5 feat(sdmmc): supported sd2.0 on esp32p4 2023-10-18 11:57:55 +00:00
Shreyas Sheth
ee9ce51133 feat(wifi): Add SAE EXT key support for esp station 2023-10-18 17:10:31 +05:30
gongyantao
013e609cea fix(bt/bluedroid): Send device status of AG to HF with a different api
1: replace api esp_hf_ag_devices_status_indchange with esp_hf_ag_ciev_report in bluetooth
   hfp_ag example to send device status of AG to HF unit.
2: remove the unused codes
2023-10-18 19:27:06 +08:00
Jiang Jiang Jian
249e45a5d6 Merge branch 'bugfix/coex_cfg_option_invisible' into 'master'
fix(esp_coex): Fix dependency errors in coexist configuration

Closes BT-3435

See merge request espressif/esp-idf!26484
2023-10-18 15:36:22 +08:00
Wan Lei
9f413d5d8d Merge branch 'feature/esp32p4_hp_ledc_support' into 'master'
feat(ledc): support ledc on esp32p4

Closes IDF-6510

See merge request espressif/esp-idf!25356
2023-10-18 15:27:54 +08:00
Guillaume Souchere
7492c862af feat(heap): Dissociate heap poisoning from task tracking
In order to enable CONFIG_HEAP_TASK_TRACKING, some kind
of poisoning had to be enabled (!HEAP_POISONING_DISABLED).
However since those functionalities don't seem to be related
in any way, this commit decouple them by removing
MULTI_HEAP_BLOCK_OWNER from poison_head_t in multi_heap_poisoning.c
and handling the block ownership in heap_caps.c instead.

Note that handling task tracking in multi_heap.c would necessitate
updating the ROM implementation of multi_heap.c as well. For this
reason, the task tracking feature has to be handled in heap_caps.c.
2023-10-18 06:43:22 +02:00
David Čermák
210f757835 Merge branch 'fix/esp_netif_lock' into 'master'
fix(esp_netif): Lock netif list with TCPIP context

Closes IDFGH-11088

See merge request espressif/esp-idf!26164
2023-10-17 21:36:39 +08:00
Fu Hanxi
321d3c9ba6 Merge branch 'ci/remove_ttfw' into 'master'
ci: remove ttfw

See merge request espressif/esp-idf!26313
2023-10-17 20:43:56 +08:00
muhaidong
81dff8ec9f fix(wifi): update scan example for scan get ap records 2023-10-17 17:56:53 +08:00
wanlei
57614bbad2 feat(ledc): support ledc on esp32p4 2023-10-17 16:40:04 +08:00