Mahavir Jain
66bc1293aa
Merge branch 'fix/heap-get-allocated-size_v4.4' into 'release/v4.4'
...
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled (backport v4.4)
See merge request espressif/esp-idf!22189
2023-02-24 11:05:16 +08:00
Guillaume Souchere
f4ab9a440a
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
...
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).
test_malloc.c extended with a new test assuring that heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-22 07:32:49 +01:00
Roland Dobai
4199164ca1
Merge branch 'feature/add_bootloader_sector_pad_option_v4.4' into 'release/v4.4'
...
esptool_py: Added a --pad-to-size flag to align the bootloader image (v4.4)
See merge request espressif/esp-idf!22327
2023-02-20 19:43:45 +08:00
Marius Vikhammer
896d16b1fd
Merge branch 'bugfix/newlib_tz_env_mutex_v4.4' into 'release/v4.4'
...
newlib: Use correct recursive mutex for env and regular mutex for tz (v4.4)
See merge request espressif/esp-idf!22294
2023-02-20 14:38:57 +08:00
Marius Vikhammer
4a466ca518
Merge branch 'docs/elm_chan_broken_link_v4.4' into 'release/v4.4'
...
docs: fix broken link in fatfs doc (v4.4)
See merge request espressif/esp-idf!22298
2023-02-20 14:17:38 +08:00
morris
213a16b712
Merge branch 'feature/remove_80m_ddr_warning_v4.4' into 'release/v4.4'
...
mspi: remove mspi 80m ddr mode warning regarding to timing tuning (v4.4)
See merge request espressif/esp-idf!21905
2023-02-20 13:30:17 +08:00
Marius Vikhammer
edd800e897
Merge branch 'docs/fix_broken_link_format_v4.4' into 'release/v4.4'
...
docs: fix rst external links with wrong format (v4.4)
See merge request espressif/esp-idf!22337
2023-02-20 13:12:16 +08:00
Roland Dobai
4c2afac355
Merge branch 'bugfix/fix_ignoring_provided_corefiles_in_espcoredump' into 'release/v4.4'
...
tools: fix the missing chip type in esp-coredump when the board is not connected
See merge request espressif/esp-idf!22079
2023-02-17 23:40:15 +08:00
morris
a73ba529ac
Merge branch 'bugfix/extram_stack_coredump_v4.4' into 'release/v4.4'
...
coredump: add support for stacks in external RAM (backport v4.4)
See merge request espressif/esp-idf!22391
2023-02-16 22:58:21 +08:00
morris
ae77cd6587
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling_v4.4' into 'release/v4.4'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration (backport v4.4)
See merge request espressif/esp-idf!22326
2023-02-16 13:10:57 +08:00
harshal.patil
ecbf28e252
esptool_py: Added a sector-pad option for bootloader image
...
When SECURE BOOT V2 is enabled and CONFIG_SECURE_BOOT_SIGNED_BINARIES
is not set, sector-pad the bootloader image, which is required for an
external PKCS#11 interface to generate a signature.
esptool_py: Update submodule to release/v3 (4bc311767b7c6df41def6f95a50f87b1c9406cbd)
2023-02-15 16:01:26 +05:30
Omar Chebib
2ef2271afd
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2023-02-15 17:46:54 +08:00
Marius Vikhammer
e62eceba34
Merge branch 'feat/verbose-alloc-failure-abort_v4.4' into 'release/v4.4'
...
heap: print size and caps when malloc fails before calling system abort (backport v4.4)
See merge request espressif/esp-idf!22346
2023-02-15 16:54:42 +08:00
morris
7b41d6c68d
Merge branch 'bugfix/rmt_force_inline_LL_functions_v4.4' into 'release/v4.4'
...
rmt: force inline LL functions (v4.4)
See merge request espressif/esp-idf!22370
2023-02-15 08:50:28 +08:00
Jiang Jiang Jian
b78d5763ac
Merge branch 'bugfix/optimize_protocol_socket_cases_4.4' into 'release/v4.4'
...
CI: optimize example protocol test cases (4.4)
See merge request espressif/esp-idf!22311
2023-02-14 18:01:22 +08:00
morris
a43e796f60
rmt: force inline LL functions
...
Closes https://github.com/espressif/esp-idf/issues/9487
2023-02-14 15:11:35 +08:00
Chen Yudong
db5bee5c16
example: fix got ip error in protocol tests
2023-02-14 11:03:37 +08:00
Jiang Jiang Jian
a75a62431a
Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v4.4' into 'release/v4.4'
...
sleep: fix gpio wakeup related issues(backport v4.4)
See merge request espressif/esp-idf!22333
2023-02-14 10:36:51 +08:00
Jiang Jiang Jian
23ec5e1944
Merge branch 'bugfix/build_err_with_ssr_enabled_v4.4' into 'release/v4.4'
...
bt: Fixed build errors when sniff subrating is enabled (v4.4)
See merge request espressif/esp-idf!22351
2023-02-14 10:36:41 +08:00
Saurabh Kumar Bansal
f90ccf9613
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-13 18:15:36 +05:30
Darian Leung
fd663b4ab1
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-13 18:15:16 +05:30
Tomas Rezucha
74f479151b
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-13 18:02:35 +05:30
Jin Cheng
123b6f132b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:27:24 +08:00
Aditya Patwardhan
a971c13447
Merge branch 'bugfix/secure_boot_v2_part_size_check_v4.4' into 'release/v4.4'
...
gen_esp32part: allow secure boot v2 based app partition size 4K aligned (v4.4)
See merge request espressif/esp-idf!22286
2023-02-13 16:37:50 +08:00
Guillaume Souchere
c8e469b78d
heap: Fix priority in shex() bit shift
2023-02-13 09:10:06 +01:00
Chip Weinberger
62d57edbc9
[Logs] print size and caps when malloc fails
2023-02-13 09:10:03 +01:00
Mahavir Jain
62340efd94
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis_v4.4' into 'release/v4.4'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs (v4.4)
See merge request espressif/esp-idf!22308
2023-02-13 14:07:35 +08:00
Marius Vikhammer
d9393d3b47
docs: fix rst external links with wrong format
2023-02-13 12:15:31 +08:00
Mahavir Jain
379d9034eb
partition_table: fix make build for new "--secure [v1/v2]" argument
2023-02-12 21:29:39 +05:30
Mahavir Jain
5002ccd9c3
partition_table: add tests for checking secure boot part size
2023-02-12 18:58:47 +05:30
Mahavir Jain
51a61fb41c
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
...
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.
For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.
Relevant:
57b601ab7f
2023-02-12 18:58:21 +05:30
Chen Yudong
1871825d7b
CI: optimize example protocol test cases
2023-02-10 15:30:44 +08:00
Harshit Malpani
f7f11cfa51
esp_http_server: fix return values for httpd_socket_send()
and httpd_socket_recv()
APIs
...
Closes https://github.com/espressif/esp-idf/issues/10658
2023-02-10 10:57:22 +05:30
jingli
8c491be452
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-09 17:58:40 +08:00
jingli
200dcce535
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:52:49 +08:00
Marius Vikhammer
4c335b8dae
docs: fix broken link in fatfs doc
2023-02-09 16:11:08 +08:00
Steve Jothen
614b06341f
Use correct recursive mutex for env and regular mutex for tz
2023-02-09 16:03:02 +08:00
Jiang Jiang Jian
cb2fde3e3f
Merge branch 'feature/seperate_ble_wifi_test_environment_v4.4' into 'release/v4.4'
...
seperate ble wifi environment (backport v4.4)
See merge request espressif/esp-idf!20083
2023-02-09 15:45:31 +08:00
Zim Kalinowski
39a4ec2045
Merge branch 'refactor/nvs_allocatable_objects_v4.4' into 'release/v4.4'
...
refactor(nvs): custom allocator for all objects allocated in NVS (v4.4)
See merge request espressif/esp-idf!21793
2023-02-08 18:01:10 +08:00
Zim Kalinowski
a83c40eaf0
Merge branch 'feature/mac_crc_v4.4' into 'release/v4.4'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v4.4)
See merge request espressif/esp-idf!22115
2023-02-08 17:04:30 +08:00
morris
9160670a4a
Merge branch 'docs/make_s3_octal_flash_error_handling_clearer_v4.4' into 'release/v4.4'
...
docs: make s3 octal flash error handling clearer (v4.4)
See merge request espressif/esp-idf!22271
2023-02-08 15:47:02 +08:00
Armando
dfe505cbb3
docs: make s3 octal flash error handling clearer
2023-02-08 12:17:45 +08:00
Aleksei Apaseev
d3eb5b2346
tools: fix the missing chip type in esp-coredump when the board is not connected
...
Closes https://github.com/espressif/esp-idf/issues/10400
2023-02-08 10:07:15 +08:00
chensheng
a1fd8065bd
seperate ble wifi environment
2023-02-08 10:05:31 +08:00
Zim Kalinowski
80d81c6c8f
Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2_v4.4' into 'release/v4.4'
...
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2 (v4.4)
See merge request espressif/esp-idf!21861
2023-02-07 17:55:58 +08:00
Zim Kalinowski
3cf24d8685
Merge branch 'feature/usb_host_feature_and_refactor_backports_v4.4' into 'release/v4.4'
...
USB Host: Backport multiple bugfixes/refactors to v4.4
See merge request espressif/esp-idf!21583
2023-02-07 17:54:35 +08:00
Zim Kalinowski
2dec69fa82
Merge branch 'feature/lower-iram-utilization-of-heap-component_v4.4' into 'release/v4.4'
...
heap: lower the utilization of IRAM by the heap component binary (backport v4.4)
See merge request espressif/esp-idf!21237
2023-02-07 16:54:58 +08:00
Fu Hanxi
dab3f38f0f
Merge branch 'ci/fix/isort_incompatible_with_py37_v4.4' into 'release/v4.4'
...
ci: fix isort py37 incompatible issue (v4.4)
See merge request espressif/esp-idf!22226
2023-02-07 09:12:10 +08:00
David Čermák
57528b8d17
Merge branch 'bugfix/fix_mdns_example_v4.4_' into 'release/v4.4'
...
mDNS: Fix example test in CI (v4.4)
See merge request espressif/esp-idf!20815
2023-02-07 00:02:00 +08:00
Jiang Jiang Jian
4a4227a3b8
Merge branch 'bugfix/optimize_abnormal_beacon_log_4.4' into 'release/v4.4'
...
esp_wifi:bugfix for optimize abnormal beacon log 4.4
See merge request espressif/esp-idf!22211
2023-02-06 22:02:10 +08:00