Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

53 merge #189

Merged
merged 246 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
d51dd9b
feat(bt):add pytest for classic bt example
Jul 19, 2024
823ac69
docs: Delete ESP32-S2-Kaluga-Kit related user guide files
Shen765 Jul 26, 2024
da12d1d
docs: remove user guide for esp32-ethernet-kit migration
April-Yjj Jul 26, 2024
b7513a2
feat(nimble): Add extra handling for set data len packet event
rahult-github Aug 1, 2024
6226780
fix(nimble): Fixed assert issue in proximity_sensor example
rahult-github Aug 2, 2024
2ebd58b
fix(sdspi): add dma_aligned_buffer and pwr_ctrl_handle fields
tunefs Aug 1, 2024
f7040d3
fix(esp_pm): configure timer wakeup source with auto light-sleep cong…
esp-wzh Jul 15, 2024
202858e
feat(bt/example): add ci sdkconfig for bt examples
ESP-YTGerd Jul 31, 2024
89218d6
fix(bt): get remote device name from eir data
ESP-YTGerd Jul 31, 2024
da2979f
change(ci): remove device name check in bt example
ESP-YTGerd Jul 31, 2024
ed83164
fix(wifi/mesh): clear the rootless state in mesh ie when changing fro…
zhangyanjiaoesp Aug 6, 2024
fc92df3
fix(wifi/mesh): fixed the dhcp offer send error issue when root resta…
zhangyanjiaoesp Jul 18, 2024
4977a82
fix(wifi/mesh): update the mesh ip_internal_network example
zhangyanjiaoesp Jul 18, 2024
3084df3
docs(gptimer): remove incorrect param from example
LonerDan Aug 6, 2024
51130a7
docs: Fix a small typo in adc_calibration.rst
Shen765 Aug 2, 2024
7e7f388
change(wdt): create wdt_periph.c in soc component
suda-morris Jun 4, 2024
e1ba14d
fix(gptimer): fix the regdma overwrite the reload configuration
suda-morris Jun 5, 2024
998cd5e
refactor(gptimer): sleep retention code clean up
suda-morris Jun 4, 2024
cfebc20
feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
esp-cjh Jul 23, 2024
1046724
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
esp-zhp Aug 4, 2024
2e0c01b
docs(ble/bluedroid): Optimize documentation for BLE connection parame…
esp-zhp Aug 5, 2024
7741d58
feat(ble/bluedroid): Support getting BLE address type in bond list
esp-zhp Aug 7, 2024
7c9d9a8
feat(ble): Print out the BT mac when the controller is initialized
ShenWeilong Aug 7, 2024
fd446a6
fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListR…
sudeep-mohanty Aug 8, 2024
1aec9e7
fix(esp_pm): Fix APB clock calculation for chips w/o modem
gerekon Apr 11, 2024
87ec32e
docs(ble/bluedroid): Optimize BLE example for setting advertising data
esp-zhp Aug 9, 2024
a600af4
change(ci): disable dangerjs checker for release notes
igrr Aug 2, 2024
5fedad0
ci(pre-commit): bump kconfig checker pre-commit version to 2.3.0
Jul 30, 2024
9c9ba2e
fix(esp_eth): fixed default GPIO to match new ver. of P4 devboard
kostaond Aug 8, 2024
7b5454b
fix(bt): change example sdkconfig name to sdkconfig.ci.test
ESP-YTGerd Aug 12, 2024
584be40
fix(nimble) Added change to handle linked om data at blufi layer
rahult-github Apr 17, 2024
88c476e
fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h
andylinpersonal Aug 7, 2024
479c835
feat(ldo): add config to let hardware control the ldo output
suda-morris Aug 7, 2024
3358b30
fix(lcd): prelonged the lifecycle of dma2d transaction config structure
suda-morris Aug 12, 2024
d54f5cd
fix(drivers): rename the nested extra_flags structure
suda-morris Aug 13, 2024
867acff
docs: Update the CN translation for ulp-lp-core.rst
Shen765 Jul 24, 2024
3b1bde1
test(freertos): Fixed flaky scheduling time test
sudeep-mohanty Jul 25, 2024
95594df
feat(riscv): added api to disable branch predictor
Icarus113 Aug 13, 2024
13c3098
fix(cache): disable branch predictor before disable cache
Icarus113 Aug 13, 2024
87cc3cb
fix(MMU): fixed mmap deadlock when using multicore app with unicore b…
ginkgm Aug 10, 2024
a26af84
ci(mmu): add unicore test
ginkgm Aug 12, 2024
19ab530
docs(nvs_encryption): Updated the docs of nvs_encryption
hrushikesh430 Jul 25, 2024
9d010bd
fix(linux): fixed build errors on MacOS
0xjakob Apr 26, 2024
0b72099
feat(efuse): Updates esp_efuse_get_pkg_ver
KonstantinKondrashov Aug 15, 2024
1fc04a0
change(mqtt): Update esp_mqtt submodule
euripedesrocha Jun 10, 2024
124c719
docs: delete user guides of ESP32-DevKitC, ESP-WROVER-KIT and ESP32-P…
Lindazhxy Aug 5, 2024
2e95ecf
fix(bt): remove redundant space in hid example path
ESP-YTGerd Aug 14, 2024
bf228ff
fix(ci): disable ci test when target is not support classic bluetooth
ESP-YTGerd Aug 14, 2024
d777b8e
fix(newlib): fixed potential overflow in usleep
ESP-Marius Aug 19, 2024
234a137
docs: fix a typo in adc_oneshot
Lindazhxy Aug 16, 2024
473e726
feat(gdma): add GDMA link list driver
suda-morris Jul 19, 2024
80bc9a3
refactor(i80): use the gdma link list driver
suda-morris Jul 24, 2024
6f97a18
docs(size): remove -DOUTPUT_FORMAT output format option for idf.py size
fhrbata Aug 22, 2024
0f08a5b
feat(lwip): Added multiple dns ip support (v5.3)
espressif-abhikroy Apr 17, 2024
cf65f55
fix(esp_netif): Restore DNS servers per netif when setting it default…
david-cermak May 21, 2024
d716e64
fix(esp_netif): Add unit test of getter/setter API for DNS servers
david-cermak Jun 19, 2024
1237b8c
feat(lwip): Add support for PPP Auth using mbedTLS (v5.3)
david-cermak May 24, 2024
fec0c43
fix(esp_netif): Remove unused leftover pppapi_set_auth() call
david-cermak May 24, 2024
a84d136
fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns (v5.3)
espressif-abhikroy Jul 18, 2024
d645030
fix(esp_netif): Correct spelling erros
david-cermak Aug 23, 2024
4768c57
fix(ble): fixed ble controller issues on ESP32-C2
zhaoweiliang2021 Aug 21, 2024
8a4b12a
fix(ble): fixed ble controller issues on ESP32-C6
zhaoweiliang2021 Aug 24, 2024
bd8e4e8
fix(ble): fixed ble controller issues on ESP32-H2
zhaoweiliang2021 Aug 24, 2024
7096ac8
feat(bt/bluedroid): Add print and assert when failed to alloc memory
esp-cjh Jun 20, 2024
f199eee
fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist
esp-cjh Jun 13, 2024
cbefea9
feat(bt/bluedroid): Report HCI error code to app when command fails
esp-cjh Jul 29, 2024
023aada
fix(bt/bluedroid): Fixed work queue delete when create thread failed
esp-cjh Aug 23, 2024
8f7dcc1
fix(usb/host): Use new cache aligned DMA alloc functions
tore-espressif Aug 16, 2024
8f38d94
docs(usb/host): Update maintainer docs for ESP32-P4
tore-espressif Aug 13, 2024
e94176c
docs(usb/device): Update USB device docs for ESP32-P4
tore-espressif Aug 15, 2024
d36469f
docs(usb/host): Update USB host docs for ESP32-P4
tore-espressif Aug 15, 2024
3767ec0
fix(cmake): Fixed linker not supporting -warn_commons for linux targe…
sudeep-mohanty Aug 14, 2024
8dd40ee
ci(panic): add flash encrypted coredump tests
erhankur Apr 29, 2024
d72b765
fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
erhankur May 6, 2024
c986991
fix(esp_hid): Loose the check of input report length to be more compa…
boblane1 Aug 7, 2024
99b3002
fix(ldgen): fix linker script generation from a single-entry fragment…
o-marshmallow Aug 23, 2024
c7c0fef
fix(wifi): fix wifi example itwt build fail issue
Aug 5, 2024
e9df36a
fix(esp_eth): fix C++ invalid type conversion error
stkw0 Jul 30, 2024
4599069
change(pm): change dependence of pm_slp_iram_opt
10086loutianhao Aug 28, 2024
2bb7b51
docs: delete unavailable document links for ESP32-P4
Lindazhxy Aug 19, 2024
4d8825d
fix(bt): Enable use of RESERVED bits in COD (GitHub PR)
WebDust21 Aug 1, 2024
020276b
fix(bt): Add a parameter in the two least significant bits of Class o…
esp-qing Aug 19, 2024
6adb588
feat(tools): update openocd version to v0.12.0-esp32-20240821
gerekon Aug 26, 2024
fdbdeaa
fix(driver_spi): fix p4 cache auto writeback during spi(dma) rx
wanckl Aug 27, 2024
c100af1
fix(bt/bluedroid): Resolve warning: unused variable 'pp'
nebkat Aug 14, 2024
dc428a3
docs(ble/bluedroid): Optimize BLE example documentation for getting c…
esp-zhp Aug 24, 2024
d02df53
feat(ble/bluedroid): Support getting BLE address type in bond list
esp-zhp Aug 7, 2024
01f4601
docs(ble/bluedroid): Optimize documentation for BLE connection parame…
esp-zhp Aug 5, 2024
8c632f4
fix(wifi_prov): Add support for ESP IP controller chips in bluedroid
rahult-github Jul 31, 2024
4922c67
fix(sdspi): fixed sdspi on p4, s3
Icarus113 Aug 29, 2024
a89f1fc
fix(sdspi): fix memory leak in do_one_sdspi_probe test
igrr May 2, 2024
db389c7
ci(sdspi): re-enable probe/rw tests for slot 1
igrr May 2, 2024
fa13b31
ci(sdspi): clean up newlib memory, reset between tests
igrr May 2, 2024
a5f0f83
fix(ble): fixed crash issue during deinit host after deinit controlle…
zhaoweiliang2021 Aug 30, 2024
99b1866
fix(freertos): Added freertos fragments to the exception list of ldge…
sudeep-mohanty Aug 8, 2024
c3a79c3
test(freertos): Added build test for function in flash with -Os optim…
sudeep-mohanty Aug 8, 2024
5bca458
fix(i2s): fixed alignment of max DMA buffer length on P4
L-KAYA Aug 28, 2024
c518c28
change(i2s): add warning for inaccurate sample rate
L-KAYA Aug 28, 2024
e7b582d
fix(adc): Corrected the ADC channel number caps for esp32p4
sudeep-mohanty Aug 27, 2024
64bfd8c
feat(lcd): support EK79007 LCD in the mipi dsi example
suda-morris Aug 30, 2024
3f1d59d
fix(usb/host): Fix USB Low Speed devices connection on P4
tore-espressif Aug 29, 2024
8e27a0f
refactor(usb/host): Move P4 HS PHY function to correct LL file
tore-espressif Aug 29, 2024
9e3fca8
feat(psram): add psram noinit segment support on S2/S3/P4/C5
Kainarx Sep 3, 2024
8016f0d
Merge branch 'docs/fix_a_typo_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
278ccec
Merge branch 'feat/gdma_descriptor_driver_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
6ce2eab
Merge branch 'fix/pr_14288_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
20975fb
Merge branch 'fix/fix_c5_p4_c6_cache_disable_with_brc_predict_issue_v…
suda-morris Sep 4, 2024
4c3f6ef
fix(pm): cancel cache_safe_assertion when using ext0 & ext1
10086loutianhao Sep 4, 2024
cea789d
Merge branch 'fix/fix_p4_sdspi_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
fe169a2
Merge branch 'feat/add_ek79007_mipi_dsi_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
29b43f3
Merge branch 'feat/ldo_channel_reserve_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
a3f1ec0
Merge branch 'fix/adc_channel_num_caps_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
a9aa973
Merge branch 'fix/mmu_multicore_app_bl_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
14f7232
Merge branch 'contrib/github_pr_14310_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
03df9a2
feat(lcd): support i80 lcd driver on esp32p4
suda-morris Nov 13, 2023
c593bef
change(lcd): simplify the i80 lcd example
suda-morris Jul 24, 2024
07f531e
Merge branch 'bugfix/usleep_overflow_v5.3' into 'release/v5.3'
ESP-Marius Sep 4, 2024
b278fb8
Merge branch 'bugfix/linux_target_mac_v5.3' into 'release/v5.3'
ESP-Marius Sep 4, 2024
e072a83
Merge branch 'bugfix/fix_proxy_example_assert_v5.3' into 'release/v5.3'
rahult-github Sep 4, 2024
a6df415
Merge branch 'bugfix/handle_linked_om_blufi_v5.3' into 'release/v5.3'
rahult-github Sep 4, 2024
a034b21
Merge branch 'bugfix/add_bluedroid_support_for_esp_ip_v5.3' into 'rel…
rahult-github Sep 4, 2024
3ea09ae
Merge branch 'feat/set_data_length_enhancement_v5.3' into 'release/v5.3'
rahult-github Sep 4, 2024
be33558
feat: Add direction finding relate defines and kconfig and CMakeLists
GYC-Espressif Apr 1, 2024
42a5118
feat: Add support for BLE 5.1 Direction Finding feature
GYC-Espressif Aug 30, 2024
212973c
Merge branch 'refactor/gptimer_sleep_retention_v5.3' into 'release/v5.3'
suda-morris Sep 4, 2024
3afe962
Merge branch 'fix/disable_timer_wakeup_source_with_auto_sleep_off_v5.…
jack0c Sep 4, 2024
ed06d00
Merge branch 'fix/fix_p4_apb_clk_calc' into 'release/v5.3'
jack0c Sep 4, 2024
1054460
Merge branch 'bugfix/fix_mesh_ie_issue_from_leaf_to_root_v5.3' into '…
jack0c Sep 4, 2024
246e973
Merge branch 'bugfix/fix_hidh_integrity_check_bug_v5.3' into 'release…
jack0c Sep 4, 2024
6bca576
Merge branch 'bugfix/ldgen_file_single_entry_v5.3' into 'release/v5.3'
jack0c Sep 4, 2024
59380fe
Merge branch 'bugfix/fix_wifi_example_itwt_build_fail_issue_v5.3' int…
jack0c Sep 4, 2024
90f1111
Merge branch 'contrib/github_pr_14286_v5.3' into 'release/v5.3'
jack0c Sep 4, 2024
5e403bb
docs(pm): update power management related docs for esp32p4
esp-wzh Jun 5, 2024
607a689
fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps
nachiketkukade Aug 23, 2024
f760665
docs(ble): Added BLE feature support status to API Guides
weiyuhannnn Aug 16, 2024
afa2161
docs(ble): Replaced Classic Bluetooth with Bluetooth Classic in class…
weiyuhannnn Aug 16, 2024
2991384
docs(ble): Updated support status of LE Isochronous Channels
weiyuhannnn Aug 16, 2024
e100e4c
docs(ble): Updated the support status for some NimBLE features
weiyuhannnn Aug 19, 2024
aaeb1fc
Merge branch 'docs/remove_output_format' into 'release/v5.3'
dobairoland Sep 4, 2024
1726cb2
Merge branch 'change/update-kconfcheck-pre-commit_v5.3' into 'release…
dobairoland Sep 4, 2024
30d5bd0
Merge branch 'backport/nimble_support_cte_release_5_3' into 'release/…
rahult-github Sep 4, 2024
1da3d68
Merge branch 'fix/docs_nvs_encryption_update_v5.3' into 'release/v5.3'
mahavirj Sep 4, 2024
4af7646
Merge branch 'bugfix/mdio_default_p4_v5.3' into 'release/v5.3'
david-cermak Sep 4, 2024
7cc55a0
fix(esp_hw_support): fix bad power parameter if PSRAM is enabled duri…
esp-wzh Jul 17, 2024
4fff077
fix(esp_hw_support): flash/psram SPI io is not controlled by hp iomux…
esp-wzh Jul 17, 2024
2c68d03
feat(esp_hw_support): support esp32p4 psram retention
esp-wzh Jul 17, 2024
6e307d5
change(esp_hw_support): reorder light/deep sleep test cases and wrapp…
esp-wzh Sep 4, 2024
e384624
change(esp_hw_support): add case to test PSRAM survives after lightsleep
esp-wzh Jul 24, 2024
21d430c
fix(esp_hw_support): always writeback L1D$ before sleep to keep cpu/r…
esp-wzh Aug 15, 2024
92e4100
feat(nimble): Add support to allow connection during scanning
rahult-github Aug 1, 2024
384b569
Merge branch 'docs/remove_user_guide_for_esp32_ethernet_migration_v5.…
jack0c Sep 4, 2024
2d85016
Merge branch 'feature/ble_example_pytest_v5.3' into 'release/v5.3'
jack0c Sep 4, 2024
0d1227c
Merge branch 'doc/update_esp32p4_pm_programming_guide_docs_v5.3' into…
jack0c Sep 4, 2024
2934986
Merge branch 'docs/delete_user_guides_three_esp32_dev_boards_v5.3' in…
jack0c Sep 4, 2024
3de27ba
change(bt): Perform comprehensive heap check in test_app for memory r…
wmy-espressif Jul 30, 2024
f4eef0a
fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32
wmy-espressif Jul 30, 2024
f0e7941
Merge branch 'support_psram_noinit_segment_on_s3_v5.3' into 'release/…
suda-morris Sep 4, 2024
7506432
Merge branch 'feat/allow_connect_during_scan_v5.3' into 'release/v5.3'
rahult-github Sep 4, 2024
bbc5658
feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established
rahult-github Jul 22, 2024
19c8c15
Merge branch 'bugfix/fix_wrong_typecast_spp_v5.3' into 'release/v5.3'
jack0c Sep 4, 2024
1189ac4
fix(iperf): add esp_extconn idf component ymy
Jun 19, 2024
821c94d
fix(wifi_host): support esp32p4 host get mac addr from target
MaxwellAlan Apr 9, 2024
7d7e505
fix(wifi): support esp32_host ext_connect in iper
Jun 19, 2024
1c2b9e8
fix(wifi): enable p4 and esp8689 build iperf in ci
Jul 26, 2024
4e7a7b6
fix(ci): update iperf build ci condition
ydesp Jul 26, 2024
990a84a
Merge branch 'bugfix/fixed_c6_c2_issues_master_v5.3' into 'release/v5.3'
Isl2017 Sep 5, 2024
9c0976d
docs(ble): Added BLE Get Started
Jul 29, 2024
ad345aa
docs(ble): Improved as Weilong and Shenhang requested
Aug 19, 2024
3bb1e9b
docs(ble): Replace advertising interval hex value with BLE_GAP_ADV_IT…
Aug 19, 2024
20e360e
fix(ble): Removed unsupported sdkconfig
weiyuhannnn Aug 26, 2024
ade6f45
fix(ble): Increased the length of addr_str in ble_get_started nimble …
weiyuhannnn Aug 30, 2024
420f3ac
fix(ble): remove ble wakeup before entering light sleep
ChrysalisChenJ Aug 2, 2024
992bf3f
feat(ble): add internal api to change ble slow clock source
ChrysalisChenJ Aug 19, 2024
8afaec4
Merge branch 'bugfix/fixed_assert_on_esp32c2_v5.3' into 'release/v5.3'
Isl2017 Sep 5, 2024
038a86f
Merge branch 'task/add_ldgen_exception_for_freertos_v5.3' into 'relea…
jack0c Sep 5, 2024
daec3b3
Merge branch 'docs/delete_not_available_p4_documents_v5.3' into 'rele…
jack0c Sep 5, 2024
10bba8f
Merge branch 'feat/add_ble_link_estab_event_v5.3' into 'release/v5.3'
rahult-github Sep 5, 2024
3af62b6
fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf
esp-qing Aug 19, 2024
897e889
refactor(parlio_tx): use gdma link list driver to mount buffer
Kainarx Sep 2, 2024
8ef2bd2
fix(nimble): Fixed blesmp getbondlist issue
Aug 12, 2024
26b2e3d
Merge branch 'docs/usb_docs_p4_backport_v5.3' into 'release/v5.3'
suda-morris Sep 5, 2024
412f1f5
Merge branch 'feat/usb_ls_p4_backport_v5.3' into 'release/v5.3'
suda-morris Sep 5, 2024
d77148b
Merge branch 'bugfix/i2s_dma_buf_saturation_on_p4_v5.3' into 'release…
suda-morris Sep 5, 2024
cbc9594
Merge branch 'docs/fix_typo_adc_oneshot_v5.3' into 'release/v5.3'
jack0c Sep 5, 2024
b0f330a
Merge branch 'bugfix/heap_corrupt_in_bt_mem_release_on_esp32_v5.3' in…
jack0c Sep 5, 2024
cd1da85
Merge branch 'feat/esp_netif_dns_switch_v5.3' into 'release/v5.3'
jack0c Sep 5, 2024
1720dc7
Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.3' into 'release/v5.3'
Isl2017 Sep 5, 2024
b1f6f33
Merge branch 'docs/add_nimble_get_started_v5.3' into 'release/v5.3'
Isl2017 Sep 5, 2024
4913f93
Merge branch 'docs/add_ble_feature_status_table_v5.3' into 'release/v…
Isl2017 Sep 5, 2024
e38b425
feat(bt/bluedroid): Added definition of minor class of COD for periph…
boblane1 Aug 30, 2024
a82edc8
fix(esp_hid): Fixed protocol mode mapping bug
boblane1 Aug 30, 2024
24c2c80
Merge branch 'fix/hfp_pcm_codec_v5.3' into 'release/v5.3'
jack0c Sep 5, 2024
d3b1b54
Merge branch 'bugfix/fix_esp32p4_sleep_psram_access_failure_v5.3' int…
jack0c Sep 5, 2024
51515f2
Merge branch 'bugfix/blesmp_getlist_bond_fail_v5.3' into 'release/v5.3'
rahult-github Sep 5, 2024
dd64098
Merge branch 'docs/delete_user_guide_esp32s2_kaluga_1_kit_v5.3' into …
suda-morris Sep 5, 2024
e7f99a1
Merge branch 'docs/update_cn_ulp_lp_core_v5.3' into 'release/v5.3'
suda-morris Sep 5, 2024
a55ca99
fix(nimble): Added BT_HCI_LOG_INCLUDED macro according to nimble nome…
Astha-cpu Aug 14, 2024
cfbb9c0
fix(wifi): Add PSRAM failure fallback in WiFi Queue API's
nachiketkukade Aug 12, 2024
e74ca28
Merge branch 'coredump_fixes_v5.3' into 'release/v5.3'
gerekon Sep 5, 2024
b1f17b6
Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240821_v5.3' …
gerekon Sep 5, 2024
2bfe842
fix(nimble): Add notify characteristic flag support
rahult-github Jul 24, 2024
5a14b3c
Merge branch 'debug/fix_deep_sleep_wake_up_by_ble_v5.3' into 'release…
Isl2017 Sep 5, 2024
64d8797
Merge branch 'fix/change_bt_hci_log_to_nimble_nomenclature_v5.3' into…
rahult-github Sep 5, 2024
2c2e1a0
fix(nimble): Corrected parameters assignment in per_adv_transfer_enable
rahult-github Jul 24, 2024
2d0f0cb
Merge branch 'bugfix/correct_per_adv_sync_enable_v5.3' into 'release/…
rahult-github Sep 6, 2024
71eb08b
fix(wifi): enable ci build by sdkconfig.ci.esp32p4_with_extconn
Sep 4, 2024
f3dc731
Merge branch 'fix/incorrect_critical_nesting_count_in_linux_port_v5.3…
jack0c Sep 6, 2024
93cce50
Merge branch 'feat/print_the_ble_mac_when_init_5.3' into 'release/v5.3'
jack0c Sep 6, 2024
9c8303a
Merge branch 'ci/disable_dangerjs_releasenote_check_v5.3' into 'relea…
jack0c Sep 6, 2024
ddda4cc
Merge branch 'contrib/github_pr_14276_v5.3' into 'release/v5.3'
jack0c Sep 6, 2024
dfbbbab
Merge branch 'bugfix/fix_ble_channel_map_update_v5.3' into 'release/v…
Isl2017 Sep 6, 2024
bba6bd3
Merge branch 'docs/optimized_ble_gattc_multi_connect_example_v5.3' in…
Isl2017 Sep 6, 2024
021233e
Merge branch 'refactor/use_gdma_link_list_in_parlio_tx_v5.3' into 're…
suda-morris Sep 6, 2024
1ebc4f4
fix(nimble): Make CCCD flags configurable
Aug 20, 2024
f7b5409
Merge branch 'bugfix/dma2d_transacrion_config_lifecycle_v5.3' into 'r…
suda-morris Sep 6, 2024
77475b4
Merge branch 'bugfix/add_notify_flag_for_wifi_prov_v5.3' into 'releas…
mahavirj Sep 6, 2024
4ac395b
Merge branch 'bugfix/fix_hid_cod_setting_v5.3' into 'release/v5.3'
wmy-espressif Sep 6, 2024
50abf54
Merge branch 'bugfix/make_cccd_flags_configurable_v5.3' into 'release…
rahult-github Sep 6, 2024
d097cf3
docs: Remove User Guide for ESP32-Pico-Kit related docs after migration
April-Yjj Aug 9, 2024
13ec7d2
fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list
Lapshin Sep 6, 2024
cef46b3
Merge branch 'docs/remove_user_guide_for_esp32_pico_kit_related_migra…
krzychb Sep 6, 2024
af9ebec
fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv…
esp-zhp Aug 16, 2024
e4003fd
fix(ble/bluedroid): Optimize BLE function 'esp_ble_resolve_adv_data_b…
esp-zhp Aug 26, 2024
ca5db5a
docs(blufi): Optimize documentation for Blufi example
esp-zhp Sep 6, 2024
b9edac0
feat(ble/controller): Support get BLE controller free heap size
esp-zhp Aug 15, 2024
140873d
Merge branch 'bugfix/fix_ble_resolve_adv_data_v5.3' into 'release/v5.3'
Isl2017 Sep 9, 2024
0593e04
Merge branch 'docs/optimized_ble_adv_data_type_v5.3' into 'release/v5.3'
Isl2017 Sep 9, 2024
b994115
Merge branch 'change/support_pm_slp_iram_opt_in_normal_light_sleep_v5…
jack0c Sep 9, 2024
d6e9558
Merge branch 'contrib/github_pr_14329_v5.3' into 'release/v5.3'
jack0c Sep 9, 2024
591805b
Merge branch 'test/fix_flaky_sched_time_test_v5.3' into 'release/v5.3'
jack0c Sep 9, 2024
f8d64f1
feat(bt): Update esp32 bt-lib(bc393dd)
esp-cjh Sep 2, 2024
5aa5090
Merge branch 'mqtt_update_v5.3' into 'release/v5.3'
jack0c Sep 9, 2024
887cb5d
Merge branch 'fix/clang_linker_fix_for_linux_target_v5.3' into 'relea…
jack0c Sep 9, 2024
4a3ca7f
Merge branch 'feat/i80_lcd_esp32p4_v5.3' into 'release/v5.3'
suda-morris Sep 9, 2024
1feb703
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(8ce789b)
esp-cjh Sep 2, 2024
0c7e957
Merge branch 'bugfix/psram_fallback_in_wifi_osi_v5.3' into 'release/v…
jack0c Sep 9, 2024
b4c956c
fix(mbedtls/port): fix codespell issues
bryghtlabs-richard Aug 6, 2024
37bdbf3
Merge branch 'contrib/github_pr_14317_v5.3' into 'release/v5.3'
mahavirj Sep 9, 2024
ab11ab7
Merge branch 'bugfix/fix_some_esp32_host_issues_v5.3' into 'release/v…
jack0c Sep 9, 2024
c697efd
Merge branch 'feat/newlib-add-sbom-exclude_cve-2024-30949' into 'rele…
igrr Sep 9, 2024
2dea103
Merge branch 'feature/p4_efuse_get_pkg_ver_v5.3' into 'release/v5.3'
ESP-Marius Sep 10, 2024
1245cb2
Merge branch 'feat/support_ble_scan_and_init_coex_on_esp32_v5.3' into…
Isl2017 Sep 10, 2024
4d0db70
Merge branch 'bugfix/fix_some_ble_bugs_240826_v5.3' into 'release/v5.3'
Isl2017 Sep 10, 2024
b06d5ec
Delete components/wifi_provisioning directory
Jason2866 Sep 11, 2024
b2dba61
Tasmota changes
Jason2866 Sep 11, 2024
1c72268
Merge branch 'release/v5.3_ulp' into 53_merge
Jason2866 Sep 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .gitlab/ci/danger.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Extenal DangerJS
# External DangerJS
include:
- project: espressif/shared-ci-dangerjs
ref: master
Expand All @@ -10,7 +10,6 @@ run-danger-mr-linter:
GIT_STRATEGY: none # no repo checkout
ENABLE_CHECK_AREA_LABELS: 'true'
ENABLE_CHECK_DOCS_TRANSLATION: 'true'
ENABLE_CHECK_RELEASE_NOTES_DESCRIPTION: 'true'
ENABLE_CHECK_UPDATED_CHANGELOG: 'false'
before_script: []
cache: []
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,6 @@ repos:
name: Lint rST files in docs folder using Sphinx Lint
files: ^(docs/en|docs/zh_CN)/.*\.(rst|inc)$
- repo: https://github.com/espressif/esp-idf-kconfig.git
rev: v2.1.0
rev: v2.3.0
hooks:
- id: check-kconfig-files
31 changes: 29 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang")
list(APPEND compile_options "-Wno-pointer-bool-conversion")
# mbedTLS md5.c triggers this warning in md5_test_buf (false positive)
list(APPEND compile_options "-Wno-string-concatenation")
# multiple cases of implict convertions between unrelated enum types
# multiple cases of implicit conversions between unrelated enum types
list(APPEND compile_options "-Wno-enum-conversion")
# When IRAM_ATTR is specified both in function declaration and definition,
# it produces different section names, since section names include __COUNTER__.
Expand Down Expand Up @@ -215,8 +215,35 @@ endif()
list(APPEND link_options "-fno-lto")

if(CONFIG_IDF_TARGET_LINUX AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
# Not all versions of the MacOS linker support the -warn_commons flag.
# ld version 1053.12 (and above) have been tested to support it.
# Hence, we extract the version string from the linker output
# before including the flag.

# Get the ld version, capturing both stdout and stderr
execute_process(
COMMAND ${CMAKE_LINKER} -v
OUTPUT_VARIABLE LD_VERSION_OUTPUT
ERROR_VARIABLE LD_VERSION_ERROR
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_STRIP_TRAILING_WHITESPACE
)

# Combine stdout and stderr
set(LD_VERSION_OUTPUT "${LD_VERSION_OUTPUT}\n${LD_VERSION_ERROR}")

# Extract the version string
string(REGEX MATCH "PROJECT:(ld|dyld)-([0-9]+)\\.([0-9]+)" LD_VERSION_MATCH "${LD_VERSION_OUTPUT}")
set(LD_VERSION_MAJOR_MINOR "${CMAKE_MATCH_2}.${CMAKE_MATCH_3}")

message(STATUS "Linker Version: ${LD_VERSION_MAJOR_MINOR}")

# Compare the version with 1053.12
if(LD_VERSION_MAJOR_MINOR VERSION_GREATER_EQUAL "1053.12")
list(APPEND link_options "-Wl,-warn_commons")
endif()

list(APPEND link_options "-Wl,-dead_strip")
list(APPEND link_options "-Wl,-warn_commons")
else()
list(APPEND link_options "-Wl,--gc-sections")
list(APPEND link_options "-Wl,--warn-common")
Expand Down
2 changes: 2 additions & 0 deletions components/bt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ if(CONFIG_BT_ENABLED)
host/nimble/nimble/nimble/host/services/tps/include
host/nimble/nimble/nimble/host/services/hid/include
host/nimble/nimble/nimble/host/services/sps/include
host/nimble/nimble/nimble/host/services/cte/include
host/nimble/nimble/nimble/host/util/include
host/nimble/nimble/nimble/host/store/ram/include
host/nimble/nimble/nimble/host/store/config/include
Expand All @@ -683,6 +684,7 @@ if(CONFIG_BT_ENABLED)
"host/nimble/nimble/nimble/host/services/cts/src/ble_svc_cts.c"
"host/nimble/nimble/nimble/host/services/hid/src/ble_svc_hid.c"
"host/nimble/nimble/nimble/host/services/sps/src/ble_svc_sps.c"
"host/nimble/nimble/nimble/host/services/cte/src/ble_svc_cte.c"
"host/nimble/nimble/nimble/host/src/ble_hs_conn.c"
"host/nimble/nimble/nimble/host/src/ble_store_util.c"
"host/nimble/nimble/nimble/host/src/ble_sm.c"
Expand Down
28 changes: 26 additions & 2 deletions components/bt/common/btc/profile/esp/blufi/nimble_host/esp_blufi.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -124,7 +124,31 @@ static size_t write_value(uint16_t conn_handle, uint16_t attr_handle,
}
}

btc_blufi_recv_handler(&ctxt->om->om_data[0], ctxt->om->om_len);
/* Data may come in linked om. So retrieve all data */
if (SLIST_NEXT(ctxt->om, om_next) != NULL) {
uint8_t *fw_buf = (uint8_t *)malloc(517 * sizeof(uint8_t));
memset(fw_buf, 0x0, 517);

memcpy(fw_buf, &ctxt->om->om_data[0], ctxt->om->om_len);
struct os_mbuf *last;
last = ctxt->om;
uint32_t offset = ctxt->om->om_len;

while (SLIST_NEXT(last, om_next) != NULL) {
struct os_mbuf *temp = SLIST_NEXT(last, om_next);
memcpy(fw_buf + offset , &temp->om_data[0], temp->om_len);
offset += temp->om_len;
last = SLIST_NEXT(last, om_next);
temp = NULL;
}
btc_blufi_recv_handler(fw_buf, offset);

free(fw_buf);
}
else {
btc_blufi_recv_handler(&ctxt->om->om_data[0], ctxt->om->om_len);
}

rc = ble_hs_mbuf_to_flat(ctxt->om, value->buf->om_data,
value->buf->om_len, &len);
if (rc != 0) {
Expand Down
14 changes: 14 additions & 0 deletions components/bt/common/include/bt_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#define OSI_INITIAL_TRACE_LEVEL UC_BT_LOG_OSI_TRACE_LEVEL
#define BLUFI_INITIAL_TRACE_LEVEL UC_BT_LOG_BLUFI_TRACE_LEVEL

// MEMORY
#if UC_BT_BLE_DYNAMIC_ENV_MEMORY
#define BT_BLE_DYNAMIC_ENV_MEMORY TRUE
#define BTC_DYNAMIC_MEMORY TRUE
Expand All @@ -64,6 +65,19 @@
#define BT_BLE_DYNAMIC_ENV_MEMORY FALSE
#endif

#if UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST
#define HEAP_ALLOCATION_FROM_SPIRAM_FIRST TRUE
#else
#define HEAP_ALLOCATION_FROM_SPIRAM_FIRST FALSE
#endif

#if UC_BT_ABORT_WHEN_ALLOCATION_FAILS
#define HEAP_ALLOCATION_FAILS_ABORT TRUE
#else
#define HEAP_ALLOCATION_FAILS_ABORT FALSE
#endif

// HCI LOG
#if UC_BT_HCI_LOG_DEBUG_EN
#define BT_HCI_LOG_INCLUDED UC_BT_HCI_LOG_DEBUG_EN
#else
Expand Down
15 changes: 14 additions & 1 deletion components/bt/common/include/bt_user_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,26 @@
#define UC_BT_BLUFI_ENABLE FALSE
#endif

//MEMORY DEBUG
//MEMORY
#ifdef CONFIG_BT_BLUEDROID_MEM_DEBUG
#define UC_BT_BLUEDROID_MEM_DEBUG TRUE
#else
#define UC_BT_BLUEDROID_MEM_DEBUG FALSE
#endif

#ifdef CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST
#define UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST
#else
#define UC_HEAP_ALLOCATION_FROM_SPIRAM_FIRST FALSE
#endif

#ifdef CONFIG_BT_ABORT_WHEN_ALLOCATION_FAILS
#define UC_BT_ABORT_WHEN_ALLOCATION_FAILS CONFIG_BT_ABORT_WHEN_ALLOCATION_FAILS
#else
#define UC_BT_ABORT_WHEN_ALLOCATION_FAILS FALSE
#endif

//HCI LOG
#ifdef CONFIG_BT_HCI_LOG_DEBUG_EN
#define UC_BT_HCI_LOG_DEBUG_EN TRUE
#else
Expand Down
51 changes: 18 additions & 33 deletions components/bt/common/osi/allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,48 +213,33 @@ char *osi_strdup(const char *str)

void *osi_malloc_func(size_t size)
{
#if HEAP_MEMORY_DEBUG
void *p;
#if HEAP_ALLOCATION_FROM_SPIRAM_FIRST
p = heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL);
#else
p = malloc(size);
#endif /* #if HEAP_ALLOCATION_FROM_SPIRAM_FIRST */
osi_mem_dbg_record(p, size, __func__, __LINE__);
void *p = osi_malloc_base(size);

if (size != 0 && p == NULL) {
OSI_TRACE_ERROR("malloc failed (caller=%p size=%u)\n", __builtin_return_address(0), size);
#if HEAP_ALLOCATION_FAILS_ABORT
assert(0);
#endif
}

return p;
#else
#if HEAP_ALLOCATION_FROM_SPIRAM_FIRST
return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL);
#else
return malloc(size);
#endif /* #if HEAP_ALLOCATION_FROM_SPIRAM_FIRST */
#endif /* #if HEAP_MEMORY_DEBUG */
}

void *osi_calloc_func(size_t size)
{
#if HEAP_MEMORY_DEBUG
void *p;
#if HEAP_ALLOCATION_FROM_SPIRAM_FIRST
p = heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL);
#else
p = calloc(1, size);
#endif /* #if HEAP_ALLOCATION_FROM_SPIRAM_FIRST */
osi_mem_dbg_record(p, size, __func__, __LINE__);
void *p = osi_calloc_base(size);

if (size != 0 && p == NULL) {
OSI_TRACE_ERROR("calloc failed (caller=%p size=%u)\n", __builtin_return_address(0), size);
#if HEAP_ALLOCATION_FAILS_ABORT
assert(0);
#endif
}

return p;
#else
#if HEAP_ALLOCATION_FROM_SPIRAM_FIRST
return heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL);
#else
return calloc(1, size);
#endif /* #if HEAP_ALLOCATION_FROM_SPIRAM_FIRST */
#endif /* #if HEAP_MEMORY_DEBUG */
}

void osi_free_func(void *ptr)
{
#if HEAP_MEMORY_DEBUG
osi_mem_dbg_clean(ptr, __func__, __LINE__);
#endif
free(ptr);
}
13 changes: 9 additions & 4 deletions components/bt/common/osi/include/osi/allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,18 @@ do { \

#else

// Memory alloc function without print and assertion
#if HEAP_ALLOCATION_FROM_SPIRAM_FIRST
#define osi_malloc(size) heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL)
#define osi_calloc(size) heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL)
#define osi_malloc_base(size) heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL)
#define osi_calloc_base(size) heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL)
#else
#define osi_malloc(size) malloc((size))
#define osi_calloc(size) calloc(1, (size))
#define osi_malloc_base(size) malloc((size))
#define osi_calloc_base(size) calloc(1, (size))
#endif /* #if HEAP_ALLOCATION_FROM_SPIRAM_FIRST */

// Memory alloc function with print and assertion when fails
#define osi_malloc(size) osi_malloc_func((size))
#define osi_calloc(size) osi_calloc_func((size))
#define osi_free(p) free((p))

#endif /* HEAP_MEMORY_DEBUG */
Expand Down
4 changes: 2 additions & 2 deletions components/bt/common/osi/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ osi_thread_t *osi_thread_create(const char *name, size_t stack_size, int priorit
}

for (int i = 0; i < thread->work_queue_num; i++) {
if (thread->work_queues[i]) {
if (thread->work_queues && thread->work_queues[i]) {
osi_work_queue_delete(thread->work_queues[i]);
thread->work_queues[i] = NULL;
}
thread->work_queues[i] = NULL;
}

if (thread->work_queues) {
Expand Down
30 changes: 24 additions & 6 deletions components/bt/controller/esp32/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ do{\
#define OSI_VERSION 0x00010005
#define OSI_MAGIC_VALUE 0xFADEBEAD

#define BLE_CONTROLLER_MALLOC_CAPS (MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL)
/* Types definition
************************************************************************
*/
Expand Down Expand Up @@ -868,7 +869,21 @@ static int IRAM_ATTR cause_sw_intr_to_core_wrapper(int core_id, int intr_no)

static void *malloc_internal_wrapper(size_t size)
{
return heap_caps_malloc(size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL);
return heap_caps_malloc(size, BLE_CONTROLLER_MALLOC_CAPS);
}

void *malloc_ble_controller_mem(size_t size)
{
void *p = heap_caps_malloc(size, BLE_CONTROLLER_MALLOC_CAPS);
if(p == NULL) {
ESP_LOGE(BTDM_LOG_TAG, "Malloc failed");
}
return p;
}

uint32_t get_ble_controller_free_heap_size(void)
{
return heap_caps_get_free_size(BLE_CONTROLLER_MALLOC_CAPS);
}

static int32_t IRAM_ATTR read_mac_wrapper(uint8_t mac[6])
Expand Down Expand Up @@ -1432,6 +1447,14 @@ esp_err_t esp_bt_mem_release(esp_bt_mode_t mode)
.name = "BT Controller Data"
};

/*
* Free data and BSS section for Bluetooth controller ROM code.
* Note that rom mem release must be performed before section _bt_data_start to _bt_data_end is released,
* otherwise `btdm_dram_available_region` will no longer be available when performing rom mem release and
* thus causing heap corruption.
*/
ret = esp_bt_controller_rom_mem_release(mode);

if (mode == ESP_BT_MODE_BTDM) {
/* Start by freeing Bluetooth BSS section */
if (ret == ESP_OK) {
Expand All @@ -1444,11 +1467,6 @@ esp_err_t esp_bt_mem_release(esp_bt_mode_t mode)
}
}

/* free data and BSS section for Bluetooth controller ROM code */
if (ret == ESP_OK) {
ret = esp_bt_controller_rom_mem_release(mode);
}

return ret;
}

Expand Down
Loading
Loading