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
Roshan Bangar
de0798c460
fix(nimble): Fix assert due to controller event while stack deinit
2023-07-03 04:57:20 +00:00
jgujarathi
98e33605b4
wpa_supplicant : Fix occasional crash during btm roam.
...
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-03 04:16:21 +00:00
jgujarathi
1302c5a622
esp_wifi : Fix collection of issues during sta scan and roam.
...
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
supports both WPA_EAP and WPA_EAP_SHA256 authmode.
Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
configuration of the time spent between scanning consecutive
channels for tx.
2023-07-03 04:05:52 +00:00
xiongweichao
e86b367f21
change(bt/Bluedroid): Update AVRCP version to 1.5
2023-07-03 03:57:26 +00:00
xiaqilin
05d3451578
ieee802154: update test code
2023-07-03 10:50:51 +08:00
xiaqilin
c7ab495b0b
ieee802154: exclude sleep file when do not define CONFIG_FREERTOS_USE_TICKLESS_IDLE
2023-07-03 02:21:58 +00:00
xiaqilin
ee7d180e55
ieee802154: update radio state in test
2023-07-03 02:21:58 +00:00
xiaqilin
1bb0c2c723
ieee802154: change light sleep config in ieee802154
2023-07-03 02:21:58 +00:00
xiaqilin
59ffcd07d6
ieee802154: change BLE_BB/ieee802154_BB
2023-07-03 02:21:58 +00:00
xiaqilin
95afd4b9af
openthread: add openthread autostart for sleep device
2023-07-03 02:21:58 +00:00
xiaqilin
485a9d44cf
ieee802154: add sleep state
2023-07-03 02:21:58 +00:00
xiaqilin
dc4b3f24bc
ieee802154: support light sleep
2023-07-03 02:21:58 +00:00
Alexey Lapshin
4df3ff619e
feat(esp_system): implement hw stack guard for riscv chips
...
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
Wang Meng Yang
fe04d6dad9
Merge branch 'bugfix/fix_some_bt_controller_bug' into 'master'
...
component_bt:Fixed some bluetooth bugs
Closes AUD-3566 and ESPCS-871
See merge request espressif/esp-idf!19247
2023-06-30 20:57:26 +08:00
Ondrej Kosta
3288f83401
feat(network/examples): extended LwIP bridge example
...
Extended LwIP bridge example to support WiFi AP interface and DHCP Server
https://github.com/espressif/esp-idf/issues/5697
2023-06-30 14:38:24 +02:00
Euripedes Rocha
d73ed34072
fix(test/mqtt): Removes no-format from test_apps build
...
Allows warnings on mismatching format strings.
2023-06-30 11:31:38 +02:00
Rahul Tank
6eb1a8f51f
fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
...
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
Rahul Tank
7f8ecb218a
Nimble: Add APIs to handle vs HCI commands and events
2023-06-30 12:26:56 +05:30
Island
9b5f3c69a9
Merge branch 'ble_dev/esp32c6_support_power_save_example' into 'master'
...
ble: support esp32c6 power save example
Closes EBLE50Y23-148
See merge request espressif/esp-idf!24385
2023-06-30 14:36:26 +08:00
Island
d9bbffc997
Merge branch 'bugfix/added_chip_based_cca_config' into 'master'
...
ble: fix cca for esp32c2
See merge request espressif/esp-idf!24254
2023-06-30 14:07:34 +08:00
zhanghaipeng
e74b07f717
fix(bt): Fix ble advertising data length 0 error
...
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-06-30 12:03:45 +08:00
Jiang Jiang Jian
a272d454ad
Merge branch 'bugfix/fix_bleqabr23_338' into 'master'
...
Bluedroid: fixed gatt tcb free when disconnecting
See merge request espressif/esp-idf!24497
2023-06-30 11:04:50 +08:00
Alexey Lapshin
f92908ceb1
Merge branch 'fix/segger_sysview_build' into 'master'
...
fix(app_trace): Fix SystemView build
Closes IDF-7661
See merge request espressif/esp-idf!24430
2023-06-30 01:12:07 +08:00
Aditya Patwardhan
e2a8413486
Merge branch 'bugfix/mbedtls_dyanmic_buffer_with_dhm_build' into 'master'
...
fix(mbedtls): Build issue in dynamic buffer feature
Closes IDFGH-10526
See merge request espressif/esp-idf!24488
2023-06-29 22:03:48 +08:00
Alexey Gerenkov
d786d2d459
fix(app_trace): Fix apptrace data corruption on ESP32-S3
...
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
#endif
#define TRACEMEM_MUX_BLK0_NUM 22
-#define TRACEMEM_MUX_BLK1_NUM 23
+#define TRACEMEM_MUX_BLK1_NUM 26
#if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
#error Invalid TRAX block 0 num!
2023-06-29 15:55:40 +03:00
cjin
b37f172cc6
ble: fix cca for esp32c2
2023-06-29 19:59:16 +08:00