Commit Graph

17326 Commits

Author SHA1 Message Date
jiangguangming
7daadc5a92 esp_rom: fix 2nd bootloader custom uart1 baudrate issue 2022-10-18 11:04:01 +08:00
Armando (Dou Yiwen)
542bdea689 Merge branch 'feature/adc_calibration_on_c2' into 'master'
esp_adc: support adc calibration on esp32c2

Closes IDF-5203 and IDF-5899

See merge request espressif/esp-idf!20044
2022-10-18 10:50:59 +08:00
Marius Vikhammer
099b0b6421 Merge branch 'feature/c6_doc_build' into 'master'
docs: add support for building C6 docs

Closes IDF-5829

See merge request espressif/esp-idf!19721
2022-10-18 09:37:30 +08:00
Sudeep Mohanty
70070989f0 freertos: Enable configUSE_PORT_OPTIMISED_TASK_SELECTION for RISC-V targets
This commit enables the config option
configUSE_PORT_OPTIMISED_TASK_SELECTION on RISC-V targets for legacy
FreeRTOS (IDF-FreeRTOS).
2022-10-17 16:47:21 +02:00
Jin Cheng
0459cf3963 optimized a2dp_sink audio datapath
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer

Closes https://github.com/espressif/esp-idf/issues/9622
2022-10-17 20:57:19 +08:00
morris
3b0354acb8 Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue' into 'master'
esp_rom: fix esp32s3 rom ets_printf bug

See merge request espressif/esp-idf!20590
2022-10-17 17:54:02 +08:00
Armando
d592d983ce esp_adc: added esp32c2 adc runners 2022-10-17 16:23:22 +08:00
Wan Lei
f98a37f571 Merge branch 'docs/add_flash_to_psram_feature' into 'master'
docs: add the flash content moved to psram feature

Closes IDF-5885

See merge request espressif/esp-idf!19908
2022-10-17 14:51:15 +08:00
Darian
54d286de67 Merge branch 'bugfix/freertos_fpu_isr_pins_task' into 'master'
FreeRTOS: Fix bug where FPU usage in ISR pins the interrupted task.

Closes IDF-6068

See merge request espressif/esp-idf!20573
2022-10-15 00:40:04 +08:00
morris
316493969a Merge branch 'docs/update_uart_read_bytes_description' into 'master'
docs: update the description of uart_read_bytes

Closes DOC-3798

See merge request espressif/esp-idf!20611
2022-10-14 21:54:44 +08:00
morris
ad1bd82002 Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter' into 'master'
bugfix: esprv_intc_int_set_type() should not use bitmap parameter

See merge request espressif/esp-idf!20599
2022-10-14 21:21:36 +08:00
Jiang Jiang Jian
6e65b61c8a Merge branch 'bugfix/esp32c2_scan_assert' into 'master'
Fixed occasional crash during scanning

Closes BT-2784

See merge request espressif/esp-idf!20578
2022-10-14 18:02:06 +08:00
Island
7ddbaae318 Merge branch 'feature/Add_IVI_recovery_option' into 'master'
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update

See merge request espressif/esp-idf!20500
2022-10-14 17:21:25 +08:00
Island
beb8a7cf34 Merge branch 'bugfix/fix_fast_interval_prov_adv' into 'master'
ble_mesh: stack: Fix send fast interval prov_adv failed

See merge request espressif/esp-idf!20520
2022-10-14 17:20:40 +08:00
Rahul Tank
63e44eef2c Nimble: esprv_intc_int_set_type() will set bit_map in rom, the parameter
intr_num should be the interrupt number directly
2022-10-14 14:06:14 +05:30
Linda
837d29cca0 docs: update the description of uart_read_bytes 2022-10-14 15:55:40 +08:00
Mahavir Jain
10dfabe650 Merge branch 'ecc/improve_mbedtls_ecdsa' into 'master'
mbedtls: Added performance test for ECP and ECDSA operation

See merge request espressif/esp-idf!19337
2022-10-14 15:49:22 +08:00
jiangguangming
8774db59f0 esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART 2022-10-14 14:06:40 +08:00
jiangguangming
4c3ce9f21d esp_rom: fix esp32s3 rom ets_printf bug 2022-10-14 11:43:46 +08:00
wuzhenghui
6b96534c68 bugfix: esprv_intc_int_set_type() should not use bitmap parameter 2022-10-14 11:31:22 +08:00
Marius Vikhammer
d73e1d9754 esp_event: move tests to pytest framework 2022-10-14 11:07:58 +08:00
Mahavir Jain
835bb4acb1 Merge branch 'ci/fix_esp32s2_mbedtls_psram_ta' into 'master'
ci: Fix `esp32s2.psram.test_mbedtls_psram` UT

Closes IDFCI-1487 and IDFCI-1488

See merge request espressif/esp-idf!20577
2022-10-14 10:10:07 +08:00
Aditya Patwardhan
37a69f6880 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!20575
2022-10-14 00:35:47 +08:00
Ivan Grokhotkov
989d9e831f Merge branch 'bugfix/replace_port_get_runtime_counter_usage' into 'master'
freertos, app_trace: use esp_cpu_get_cycle_count to get ccount

Closes IDF-4744

See merge request espressif/esp-idf!20443
2022-10-13 21:40:07 +08:00
Armando
9cb1006b2b esp_adc: make c2 atten0 calibration experimental 2022-10-13 21:03:51 +08:00
Armando
f905f6ab7c esp_adc: add esp32c2 adc high/low test threshold and expected val 2022-10-13 21:03:51 +08:00
Armando
508935c457 esp_adc: refacotr tests for all supported attenuations 2022-10-13 21:03:51 +08:00
Armando
f29eda26e6 esp_adc: replace hardcoded calibration version to a macro
On esp32c3 and esp32s3, we support calibration version 1. This commit
replace it with ESP_EFUSE_ADC_CALIB_VER to avoid hardcode.
2022-10-13 21:03:51 +08:00
Armando
ccfbba5994 esp_adc: support adc calibration on esp32c2 2022-10-13 21:03:51 +08:00
Ivan Grokhotkov
659460525f Merge branch 'test/spiffs_component_test_app' into 'master'
spiffs: move tests from unit-test-app to a component test app

Closes IDF-5602

See merge request espressif/esp-idf!20485
2022-10-13 20:01:39 +08:00
Chen Jian Xing
b813476a51 Merge branch 'bugfix/fix_ignore_rx_sub_ampdu_int_issue' into 'master'
esp_wifi: fix ignore rx sub ampdu interrupt issue

Closes ESPCS-854

See merge request espressif/esp-idf!20564
2022-10-13 19:34:24 +08:00
Mahavir Jain
f4773d64e4 Merge branch 'bugfix/fix_mbedlts_ds_memory_leak' into 'master'
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled

Closes ESPCS-872

See merge request espressif/esp-idf!20563
2022-10-13 19:13:57 +08:00
Mahavir Jain
836dc4ae80 Merge branch 'bugfix/fix_wifi_retry' into 'master'
wifi_provisioning: fix error codes for wifi connect retry

See merge request espressif/esp-idf!20558
2022-10-13 19:02:42 +08:00
Ivan Grokhotkov
c4be293e23 Merge branch 'test/fatfs_test_app_readme' into 'master'
fatfs: add missing readme file for the test apps

See merge request espressif/esp-idf!20522
2022-10-13 17:53:11 +08:00
Jiang Jiang Jian
0ebae990a0 Merge branch 'bugfix/use_nonblocking_coex_callback' into 'master'
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth

See merge request espressif/esp-idf!20413
2022-10-13 14:57:08 +08:00
yuanjianmin
ddbe6aa42a esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled 2022-10-13 14:17:42 +08:00
Laukik Hase
80204ecab2
ci: Fix esp32s2.psram.test_mbedtls_psram UT
- When PSRAM is enabled, the interrupt watchdog timeout value
  needs to be increased to 800 ms from the default 500 ms.
2022-10-13 10:27:05 +05:30
Marius Vikhammer
ca4ad3ce7c docs: add support for building C6 docs 2022-10-13 04:39:16 +00:00
Sachin Parekh
130ada60ec mbedtls: Added performance tests for ECP and ECDSA operations 2022-10-13 10:01:06 +05:30
Jiang Jiang Jian
72a70f08b9 Merge branch 'bugfix/reason_code_pmk_flush' into 'master'
Prevent pmk flush for unspecified reasoncode

Closes WIFI-4796

See merge request espressif/esp-idf!20459
2022-10-13 11:51:48 +08:00
zwl
07d844f565 Fixed occasional crash during scanning 2022-10-13 11:48:50 +08:00
muhaidong
c2fe257ad6 esp_wifi: fix ignore rx sub ampdu interrupt issue 2022-10-13 11:40:13 +08:00
Jiang Jiang Jian
55eaf66a94 Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
fix ble mem leak when sleep is enabled

See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
Espressif BOT
91bd4a1f80 Update esp_crt_bundle certificates 2022-10-13 10:00:11 +08:00
Jiang Guang Ming
6cfa88ed49 Merge branch 'bugfix/update_esp_rom_caps' into 'master'
esp_rom: update esp_rom_caps.h

See merge request espressif/esp-idf!20565
2022-10-13 06:02:37 +08:00
Ivan Grokhotkov
8a45ff0957 Merge branch 'bugfix/reenable_ut_c2_fatfs_vfs_spi_flash' into 'master'
vfs, spi_flash: re-enable unit tests for C2

Closes IDF-5137 and IDF-5139

See merge request espressif/esp-idf!20444
2022-10-13 05:40:12 +08:00
Darian Leung
423fb361e7 freertos: Enable FPU ISR core pinning test for IDF FreeRTOS 2022-10-12 22:45:56 +08:00
Darian Leung
9f7f964363 freertos: Fix FPU ISR core pinning bug
This commit fixes a bug where if an unpinned task is interrupted by a level 1
ISR that users the FPU, the FPU usage will cause the interrupted task to
become pinned to the current core.

Note: This bug was already fixed in SMP FreeRTOS in commit
d69361779e. This commit simply backports the
fix to IDF FreeRTOS.
2022-10-12 22:45:56 +08:00
Darian
96058c25ab Merge branch 'refactor/freertos_fpu_unit_tests' into 'master'
FreeRTOS: Refactor FPU unit tests

See merge request espressif/esp-idf!20526
2022-10-12 22:36:46 +08:00
Rahul Tank
2ec9f47aa0 Merge branch 'bugfix/close_stack_callback_during_ble_stop' into 'master'
Nimble: Added check to deregister stack callback with controller during stack deinit

See merge request espressif/esp-idf!20421
2022-10-12 21:03:26 +08:00
Wang Meng Yang
3965dc23a6 Merge branch 'support/Update_sdkdefaultconfig_BLE_only_flag' into 'master'
BLE: Cleanup Bluedroid example sdkconfig.defaults

Closes BT-1939

See merge request espressif/esp-idf!19226
2022-10-12 20:56:39 +08:00
Mahavir Jain
40368b17c6 Merge branch 'bugfix/http_coverity_warnings' into 'master'
Fix Coverity Reported Warning in HTTP server and client

See merge request espressif/esp-idf!20521
2022-10-12 20:40:10 +08:00
jiangguangming
0ed7927520 esp_rom: update esp_rom_caps.h 2022-10-12 20:12:56 +08:00
David Čermák
950800be9e Merge branch 'update/lwip_sntp_comment_i32_timestamp' into 'master'
lwip: Document 32 bit NTP timestamp converstion to 64b time_t

Closes IDF-5956 and IDF-5592

See merge request espressif/esp-idf!20283
2022-10-12 20:06:42 +08:00
morris
9408e1372b Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf' into 'master'
i2s: fix tx incomplete auto clear

Closes IDFGH-8416

See merge request espressif/esp-idf!20536
2022-10-12 18:15:49 +08:00
Ivan Grokhotkov
7b709aacc9
spiffs: move tests from unit-test-app to a component test app 2022-10-12 12:08:13 +02:00
morris
b8471380b6 Merge branch 'feature/spi_lcd_cs_active_high' into 'master'
spi_lcd: support CS active high

Closes IDFGH-8415

See merge request espressif/esp-idf!20518
2022-10-12 18:04:12 +08:00
Roland Dobai
ac315adc2c Merge branch 'bugfix/remove-fatfsgen-kconfig-option' into 'master'
fatfsgen.py: removed unused options in Kconfig

Closes IDF-6038

See merge request espressif/esp-idf!20418
2022-10-12 17:28:03 +08:00
Ivan Grokhotkov
7e2f261a58
freertos, app_trace, heap: use esp_cpu_get_cycle_count to get ccount
portGET_RUN_TIME_COUNTER_VALUE should only be used in the kernel.
2022-10-12 11:20:55 +02:00
Ivan Grokhotkov
0a352a6ff2
vfs, spi_flash: re-enable unit tests for C2 2022-10-12 11:09:36 +02:00
Darian Leung
d69361779e freertos: Refactor FPU unit tests
This commit refactors the existing FPU unit tests as follows

- Rename them from coproc to FPU
- Reorganize test placement
- Make existing tests work on both IDF and SMP FreeRTOS
- Update test documentation
- Remove old "test_float_in_isr.c"
2022-10-12 16:29:13 +08:00
Jiang Jiang Jian
f03f3b0a6c Merge branch 'bugfix/add_security_patches' into 'master'
esp_wifi:Adding security patch for SAE side channel attacks

Closes WIFI-4890

See merge request espressif/esp-idf!20426
2022-10-12 16:21:33 +08:00
wangjialiang
50790f88d3 ble_mesh: stack: Add IV index recovery option when device missed the whole IV update 2022-10-12 07:53:15 +00:00
wangjialiang
a6bb092450 ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously 2022-10-12 07:38:19 +00:00
Roland Dobai
95c4749a5f Merge branch 'feature/fatfs-support-detection-minimal-partition-size' into 'master'
fatfsgen.py: Support for detection of minimal partition size

Closes IDF-4122

See merge request espressif/esp-idf!20178
2022-10-12 15:21:25 +08:00
Harshit Malpani
9b07007efb
wifi_provisioning: fix error codes for wifi connect retry
Closes: https://github.com/espressif/esp-idf/issues/9399
2022-10-12 12:10:21 +05:30
Guillaume Souchere
1bbd524a7c Merge branch 'fix/add-region-allowed-checks' into 'master'
heap: Fix memory boundary condition checks when adding new region

See merge request espressif/esp-idf!20491
2022-10-12 13:33:24 +08:00
Marius Vikhammer
23b5e54974 CI: add common debug helper sdkconfig that can be used in test apps 2022-10-12 11:47:04 +08:00
cjin
071abb4866 fix ble mem leak when sleep is enabled 2022-10-12 11:23:28 +08:00
Sudeep Mohanty
952ba77edb Merge branch 'tests/migrate_esp_ringbuf_tests_to_pytest' into 'master'
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework

Closes IDF-5582

See merge request espressif/esp-idf!20476
2022-10-11 23:12:03 +08:00
Satish Solanke
34722483b3 Merge branch 'master' into 'support/Update_sdkdefaultconfig_BLE_only_flag'
# Conflicts:
#   examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c2
2022-10-11 10:39:15 +00:00
Darian
0cf1477675 Merge branch 'bugfix/freertos_vTaskSuspendAll_test_flakiness' into 'master'
FreeRTOS: Fix vTaskSuspendAll unit test falkiness

See merge request espressif/esp-idf!20531
2022-10-11 17:43:37 +08:00
Sudeep Mohanty
6feab513e4 esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
This commit migrates the esp_ringbuf tests to the pytest framework.
2022-10-11 11:31:04 +02:00
laokaiyao
be7c656f6e i2s: fix tx incomplete auto clear
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-11 16:57:05 +08:00
morris
a8eacd690c Merge branch 'bugfix/allow_compare_equal_period' into 'master'
mcpwm: allow compare equals to period

See merge request espressif/esp-idf!20514
2022-10-11 16:53:27 +08:00
Jing Li
dd2f861b68 Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep' into 'master'
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep

Closes AUD-4032, IDF-5967, and ESPCS-867

See merge request espressif/esp-idf!20197
2022-10-11 16:46:48 +08:00
wangmengyang
7736cdefd8 bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth 2022-10-11 16:36:37 +08:00
Jiang Jiang Jian
3b7d9faf78 Merge branch 'bugfix/fix_connect_fail_when_enable_SPIRAM' into 'master'
esp_wifi: fix connect fail when enable SPIRAM and ESPNOW send

Closes IDFGH-8189

See merge request espressif/esp-idf!20429
2022-10-11 16:26:54 +08:00
gaoxu
76eef386bb esp_psram: update flash content moved to psram kconfig description 2022-10-11 15:15:04 +08:00
gaoxu
2cb2ff99af docs: add description about flash content moved to psram feature 2022-10-11 15:15:04 +08:00
Wang Meng Yang
e0580d2669 Merge branch 'bugfix/update_ctrl_init_config_macro' into 'master'
Bugfix/update ctrl init config macro

Closes IDFGH-8441

See merge request espressif/esp-idf!20502
2022-10-11 14:25:37 +08:00
Darian Leung
7b1c0ef22c freertos: Fix vTaskSuspendAll unit test falkiness
This commit fixes falkey unit tests (due to memory leaks) by adding a short
delay at the end of the test to allow the idle task to free task memory.
2022-10-11 14:24:39 +08:00
Wang Meng Yang
6c5c595d6f Merge branch 'bugfix/blufi_add_host_deinit_api' into 'master'
Blufi: Added an API to stop Bluetooth / Blufi profile

See merge request espressif/esp-idf!20360
2022-10-11 14:13:41 +08:00
gauri patankar
84252e4eb8 wpa_supplicant: Update security patches from upstream
1. Adding security patch for SAE side channel attacks
2. Adding confirm message validation in error cases
3. Adding y coordinate for PWE in SAE
2022-10-11 11:33:33 +05:30
Darian Leung
2059fb885e freertos: Move FPU unit tests to correct directory
This commit moves the FPU unit tests to the correct directory so that they are
built by the unit tests app.
2022-10-11 14:03:28 +08:00
gauri patankar
c286b0192b wpa_supplicant: Move SAE modules into dragonfly files 2022-10-11 11:26:39 +05:30
jingli
5f60c4345e esp_hw_support/sleep: remove redundant spinlock protection for deep sleep 2022-10-11 12:11:36 +08:00
jingli
2b8c43df69 hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3) 2022-10-11 12:11:36 +08:00
jingli
128d82eaaa hal/gpio_ll: fix digital gpio can not disable hold during deep sleep 2022-10-11 12:11:36 +08:00
jingli
b903a2253b esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep 2022-10-11 12:11:28 +08:00
morris
ad376e2d99 mcpwm: allow compare equals to period 2022-10-11 11:25:33 +08:00
Chen Jian Hua
88b71f6416 Merge branch 'bugfix/fix_esp_hid_auth_fail_crash' into 'master'
Fix esp hid crash when auth failed

Closes IDFGH-7417

See merge request espressif/esp-idf!19454
2022-10-11 10:57:26 +08:00
Darian
41d25b20ec Merge branch 'refactor/freertos_stack_initialization' into 'master'
FreeRTOS: Refactor task stack initialization code

See merge request espressif/esp-idf!20310
2022-10-10 18:31:17 +08:00
Ivan Grokhotkov
6a86614d74
fatfs: add missing readme file for the test apps 2022-10-10 12:15:56 +02:00
Mahavir Jain
fffc72d307
esp_http_server: fix few coverity warnings
- unreachable code
- uninitialized values
- missing return checks
2022-10-10 15:35:43 +05:30
Mahavir Jain
a7b42be1bd
esp_http_client: fix few coverity warnings 2022-10-10 15:22:23 +05:30
morris
d9bd809d61 spi_lcd: panel_io_spi_tx_color without cmd
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
morris
7d3c9e9f3e spi_lcd: allow dc gpio set to -1
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
morris
3a5bc50c2f spi_lcd: support CS active high
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
Laukik Hase
82c5bdcb76
wpa_supplicant: MBEDTLS_PRIVATE & MBEDTLS_ALLOW_PRIVATE_ACCESS-related cleanup 2022-10-10 11:48:16 +05:30