Marius Vikhammer
503b917ca5
fix(bootloader): fixed P4 bootloader being able to boot with certain configs
...
Due to internal memory being behind a cache on P4 we need to make sure we do
cache write backs when manipulating IRAM over the dcache.
2024-03-08 09:40:32 +08:00
radek.tandler
508d9a6a22
fix(nvs): Fixed Page::findItem performance degradation
...
Wrong condition gating the hash map use causing performance degradation was corrected
The condition enabling use of hash map when page is searched for Item was modified
to correct the bug introduced by commit addressing delete of any BLOB_INDEX Items.
This correction returns the performance of findItem to the state before previous change.
2024-03-07 19:47:33 +01:00
Sumeet Singh
9f34e4e9d9
feat(nimble): read multiple variable length characteristics
2024-03-07 19:46:54 +05:30
Rahul Tank
8e863fa9a8
Merge branch 'bugfix/handle_callout_free_in_deinit' into 'master'
...
fix(nimble): Handle memory leak in callout deinit
See merge request espressif/esp-idf!29433
2024-03-07 22:02:17 +08:00
Rahul Tank
b6e0ef0297
Merge branch 'bugfix/add_esp_timer_get_expiry_time' into 'master'
...
fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer
See merge request espressif/esp-idf!29414
2024-03-07 21:48:23 +08:00
Erhan Kurubas
4462a2040f
Merge branch 'coredump_refactoring' into 'master'
...
Coredump refactoring
See merge request espressif/esp-idf!29268
2024-03-07 21:23:39 +08:00
Tomas Rezucha
c5dd4a827c
Merge branch 'fix/bbpll_usb_link_error' into 'master'
...
fix(esp_phy): Allow "Enable USB when phy init" option only on supported targets
Closes IDFGH-10996 and IDFGH-11554
See merge request espressif/esp-idf!27364
2024-03-07 19:43:01 +08:00
wuzhenghui
85b246ac88
feat(system): gate the debug clock source by default for esp32c6 and esp32h2
2024-03-07 19:26:39 +08:00
wuzhenghui
f5707c6ab8
feat(system): gate the REF_TICK clock by default for esp32c6 and esp32h2
2024-03-07 19:26:38 +08:00
wuzhenghui
60e985e7af
feat(system): gate the LP peripheral clock by default for esp32c6 and esp32h2
2024-03-07 19:26:38 +08:00
wuzhenghui
0528c8b4f4
feat(system): gate the HP peripheral clock by default for esp32c6 and esp32h2
2024-03-07 19:26:37 +08:00
wuzhenghui
48e6629987
change(hal): redefine some ll for unsafe calling
2024-03-07 19:26:37 +08:00
wanlei
8625ed252e
fix(spi): test_apps mv idf_perform_test to esp_driver_spi domain
2024-03-07 18:16:27 +08:00
wanlei
0cf11e5b87
feat(spi): add esp32c5 spi support
2024-03-07 18:11:48 +08:00
Cao Sen Miao
1517d61add
fix(i2c): Fix I2C synchronous transaction cost so much CPU source,
...
Closes https://github.com/espressif/esp-idf/issues/13137 ,
Closes https://github.com/espressif/esp-idf/pull/13322
2024-03-07 17:51:23 +08:00
Abhinav Kudnar
20ba589f1c
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT.
2024-03-07 14:40:12 +05:30
Sudeep Mohanty
0de2912f91
Merge branch 'fix/esp_system_requires_esp_gdbstub' into 'master'
...
fix(esp_system): Updated the CMakeLists.txt to add requirement for esp_gdbstub component
Closes IDFGH-12162
See merge request espressif/esp-idf!29132
2024-03-07 16:24:46 +08:00
Erhan Kurubas
434b096c72
refactor(espcoredump): simplify uart/flash write flow
2024-03-07 16:10:50 +08:00
Erhan Kurubas
91586bbc85
refactor(espcoredump): replace uart and flash callbacks with aliases
2024-03-07 16:10:50 +08:00
Erhan Kurubas
18fc19faf2
refactor(espcoredump): keep checksum context in coredump stack
2024-03-07 16:10:50 +08:00
Darian
dc86c17b38
Merge branch 'feature/freertos_smp_update_to_v11' into 'master'
...
FreerTOS: Update Amazon SMP FreeRTOS files to V11.0.1
See merge request espressif/esp-idf!28352
2024-03-07 15:03:21 +08:00
Wan Lei
cac16a083f
Merge branch 'feat/c6lite_c61_introduce_step2_soc_2' into 'master'
...
feat(esp32c61): add soc header files (stage 2/8, part 2/3)
See merge request espressif/esp-idf!29431
2024-03-07 14:42:28 +08:00
Guillaume Souchere
e6218d6fb2
Merge branch 'feat/newlib-add-aligned-alloc' into 'master'
...
feat(newlib): Add definition of aligned_alloc to heap.c
Closes IDF-9112
See merge request espressif/esp-idf!28815
2024-03-07 14:22:38 +08:00
Chen Jian Hua
9c075b9ab0
Merge branch 'bugfix/fix_idfci_1944' into 'master'
...
Fixed HCI command status event sending for disconnect command on ESP32
Closes BLERP-595 and BLERP-596
See merge request espressif/esp-idf!29373
2024-03-07 10:41:07 +08:00
Chen Jian Hua
d76ac4527d
Merge branch 'bugfix/fix_fcs_1385' into 'master'
...
fix(bt/bluedroid): Fixed crash when calculating GATTS database hash
See merge request espressif/esp-idf!28788
2024-03-07 10:40:32 +08:00
Darian Leung
411e5481e7
refactor(usb): Remove USBH control transfer callback
...
This commit merges the USBH control transfer callback into the USBH event
callback. This simplifies the code as the USBH now uses a single callback.
2024-03-06 23:09:17 +08:00
Darian Leung
ec2f08ace6
refactor(usb): Update USBH event callback arguments
...
This commit does the following:
- Updates the USBH event callback arguments to now pass a usbh_event_data_t
which can contain different data for each event
- Updated event names
2024-03-06 23:09:16 +08:00
Jiang Guang Ming
60894143d7
Merge branch 'bugfix/update_esp32p4lp_rom_ld_files' into 'master'
...
fix(esp_rom): Update esp32p4lp rom ld files
See merge request espressif/esp-idf!28966
2024-03-06 20:40:53 +08:00
morris
3f76aca0a3
Merge branch 'contrib/github_pr_13256' into 'master'
...
Use __builtin_unreachable in HAL_ASSERT no-assert mode (GitHub PR)
Closes IDFGH-12202
See merge request espressif/esp-idf!29237
2024-03-06 18:45:29 +08:00
zhanghaipeng
2c3d9ae5de
fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check
2024-03-06 18:10:30 +08:00
Rahul Tank
20eda4bb26
fix(nimble): Handle memory leak in callout deinit
2024-03-06 15:40:22 +05:30
Guillaume Souchere
a7bd00eacc
feat(newlib): Add definition of aligned_alloc to heap.c
...
Add the definition of aligned_alloc to the list of
definitions provided by heap.c.
Note that memalign (strictly equivalent) to aligned_alloc
is already defined in heap.c.
2024-03-06 11:06:14 +01:00
Jakob Hasse
d55333cb78
Merge branch 'refactor/format_cxx' into 'master'
...
refactor(cxx): formatted according to IDF astyle rules
See merge request espressif/esp-idf!29417
2024-03-06 17:45:57 +08:00
Rahul Tank
06dc388b21
Merge branch 'bugfix/addr_resol_for_esp32' into 'master'
...
fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32
Closes BLERP-580 and BLERP-594
See merge request espressif/esp-idf!29297
2024-03-06 17:37:17 +08:00
Guillaume Souchere
2ade4d3458
Merge branch 'feat/movee_heap_init_into_component' into 'master'
...
refactor(heap): decouple heap_init from esp_system
Closes IDF-8754
See merge request espressif/esp-idf!29024
2024-03-06 17:36:59 +08:00
zhanghaipeng
82c2602afa
fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host
2024-03-06 15:49:01 +08:00
Kevin (Lao Kaiyao)
9d381c2ae8
Merge branch 'feature/i2s_support_more_mclk_multiples' into 'master'
...
feat(i2s): support more mclk_multiples
See merge request espressif/esp-idf!29177
2024-03-06 15:47:57 +08:00
Kevin (Lao Kaiyao)
413c53d39a
Merge branch 'feature/support_esp32c5_mp_target' into 'master'
...
feat(esp32c5mp): add soc files (stage 2/8, part 1/2)
See merge request espressif/esp-idf!29369
2024-03-06 14:19:40 +08:00
zwl
bc3bb46f13
ble(update):
...
Update h2 lib to d0218de8
Update c6 lib to d0218de8
2024-03-06 14:17:14 +08:00
Marius Vikhammer
efc3f9fa88
Merge branch 'bugfix/rom_systimer_config' into 'master'
...
fix(rom): fixed systimer always using ROM implementation
See merge request espressif/esp-idf!29354
2024-03-06 12:26:06 +08:00
Marius Vikhammer
501628e5e8
Merge branch 'bugfix/linux_target_esp_common_strlcpy' into 'master'
...
fix(linux_target): fix esp_err_to_name failing to compile on linux
See merge request espressif/esp-idf!29285
2024-03-06 11:55:58 +08:00
morris
be8033701c
fix(hal): use __builtin_unreachable in no-assert mode
...
otherwise due to esp-idf using -Werror, we can get errors in code which
uses HAL_ASSERT if for example the compiler believes that a variable is
used uninitialised, or similar.
Inspired by https://github.com/espressif/esp-idf/pull/13256
2024-03-06 11:50:32 +08:00
wanlei
aec7aa3416
feat(esp32c61): add soc header files (2/2)
2024-03-06 11:42:14 +08:00
Island
7b32d26e8b
Merge branch 'feat/support_get_bluedroid_status' into 'master'
...
feat(bt/bluedroid): Add ext adv and privacy status check
Closes BLERP-468
See merge request espressif/esp-idf!29218
2024-03-06 11:41:55 +08:00
Island
be29217eeb
Merge branch 'bugfix/fix_some_bluedroid_bugs_2402' into 'master'
...
fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation)
See merge request espressif/esp-idf!29220
2024-03-06 11:41:50 +08:00
Omar Chebib
eeb5e2f080
Merge branch 'refactor/cpu_interrupt_table' into 'master'
...
refactor(Core System/Interrupts): changed reserved interrupt functions to be now defined per SoC
Closes IDF-5728
See merge request espressif/esp-idf!29020
2024-03-06 11:26:17 +08:00
Wan Lei
84f27d65f6
Merge branch 'feat/c6lite_c61_introduce_step2_soc' into 'master'
...
feat(esp32c61): add soc peripheral header files (stage 2/8, part 1/2)
See merge request espressif/esp-idf!29353
2024-03-06 10:30:39 +08:00
laokaiyao
97835c3c92
feat(i2s): support more mclk_multiples
2024-03-06 10:22:27 +08:00
Jiang Jiang Jian
b25cd5232a
Merge branch 'bugfix/fix_pbuf_assert_when_recycle_cache_sub_amsdu_eb_issue' into 'master'
...
fix(wifi): fix some amsdu issue
Closes WIFIBUG-4 and WIFIBUG-317
See merge request espressif/esp-idf!29403
2024-03-06 10:20:39 +08:00
C.S.M
831c354cf6
Merge branch 'contrib/github_pr_13090' into 'master'
...
Update temp_sensor.rst documentation to match example (GitHub PR)
Closes IDFGH-12025
See merge request espressif/esp-idf!28846
2024-03-06 10:11:40 +08:00
BOT
c07862cee8
Update temp_sensor.rst documentation to match example (GitHub PR)
2024-03-06 10:11:40 +08:00
Guillaume Souchere
32db5e4f6b
Merge branch 'tests/esp32p4-console-support' into 'master'
...
test(console): add esp32p4 target support to console tests and example
Closes IDF-8105 and IDF-8078
See merge request espressif/esp-idf!28834
2024-03-06 10:09:03 +08:00
Marius Vikhammer
b809267359
fix(rom): fixed systimer always using ROM implementation
2024-03-06 09:47:12 +08:00
Mahavir Jain
9f4e8eb0cd
Merge branch 'feature/re_enable_mbedtls_testapp_on_p4' into 'master'
...
feat: re enables tests on p4
Closes IDF-8982
See merge request espressif/esp-idf!29150
2024-03-05 22:08:28 +08:00
hongshuqing
d78805670a
fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug
2024-03-05 19:33:30 +08:00
Darian
b7428bcf7d
Merge branch 'bugfix/freertos_tick_hook_build_issue' into 'master'
...
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled
Closes IDFGH-12247
See merge request espressif/esp-idf!29380
2024-03-05 19:26:58 +08:00
muhaidong
736e4f2fe5
fix(wifi): fix some amsdu issue
...
1. limit the number of sub amsdu
2. fix recycle cache sub amsdu eb issue
2024-03-05 19:06:09 +08:00
nilesh.kale
f6a7fb13cd
feat: re enables tests on p4
...
This commit re-enables mbedtls and hal/crypto testapos on p4.
2024-03-05 17:48:05 +08:00
harshal.patil
2b6f12ba51
fix(hal/crypto): Do not reset parent crypto clk when resetting a crypto peripheral
2024-03-05 15:08:08 +05:30
Abhinav Kudnar
2bd7f672cb
fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32
2024-03-05 14:56:02 +05:30
Rahul Tank
b2c9d7a834
fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer
2024-03-05 14:28:24 +05:30
laokaiyao
a56b575535
feat(esp32c5mp): add soc files part 1
...
The files in this part are auto generated
2024-03-05 16:18:02 +08:00
laokaiyao
cfc1584594
feat(esp32c5): support to set esp32c5 mp target in Kconfig
2024-03-05 16:17:53 +08:00
Darian Leung
48a7f053d5
feat(freertos/smp): Update other IDF components to be compatible with FreeRTOS v11.0.1
2024-03-05 15:44:12 +08:00
Darian Leung
83c686c744
feat(freertos/smp): Update ports to support Amazon FreeRTOS v11.0.1
...
- vTaskPreemptionDisable()/vTaskPreemptionEnable() are no longer available in
single-core builds.
- xTaskIncrementTick() calls must now be wrapped by critical section
- Minimal Idle Task renamed to Passive Idle Task
- Port critical section APIs updated
2024-03-05 15:44:12 +08:00
Darian Leung
888678d102
feat(freertos/smp): Add ESP-IDF specific modifications
...
- Add ESP-IDF specific modifications to FreeRTOS-Kernel-SMP source code
- Update IDF addition source files to support V11 kernel
2024-03-05 15:44:12 +08:00
Darian Leung
421dab29fa
feat(freertos/smp): Update SMP FreeRTOS files to V11.0.1
...
This commit updates the source files of Amazon SMP FreeRTOS to upstream
V11.0.1 (https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V11.0.1 ).
This version contains SMP support.
2024-03-05 15:44:11 +08:00
Jakob Hasse
0c01c5965e
refactor(cxx): formatted according to IDF astyle rules
2024-03-05 14:49:04 +08:00
Guillaume Souchere
e2144e01c1
refactor(heap): decouple heap_init from esp_system
2024-03-05 07:30:38 +01:00
Guillaume Souchere
0b9f01ac20
feat(soc): Add soc_caps macros for sleep support
...
- modify console example to use the new SOC_LIGHT_SLEEP_SUPPORTED
and SOC_DEEP_SLEEP_SUPPORTED macros when registering sleep commands
- remove exclusion of esp32p4 in basic and advanced example in
.build-test-rules.yml
- replace exclusion of esp32p4 for deep and light sleep tests with newly introduced macro
- remove the temporary disable check for esp32p4 and uses the
SOC_LIGHT_SLEEP_SUPPORTED maccro instead.
2024-03-05 07:05:40 +01:00
Marius Vikhammer
5f85aefe0d
Merge branch 'reformat/astyle_misc_core_comps' into 'master'
...
refactor(core): reformat newlib and pthread with astyle
See merge request espressif/esp-idf!29277
2024-03-05 12:54:20 +08:00
Wan Lei
3459db1bbb
Merge branch 'feat/c6lite_c61_introduce_step1_target' into 'master'
...
feat(esp32c61): introduce target esp32c61 (1/8) 🌱
See merge request espressif/esp-idf!29238
2024-03-05 11:36:17 +08:00
Jakob Hasse
64d37664b4
Merge branch 'refactor/cxx_startup_function_cleanup' into 'master'
...
refactor(cxx): moved C++ init functions to cxx component
Closes IDF-8768
See merge request espressif/esp-idf!29095
2024-03-05 10:17:42 +08:00
C.S.M
0f03434119
Merge branch 'feature/tsens_etm' into 'master'
...
feature(temperature sensor): Temperature sensor ETM support.
Closes IDF-6357
See merge request espressif/esp-idf!28880
2024-03-05 10:09:25 +08:00
Jakob Hasse
32ecb0411c
Merge branch 'fix/console_linux_target_mac' into 'master'
...
fix(linux): prevent build error on MacOS and optimize buffer usage on Linux
See merge request espressif/esp-idf!29176
2024-03-05 09:59:55 +08:00
Tomas Rezucha
ea086840a4
fix(esp_phy): Allow WiFi/USB interference workaround option only on supported targets
...
"Enable USB when phy init" Kconfig option would call esp_phy function
`phy_bbpll_en_usb()` that is not implemented for all targets.
Selecting this option for unsupported target results in linking error.
The necessity of this workaround is now defined soc_caps.h rather than
in the Kconfig.
Closes https://github.com/espressif/esp-idf/issues/12185
2024-03-04 16:35:51 +01:00
Darian Leung
f9965e3092
change(freertos): Test tick and idle hooks in options test
...
Add CONFIG_FREERTOS_USE_TICK_HOOK and CONFIG_FREERTOS_USE_IDLE_HOOK to
sdkconfig.ci.freertos_options to ensure those options are tested.
2024-03-04 22:34:13 +08:00
Darian Leung
dec3786d30
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled
...
Closes https://github.com/espressif/esp-idf/issues/13297
2024-03-04 22:34:12 +08:00
chenjianhua
66df2b9dd5
fix(bt): Update bt lib for ESP32(5ea2fca)
...
- Fixed HCI command status event sending for disconnect command
- Fixed LE transmitter test command param check
2024-03-04 21:19:33 +08:00
Adam Múdry
b76123af06
Merge branch 'feature/fatfs_expand_files_api' into 'master'
...
feat(fatfs): Allow expanding files with seeking and truncating functions
Closes IDFGH-12035
See merge request espressif/esp-idf!28945
2024-03-04 20:56:44 +08:00
Ondrej Kosta
292e5d2cf4
Merge branch 'bugfix/esp_eth_format_warning' into 'master'
...
fix(esp_eth): Removed -Wno-format in esp_eth component
Closes IDF-5768
See merge request espressif/esp-idf!29385
2024-03-04 19:44:13 +08:00
Rahul Tank
f723b18d86
Merge branch 'bugfix/increase_reattempt_conn_count' into 'master'
...
fix(nimble): Increase range of reattempt connection count
See merge request espressif/esp-idf!29311
2024-03-04 19:43:21 +08:00
Aditya Patwardhan
acb733845f
Merge branch 'bugfix/update_disabling_hmac_jtag_method' into 'master'
...
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
See merge request espressif/esp-idf!29131
2024-03-04 17:55:59 +08:00
Konstantin Kondrashov
43c604f145
Merge branch 'feature/move_efuse_related_inits_into_component' into 'master'
...
feat(efuse): Move efuse-related init steps into the component
Closes IDF-8759 and IDF-8761
See merge request espressif/esp-idf!28422
2024-03-04 17:34:44 +08:00
Tomas Rezucha
33425140bf
Merge branch 'feature/usb_hs_periodic_scheduler' into 'master'
...
feat(usb/host): Update ISOC scheduler for HS endpoints
Closes IDF-7473
See merge request espressif/esp-idf!27804
2024-03-04 16:45:26 +08:00
morris
19a4d3bab6
Merge branch 'contrib/github_pr_13294' into 'master'
...
Flush rgb lcd PSRAM framebuffers after allocation (GitHub PR)
Closes IDFGH-12244 and IDFGH-12243
See merge request espressif/esp-idf!29374
2024-03-04 15:53:40 +08:00
Tomas Rezucha
93fc17575f
Merge branch 'refactor/esp_hid_astyle' into 'master'
...
refactor(esp_hid): Format the code with astyle
See merge request espressif/esp-idf!29302
2024-03-04 15:41:10 +08:00
zwx
9458456b02
fix(openthread): using atomic variable for buffer count
2024-03-04 15:06:46 +08:00
Jiang Jiang Jian
0e5e2ffb3c
Merge branch 'bugfix/fix_phy_pll_track_corner_case' into 'master'
...
fix(phy): fix pll track when enabling and disabling PHY frequently
See merge request espressif/esp-idf!28547
2024-03-04 14:27:46 +08:00
Cao Sen Miao
943ebe2ca2
docs(temperature_sensor): Add new documents for temperature sensor ETM on ESP32C6/H2
2024-03-04 11:36:18 +08:00
Gao Xu
3e54584e61
Merge branch 'docs/add_p4_uart_programming_guide' into 'master'
...
docs(uart): update lp uart and p4 uart programming guide
Closes IDF-7737
See merge request espressif/esp-idf!29179
2024-03-04 11:00:05 +08:00
Michael (XIAO Xufeng)
69d4893e85
docs(spi_master): fixed timing comments that only apply for ESP32
2024-03-04 00:41:54 +08:00
KonstantinKondrashov
f9800e0726
feat(efuse): Move efuse-related init steps into the component
2024-03-01 21:07:03 +02:00
Tomas Rezucha
72f00d7c6d
feat(usb/host): Update ISOC scheduler for HS endpoints
...
USB-OTG uses 'sched_info' field of HCTSIZ register to schedule transactions
in USB microframes.
2024-03-01 18:05:40 +01:00
Ondrej Kosta
edf49a92b7
fix(esp_eth): Removed -Wno-format in esp_eth component
2024-03-01 17:01:28 +01:00
wanlei
ee02b71f1c
feat(esp32c61): introduce target esp32c61
2024-03-01 21:12:25 +08:00
Cao Sen Miao
c6be2584a7
test(temperature_sensor): Add new test for temperature sensor ETM on ESP32C6/H2
2024-03-01 18:52:42 +08:00
Cao Sen Miao
2b2b3be98f
feat(temperature_sensor): Add new support for temperature sensor ETM on ESP32C6/H2
2024-03-01 18:52:39 +08:00
wanlei
5fef81609a
feat(esp32c61): add soc peripheral header files (1/2)
2024-03-01 18:09:13 +08:00
Markus Ebner
c755a62329
fix(esp_lcd): Flush rgb lcd PSRAM framebuffers after allocation
...
Flush PSRAM framebuffers after allocation to avoid visual corruption.
Merges https://github.com/espressif/esp-idf/pull/13294
Closes https://github.com/espressif/esp-idf/issues/13293
2024-03-01 18:05:22 +08:00
Sudeep Mohanty
e4f167df25
Merge branch 'fix/freertos_optimize_critical_sections' into 'master'
...
fix(riscv): Updated RISC-V functions to set interrupt threshold for CLIC targets
Closes IDFCI-2033, IDFCI-2034, IDF-8090, and IDF-8117
See merge request espressif/esp-idf!29055
2024-03-01 17:51:14 +08:00
David Čermák
9e0ad656c9
Merge branch 'fix/sntp_getreachability' into 'master'
...
fix(netif): Add missing SNTP get-reachablitiy API
Closes DOC-7124
See merge request espressif/esp-idf!28659
2024-03-01 16:22:33 +08:00
gaoxu
7075b61a6a
docs(uart): update lp uart and p4/c5 uart programming guide
2024-03-01 16:21:22 +08:00
Konstantin Kondrashov
9a5d6c844c
Merge branch 'feature/efuse_destroy_block' into 'master'
...
feat(efuse): Adds destroy_block API
Closes IDF-8354
See merge request espressif/esp-idf!29200
2024-03-01 15:51:20 +08:00
Kevin (Lao Kaiyao)
31437c34a9
Merge branch 'refactor/support_esp32c5_beta3_mp_coexistence' into 'master'
...
refactor(esp32c5): support esp32c5 beta3 & mp coexistence
See merge request espressif/esp-idf!29248
2024-03-01 15:50:05 +08:00
Armando (Dou Yiwen)
7b414002f6
Merge branch 'change/psram_200m_update' into 'master'
...
change(psram): update voltage configurations
See merge request espressif/esp-idf!28933
2024-03-01 15:17:24 +08:00
Gao Xu
e1ec760daf
Merge branch 'contrib/github_pr_13025' into 'master'
...
Missing include for rom/uart.h (GitHub PR)
Closes IDFGH-11947
See merge request espressif/esp-idf!28591
2024-03-01 14:33:54 +08:00
laokaiyao
01e3c85322
refactor(esp32c5): change beta3 path in esp_system and bootloader
2024-03-01 11:12:36 +08:00
chenjianhua
2e122313c2
feat(bt/bluedroid): Add ext adv and privacy status check
2024-03-01 11:07:37 +08:00
Jakob Hasse
f9c9e18bca
fix(linux): prevent build error on MacOS and optimize buffer usage on Linux
2024-03-01 11:01:15 +08:00
Jakob Hasse
bafaf07c18
refactor(cxx): moved C++ init functions to cxx component
...
* Also fixed setting the C++ exception emergency pool size
correctly when C++ exceptions are disabled:
__cxx_eh_arena_size_get() is now called again even if
CONFIG_COMPILER_CXX_EXCEPTIONS=n
2024-03-01 11:00:09 +08:00
laokaiyao
db2435fd14
feat(soc_cap_kconfig): support to search recursively
2024-03-01 10:17:17 +08:00
laokaiyao
319e30ac38
refactor(esp32c5): change beta3 path in soc
2024-03-01 10:16:14 +08:00
laokaiyao
3a5d080ec0
refactor(esp32c5): change beta3 path in esp_rom
2024-03-01 10:13:45 +08:00
laokaiyao
1b91e84544
feat(esp32c5): add esp32c5 mp target
2024-03-01 10:13:45 +08:00
Ivan Grokhotkov
293f529cd7
Merge branch 'bugfix/sdspi_acmd41_arg' into 'master'
...
fix(sdmmc): fixes for card initialization (ACMD41)
Closes IDFGH-4892 and IDFGH-9144
See merge request espressif/esp-idf!29298
2024-03-01 08:42:01 +08:00
C.S.M
3e0a672d91
Merge branch 'feature/jpeg_decoder' into 'master'
...
feat(jpgd): Add jpeg decode support on esp32p4 🖼️ (goal: Trying to merge in March 🛰️ )
See merge request espressif/esp-idf!28639
2024-02-29 23:43:05 +08:00
David Cermak
c30f2825d5
fix(netif): Add missing SNTP get-reachablitiy API
2024-02-29 23:37:45 +08:00
C.S.M
1360f1b0a9
Merge branch 'feature/i2c_support_esp32c5' into 'master'
...
feat(i2c): Add I2C support on ESP32C5
Closes IDF-8694 and IDF-8696
See merge request espressif/esp-idf!29196
2024-02-29 21:51:45 +08:00
Mahavir Jain
e18fd01d0d
Merge branch 'fix/pmp_idcache_reg_prot' into 'master'
...
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
See merge request espressif/esp-idf!28525
2024-02-29 21:39:11 +08:00
Mahavir Jain
7adbc9cf4b
Merge branch 'fix/fix_key_manager_clock_changes' into 'master'
...
fix(hal): Fix Key Manager clock changes
See merge request espressif/esp-idf!28890
2024-02-29 21:38:18 +08:00
Mahavir Jain
d62f7aa643
Merge branch 'refactor/protocomm_public_hdr' into 'master'
...
refactor(protocomm): Make the protocomm `proto-c` headers public
See merge request espressif/esp-idf!29312
2024-02-29 21:38:03 +08:00
Gao Xu
46cd7a393f
Merge branch 'feature/esp32c5_uart_support' into 'master'
...
feat(uart): add HP/LP uart support on ESP32C5
Closes IDF-8722 and IDF-8723
See merge request espressif/esp-idf!28899
2024-02-29 19:37:34 +08:00
Tomas Rezucha
6529f7e3ec
Merge branch 'ci/usb_host_add_p4_examples_ci' into 'master'
...
ci(USB): add ESP32-P4 runners to existing USB CI
Closes IDF-9127
See merge request espressif/esp-idf!28795
2024-02-29 18:43:16 +08:00
Wang Meng Yang
09c504687b
Merge branch 'bugfix/incr_coex_request_queue' into 'master'
...
fix(bt/controller): Fixed some esp32 bt controller bugs in coexistence scheme which affected the allocation of RF
Closes BT-3540
See merge request espressif/esp-idf!29309
2024-02-29 17:55:39 +08:00
Peter Marcisovsky
51d6296fde
ci: Added esp32p4 usb tests to CI:
...
- added new test for usb_host_lib example for all targets
- CI USB host test are run on esp32p4
- CI USB device tests temporarily disabled until usb_device runner is fixed
- hcd and usb_host tests which do not require PHY are run on esp32p4
2024-02-29 10:35:09 +01:00
Cao Sen Miao
d11030ade6
docs(jpeg): Add basic programming guide for jpeg decoder
2024-02-29 17:20:09 +08:00
Alexey Lapshin
fdb7a43752
Merge branch 'feature/esp32p4_concontiguous_mem_mvp' into 'master'
...
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 on P4
See merge request espressif/esp-idf!28783
2024-02-29 16:28:13 +08:00
Jiang Jiang Jian
83f40382b6
Merge branch 'bugfix/fix_c2_disconnect_reason_code_wrong_issue' into 'master'
...
fix(wifi): fix esp32c2 disconnect reason code wrong issue
Closes WIFIBUG-435
See merge request espressif/esp-idf!29299
2024-02-29 14:50:21 +08:00
nilesh.kale
152f172367
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
...
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the esp_hmac_disable() API.
2024-02-29 12:01:09 +05:30
gaoxu
1b1e4d2f76
feat(uart): change fifo.byte to fifo.val when uart_ll_write_txfifo
2024-02-29 14:20:10 +08:00
gaoxu
f9109beda2
feat(uart): add HP/LP uart support on ESP32C5
2024-02-29 14:12:51 +08:00
Cao Sen Miao
518c7f5b14
test(jpeg): Add basic test_app for jpeg_decoder
2024-02-29 13:51:21 +08:00
Cao Sen Miao
abc2971d95
feat(jpeg): Add basic jpeg decoder support on esp32p4
2024-02-29 13:51:16 +08:00
Darian
6817e9f07c
Merge branch 'fix/console_none_build_issues' into 'master'
...
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled
Closes IDFGH-11900
See merge request espressif/esp-idf!29295
2024-02-29 12:17:21 +08:00
Cao Sen Miao
ddb0c21d4c
feat(i2c): Add I2C support on ESP32C5
2024-02-29 12:13:39 +08:00
Aditya Patwardhan
4636ef946b
fix(esp_hw_support): Update key manager locking mechanism
2024-02-29 12:00:30 +08:00
Aditya Patwardhan
3ffb811d18
fix(hal): Fix Key Manager clock changes
2024-02-29 12:00:30 +08:00
Mahavir Jain
afbed25c6f
Merge branch 'bugfix/update_crypto_test_apps_for_sha' into 'master'
...
fix(hal/test_apps): update sha testcases flow
See merge request espressif/esp-idf!29050
2024-02-29 11:58:05 +08:00
Song Ruo Jing
091fe38835
Merge branch 'feature/esp32c5_gdma_support' into 'master'
...
feat(gdma): add GDMA support for ESP32C5
Closes IDF-8710, IDF-8712, and IDF-8716
See merge request espressif/esp-idf!28968
2024-02-29 11:44:05 +08:00
Ricardo Quesada
f082788957
fix(uart): add missing include for rom/uart.h
...
Without this include it fails to compile with this error:
```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
262 | status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```
Merges https://github.com/espressif/esp-idf/pull/13025
2024-02-29 11:05:50 +08:00
Jin Cheng
cdb2f2c570
fix(bt/controller): Fixed 3 esp32 bt controller bugs
...
update esp32 bt-lib (952debf4)
1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-02-29 11:02:37 +08:00
Wang Meng Yang
e99abdd6de
Merge branch 'bugfix/fix_hci_cmd_status_evt_sent' into 'master'
...
Fixed HCI command status event send when LLCP busy on ESP32
Closes BLERP-333
See merge request espressif/esp-idf!27858
2024-02-29 10:48:06 +08:00
Armando
62440e5b12
change(psram): update voltage configurations
2024-02-29 10:42:37 +08:00
muhaidong
eb54a4698c
fix(wifi): fix esp32c2 disconnect reason code wrong issue
2024-02-29 09:58:24 +08:00
Adam Múdry
35e312c48e
feat(fatfs): Allow expanding files with seeking and truncating functions
...
Closes https://github.com/espressif/esp-idf/issues/13100
2024-02-29 01:01:32 +01:00
C.S.M
0b9b928ce9
Merge branch 'bugfix/fix_flash_encryption_rom_c3' into 'master'
...
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
Closes IDF-9192
See merge request espressif/esp-idf!29188
2024-02-29 01:13:20 +08:00
Alexey Lapshin
824c8e0593
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000
...
This commit introduce SOC_MEM_NON_CONTIGUOUS_SRAM flag (that enebled for
esp32p4). If SOC_MEM_NON_CONTIGUOUS_SRAM is enabled:
- LDFLAGS+=--enable-non-contiguous-regions
- ldgen.py replaces "arrays[*]" from sections.ld.in with objects under
SURROUND keyword. (e.g. from linker.lf: data -> dram0_data SURROUND(foo))
- "mapping[*]" - refers to all other data
If SOC_MEM_NON_CONTIGUOUS_SRAM, sections.ld.in file should contain at
least one block of code like this (otherwise it does not make sense):
.dram0.bss (NOLOAD) :
{
arrays[dram0_bss]
mapping[dram0_bss]
} > sram_low
.dram1.bss (NOLOAD) :
{
/* do not place here arrays[dram0_bss] because it may be splited
* between segments */
mapping[dram0_bss]
} > sram_high
2024-02-28 19:41:25 +04:00
Jin Cheng
f4f26e94bd
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module
2024-02-28 20:30:38 +08:00
Darian Leung
4e4278477d
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled
...
This commit fixes the following build issues when CONFIG_ESP_CONSOLE_NONE is
enabled:
- vfs_console.c will attempt to register a VFS entry for STDIO console even if
CONFIG_ESP_CONSOLE_NONE is enabled. This results in "undeclared `primary_path`"
error.
- esp_console_repl_chpi.c does not use "TAG" when CONFIG_ESP_CONSOLE_NONE is
enabled, leading to a "defined by not used" warning.
Closes https://github.com/espressif/esp-idf/issues/12984
2024-02-28 20:28:27 +08:00
Konstantin Kondrashov
b123f62b78
feat(efuse): Adds destroy_block API
2024-02-28 14:27:08 +02:00
Ondrej Kosta
4ddc947d1c
Merge branch 'bugfix/eth_link_reset' into 'master'
...
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped
Closes IDF-9195
See merge request espressif/esp-idf!29058
2024-02-28 20:26:29 +08:00
Darian
f5b08b29ea
Merge branch 'bugfix/usb_host_usbh_callback_misses_action' into 'master'
...
fix(usb): Fix bug where usbh_process() misses an event
See merge request espressif/esp-idf!29233
2024-02-28 20:16:25 +08:00
Laukik Hase
379e02ec9c
refactor(protocomm): Make the protocomm proto-c
headers public
2024-02-28 14:35:04 +05:30
Island
28b4ad2b53
Merge branch 'bugfix/ble_update_lib_20240223' into 'master'
...
update lib on master
Closes BLERP-563, BLERP-567, BLERP-548, BLERP-561, BLERP-569, BLERP-542, BLERP-541, BLERP-543, BLERP-540, BLERP-570, BLERP-571, BLERP-572, and BLERP-573
See merge request espressif/esp-idf!29207
2024-02-28 16:54:14 +08:00
Ivan Grokhotkov
fb95daab06
fix(sdmmc): extend the maximum number of retries of ACMD41
...
According to the application note in SD Card Physical Specification:
> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.
Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-02-28 09:33:24 +01:00
Ivan Grokhotkov
47ba4d639a
fix(sdmmc): use correct argument for ACMD41 in SPI mode
...
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as
sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)
Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-02-28 09:33:23 +01:00
Bogdan Kolendovskyy
f02fadda87
Merge branch 'bugfix/ip101_hw_reset_include' into 'master'
...
fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver
See merge request espressif/esp-idf!29063
2024-02-28 16:20:35 +08:00
Sudeep Mohanty
f65a55952c
Merge branch 'bugfix/ulp_rtc_i2c_doesnt_work_with_interrupts' into 'master'
...
RTC I2C does not work when interrupts are enabled on ULP RISC-V
See merge request espressif/esp-idf!28844
2024-02-28 16:12:34 +08:00
Jin Cheng
20f2207d5f
Merge branch 'bugfix/mem_leak_op_dev_name' into 'master'
...
fix(bt/bluedroid): Avoided possible memory leak in the module of BT device
See merge request espressif/esp-idf!29141
2024-02-28 15:54:24 +08:00
Sudeep Mohanty
459ff8348f
fix(riscv): Added RISC-V functions to set interrupt threshold for CLIC targets
...
This commit added the RISC-V utility functions to set the interrupt
threshold for CLIC targets by using direct register value writes.
This makes the functions more efficient during run-time.
This is done to improve the critical section enter and exit performance on esp32p4.
2024-02-28 08:51:37 +01:00
Island
5e658f5d10
Merge branch 'bugfix/fix_ble_max_reconnect' into 'master'
...
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration
Closes BLERP-568, BLERP-581, and BLERP-582
See merge request espressif/esp-idf!29186
2024-02-28 15:41:02 +08:00
Sudeep Mohanty
7444890a03
fix(esp_system): Updated the conditions for the GDBStub on Panic Kconfig option
...
This commit updates the Panic handler behavior Kconfig setting to make
the GDBStub on Panic (CONFIG_ESP_SYSTEM_PANIC_GDBSTUB) option to be only
available when esp_gdbstub is part of the component list of the build.
Closes https://github.com/espressif/esp-idf/issues/13218
2024-02-28 08:34:08 +01:00
Rahul Tank
30d5c36aac
fix(nimble): Increase range of reattempt connection count
2024-02-28 12:56:57 +05:30
Omar Chebib
c1849df791
refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC
2024-02-28 15:21:10 +08:00
Jiang Guang Ming
73c60401af
fix(esp_rom): Update esp32p4lp rom ld files
2024-02-28 14:14:05 +08:00
Jiang Guang Ming
3117659bed
fix(esp_rom): Update esp32p4 rom caps
2024-02-28 14:13:16 +08:00
Laukik Hase
366e4ee944
refactor(esp_hw_support): Remove redundant PMP entry for ROM region
...
- The ROM text and data sections share the address range
(see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
- Initially, we had two PMP entries for this address range - one marking the
region as RX and the other as R.
- However, the latter entry is redundant as the former locks the PMP settings.
- We can divide the ROM region into text and data sections later when we
define boundaries marking these regions from the ROM.
2024-02-28 10:54:38 +05:30
Laukik Hase
ff839be31d
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
2024-02-28 10:54:37 +05:30
Song Ruo Jing
98d9f04b00
feat(gdma): add GDMA support for ESP32C5
2024-02-28 12:38:02 +08:00
chenjianhua
7df536d325
fix(bt): Update bt lib for ESP32(2de69f3)
...
- Fixed HCI command status event send when LLCP busy
2024-02-28 12:09:03 +08:00
Wu Zheng Hui
f3b95059f9
Merge branch 'bugfix/fix_sleep_cache_safe_assertion' into 'master'
...
fix(esp_hw_support): fix cache safe check function
See merge request espressif/esp-idf!29246
2024-02-28 10:50:52 +08:00
Cao Sen Miao
44e16a6401
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
...
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-02-28 10:07:53 +08:00
zwl
7b8b85e140
bugfix(ble) : fixed some ble issues on ESP32-C2
2024-02-27 23:28:25 +08:00
zwl
093bc1a4f5
ble(update):
...
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-27 23:28:25 +08:00
C.S.M
7cf8cc79a1
Merge branch 'fix/ci_i2c_sleep_retention' into 'master'
...
fix(i2c): Modify the test memory leak check threshold and add more file pattern
See merge request espressif/esp-idf!29290
2024-02-27 23:00:29 +08:00
Joshua
09503600f2
fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation)
2024-02-27 22:32:14 +08:00
thekurtovic
3e74922c9e
fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t
2024-02-27 22:32:14 +08:00
zhanghaipeng
3eec662473
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration
2024-02-27 22:03:37 +08:00
Tomas Rezucha
7f22c235db
refactor(esp_hid): Format the code with astyle
2024-02-27 14:48:43 +01:00
morris
5d812b5ae5
Merge branch 'feature/mipi_dpi_multi_frame_buffer' into 'master'
...
feat(mipi_dsi): support multiple frame buffers
See merge request espressif/esp-idf!28862
2024-02-27 21:29:36 +08:00
Darian Leung
3887441b37
fix(usb): Fix bug where usbh_process() misses an event
...
This commit fixes a bug where if multiple concurrent USBH API calls trigger
multiple events on the same device, some events will be lost. As a result,
those lost events don't get processed by the subsequent usbh_process() call.
2024-02-27 18:22:48 +08:00
Bogdan Kolendovskyy
eb8985886d
fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver to ensure availability of vTaskDelay
2024-02-27 18:13:07 +08:00
morris
cf20dfee1d
feat(mipi_dsi): support multiple frame buffers
2024-02-27 17:49:04 +08:00
morris
f0342d6b59
feat(dw_gdma): support change link list item connection
...
by dw_gdma_lli_set_next
2024-02-27 17:49:04 +08:00
Cao Sen Miao
28a0548c67
fix(i2c): Modify the test memory leak check threshold and add more file pattern
2024-02-27 17:30:59 +08:00
wuzhenghui
4e731e8612
fix(esp_hw_support): fix cache safe check function
2024-02-27 17:29:24 +08:00
gaoxu
e9ce63532b
feat(gpio): add gpio fun sellect api
2024-02-27 17:01:53 +08:00
Marius Vikhammer
3c9463bc75
fix(linux_target): fix esp_err_to_name failing to compile on linux
2024-02-27 16:55:43 +08:00
Jiang Jiang Jian
be7fe58971
Merge branch 'feature/improve_coex_connect_compatibility' into 'master'
...
feat(coex): improve Wi-Fi connecting compatibility at coexistence
Closes WIFI-6362, WIFI-6320, WIFIBUG-216, FCC-60, and FCC-59
See merge request espressif/esp-idf!28195
2024-02-27 16:53:21 +08:00
Konstantin Kondrashov
11d44e82eb
Merge branch 'feature/efuse_esp32p4_add_new' into 'master'
...
feat(efuse): Adds new efuses for esp32p4
See merge request espressif/esp-idf!29085
2024-02-27 15:37:39 +08:00
Marius Vikhammer
f2fe408b99
refactor(core): reformat newlib and pthread with astyle
2024-02-27 10:00:06 +08:00
liuning
7440e302be
feat(coex): improve Wi-Fi connecting compatibility at coexistence
2024-02-27 09:43:00 +08:00
Martin Vychodil
4cb3a75436
Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob' into 'master'
...
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios
Closes IDF-8839
See merge request espressif/esp-idf!28843
2024-02-27 04:50:56 +08:00
Erhan Kurubas
b71dabf08b
Merge branch 'register_gcov_tick_hook_once' into 'master'
...
fix(gcov): avoid multiple tick hook registration
See merge request espressif/esp-idf!29087
2024-02-26 20:47:46 +08:00
morris
82c0e18dd8
Merge branch 'refactor/astyle_driver' into 'master'
...
change(driver): reformat driver component with astyle_py
See merge request espressif/esp-idf!29217
2024-02-26 18:36:31 +08:00
Tomas Rezucha
5863a27bd2
feat(usb/host): Add missing sync types from USB specification
2024-02-26 10:50:20 +01:00
Shu Chen
cda92ca0e9
Merge branch 'fix/openthread_alarm_timer_overflow' into 'master'
...
fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue
See merge request espressif/esp-idf!29146
2024-02-26 17:25:42 +08:00
morris
c65fbbdf71
change(driver): reformat driver component with astyle_py
2024-02-26 11:47:05 +08:00
Mahavir Jain
603bc0536c
Merge branch 'fix/support_gcm_soft_fallback_for_non_aes_ciphers' into 'master'
...
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation
Closes IDF-8494
See merge request espressif/esp-idf!28007
2024-02-26 11:18:11 +08:00