Commit Graph

22465 Commits

Author SHA1 Message Date
Roshan Bangar
aabb595860 feat(nimble): Added example support for Current Time Service 2023-11-04 13:21:59 +05:30
darshan
10f06abf32 fix(nimble): Fixed incorrect handling of bonded devices 2023-11-04 09:12:17 +05:30
Rahul Tank
32e3ecb788 fix(nimble): Added check to validate allowed random address 2023-11-04 06:34:54 +05:30
KonstantinKondrashov
b366dad79b fix(hal): Fix incorrect behavior of hal_memcpy
Closes https://github.com/espressif/esp-idf/issues/12489
2023-11-03 23:36:37 +08:00
Sudeep Mohanty
ebeea3df60 Merge branch 'revert/freertos_same_priority_preemption_disabled' into 'master'
Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()"

Closes IDF-8428

See merge request espressif/esp-idf!26732
2023-11-03 21:59:17 +08:00
Sudeep Mohanty
d38f100223 change(freertos/idf): Deprecate some FreeRTOS IDF addition functions
This commit deprecates xTaskGetAffinity(), xTaskGetCurrentTaskHandleForCPU()
and xTaskGetIdleTaskHandleForCPU() APIs for IDF-FreeRTOS kernel.
Instead, users are directed to use alternatives. All other
components in IDF using these functions have been updated accordingly.
2023-11-03 14:54:06 +01:00
Rahul Tank
c8cae65f45 Merge branch 'bugfix/ble_gap_connect' into 'master'
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-variable  'reattempt_idx'.

Closes BLEQABR23-698

See merge request espressif/esp-idf!26584
2023-11-03 19:57:03 +08:00
David Čermák
a7cba03a28 Merge branch 'fix/netif_macro_semicolon' into 'master'
esp_netif: Remove semicolons from ESP_IP4ADDR_INIT and ESP_IP6ADDR_INIT macros (GitHub PR)

Closes IDFGH-10189

See merge request espressif/esp-idf!26759
2023-11-03 18:25:15 +08:00
Kapil Gupta
c815fe67fa fix(wpa_supplicant): memzero wifi config before sending config event 2023-11-03 15:44:08 +05:30
morris
14b7db5dd0 feat(rmt): support calling rmt_receive in ISR callback 2023-11-03 15:42:56 +08:00
Song Ruo Jing
9461993ec5 refactor(gpio): make gpio driver as component, and fix astyle 2023-11-03 15:42:23 +08:00
Darian Leung
52a929521d refactor(freertos/idf): Update thread safety convenience macros
This commit refactors some of the thread safety convenience macros by removing
some repeated definitions and keeping them all in "freertos_idf_additions_priv.h"
2023-11-03 15:41:46 +08:00
Darian Leung
e2c8185f72 fix(freertos/idf): Fix xEventGroupGetBitsFromISR() critical section
Adds missing critical section to xEventGroupGetBitsFromISR() that is required
in dual-core SMP.
2023-11-03 15:41:39 +08:00
Rahul Tank
e689cc55d8 Merge branch 'feature/protocomm_update_params' into 'master'
fix(protocomm): added Protocomm BLE Event Structure and Event Handling

See merge request espressif/esp-idf!26707
2023-11-03 14:09:27 +08:00
xuxiao
5c3a7ec88a fix(wifi): fix esp32c6 rxctrl info is not correct 2023-11-03 13:55:45 +08:00
Kevin (Lao Kaiyao)
3ea8519a9e Merge branch 'bugfix/fix_pdm_rx_high_pass_cut_off_coeff' into 'master'
bugfix(i2s): fix pdm rx high pass filter cut off coeff

See merge request espressif/esp-idf!26835
2023-11-03 12:46:08 +08:00
Omar Chebib
ff2a492002 Merge branch 'staging/espcoredump_move_strings_flash' into 'master'
change(espcoredump): save RAM space by placing constants in flash

See merge request espressif/esp-idf!26872
2023-11-03 12:20:25 +08:00
Jiang Jiang Jian
0eae131fe5 Merge branch 'bugfix/add_config_for_tcp_ooseq' into 'master'
Fix(lwip):bugfix for add config for tcp ooseq bufs

Closes WIFI-6185

See merge request espressif/esp-idf!25346
2023-11-03 11:04:40 +08:00
Omar Chebib
342535f47c Merge branch 'contrib/github_pr_12105' into 'master'
feat(espcoredump): Support for not overwriting existing core dump in flash (GitHub PR)

Closes IDFGH-10907

See merge request espressif/esp-idf!26865
2023-11-03 10:51:39 +08:00
Jiang Jiang Jian
7ae8e1c438 Merge branch 'feat/optimize_bin_size' into 'master'
feat(wifi): Optimize bin size for STA only mode

Closes IDF-8120, IDFGH-11017, and WIFI-5010

See merge request espressif/esp-idf!25642
2023-11-03 09:39:17 +08:00
Jiang Jiang Jian
1936c2f14c Merge branch 'bugfix/fixed_ble_disconnect_under_temp_change' into 'master'
fix(ble): fixed ble disconnection issue under temperature change

See merge request espressif/esp-idf!26827
2023-11-03 05:07:59 +08:00
Gao Xu
dce1e8d96a Merge branch 'feature/support_adc_calibration_on_h2' into 'master'
adc_cali: supported adc calibration v1 on ESP32H2

Closes IDF-6216

See merge request espressif/esp-idf!26463
2023-11-03 01:49:00 +08:00
Mahavir Jain
69e89c4e95 Merge branch 'contrib/github_pr_12459' into 'master'
manager: fixing unwinding protocom endpoints, on prov_stop. (GitHub PR)

Closes IDFGH-11307

See merge request espressif/esp-idf!26742
2023-11-02 23:47:22 +08:00
Sudeep Mohanty
4979ce604a Merge branch 'feature/frertos_idle_task_name_suffix' into 'master'
fix(freertos/idf): Updated IDLE task names for each core to have the coreID as a suffix

Closes IDFGH-11021 and IDF-8220

See merge request espressif/esp-idf!26723
2023-11-02 23:34:16 +08:00
Abhinav Kudnar
0132cce1cc fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-varible 'reattempt_idx'. 2023-11-02 17:30:48 +05:30
Guillaume Souchere
4cdb2f3f93 Merge branch 'fix/patch-heap-rom-integrity-check' into 'master'
fix(heap): Patch tlsf_check_pool in ROM heap

See merge request espressif/esp-idf!26615
2023-11-02 19:21:43 +08:00
Omar Chebib
8ac4b48b2f change(espcoredump): save RAM space by placing constants in flash
All the log messages of espcoredump component used to be in DRAM, which would
lower the available RAM space for the user application. Since the cache is always
enabled after an exception, constants can be put in flash.
2023-11-02 19:09:57 +08:00
Island
ca331989f8 Merge branch 'feat/support_clear_legacy_adv_on_esp32c3' into 'master'
Support clear legacy adv using vendor hci on esp32c3

Closes BLERP-191

See merge request espressif/esp-idf!26696
2023-11-02 19:00:05 +08:00
Island
dc66da9d1d Merge branch 'feat/support_clear_legacy_adv_on_esp32' into 'master'
Support clear legacy adv using vendor hci on esp32

Closes BLERP-191

See merge request espressif/esp-idf!26697
2023-11-02 18:59:48 +08:00
Jakob Hasse
e176b8990e Merge branch 'bugfix/esp_event_tests' into 'master'
fix(esp_event): dedicated task test now waits for semaphore correctly

See merge request espressif/esp-idf!26777
2023-11-02 18:43:03 +08:00
darshan
e1ec13548f fix(protocomm): added Protocomm BLE Event Structure and Event Handling 2023-11-02 15:37:50 +05:30
Jin Cheng
46327936cb feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-11-02 17:43:04 +08:00
Jiang Jiang Jian
5f697d8641 Merge branch 'bugfix/increase_esp32h2_slow_clock_calibration_wdt_threshold' into 'master'
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold

Closes PM-15

See merge request espressif/esp-idf!26634
2023-11-02 17:08:58 +08:00
Jiang Jiang Jian
b839a70aea Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down' into 'master'
In the LP ACTIVE state, the slow clock power domain is by default in a powered-off state

Closes IDF-8410

See merge request espressif/esp-idf!26599
2023-11-02 17:04:30 +08:00
Jiang Jiang Jian
39b2af9a29 Merge branch 'bugfix/fix_some_rom_ld_issue' into 'master'
fix(rom): fix wifi rom ld

See merge request espressif/esp-idf!26767
2023-11-02 16:10:58 +08:00
Simon Arlott
1feb3c9f9b espcoredump: Support for not overwriting existing core dump in flash
If there's an unattended boot loop or a crash that causes another crash on
the next boot, it needs to be possible to avoid overwriting a saved core
dump with another core dump.

Add an option to do this and skip writing core dumps if the partition isn't
empty.

Fixes #12027.

Mergeshttps://github.com/espressif/esp-idf/pull/12105
2023-11-02 06:58:47 +00:00
Kapil Gupta
c84b2cbaed fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142) 2023-11-02 14:05:47 +08:00
alanmaxwell
8a47c4875b fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-11-02 14:05:45 +08:00
Konstantin Kondrashov
c13e41ae18 Merge branch 'feature/memalign_internal_external_as_malloc' into 'master'
fix(heap): memalign respect malloc_alwaysinternal_limit (PR)

Closes IDFGH-11209

See merge request espressif/esp-idf!26409
2023-11-02 13:59:32 +08:00
Jiang Jiang Jian
b10580fb04 Merge branch 'bugfix/supplicant_tls_fix' into 'master'
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()

Closes WIFIBUG-212

See merge request espressif/esp-idf!26837
2023-11-02 13:59:05 +08: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
Jakob Hasse
9aab41cde1 fix(esp_event): dedicated task test now waits for semaphore correctly 2023-11-02 11:49:45 +08:00
gaoxu
843e07b2d5 docs(adc): added adc calibration doc on h2 2023-11-02 11:33:06 +08:00
Jiang Jiang Jian
2e0afe5bf2 Merge branch 'bugfix/install_key_issue_ptk_renew' into 'master'
WiFi: Fix some wifi issues

Closes WIFIBUG-176 and WIFIBUG-225

See merge request espressif/esp-idf!26770
2023-11-02 11:11:38 +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
Wang Meng Yang
52085b0264 Merge branch 'feature/include_hf_and_ag_in_single_build' into 'master'
feat: Added support for build different roles in corresponding profile HID and HFP into a single binary

See merge request espressif/esp-idf!26360
2023-11-02 10:52:38 +08:00
Gao Xu
85484ffe8a Merge branch 'feature/add_adc_oneshot_control_driver_log_independently' into 'master'
ADC: add config for enable ADC driver debug log

Closes IDFGH-11248

See merge request espressif/esp-idf!26819
2023-11-02 10:44:23 +08:00
C.S.M
63ebb38039 Merge branch 'bugfix/32bit_addr_naming' into 'master'
bugfix(spi_flash): Fix wrong naming on 32bit address

See merge request espressif/esp-idf!26814
2023-11-02 10:28:03 +08:00
laokaiyao
4f5773181d fix(i2s): fix pdm rx high pass filter cut off coeff 2023-11-02 10:09:04 +08:00
Martin Vychodil
010714d70b Merge branch 'fix/fatfs_missing_release' into 'master'
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC

Closes IDF-8482

See merge request espressif/esp-idf!26749
2023-11-01 22:00:49 +08:00
Kapil Gupta
69704efd5d fix(wifi): Disallow DPP and WPS concurrency 2023-11-01 19:09:58 +05:30
Jiang Jiang Jian
44f0bb148a Merge branch 'bugfix/ble_update_lib_1027' into 'master'
update c6 h2 lib to 5bd7cb83, c2 to 1d31e175

Closes BLERP-193, BLERP-194, BLERP-188, BLERP-176, BLERP-195, BLERP-192, and BLERP-199

See merge request espressif/esp-idf!26708
2023-11-01 20:34:28 +08:00
Sudeep Mohanty
0a0c7ef40f fix(freertos/idf): Updated IDLE task names for each core to have the coreID as a suffix
This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the task names.

Closes https://github.com/espressif/esp-idf/issues/12204
2023-11-01 12:32:06 +00:00
Sudeep Mohanty
3fb23c85b6 Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()"
This reverts commit 6c6a6ad44a.
2023-11-01 12:31:37 +00:00
Rahul Tank
8414400107 Merge branch 'bugfix/remove_iram_attr_from_ceva_files' into 'master'
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file

See merge request espressif/esp-idf!26726
2023-11-01 20:03:24 +08:00
Kapil Gupta
442f802102 fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() 2023-11-01 17:31:02 +05:30
chenjianhua
448d168dfd update esp32 bt-lib (6458728)
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-01 19:25:01 +08:00
Island
ce7bb6b0e8 Merge branch 'feat/support_clear_legacy_adv' into 'master'
feat(bt/bluedroid): support clear legacy advertising

Closes BLERP-175

See merge request espressif/esp-idf!26645
2023-11-01 18:33:09 +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
Jin Cheng
1f2a1564a2 feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 16:54:11 +08:00
Wang Mengyang
638d3af14a feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary 2023-11-01 16:54:08 +08:00
Guillaume Souchere
93d4b0b38c fix(heap): Patch tlsf_check_pool in ROM heap
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.

This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-11-01 09:47:41 +01:00
zwl
5b759934f3 fix(ble): fixed ble disconnection issue under temperature change 2023-11-01 16:25:11 +08:00
Kapil Gupta
4dd480ce83 fix(esp_wifi): Fix key install issue in PTK renew 2023-11-01 13:39:50 +05:30
gaoxu
c14d7fbb17 feat(adc): added adc enable debug log config 2023-11-01 15:06:20 +08:00
morris
67ba15fd76 Merge branch 'refactor/emac_rmii_clock_output' into 'master'
refactor(emac): use clock_output driver for configuring RMII reference clock

See merge request espressif/esp-idf!26692
2023-11-01 13:29:07 +08:00
Cao Sen Miao
fe007196f2 bugfix(spi_flash): Fix wrong naming on 32bit address 2023-11-01 12:42:22 +08:00
Shu Chen
036fdf25c4 Merge branch 'feature/add_ot_radio_stats_enable_config' into 'master'
feat(openthread): add config for radio statistic feature

See merge request espressif/esp-idf!26489
2023-11-01 12:33:38 +08:00
Jakob Hasse
596101c516 Merge branch 'bugfix/freertos_psram_stack' into 'master'
bugfix(freertos): Fixed task creation function for PSRAM stack

See merge request espressif/esp-idf!26693
2023-11-01 11:12:07 +08:00
Island
f1e8cfb546 Merge branch 'bugfix/fix_ble_remove_bond_status' into 'master'
Bugfix/fix ble remove bond status

Closes BLERP-202, BLERP-205, and BLERP-207

See merge request espressif/esp-idf!26750
2023-11-01 10:42:59 +08:00
Jiang Jiang Jian
15f62f87ed Merge branch 'bugfix/wpa3_softap_assoc_reject' into 'master'
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished

Closes WIFIBUG-95

See merge request espressif/esp-idf!25545
2023-11-01 10:37:12 +08:00
Marius Vikhammer
77bb19c49e ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults 2023-11-01 01:14:00 +00:00
Xiao Xufeng
cc28674686 refactor(bootloader_flash): make cache enable more obvious 2023-11-01 02:01:45 +08:00
Xiao Xufeng
28f19cf0e6 fix(ram_app): Fixed issue ram_app can't use the SPI Flash
1st bootloader won't help to initialize the MSPI & cache properly as it
usually do when loading from flash. And the ram app doesn't have valid
headers.

Since there is no enough space in 2nd bootloader, we replace the
`bootloader_init_spi_flash` in the ram_app (!pure_ram_app), with an
customized alternative of it for the ram_app.

This alternative helps to initialize the MSPI & cache properly, without
the help of 1st bootloader or image headers.
2023-11-01 02:01:45 +08:00
Cody P Schafer
9e1e245477 fix(heap): memalign respect malloc_alwaysinternal_limit
This changes `memalign` (and `posix_memalign`) so that it uses an
allocation method with the same selection criteria (checking
`malloc_alwaysinternal_limit` and picking one of:

- always MALLOC_CAP_INTERNAL
- MALLOC_CAP_INTERNAL first with fallback
- MALLOC_CAP_SPIRAM first with fallback

`malloc_alwaysinternal_limit` is in turn set by the options
`CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL` and
`CONFIG_SPRIAM_USE_CAPS_ALLOC`.

This notably affects folks using esp-rs to build rust code for the
esp-idf, as all allocations from rust use `memalign`.

Merges https://github.com/espressif/esp-idf/pull/12375
2023-11-01 01:58:27 +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
Armando (Dou Yiwen)
1df3736ec1 Merge branch 'feat/isp_af_ll' into 'master'
ISP: AF submodule low level APIs

See merge request espressif/esp-idf!26526
2023-10-31 17:02:46 +08:00
kohait00
7c8663ffa9
manager: fixing unwinding protocom endpoints, on prov_stop. This enables starting and stopping provisioning on a pre started http server 2023-10-31 13:59:29 +05:30
morris
dbc1c06841 Merge branch 'bugfix/rmt_stop_issue' into 'master'
fix(rmt): a disabled channel may pick up a pending transaction

See merge request espressif/esp-idf!26579
2023-10-31 16:24:58 +08:00
xueyunfei
ff1016c55f Fix(lwip):bugfix for add config for tcp ooseq bufs 2023-10-31 16:00:26 +08: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
liuning
4a7a27c189 fix(rom): fix wifi rom ld 2023-10-31 15:41:09 +08:00
Darian Leung
b301f175c9 feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option
This commit adds a Kconfig option for configRUN_TIME_COUNTER_TYPE

Closes https://github.com/espressif/esp-idf/issues/11973
2023-10-31 14:55:12 +08:00
Jiang Jiang Jian
fa853f8262 Merge branch 'bugfix/fix_c6_wrong_reg_offset' into 'master'
fix(coex): fix esp32c6 wrong reg offset

See merge request espressif/esp-idf!26664
2023-10-31 14:49:49 +08:00
Jiang Jiang Jian
f89a879e80 Merge branch 'bugfix/fix_compilation_issue' into 'master'
fix(wpa_supplicant): Fix compilation issue in EAP disabled

Closes IDFGH-11304

See merge request espressif/esp-idf!26659
2023-10-31 14:29:15 +08:00
morris
d78750306d refactor(emac): use clock_output driver for configuring RMII reference clock 2023-10-31 14:24:48 +08:00
Jiang Jiang Jian
5f518dbdde Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable' into 'master'
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2

Closes WIFIBUG-208

See merge request espressif/esp-idf!26682
2023-10-31 14:18:15 +08:00
Shreyas Sheth
8b8d4a0ffc fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished 2023-10-31 06:13:49 +00: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
gaoxu
0ea0b39725 feat(adc_cali): Add ADC calibration support for ESP32H2 2023-10-31 11:29:30 +08:00
Gao Xu
8b953557c1 Merge branch 'bugfix/fix_adc_read_zero_h2' into 'master'
ADC: fix adc raw data get 0 because of signal delay on ESP32H2

See merge request espressif/esp-idf!26572
2023-10-30 20:51:08 +08:00
Jakob Hasse
bd34fc41bb fix(freertos): Fixed prvTaskCreateDynamicPinnedToCoreWithCaps
* The function was based on an outdated IDF/FreeRTOS
  combination which didn't always require zero-ing
  the TCB. This has been changed in the current
  IDF/FreeRTOS combination, leading to crashes.
  Unconditionally zero-ing the TCB fixes this problem.
2023-10-30 18:09:17 +08:00
zhanghaipeng
c1b39f7aa5 fix(bt/bluedroid): Fix BLE remove bond list status 2023-10-30 17:45:38 +08:00
Armando
16d8b7df41 feat(color): added helper to get color space and color pixel format 2023-10-30 17:32:47 +08:00
Armando
7efcf06c5d change(ll): update color space types, ll changes 2023-10-30 17:32:46 +08:00
Armando
97526e9288 feat(isp): isp af submodule low level driver 2023-10-30 17:32:46 +08:00
Tomáš Rohlínek
3f4698ac47
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC 2023-10-30 10:22:08 +01:00
alanmaxwell
120e53b34d fix(phy): Fix ESP32C6 rx pkts fail in light sleep mode 2023-10-30 14:26:25 +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
wuzhenghui
ad2629af54 ci(ulp_test): fix fake sleep of the maincore in ulp pytest cases 2023-10-30 11:18:01 +08:00
wuzhenghui
18f984fd9c fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable 2023-10-30 11:18:01 +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
Jiang Jiang Jian
7ade26caf1 Merge branch 'bugfix/connect_issue_for_zero_rssi' into 'master'
fix(esp_wifi): Fix issue of station disconnecting immediately after scanning

Closes WIFIBUG-132 and IDFCI-1847

See merge request espressif/esp-idf!25915
2023-10-30 10:16:27 +08: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
Espressif BOT
24446bfab1
change(esp_crt_bundle): Update esp_crt_bundle certificates 2023-10-29 12:21:21 +05:30
C.S.M
59d029bf66 Merge branch 'feat/i2c_rcc_support' into 'master'
refactor(i2c): Add reset and clock control to i2c ll layer

See merge request espressif/esp-idf!26684
2023-10-28 10:01:06 +08:00
Mahavir Jain
11c8501f32 Merge branch 'refactor/hal_mpu_test' into 'master'
refactor(tools/test_apps): Move HAL tests for MPU to the `panic` test-app

Closes IDF-5590

See merge request espressif/esp-idf!26422
2023-10-27 20:50:19 +08:00
Mahavir Jain
fc1080dc6a Merge branch 'bugfix/mbedtls_linux_entropy' into 'master'
fix(mbedtls): allow to use built in entropy implementation for linux target

See merge request espressif/esp-idf!26413
2023-10-27 20:14:57 +08:00
luomanruo
b281a72fa1 ble: update c2 lib to 6ed444f2 2023-10-27 20:11:47 +08:00
Ivan Grokhotkov
cbb6fa0507 Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse' into 'master'
fix(console): switch USB PHY to OTG when OTG is used for console

Closes IDFGH-11281

See merge request espressif/esp-idf!26653
2023-10-27 20:09:09 +08:00
Jiang Jiang Jian
2133e28cf2 Merge branch 'bugfix/esp32c6_phy_coex_sleep_issue' into 'master'
fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug

See merge request espressif/esp-idf!26667
2023-10-27 19:48:40 +08:00
zhanghaipeng
f4305753c8 feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-27 19:31:44 +08:00
zhanghaipeng
6f400e1b5d feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-27 19:31:44 +08:00
Rahul Tank
a4e712f61a fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-10-27 16:18:48 +05:30
C.S.M
4111b07076 Merge branch 'bugfix/flash_enc_plaintext' into 'master'
fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong

See merge request espressif/esp-idf!26640
2023-10-27 18:23:00 +08:00
gaoxu
1fa85abf46 ci(adc): add a test that adc read zero after getting done signal 2023-10-27 17:11:13 +08:00
Ondrej Kosta
fc59e9c160 Merge branch 'bugfix/make_eth_ci_nightrun' into 'master'
ci(esp_eth): make additional Ethernet chips test as nightly run

See merge request espressif/esp-idf!26695
2023-10-27 16:33:00 +08:00
luomanruo
d42fbcf144 ble: update c2 rom.ld 2023-10-27 16:03:32 +08:00
cjin
43b53a1885 change(ble): added option for msys buffer source 2023-10-27 16:03:05 +08: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
Zhang Hai Peng
72fc360ad3 Merge branch 'fix/correct-typo-from-disbale-to-disable' into 'master'
fix: corrected typo from disbale to disable in numerous places

See merge request espressif/esp-idf!26644
2023-10-27 15:10:06 +08:00
luomanruo
d23e4d6f3e ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175 2023-10-27 14:28:10 +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
Sarvesh Bodakhe
0a95914839 fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-10-27 09:35:20 +05:30
Ivan Grokhotkov
6f9d3bfc76
Merge branch 'update/version_5_3_0' into 'master'
Start of v5.3 development (v5.3-dev)

See merge request !26669
2023-10-27 06:02:37 +02:00
Cao Sen Miao
0bf1dce413 refactor(i2c): Add reset and clock control to i2c ll layer 2023-10-27 10:50:35 +08:00
morris
47a9396a8c Merge branch 'bugfix/i2c_ll_read_write_fifo_by_index' into 'master'
fix(i2c): read write FIFO memory by volatile

See merge request espressif/esp-idf!26658
2023-10-27 10:22:06 +08:00
Ivan Grokhotkov
8171b22c40
change(version): Update version to 5.3.0 2023-10-27 03:06:55 +02:00
chenjianhua
ada56ca062 Update bt lib for ESP32-C3 and ESP32-S3(f817304)
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-10-26 19:43:02 +08:00
Cao Sen Miao
420ac840ff fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong 2023-10-26 19:38:42 +08:00
Ondrej
58b6add55c ci(esp_eth): make additional Ethernet chips test as nightly run 2023-10-26 11:38:28 +00:00
zhanghaipeng
2e762ae3f7 fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-26 19:21:21 +08:00
chenjianhua
7a1db4befb feat(bt/bluedroid): support clear legacy advertising 2023-10-26 19:14:54 +08:00
Xu Si Yu
030cac07df fix(coex): fix esp32c6 wrong reg offset 2023-10-26 17:59:09 +08:00
Mahavir Jain
804ed172dd
fix(mbedtls): allow to use built in entropy implementation for linux target 2023-10-26 15:12:42 +05:30
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
Aditya Patwardhan
d4544a0d5c fix(esp_https_server): Remove dependency on CONFIG_ESP_TLS_SERVER
Closes https://github.com/espressif/esp-idf/issues/12023
2023-10-26 09:30:13 +00:00
Aditya Patwardhan
5ce93aa257 fix(esp_tls): Refactor esp-tls to remove ESP_TLS_SERVER config option 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
Michael (XIAO Xufeng)
010a65d84e Merge branch 'bugfix/spi_master_fifo_use_dma' into 'master'
fix(spi): fixed undesired touching to DMA

Closes IDFGH-11065

See merge request espressif/esp-idf!26636
2023-10-26 16:43:22 +08:00
wanlei
d9d6f5a17a feat(twai): support legacy twai(can) driver for esp32p4 2023-10-26 16:20:45 +08:00
Kapil Gupta
04d874d6a3 fix(wpa_supplicant): implement sha1_finish for fastpbkdf2 2023-10-26 13:27:39 +05:30
morris
418494800c fix(i2c): read write FIFO memory by volatile 2023-10-26 14:40:07 +08:00
zhanghaipeng
f7e174e948 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-26 14:14:15 +08:00
gaoxu
a8e3122866 fix(adc): fix adc read zero after getting done signal on h2 2023-10-26 12:22:09 +08:00
Mo Fei Fei
a82b6f5c0b Merge branch 'docs/update_cn_trans_nvs_part_gen_readme' into 'master'
Docs: Update CN trans for components/nvs_flash/nvs_partition_generator/README.rst

Closes DOC-6449

See merge request espressif/esp-idf!26589
2023-10-26 12:19:26 +08:00
Mo Fei Fei
4f24d3a39c Docs: Update CN trans for components/nvs_flash/nvs_partition_generator/README.rst 2023-10-26 12:19:25 +08:00
morris
15cefab479 fix(rmt): a disabled channel may pick up a pending transaction
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-10-26 12:11:07 +08:00
gaoxu
811a790aaf fix(adc): fix adc oneshot mod do not split clk 2023-10-26 10:59:35 +08:00
Armando (Dou Yiwen)
e15de479ce Merge branch 'bugfix/fix_wrong_hal_assertion_sdmmc_ll' into 'master'
sdmmc: fix ll layer wrong assertion

See merge request espressif/esp-idf!26590
2023-10-26 10:32:58 +08:00
Djordje Nedic
04dba7a80d Merge branch 'fix/esp32_p4_lp_reserved_seg_fix' into 'master'
fix: Fix ESP32-P4 lp_reserved_seg origin

See merge request espressif/esp-idf!26663
2023-10-26 10:32:02 +08:00
Jakob Hasse
228c40c2ac Merge branch 'feature/freertos_task_private_create_psram' into 'master'
feat(freertos): Added private task creation functions allocating stack in PSRAM

See merge request espressif/esp-idf!25404
2023-10-26 10:27:00 +08:00
Zim Kalinowski
3888ffdda6 Merge branch 'bugfix/enable-ringbuffer-build-on-linux' into 'master'
fix(ringbuf): Enable build on Linux

See merge request espressif/esp-idf!26649
2023-10-25 23:44:14 +08:00
Jiang Jiang Jian
9f6bf3b029 Merge branch 'bugfix/fix_wifi_ld_c3_eco7' into 'master'
fix(rom): remove related rom funcs in c3 rom eco7 MR

See merge request espressif/esp-idf!26651
2023-10-25 20:53:48 +08:00
Roland Dobai
d20654e7ed Merge branch 'bugfix/libphy_orphaned_sections' into 'master'
fix(lf): fix orphaned .phyiram sections

Closes WIFI-6279

See merge request espressif/esp-idf!26295
2023-10-25 16:34:19 +08:00
xiaqilin
c8f4fa2866 fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug 2023-10-25 16:10:27 +08:00
Konstantin Kondrashov
a304cc230e Merge branch 'feature/esp32h2_adds_adc_calib_efuses' into 'master'
feat(efuse): Adds efuse ADC calibration data for ESP32H2

See merge request espressif/esp-idf!26305
2023-10-25 15:58:24 +08:00
Island
0f84e7d8c6 Merge branch 'bugfix/fix_set_adv_data_bug' into 'master'
Fix bugs in setting adv data and scan response data(ESP32C3 ESP32S3)

Closes BLERP-142, BLERP-141, BLERP-185, and BLERP-186

See merge request espressif/esp-idf!26538
2023-10-25 15:55:04 +08:00
sonika.rathi
91eada4acc fix(fatfs): free allocated memory for base path before unmounting the card 2023-10-25 09:33:42 +02:00
Djordje Nedic
e32bdb66e3 fix: Fix ESP32-P4 lp_reserved_seg origin
Apparently, this part of the linker script was copied from elsewhere
and the origin was not corrected.
2023-10-25 08:09:33 +02:00
Armando
263e39c32b fix(sdmmc): fix ll layer wrong assertion 2023-10-25 06:03:25 +00: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
Kapil Gupta
53939de34e fix(wpa_supplicant): Fix compilation issue in EAP disabled 2023-10-25 09:55:12 +05:30
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
Marius Vikhammer
20b6d92b91 Merge branch 'ci/reduce_heap_tests' into 'master'
ci(heap): reduce the number of test apps built

See merge request espressif/esp-idf!26643
2023-10-25 09:23:18 +08:00
C.S.M
fec9a11f4a Merge branch 'feature/i2c_slave_new_driver' into 'master'
feat(i2c_slave): Add new APIs for I2C-slave, and add multi-board tests with I2C-master

Closes IDF-8111

See merge request espressif/esp-idf!25403
2023-10-25 01:22:05 +08:00
Adam Múdry
687c5cc8d5 Merge branch 'fix/remove_wno-format_from_storage_components' into 'master'
refactor: Remove -Wno-format from storage related components

Closes IDF-6793

See merge request espressif/esp-idf!26531
2023-10-24 21:25:34 +08:00
Ivan Grokhotkov
a8e175364a
fix(console): switch USB PHY to OTG when OTG is used for console
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.

Closes https://github.com/espressif/esp-idf/issues/12437
2023-10-24 13:29:15 +02:00
Cao Sen Miao
c9f85d8d1b feat(i2c_test): Add multi board test for I2C master and I2C slave 2023-10-24 18:46:27 +08:00
Cao Sen Miao
8d639492f2 feat(i2c_slave): Add new implementation and API for I2C slave 2023-10-24 18:44:49 +08:00
liuning
7532df427a fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-10-24 18:05:10 +08:00
Zim Kalinowski
3589478a9e fix(esp_ringbuffer): Enable build on Linix 2023-10-24 11:30:03 +02:00
Li Shuai
fa489d3c20 change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize 2023-10-24 17:11:53 +08:00
Michael (XIAO Xufeng)
d2d75efeff Merge branch 'bugfix/hpm_dc_default_disabled' into 'master'
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart

See merge request espressif/esp-idf!24380
2023-10-24 15:24:50 +08:00
zhanghaipeng
5727802497 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-24 14:52:56 +08:00
Sudeep Mohanty
96933837ce Merge branch 'ci/ulp_test_app_depends_components' into 'master'
ci(system): Restrict ULP test apps being built and run on CI

Closes IDF-8401

See merge request espressif/esp-idf!26628
2023-10-24 14:31:57 +08:00
DevinNorgarb
001b10ec45 fix: corrected typo from disbale to disable in numerous places 2023-10-24 14:10:39 +08:00
Marius Vikhammer
7e8181b976 ci(heap): reduce the number of test apps built 2023-10-24 12:38:56 +08:00
Xiao Xufeng
8315221523 fix(spi): fixed undesired touching to DMA
Closes https://github.com/espressif/esp-idf/issues/12241
2023-10-24 10:50:42 +08:00
zhanghaipeng
9804a8b0f9 fix(ble/controller): Fix bugs in setting adv data and scan response data 2023-10-24 10:48:31 +08:00
Xiao Xufeng
88954841b1 doc(spi_flash): hide unsupported optional features 2023-10-24 10:38:11 +08:00
Xiao Xufeng
1f5fb3f921 spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart 2023-10-24 10:38:08 +08:00
Lou Tian Hao
ca32e5268b Merge branch 'change/change_some_code_for_sleep_callback' into 'master'
change(pm): change sleep callback implement

See merge request espressif/esp-idf!26461
2023-10-24 10:15:09 +08:00
Marius Vikhammer
8c52b0845d feat(linux_target): enable hello world example for linux target 2023-10-24 10:04:09 +08:00
Marius Vikhammer
88af378d2e Merge branch 'feature/p4_multi_core_wdt' into 'master'
WDT: Multi-core support for RISC-V WDT

Closes IDF-6516 and IDF-8136

See merge request espressif/esp-idf!25689
2023-10-24 09:39:58 +08:00
Jiang Jiang Jian
345565d8c1 Merge branch 'feature/support_esp32c2_rom_mbedtls' into 'master'
feat(mbedtls): support c2 mbedtls can use crypto algorithm in ROM

See merge request espressif/esp-idf!25272
2023-10-24 09:30:15 +08:00
Marius Vikhammer
679b1dc4bb Merge branch 'docs/ulp_lp_uart' into 'master'
docs(ulp): add info about lp-uart to lp-core docs

See merge request espressif/esp-idf!26405
2023-10-24 08:30:29 +08:00
wuzhenghui
8bc69e0354 fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold 2023-10-23 21:24:56 +08:00
Song Ruo Jing
5318c8d67d Merge branch 'contrib/github_pr_12424' into 'master'
fix(driver/gpio): Fix SIG_GPIO_OUT_IDX comment for signal conn (GitHub PR)

See merge request espressif/esp-idf!26566
2023-10-23 20:36:13 +08:00
Harshit Malpani
27681a5073
fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously
This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is
enabled in config.
2023-10-23 16:23:10 +05:30
Zhang Wen Xu
a6126067ef Merge branch 'fix/support_qa_test_ot_host_config' into 'master'
fix(openthread): fix host interface mdoe none

See merge request espressif/esp-idf!26595
2023-10-23 18:27:16 +08:00
Marius Vikhammer
22091c8744 feat(wdt): add multicore support for WDTs on RISCV 2023-10-23 18:26:08 +08:00
Sudeep Mohanty
f6ecaa12e9 ci(system): Restrict ULP test apps being built and run on CI
This commit updates the dependency list of the ULP test apps. These test
apps will now only build and run when the ULP component is updated.
2023-10-23 10:54:36 +02:00
Omar Chebib
51434a8367 Merge branch 'feature/esp32p4_fpu_support' into 'master'
feat(riscv): implement FPU support for RISC-V targets

Closes IDF-7770

See merge request espressif/esp-idf!25871
2023-10-23 16:50:36 +08:00
Lou Tianhao
13a405a32b change(pm): Change sleep callback implement 2023-10-23 08:13:47 +00:00
morris
767595a22f Merge branch 'feature/mcpwm_timer_change_freq' into 'master'
feat(mcpwm): support update timer period dynamically

Closes IDFGH-11145

See merge request espressif/esp-idf!26419
2023-10-23 15:51:14 +08:00
Jiang Jiang Jian
6481080f69 Merge branch 'feature/support_ble_esp32c3_eco7' into 'master'
Feature/support ble esp32c3 eco7

Closes CBLE50Y23-56

See merge request espressif/esp-idf!26144
2023-10-23 14:22:40 +08:00