Commit Graph

26022 Commits

Author SHA1 Message Date
Guillaume Souchere
508194be50 heap: Remove size check in multi_heap.c when registering a new heap
The tlsf now checks for size validity when creating a new heap.

The check previously done in multi_heap_register_impl() is no longer
valid since the tlsf_size() is not known at this time (as the metadata
size is linked ot the size of the memory region passed as parameter
when calling tlsf_create_with_pool())

The tlsf_create_with_pool() will return a null pointer if the size
of the memory is not big enough to hold the metadata overhead and
at least a small block.

Update the test according to the changes in TLSF API
2022-10-26 18:15:42 +02:00
Guillaume Souchere
6f11d0f297 heap: Update target and host tests after incorporation of the new TLSF implementation
- update the target and host tests to consider the new TLSF api and the metadata size
  only when the target is not using the rom implementation of the TLSF
2022-10-26 18:15:40 +02:00
Guillaume Souchere
7de6565722 heap: fix comment and return condition in heap_caps_check_add_region_allowed()
(See  cd805a5ab1)
2022-10-26 09:49:43 +02:00
Guillaume Souchere
90ac786cf4 heap: Update the component to incorporate the new TLSF implementation
- remove tlsf_platform.h from esp-idf since the fl_index is now calculated
  based on the size of the requested heap
- update CMakeLists.txt accordingly

* based on the changes made to the TLSF in https://github.com/espressif/esp-idf/pull/7829
* contributes to fix https://github.com/espressif/esp-idf/issues/7822
2022-10-26 09:47:45 +02:00
Sudeep Mohanty
b0ae3dd409 Merge branch 'bugfix/ulp_fsm_wake_in_normal_mode' into 'master'
ulp: fix incorrect bit-width operator while reading RTC_CNTL_LOW_POWER_ST_REG during wakeup

Closes DOC-3721

See merge request espressif/esp-idf!20646
2022-10-17 19:40:42 +08:00
Roland Dobai
79007e41f1 Merge branch 'tools/fixed_coredump_version_print' into 'master'
tools: fixed the coredump package's suppressed print

See merge request espressif/esp-idf!20629
2022-10-17 18:54:32 +08:00
morris
3b0354acb8 Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue' into 'master'
esp_rom: fix esp32s3 rom ets_printf bug

See merge request espressif/esp-idf!20590
2022-10-17 17:54:02 +08:00
Sudeep Mohanty
a28791dbed ulp: fix incorrect bit-width operator while reading RTC_CNTL_LOW_POWER_ST_REG during wakeup
This commit fixes a bug wherein an incorrect bit-width of 0 was being
used while reading the RTC_CNTL_LOW_POWER_ST_REG in ulp_fsm example code
while judging whether the system is ready for wakeup. The correct value
should be a bit-width of 1 to read bit#27 (RTC_CNTL_MAIN_STATE_IDLE) of
the RTC_CNTL_LOW_POWER_ST_REG register on esp32.
2022-10-17 10:59:26 +02:00
Aleksei Apaseev
0da9d9ffea tools: fixed the coredump package's suppressed print 2022-10-17 16:34:58 +08:00
Shu Chen
dc09f30778 Merge branch 'update/zigbee_example_update' into 'master'
examples: Update Zigbee examples for the latest library

See merge request espressif/esp-idf!20293
2022-10-17 15:22:08 +08:00
Wan Lei
f98a37f571 Merge branch 'docs/add_flash_to_psram_feature' into 'master'
docs: add the flash content moved to psram feature

Closes IDF-5885

See merge request espressif/esp-idf!19908
2022-10-17 14:51:15 +08:00
Mahavir Jain
faff090d5a Merge branch 'esp_prov/update_deprecated_api' into 'master'
esp_prov: Update deprecated APIs

See merge request espressif/esp-idf!20619
2022-10-17 12:18:05 +08:00
Wang Meng Yang
5cb3b66594 Merge branch 'bugfix/crash_in_i2s_when_reconnect_to_a2dp' into 'master'
fixed crash in I2S when reconnect to a2dp sink

See merge request espressif/esp-idf!20428
2022-10-17 12:02:08 +08:00
Darian
54d286de67 Merge branch 'bugfix/freertos_fpu_isr_pins_task' into 'master'
FreeRTOS: Fix bug where FPU usage in ISR pins the interrupted task.

Closes IDF-6068

See merge request espressif/esp-idf!20573
2022-10-15 00:40:04 +08:00
morris
316493969a Merge branch 'docs/update_uart_read_bytes_description' into 'master'
docs: update the description of uart_read_bytes

Closes DOC-3798

See merge request espressif/esp-idf!20611
2022-10-14 21:54:44 +08:00
morris
ad1bd82002 Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter' into 'master'
bugfix: esprv_intc_int_set_type() should not use bitmap parameter

See merge request espressif/esp-idf!20599
2022-10-14 21:21:36 +08:00
Laukik Hase
aff551c4ee
esp_prov: Update deprecated APIs
- Updated deprecated APIs for bleak module
- Updated README and troubleshooting reference for
  BLE transport
2022-10-14 16:53:40 +05:30
Jiang Jiang Jian
6e65b61c8a Merge branch 'bugfix/esp32c2_scan_assert' into 'master'
Fixed occasional crash during scanning

Closes BT-2784

See merge request espressif/esp-idf!20578
2022-10-14 18:02:06 +08:00
Island
7ddbaae318 Merge branch 'feature/Add_IVI_recovery_option' into 'master'
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update

See merge request espressif/esp-idf!20500
2022-10-14 17:21:25 +08:00
Island
beb8a7cf34 Merge branch 'bugfix/fix_fast_interval_prov_adv' into 'master'
ble_mesh: stack: Fix send fast interval prov_adv failed

See merge request espressif/esp-idf!20520
2022-10-14 17:20:40 +08:00
Linda
837d29cca0 docs: update the description of uart_read_bytes 2022-10-14 15:55:40 +08:00
Jiang Jiang Jian
1c84cfde14 Merge branch 'ci/optimize_test_wifi_get_started' into 'master'
CI: optimize wifi get started example test

See merge request espressif/esp-idf!20585
2022-10-14 15:50:13 +08:00
Mahavir Jain
10dfabe650 Merge branch 'ecc/improve_mbedtls_ecdsa' into 'master'
mbedtls: Added performance test for ECP and ECDSA operation

See merge request espressif/esp-idf!19337
2022-10-14 15:49:22 +08:00
Chen Jian Xing
40fc703a2b Merge branch 'ci/example_test_simple_sniffer' into 'master'
ci: change example simple sniffer test channel

See merge request espressif/esp-idf!20449
2022-10-14 15:16:23 +08:00
jiangguangming
8774db59f0 esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART 2022-10-14 14:06:40 +08:00
jiangguangming
4c3ce9f21d esp_rom: fix esp32s3 rom ets_printf bug 2022-10-14 11:43:46 +08:00
wuzhenghui
6b96534c68 bugfix: esprv_intc_int_set_type() should not use bitmap parameter 2022-10-14 11:31:22 +08:00
Mahavir Jain
835bb4acb1 Merge branch 'ci/fix_esp32s2_mbedtls_psram_ta' into 'master'
ci: Fix `esp32s2.psram.test_mbedtls_psram` UT

Closes IDFCI-1487 and IDFCI-1488

See merge request espressif/esp-idf!20577
2022-10-14 10:10:07 +08:00
Aditya Patwardhan
37a69f6880 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!20575
2022-10-14 00:35:47 +08:00
Ivan Grokhotkov
989d9e831f Merge branch 'bugfix/replace_port_get_runtime_counter_usage' into 'master'
freertos, app_trace: use esp_cpu_get_cycle_count to get ccount

Closes IDF-4744

See merge request espressif/esp-idf!20443
2022-10-13 21:40:07 +08:00
Chen Yudong
c258ef705e CI: optimize wifi get started example test 2022-10-13 20:27:57 +08:00
Ivan Grokhotkov
659460525f Merge branch 'test/spiffs_component_test_app' into 'master'
spiffs: move tests from unit-test-app to a component test app

Closes IDF-5602

See merge request espressif/esp-idf!20485
2022-10-13 20:01:39 +08:00
Chen Jian Xing
b813476a51 Merge branch 'bugfix/fix_ignore_rx_sub_ampdu_int_issue' into 'master'
esp_wifi: fix ignore rx sub ampdu interrupt issue

Closes ESPCS-854

See merge request espressif/esp-idf!20564
2022-10-13 19:34:24 +08:00
Mahavir Jain
f4773d64e4 Merge branch 'bugfix/fix_mbedlts_ds_memory_leak' into 'master'
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled

Closes ESPCS-872

See merge request espressif/esp-idf!20563
2022-10-13 19:13:57 +08:00
Mahavir Jain
836dc4ae80 Merge branch 'bugfix/fix_wifi_retry' into 'master'
wifi_provisioning: fix error codes for wifi connect retry

See merge request espressif/esp-idf!20558
2022-10-13 19:02:42 +08:00
Ivan Grokhotkov
c4be293e23 Merge branch 'test/fatfs_test_app_readme' into 'master'
fatfs: add missing readme file for the test apps

See merge request espressif/esp-idf!20522
2022-10-13 17:53:11 +08:00
Jiang Jiang Jian
0ebae990a0 Merge branch 'bugfix/use_nonblocking_coex_callback' into 'master'
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth

See merge request espressif/esp-idf!20413
2022-10-13 14:57:08 +08:00
yuanjianmin
ddbe6aa42a esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled 2022-10-13 14:17:42 +08:00
Zhang Wen Xu
8b6a7f01c0 Merge branch 'bugfix/fix_pre_commit_ci_dependence_file_pattern' into 'master'
CI: fix pre-commit ci dependencie file pattern

See merge request espressif/esp-idf!20561
2022-10-13 14:04:58 +08:00
Laukik Hase
80204ecab2
ci: Fix esp32s2.psram.test_mbedtls_psram UT
- When PSRAM is enabled, the interrupt watchdog timeout value
  needs to be increased to 800 ms from the default 500 ms.
2022-10-13 10:27:05 +05:30
Sachin Parekh
130ada60ec mbedtls: Added performance tests for ECP and ECDSA operations 2022-10-13 10:01:06 +05:30
Jiang Jiang Jian
72a70f08b9 Merge branch 'bugfix/reason_code_pmk_flush' into 'master'
Prevent pmk flush for unspecified reasoncode

Closes WIFI-4796

See merge request espressif/esp-idf!20459
2022-10-13 11:51:48 +08:00
zwl
07d844f565 Fixed occasional crash during scanning 2022-10-13 11:48:50 +08:00
muhaidong
c2fe257ad6 esp_wifi: fix ignore rx sub ampdu interrupt issue 2022-10-13 11:40:13 +08:00
Jiang Jiang Jian
55eaf66a94 Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
fix ble mem leak when sleep is enabled

See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
Espressif BOT
91bd4a1f80 Update esp_crt_bundle certificates 2022-10-13 10:00:11 +08:00
Jiang Guang Ming
6cfa88ed49 Merge branch 'bugfix/update_esp_rom_caps' into 'master'
esp_rom: update esp_rom_caps.h

See merge request espressif/esp-idf!20565
2022-10-13 06:02:37 +08:00
Ivan Grokhotkov
8a45ff0957 Merge branch 'bugfix/reenable_ut_c2_fatfs_vfs_spi_flash' into 'master'
vfs, spi_flash: re-enable unit tests for C2

Closes IDF-5137 and IDF-5139

See merge request espressif/esp-idf!20444
2022-10-13 05:40:12 +08:00
Darian Leung
423fb361e7 freertos: Enable FPU ISR core pinning test for IDF FreeRTOS 2022-10-12 22:45:56 +08:00
Darian Leung
9f7f964363 freertos: Fix FPU ISR core pinning bug
This commit fixes a bug where if an unpinned task is interrupted by a level 1
ISR that users the FPU, the FPU usage will cause the interrupted task to
become pinned to the current core.

Note: This bug was already fixed in SMP FreeRTOS in commit
d69361779e. This commit simply backports the
fix to IDF FreeRTOS.
2022-10-12 22:45:56 +08:00