Jakob Hasse
f2dfe2bcac
Merge branch 'docs/test_utils_no_butter' into 'master'
...
docs: heap records are not eatable!
See merge request espressif/esp-idf!21303
2022-11-29 17:28:25 +08:00
Konstantin Kondrashov
2f23825f60
Merge branch 'fix/esp_timer_tests' into 'master'
...
esp_timer: Fix tests for C2 chip
Closes IDF-5052 and IDF-5011
See merge request espressif/esp-idf!21280
2022-11-29 15:24:40 +08:00
Jiang Jiang Jian
b04e33256d
Merge branch 'bugfix/fix_esp32c3_connect_fail' into 'master'
...
esp_wifi: fix esp32c3 connect fail
Closes IDFCI-1524
See merge request espressif/esp-idf!21297
2022-11-29 14:24:27 +08:00
Darian
1e953e31fc
Merge branch 'feature/freertos_restore_single_core_task_selection_algorithm' into 'master'
...
FreeRTOS(IDF): Restore vanilla task selection algorithm if building for single core with optimized selection is disabled
See merge request espressif/esp-idf!21001
2022-11-29 14:04:44 +08:00
Sudeep Mohanty
3082fc7911
Merge branch 'feature/freertos_vtasklist_include_coreid' into 'master'
...
freertos-smp: Made CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID available only for IDF-FreeRTOS
Closes IDF-5295
See merge request espressif/esp-idf!21291
2022-11-29 11:52:57 +08:00
Martin Vychodil
9f5fb63c23
Merge branch 'bugfix/c2_partition_sha256_api_fail' into 'master'
...
[ESP32C2] Failed test esp_partition_get_sha256() on big partitions
Closes IDFCI-1515
See merge request espressif/esp-idf!21245
2022-11-29 04:57:28 +08:00
KonstantinKondrashov
f6f173e3d3
esp_timer: Fix tests for C2 chip
2022-11-28 20:02:06 +08:00
Darian
297670300d
Merge branch 'contrib/github_pr_10199' into 'master'
...
Removed the 'configASSERT( xInheritanceOccurred == pdFALSE )' assertion from xQueueSemaphoreTake (GitHub PR)
Closes IDFGH-8766
See merge request espressif/esp-idf!21272
2022-11-28 19:37:41 +08:00
Jakob Hasse
cb20f3ba1c
docs(test_utils): heap records are not eatable!
...
Instead of becoming spread, heap records should go into a buffer.
Hungry commits shall be avoided.
2022-11-28 12:01:44 +01:00
Martin Vychodil
537aca747b
esp_partition: fixed esp_partition_get_sha256() test for big partitions
...
esp_partition_get_sha256() test for big partitions has been improved in allocation of MMU pages
2022-11-28 10:46:23 +01:00
Cao Sen Miao
fa3a8fdd91
esp_flash: correct veriable 'size' description
2022-11-28 16:54:03 +08:00
zhangyanjiao
8226de767c
esp_wifi: fix esp32c3 connect fail
...
Closes IDFCI-1524
2022-11-28 16:09:24 +08:00
Sudeep Mohanty
d451a7539d
freertos-smp: Made CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID available only for IDF-FreeRTOS
...
Since core affinity is supported in task stats by default in Amazon
FreeRTOS SMP, the Kconfig option
CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID is now made only available for
IDF-FreeRTOS.
2022-11-28 12:09:56 +05:30
Darian Leung
dff138f883
freertos(IDF): Restore vanilla task selection algorithm for single core
...
This commit restores the vanilla behavior for taskSELECT_HIGHEST_PRIORITY_TASK
when configNUM_CORES == 1 && configUSE_PORT_OPTIMISED_TASK_SELECTION == 0. This
results in the SMP selection algorithm (taskSelectHighestPriorityTaskSMP) to
only be run when configNUM_CORES > 1.
2022-11-28 13:55:03 +08:00
Darian Leung
2537dd8eca
freertos(IDF): Add preprocessor check for configNUM_CORES configuration
...
This commit adds preprocessing time checks to ensure that
- configNUM_CORES is defined to 1 or 2
- Incompatible configurations are not set depending on configNUM_CORES
2022-11-28 13:55:03 +08:00
Kevin (Lao Kaiyao)
766dc3eead
Merge branch 'bugfix/fix_i2s_tdm_multi_dev_pytest' into 'master'
...
i2s_test: update multi dev pytest script
Closes IDFCI-1523
See merge request espressif/esp-idf!21247
2022-11-28 13:52:38 +08:00
laokaiyao
502495dec1
i2s_test: update multi dev pytest script
2022-11-28 11:10:22 +08:00
Marius Vikhammer
6a450c4113
Merge branch 'feature/esp_hw_support_pytest' into 'master'
...
esp_hw_support: migrate to pytest
See merge request espressif/esp-idf!20938
2022-11-28 10:38:54 +08:00
Rahul Tank
03942846c8
Merge branch 'bugfix/disable_prov_encryption' into 'master'
...
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
See merge request espressif/esp-idf!20297
2022-11-25 16:53:42 +08:00
Marius Vikhammer
59e40fafba
esp_hw_support: move test to pytest
2022-11-25 16:21:35 +08:00
Armando (Dou Yiwen)
2ad7b85a9e
Merge branch 'bugfix/improve_ext_virtual_memory_allocation_in_2nd_btld' into 'master'
...
bootloader: improve irom & drom mapping way in 2nd bootloader on esp32c6
Closes IDF-6331
See merge request espressif/esp-idf!21173
2022-11-25 15:24:06 +08:00
Guillaume Souchere
1d16ca6a26
Merge branch 'feature/lower-iram-utilization-of-heap-component' into 'master'
...
heap: lower the utilization of IRAM by the heap component binary
Closes IDF-2282 and IDFGH-6233
See merge request espressif/esp-idf!20926
2022-11-25 15:22:05 +08:00
Jiang Jiang Jian
1b09f26419
Merge branch 'bugfix/security_params_overwrite' into 'master'
...
Add changes to prevent security params overwritten in full scan
See merge request espressif/esp-idf!20082
2022-11-25 14:24:25 +08:00
Rahul Tank
97f4130ad2
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
...
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.
Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.
End user can enable it as per their use case.
2022-11-25 11:26:10 +05:30
Aditya Patwardhan
dfcf5878f8
secure_boot_v2: Fix warning message
2022-11-25 03:25:36 +05:30
Aditya Patwardhan
22ad083ccd
Merge branch 'refactor/merge_esp_ds_code_between_targets' into 'master'
...
Merge esp_ds and hmac_hal layers for different targets
Closes IDF-3803, IDF-6144, and DOC-3973
See merge request espressif/esp-idf!21187
2022-11-25 03:59:18 +08:00
Kevin (Lao Kaiyao)
0b1db93ea1
Merge branch 'feature/support_uart_on_c6' into 'master'
...
uart: support uart on esp32c6
Closes IDF-5338
See merge request espressif/esp-idf!21101
2022-11-24 18:42:31 +08:00
Aditya Patwardhan
1c233cc508
hmac_hal: Merge hmac hal layer for different into one
2022-11-24 16:04:26 +05:30
Aditya Patwardhan
aa27abb39b
esp_hw_support/esp_ds: Improve documentation for esp_ds_sign and esp_ds_encrypt_params API
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
2c1416d92c
hal/esp32s3: Rename static API hmac_ll_query_config_error to
...
hmac_ll_config_error in order to make it standardized across targets
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
ac1f4a263b
esp_hw_support: Merge esp_ds.h file for different targets into one
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
f79d8f9c07
esp_hw_support: Merge esp_ds.c file for different targets into one
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
6a75fe5912
esp_hw_support: Update build system support for mergin esp_ds.c files
...
into one
2022-11-24 16:03:23 +05:30
C.S.M
28b2deaf24
Merge branch 'feature/add_target_esp32h2' into 'master'
...
ESP32-H2: Introduce new target for ESP32H2
See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Aditya Patwardhan
efd05fdebb
esp32c3/esp_ds.c: Fix RSA_LEN_MAX variable
2022-11-24 15:53:51 +05:30
Guillaume Souchere
b496bab0f6
heap: fix linker issues and remove spi flash dependencies
2022-11-24 10:31:14 +01:00
Guillaume Souchere
e31e6d4de8
feat: remove tlsf_fls and tlsf_ffs from linker as they are inlined.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
ab1bd08ab9
tools: update list of references to not include symbold used by __assert_func calls
...
On xtensa architecture, the call to __assert_func uses a reference to __func__ that can
sometimes be placed in flash. Since the __asert_func can be called from functions in IRAM
the check_callgraph script can report an error when checking for invalid calls from IRAM
to flash sections. However, the __asert_func prevents this scenario at runtime so the
check_callgraph script reports a 'flas positive' situation. For this reasson, all references
to __func__$x found prior to a call to __assert_func are droped in the parsing of the rtl files.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
0376e6ec79
heap: add check for usage of flash content from iram
...
this commits:
- adds build-time test to check that no call to flash regions are done from IRAM functions
- resolves problems related to IRAM function using content in flash memory
- update heap_caps_alloc_failed to use a default function name in DRAM
when necessary instead of creating a function name variable in DRAM for
each call of heap_caps_alloc_failed. This allows to save some extra bytes
in RAM.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
5dc0481d21
heap: add documentation about the function placement in IRAM and its usage in ISR
...
This commits adds a internal.md file in the heap directory to clarify the idea behind
which functions is placed in IRAM or in flash.
A section in mem_alloc.rst documentation is added to specify which functions from the
heap component API can be used in interrupt handlers.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
7fcd964b1d
heap: add selective placement of function in IRAM
...
This commit aims to place in the IRAM section only the functions that
are relevent for performance instead of placing the entire content of
multi_heap.c, mullti_heap_poisoning.c and tlsf.c in the IRAM.
2022-11-24 10:31:14 +01:00
laokaiyao
888ca08cb2
uart: support examples and tests on esp32c6
2022-11-24 16:07:24 +08:00
laokaiyao
7778ab6d5c
uart: support update_reg and PCR clock for all uart devices
2022-11-24 16:07:23 +08:00
wuzhenghui
e90d76e5b7
bugfix: fix uart fifo lost data issue
2022-11-24 16:07:23 +08:00
Kapil Gupta
ed2abeb07f
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com >
2022-11-24 10:42:57 +05:30
Island
26e5d16c47
Merge branch 'bugfix/Fix_exceptional_list_params_check' into 'master'
...
ble_mesh: stack: Fix exceptional list parameters check issue
See merge request espressif/esp-idf!20851
2022-11-24 12:02:09 +08:00
Armando
9d9d1e4bf3
soc: remove unused macro in ext_mem_defs.h
...
ESP_CACHE_TEMP_ADDR is not used in IDF
2022-11-24 10:29:35 +08:00
Alexey Gerenkov
8c2ae2f9bd
Merge branch 'feature/universal_clang_toolchain_support' into 'master'
...
build: Adds support for universal Clang toolchain
Closes LLVM-79
See merge request espressif/esp-idf!20090
2022-11-24 03:09:46 +08:00
Ondrej Kosta
785f154f56
Merge branch 'feature/emac_buff' into 'master'
...
esp_eth: receive buffer allocation optimization
Closes IDFGH-7769
See merge request espressif/esp-idf!19977
2022-11-24 00:48:19 +08:00
Nachiket Kukade
986bd37528
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-11-23 17:33:51 +05:30