Commit Graph

20669 Commits

Author SHA1 Message Date
Shu Chen
4365a03bdd Merge branch 'support/ieee802154_test_based_on_opensource' into 'master'
ieee802154: add CONFIG_IEEE802154_TEST for supporting ieee802154 test

See merge request espressif/esp-idf!24148
2023-07-10 14:06:03 +08:00
morris
9eb145aa21 feat(esp_gdma): adapt the gdma driver to ahb-dma and axi-dma 2023-07-10 13:45:57 +08:00
morris
56a376c696 feat(esp_gdma): add hal interface for common operations
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Nachiket Kukade
6e6139061d fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
Enable FTM for ESP32C2 and update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-10 10:41:37 +05:30
IhorNehrutsa
909d8b6db5 fix(ledc): fix frequency calculation
ledc.c: Fix frequency calculation.
Round int instead of truncate.

Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-10 11:45:09 +08:00
Shen Wei Long
e46e3f18f1 Merge branch 'feature/update_ble_libs' into 'master'
ble: Added APIs for QA test

See merge request espressif/esp-idf!24616
2023-07-07 19:53:30 +08:00
Rahul Tank
64a01af42d Merge branch 'feature/services_proximity' into 'master'
NimBLE : Added proximity sensor as a service

See merge request espressif/esp-idf!24357
2023-07-07 16:51:22 +08:00
morris
65e1ced886 Merge branch 'bugfix/ringbuf_coverity_issues' into 'master'
esp_ringbuf: Fix "USE_AFTER_FREE" coverity issue

Closes IDF-7671

See merge request espressif/esp-idf!24530
2023-07-07 14:44:32 +08:00
morris
ad4ab84fd8 Merge branch 'refactor/esp_lcd_linker' into 'master'
refactor(esp_lcd): move hal function placement to the driver layer

See merge request espressif/esp-idf!24617
2023-07-07 14:34:44 +08:00
Song Ruo Jing
ea48030514 Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps

Closes IDF-7406

See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Armando (Dou Yiwen)
adb93a3770 Merge branch 'feature/add_esp32p4_soc_support_part_3' into 'master'
soc: added soc headers for esp32p4 (part 3)

See merge request espressif/esp-idf!24481
2023-07-07 11:44:46 +08:00
Wu Zheng Hui
94613a5904 Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_master' into 'master'
ci: fix deepsleep wakestub example ci failure

See merge request espressif/esp-idf!24466
2023-07-07 11:38:14 +08:00
Jiang Jiang Jian
625f1bae6e Merge branch 'feature/add_api_to_get_rssi_for_sta' into 'master'
feat(wifi): Add new API to get rssi info after station connected to AP

Closes AUD-4662, WIFI-5066, and TCI-1326

See merge request espressif/esp-idf!24505
2023-07-07 11:32:01 +08:00
Marius Vikhammer
450618c39d docs(heap): fixed typo in heap trace docs 2023-07-07 10:49:15 +08:00
Cao Sen Miao
53dee1abe0 feat(temperature_sensor_test): Add test for temperature sensor and phy 2023-07-07 10:15:07 +08:00
Mahavir Jain
ca6d4a571e Merge branch 'feature/make_read_otadata_api_public' into 'master'
feat: Made read_otadata() API public

Closes IDFGH-10345

See merge request espressif/esp-idf!24560
2023-07-06 22:23:16 +08:00
zhangwenxu
0d94cefe4b fix(openthread): fix ot settings out of range issue 2023-07-06 21:04:01 +08:00
Kevin (Lao Kaiyao)
a6e2ea141a Merge branch 'refactor/adc_2nd_step_calib_coeff_stuff' into 'master'
adc_calib: refactor 2nd step coeff

Closes IDF-7653

See merge request espressif/esp-idf!24397
2023-07-06 20:32:31 +08:00
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
78c33778a9 Merge branch 'bugfix/refactor_nimble_header' into 'master'
refactor (nimble): Refactor nimble header files

Closes DOC-5615

See merge request espressif/esp-idf!24432
2023-07-06 20:17:35 +08:00
Armando
93d4095fb0 feat(soc): added pmu_icg_mapping.h on p4 2023-07-06 18:57:41 +08:00
Armando
1c3aedf45e remove p4 rtc_io related files as requested 2023-07-06 18:23:18 +08:00
Armando
a9365b8049 feat(soc): rename rtc_timer_reg to lp_timer_reg 2023-07-06 18:23:18 +08:00
Armando
369f8ba459 feat(soc): update interrupts.c 2023-07-06 18:23:18 +08:00
Armando
9d755f855e feat(soc): update efuse registers 2023-07-06 18:23:18 +08:00
Armando
e921d03a0d feat(soc): update gpio_ext_reg.h and its base addr 2023-07-06 18:23:18 +08:00
Armando
65bfa590da feat(soc): soc updates 2023-07-06 18:23:18 +08:00
Armando
2f6ce0cc17 fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2 2023-07-06 17:54:31 +08:00
Armando
8cf0e5d5b8 feat(soc): rename rtc_wdt_reg to lp_wdt_reg 2023-07-06 17:54:31 +08:00
Armando
0959c0cb96 feat(soc): rename mspi registers 2023-07-06 17:54:31 +08:00
Armando
611c1037a2 feat(soc): added soc_caps.h on esp32p4 2023-07-06 17:54:31 +08:00
Armando
8bcef5abb0 refactor(adc): maintain s_adc_tsen_enabled in adc driver 2023-07-06 17:28:49 +08:00
zhangyanjiao
277f0f4470 feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-06 17:27:42 +08:00
laokaiyao
edc1abc8ea refactor(adc_calib): Simplify 2nd step coefficient calculation
- remove unnecessary variables and calculations
- improve readability of code
2023-07-06 14:22:03 +08:00
Harshit Malpani
941eb4e61e
feat: Made read_otadata() API public
Updated the read_otadata() API name to bootloader_common_read_otadata() and made the API public.

Closes https://github.com/espressif/esp-idf/issues/11603
2023-07-06 11:40:49 +05:30
Jin Chen
d918b5226c Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
ble: support esp32h2 modem clock selection

Closes EBLE50Y23-129

See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
morris
6f3e07d97b Merge branch 'feature/gptimer_linker_file' into 'master'
feat(gptimer): add gptimer linker.lf to control the placement of driver and hal

See merge request espressif/esp-idf!24598
2023-07-06 12:42:47 +08:00
morris
2e5eb30382 Merge branch 'origin/bugfix/fix_header_violations_in_hal_component' into 'master'
Fix(components/hal): fix header violations in hal component

Closes IDF-7658

See merge request espressif/esp-idf!24493
2023-07-06 10:32:25 +08:00
Jiang Jiang Jian
781d2717cd Merge branch 'bugfix/nan_sd_dp_fixes' into 'master'
NAN Service discovery and datapath bugfixes

Closes WIFI-5588

See merge request espressif/esp-idf!24302
2023-07-06 10:30:05 +08:00
morris
b72df43a3f refactor(esp_lcd): control hal function placement in the esp_lcd component
because G1 component can't rely on G2 component, thus  we shouldn't use the esp_lcd's Kconfig in the hal's linker.lf
2023-07-05 22:54:01 +08:00
Island
a7e5d49d10 Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix' into 'master'
Feature/update ble duplicte vs hci lib fix

See merge request espressif/esp-idf!24521
2023-07-05 21:28:31 +08:00
Shu Chen
1cd3ace96a Merge branch 'bugfix/openthread_pm_lock' into 'master'
openthread: fix light sleep lock issue

See merge request espressif/esp-idf!24575
2023-07-05 20:39:51 +08:00
Shen Weilong
303b330bca ble: Added APIs for QA test 2023-07-05 20:18:09 +08:00
Jiang Jiang Jian
5354759735 Merge branch 'feature/update_avrcp_v1.5' into 'master'
bt: Update AVRCP version to v1.5

Closes BT-3283 and BT-2945

See merge request espressif/esp-idf!23959
2023-07-05 19:38:01 +08:00
wuzhenghui
05d15a2eed sleep: enrich top_domain_pd_allowed function description 2023-07-05 11:16:44 +00:00
Planck (Lu Zeyu)
333553caf2 fix(hal): check the public header files and fix violations
fix(hal/include): fix header violations in hal component
fix(hal/include): Move type definitions from `xx_hal.h` to `xx_types.h`
fix(hal/include): Move type definitions from `xx_hal.h` to `xx_types.h`
fix(hal/include): Add comment for a far away `#endif`
fix(hal/include): change scope for cpp guard
ci: Remove components/hal/ comment from public headers check exceptions
Add missing include macro sdkconfig.h for header files
Add missing include macro stdbool.h for header files
Add missing include macro stdint.h for header files
Add missing capability guard macro for header files
Add missing cpp guard macro for header files
Remove some useless include macros
Add some missing `inline` attribute for functions defined in header files
Remove components/hal/ from public headers check exceptions
fix(hal/include): fix invalid licenses
fix(hal/include): fix invalid licenses
fix(hal/include): add missing soc_caps.h
fix(hal): include soc_caps.h before cap macro is used
fix(hal): Remove unnecessary target check
fix(hal): fix header and macro problems
Add missing include macro
Remove loop dependency in hal
Add comment for far-away endif
fix(hal): Add missing soc_caps.h
ci: update check_copyright_ignore.txt
Change the sequence of `#include` macro, cpp guard macro
Change the wrap scope of capacity macro

fix(hal): Change position of C++ guard to pass test
2023-07-05 17:33:32 +08:00
Omar Chebib
d2471b11e7 Merge branch 'bugfix/fpu_registers_overwritten' into 'master'
Xtensa: fix a bug that altered CPU registers in FPU exception handlers

Closes IDFGH-10439

See merge request espressif/esp-idf!24518
2023-07-05 17:28:53 +08:00
Rahul Tank
b0b722da33 Merge branch 'bufix/fix_assert_while_stack_deinit' into 'master'
NimBLE :  Fix assert due to controller event while stack deinit

Closes IDFGH-10527

See merge request espressif/esp-idf!24520
2023-07-05 16:24:27 +08:00
Rahul Tank
3c902677d8 refactor(nimble): Refactor header files
Refactor header files to separate out APIs developed by Espressif for
   documentation purpose
2023-07-05 13:50:33 +05:30
Rahul Tank
1268530ace Merge branch 'feature/add_support_pcl_vsc' into 'master'
fix(Nimble): Add VSC / VSE handling code and structure for PCL Set RSSI

See merge request espressif/esp-idf!24181
2023-07-05 15:33:43 +08:00
xiaqilin
d8bfd97d60 fix(openthread): Fixed light sleep lock issue 2023-07-05 14:37:56 +08:00
Shyamal Khachane
6138ec7a61 fix(esp_wifi): NAN Service discovery and datapath bugfixes
1. Increase timeout value for NDP Accepted/Rejected events.
    2. Update publisher ID incase publisher restarts(service).
    3. Ignore service discovery frames with invalid/inactive service ID.
    4. Update NAN documentation
2023-07-05 10:35:14 +05:30
Jiang Jiang Jian
cbcddc8ed0 Merge branch 'bugfix/fix_bootloader_wrong_spi_freq_print' into 'master'
bugfix: fix esp32c6 bootloader print wrong spi speed mode

See merge request espressif/esp-idf!24261
2023-07-05 12:24:04 +08:00
morris
81a641d437 feat(gptimer): add gptimer linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-07-05 12:09:00 +08:00
morris
0d401ae443 Merge branch 'feature/check_callgraph_multiple_dirs' into 'master'
fix(test): check call graph for hal component

See merge request espressif/esp-idf!24547
2023-07-05 12:00:10 +08:00
Song Ruo Jing
4985caa38f refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps 2023-07-05 11:47:51 +08:00
Armando
d9e25c305a feat(adc): use soc_caps to decide which files to be included 2023-07-05 11:45:48 +08:00
Armando
070040c444 feat(soc): added soc support for esp32p4, part3 2023-07-05 11:45:48 +08:00
Jiang Jiang Jian
510e544e16 Merge branch 'bugfix/fix_association_request_miss_verify_ssid_issue' into 'master'
esp_wifi: fix association request miss verify ssid issue

Closes WIFI-6077, WIFI-6078, and WIFI-6120

See merge request espressif/esp-idf!24435
2023-07-05 11:34:14 +08:00
Chen Jian Hua
5ebe3b0fc2 Merge branch 'fix/print_bt_mac_for_esp32' into 'master'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32

See merge request espressif/esp-idf!24552
2023-07-05 10:46:28 +08:00
morris
f0c07f82b5 fix(test): check call graph for hal component 2023-07-05 09:09:01 +08:00
Darian Leung
4a15db126a fix(esp_ringbuf): Fix "USE_AFTER_FREE" coverity issue
Fix false positive in coverity where it thinks memory buffers are freed for
statically created ring buffers, leading to a "USE_AFTER_FREE" warning in
vRingbufferDeleteWithCaps().
2023-07-04 21:53:46 +01:00
Shu Chen
28a6aeb303 Merge branch 'openthread/thread_state' into 'master'
openthread: Add event post for OpenThread role changed

See merge request espressif/esp-idf!24141
2023-07-05 01:32:16 +08:00
Lou Tian Hao
4cf39d7851 Merge branch 'update/pm_trace_io_num_for_esp32h2' into 'master'
bugfix: update pm trace io num for esp32h2

Closes IDF-7657

See merge request espressif/esp-idf!24559
2023-07-04 23:14:14 +08:00
Mahavir Jain
de9cb53bc1 Merge branch 'fix/nvs_sec_provider_coverity_issues' into 'master'
fix (nvs_sec_provider): Fix memory leakage reported by coverity

See merge request espressif/esp-idf!24555
2023-07-04 22:29:08 +08:00
Aditya Patwardhan
8b5eea8519 Merge branch 'fix/esp_tls_missing_explicit_header' into 'master'
fix (esp-tls): Missing explicit inclusion of header `mbedtls/x509_crt.h`

Closes IDFGH-10519

See merge request espressif/esp-idf!24544
2023-07-04 21:15:11 +08:00
Jiang Jiang Jian
df36c3adcc Merge branch 'bugfix/rtc_clk_int_rc32k_miss_calib_cycles_config' into 'master'
fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC

See merge request espressif/esp-idf!24568
2023-07-04 20:41:45 +08:00
muhaidong
79ddd24d23 fix(wifi): fix some wifi bugs
1. esp_wifi: fix association request miss verify ssid issue
2. esp_wifi: fix wpa3 softAP allocate aid issue
2023-07-04 19:49:34 +08:00
Jiang Jiang Jian
c133949da6 Merge branch 'bugfix/obss_scan_disasrm' into 'master'
esp_wifi : Add a obss scan timer disarm upon sta disconnect.

Closes WIFI-5888

See merge request espressif/esp-idf!23897
2023-07-04 19:24:18 +08:00
Jiang Jiang Jian
12306efc19 Merge branch 'bugfix/btm_scan_done_crash' into 'master'
wpa_supplicant : Fix race condition in BTM scan

Closes WIFI-5838

See merge request espressif/esp-idf!23775
2023-07-04 16:03:08 +08:00
WanqQixiang
58b99731f5 feat(openthread): Add event post for thread role changed and integrate all the thread state change callbacks 2023-07-04 15:28:41 +08:00
morris
0298e6f257 Merge branch 'feature/gpio_num_per_target' into 'master'
refactor(gpio): per-target gpio number definition

See merge request espressif/esp-idf!24546
2023-07-04 14:12:39 +08:00
Sudeep Mohanty
c14bdc9394 Merge branch 'bugfix/missing_return_in_lp_print' into 'master'
fix(lp-core): Added missing return statement to lp_core_printf()

See merge request espressif/esp-idf!24531
2023-07-04 13:42:18 +08:00
Marius Vikhammer
8abdf2fc6d Merge branch 'bugfix/esp_event_err_docs' into 'master'
fix(core-system/esp event): Fixed missing error return  documentation for...

Closes IDFGH-10499

See merge request espressif/esp-idf!24417
2023-07-04 13:40:58 +08:00
Geng Yuchao
d9d9d4c36b fix(ble): Fix duplicate var length issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
f226e75f4b fix(ci): Fix declaration isn't a prototype issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
ba7b365f23 feat(ble): Update ble lib to 6f9ef119 2023-07-04 11:45:00 +08:00
Geng Yuchao
d64f902c95 change(ble): Enable pdu type trig in duplicate in default mode as before 2023-07-04 11:45:00 +08:00
Geng Yuchao
0b2fde8a17 feat(ble): Add duplicate refersh function support for esp32h2 2023-07-04 11:44:59 +08:00
Geng Yuchao
d2b9583c45 feat(ble): Add support to scan period refresh duplicate cache list 2023-07-04 11:44:50 +08:00
Li Shuai
f4c3b07436 fix(rtc_clk): fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC 2023-07-04 11:23:07 +08:00
Chen Jian Hua
f71b23e767 Merge branch 'bugfix/bluedroid_ble_adv_length_0_error' into 'master'
bluedroid: fix ble adv length 0 error

See merge request espressif/esp-idf!24496
2023-07-04 11:00:43 +08:00
zhanghaipeng
18a1a01764 fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-04 11:00:32 +08:00
Omar Chebib
2aee63a773 freertos: add a unit test for FPU context switch 2023-07-04 02:45:56 +00:00
Omar Chebib
b03c8912c7 Xtensa: fix a bug that altered CPU registers in FPU exception handlers
* Fixes https://github.com/espressif/esp-idf/issues/11690
2023-07-04 02:45:56 +00:00
Geng Yuchao
fbb88ef979 feat(ble): Add duplicate filter feature enable on ble for h2. 2023-07-04 10:40:04 +08:00
Geng Yuchao
2310c68966 feat(ble): Add duplicate filter feature enable on ble for c6. 2023-07-04 10:39:05 +08:00
Shu Chen
f64a6bcb6a Merge branch 'feature/esp32c6_light_sleep_support_ieee802154' into 'master'
ieee802154: esp32c6 light sleep support

See merge request espressif/esp-idf!23629
2023-07-04 10:13:28 +08:00
Lou Tianhao
3513d82df0 remove: TODO IDF-7555 2023-07-03 20:29:27 +08:00
jgujarathi
2fe35e8b49 esp_wifi : Add a obss scan timer disarm upon sta disconnect.
Adds a obss scan timer disarm when a sta disconnects from an AP.
2023-07-03 17:55:57 +05:30
Alexey Lapshin
e270427367 Merge branch 'feature/hw_stack_guard_for_riscv' into 'master'
esp_system: implement hw stack guard for riscv chips

Closes IDF-7124 and IDF-3839

See merge request espressif/esp-idf!23808
2023-07-03 20:17:09 +08:00
Lou Tianhao
bedc26d032 bugfix: update pm trace io num for esp32h2 2023-07-03 17:23:48 +08:00
Jiang Jiang Jian
6b16801863 Merge branch 'bugfix/split_scan_tx' into 'master'
esp_wifi : Fix issues with split scan data tx and sta roam.

Closes WIFI-5285, IDFGH-9885, and WIFI-5016

See merge request espressif/esp-idf!23163
2023-07-03 17:18:42 +08:00
Sudeep Mohanty
f6df189437 fix(lp-core): Added missing return statement to lp_core_printf() 2023-07-03 11:01:17 +02:00
Laukik Hase
bfaeb075a6
fix(nvs_sec_provider): Fix memory leakage reported by coverity 2023-07-03 14:26:49 +05:30
Laukik Hase
3565a9ba89
fix(esp-tls): Add explicit inclusion of header mbedtls/x509_crt.h
- Closes https://github.com/espressif/esp-idf/issues/11761
2023-07-03 14:24:38 +05:30
cjin
dcac0d0d6a phy: update phy enable/disable for h2 light sleep 2023-07-03 16:05:42 +08:00
cjin
3d2342df6c ble: support esp32h2 modem clock selection 2023-07-03 16:05:42 +08:00
Jiang Jiang Jian
f5ccae4d93 Merge branch 'bugfix/concurrency_while_eloop_register' into 'master'
esp_wifi: Bugfix concurrency observed while doing eloop register

Closes WIFI-5955

See merge request espressif/esp-idf!24046
2023-07-03 13:41:36 +08:00
morris
d623ce0d53 refactor(gpio): per-target gpio number definition 2023-07-03 13:33:11 +08:00