Marius Vikhammer
f1070229f8
system: fixed USE_FIXED_STATIC_RAM_SIZE option
...
The USE_FIXED_STATIC_RAM_SIZE was not actually causing the heap to start
at a fixed address.
Closes https://github.com/espressif/esp-idf/issues/10270
Closes https://github.com/espressif/esp-idf/issues/10271
2023-03-24 12:33:14 +08:00
zhangyanjiao
9801647fa5
wifi_mesh: update mesh doc
2023-03-23 17:18:23 +08:00
zhangyanjiao
348f8f9bac
wifi_mesh: Fix several bugs on mesh network
2023-03-23 17:18:00 +08:00
Michael (XIAO Xufeng)
d8d6d3da5b
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq_5.0' into 'release/v5.0'
...
mspi: turn down freq to fix crash when sleep (v5.0)
See merge request espressif/esp-idf!22841
2023-03-23 17:08:56 +08:00
Michael (XIAO Xufeng)
76c8f09856
Merge branch 'bugfix/usb_serial_driver_block_v5.0' into 'release/v5.0'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v5.0)
See merge request espressif/esp-idf!22830
2023-03-23 16:58:36 +08:00
Jiang Jiang Jian
e8205de110
Merge branch 'bugfix/lwip_core_locking_v5.0' into 'release/v5.0'
...
esp_netif/lwip: Fix core-locking config (v5.0)
See merge request espressif/esp-idf!22443
2023-03-23 16:54:49 +08:00
Michael (XIAO Xufeng)
8f202f0ea5
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'
...
uart: Fix TX side concurrency issues (v5.0)
See merge request espressif/esp-idf!22595
2023-03-23 15:29:33 +08:00
jgujarathi
4a0fbdccc7
wpa_supplicant : Add disable for tls key usage check.
...
Disable the key usage check this leads to false negative results
while using wfa certificates during testing.
2023-03-23 10:53:13 +05:30
jgujarathi
4e1d466fc5
wpa_supplicant : Add validations for 192-bit Suite B test cases.
...
Add validation for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-23 10:53:13 +05:30
jgujarathi
6279e58c42
wpa_supplicant : Add deinitialization of Enterprise config_methods.
...
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-03-23 10:53:13 +05:30
jgujarathi
f283b589ed
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-03-23 10:53:13 +05:30
Jiang Jiang Jian
7cf3f99bfa
Merge branch 'bugfix/nvs_save_for_new_config_v5.0' into 'release/v5.0'
...
esp_wifi: Add nvs code for new config params(backport v5.0)
See merge request espressif/esp-idf!22867
2023-03-23 12:22:07 +08:00
Jin Cheng
7d61e0bc52
Fixed memory leak in AVDT delay report
2023-03-23 11:23:43 +08:00
Jin Cheng
b0f6a4174a
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 15:48:32 +08:00
Kapil Gupta
8a6bc4363e
esp_wifi: Add nvs code for new config params
2023-03-22 12:40:55 +05:30
Ondrej
9d7132c330
esp_eth: allowed DM9051 to receive multicast packets
...
Removed extra PHY status link checks from DM9051 MAC layer
2023-03-21 16:20:24 +00:00
morris
3050ea656f
Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq_v5.0' into 'release/v5.0'
...
i2s_pdm: fix tx frequency limitation (v5.0)
See merge request espressif/esp-idf!22832
2023-03-21 20:23:50 +08:00
Jiang Jiang Jian
c575587ea4
Merge branch 'bugfix/flash_large_memory_size_v5.0' into 'release/v5.0'
...
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory(backport v5.0)
See merge request espressif/esp-idf!21533
2023-03-21 18:58:33 +08:00
David Cermak
a18d019fc9
lwip: Fix lwiopts macro expansion and dhcps-test
...
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
Fix lwip thread safety issue in tests: dhcp server should be started and
stopped only in lwip context/thread. Without this fix, the test would
fail if `CONFIG_LWIP_CHECK_THREAD_SAFETY=y`
Adds CONFIG_LWIP_TCPIP_CORE_LOCKING=y to some mqtt example tests (the
same configs as used in v5.1)
2023-03-21 11:21:07 +01:00
David Cermak
285362e8d6
lwip: Add missing esp_sntp_enabled()
2023-03-21 11:09:56 +01:00
David Cermak
42594bffe4
lwip/sntp: Fix esp_sntp_ API races (v5.0)
...
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82
.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().
Closes https://github.com/espressif/esp-idf/issues/10611
2023-03-21 11:09:56 +01:00
David Cermak
5b75693522
esp_netif/lwip: Fix core-locking config (v5.0)
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 11:09:56 +01:00
Jiang Jiang Jian
f9f4a23159
Merge branch 'bugfix/set_generic_len_for_rsnxe_v5.0' into 'release/v5.0'
...
esp_wifi: bugfix RSNXE related changes
See merge request espressif/esp-idf!22420
2023-03-21 12:35:11 +08:00
Cao Sen Miao
4c66d7e6df
esp_flash: correct veriable 'size' description
2023-03-21 12:10:38 +08:00
Shreyas Sheth
77c675db25
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 21:55:44 +05:30
wanlei
20924e3a72
mspi: turn down freq to fix crash when sleep
2023-03-20 19:46:25 +08:00
laokaiyao
ec55f7fe6e
i2s_pdm: fix tx frequency limitation
...
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +08:00
isha.pardikar@espressif.com
d3546e3fa3
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.
2023-03-20 16:36:20 +05:30
Jiang Jiang Jian
dc172b63d3
Merge branch 'bugfix/close_rf_in_deep_sleep_backport_v5.0' into 'release/v5.0'
...
deep sleep: further optimize sleep current if RF is enabled (backport v5.0)
See merge request espressif/esp-idf!22738
2023-03-20 15:48:29 +08:00
laokaiyao
b02d50e33b
i2s: fix some typos
2023-03-20 14:51:07 +08:00
Cao Sen Miao
8e3b4f68dc
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-03-20 14:07:55 +08:00
Chip Weinberger
6f0746734f
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-03-20 14:07:41 +08:00
Jiang Jiang Jian
763e369858
Merge branch 'feature/support_7.2.8_soc/pvt_dig_v5.0' into 'release/v5.0'
...
ESP32S3:support auto adjust LDO voltage based on pvt-dig(backport 5.0)
See merge request espressif/esp-idf!19774
2023-03-20 14:06:48 +08:00
Cao Sen Miao
e94d95103e
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
...
Closes https://github.com/espressif/esp-idf/pull/9566
2023-03-20 13:07:35 +08:00
Michael (XIAO Xufeng)
55e040b54b
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v5.0' into 'release/v5.0'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v5.0)
See merge request espressif/esp-idf!22665
2023-03-20 12:49:56 +08:00
Jiang Jiang Jian
e9b2f6ddce
Merge branch 'bugfix/minor_syntax_changes_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fixing a collection of issues encountered during application testing.
See merge request espressif/esp-idf!22178
2023-03-17 19:39:49 +08:00
Jiang Jiang Jian
faad05cf56
Merge branch 'bugfix/default_wpa2_causing_pmk_recal_v5.0' into 'release/v5.0'
...
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.(v5.0)
See merge request espressif/esp-idf!22427
2023-03-17 19:39:40 +08:00
Michael (XIAO Xufeng)
385ca5a041
Merge branch 'test/add_spi_slave_freq_test_v5.0' into 'release/v5.0'
...
spi_slave: fix io re-config issue (v5.0)
See merge request espressif/esp-idf!22592
2023-03-17 19:17:23 +08:00
zlq
135381943a
1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq
2023-03-17 11:14:01 +00:00
Michael (XIAO Xufeng)
3da8120029
Merge branch 'bugfix/gpio_ut_usj_v5.0' into 'release/v5.0'
...
gpio: add a test case to test the ability of disabling USB D+ pin pull-up (v5.0)
See merge request espressif/esp-idf!22605
2023-03-17 16:34:17 +08:00
Song Ruo Jing
27f9ee66d5
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
Song Ruo Jing
a7222acf47
rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup
2023-03-17 14:44:23 +08:00
Jiang Jiang Jian
fe743a057f
Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
...
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)
See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
Jiang Jiang Jian
9718c91a38
Merge branch 'bugfix/bluedroid_le_coc_compile_error_v5.0' into 'release/v5.0'
...
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs(backport v5.0)
See merge request espressif/esp-idf!22492
2023-03-17 13:56:36 +08:00
Jiang Jiang Jian
df0ec3f5e4
Merge branch 'bugfix/modify_configuration_for_ble_5_v5.0' into 'release/v5.0'
...
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips (v5.0)
See merge request espressif/esp-idf!22780
2023-03-17 13:56:22 +08:00
Jiang Jiang Jian
b837e910a9
Merge branch 'bugfix/add_debug_check_v5.0' into 'release/v5.0'
...
Nimble: Added debug relate flag around debug code_v5.0
See merge request espressif/esp-idf!22782
2023-03-17 13:55:54 +08:00
Jiang Jiang Jian
b7ca4320bb
Merge branch 'bugfix/atomic_gptimer_fsm_v5.0' into 'release/v5.0'
...
gptimer: fix race condition between start and stop (v5.0)
See merge request espressif/esp-idf!22712
2023-03-17 10:38:53 +08:00
Marius Vikhammer
14723a07d1
Merge branch 'bugfix/flakey_task_snapshot_tests_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix flakey task snapshot tests (v5.0)
See merge request espressif/esp-idf!22778
2023-03-17 10:25:25 +08:00
Rahul Tank
32a02459dc
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips
2023-03-16 12:08:58 +05:30
aditi_lonkar
49c5a92181
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
...
Closes https://github.com/espressif/esp-idf/issues/10214
2023-03-16 11:48:55 +05:30
Jiang Jiang Jian
6dc6b57180
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314' into 'release/v5.0'
...
bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314
See merge request espressif/esp-idf!22758
2023-03-16 10:49:26 +08:00
Jiang Jiang Jian
10010b1976
Merge branch 'bugfix/fix_fast_packets_handling_v5.0' into 'release/v5.0'
...
Nimble: Retry buffer allocation, if previous allocation fails (v5.0)
See merge request espressif/esp-idf!22730
2023-03-16 10:27:42 +08:00
Rahul Tank
ce7df40968
Nimble: Added debug relate flag around debug code
2023-03-15 16:30:29 +05:30
xueyunfei
1d6ba06366
esp_wifi:bugfix for optimize abnormal beacon log
2023-03-15 16:21:02 +08:00
xueyunfei
392533f0e2
Fixed bug for dhcp server support CIDR
...
Closes https://github.com/espressif/esp-idf/issues/10024
Closes https://github.com/espressif/esp-idf/issues/10559
2023-03-15 16:20:33 +08:00
Darian Leung
e0b1ccf6ce
freertos: Fix flakey task snapshot tests
...
The task snapshot tests use esp_cpu_stall() to stall the other CPU before
manually walking the task lists. However, it is possible that the other CPU
was also accessing the task lists when esp_cpu_stall() is called, leading to
flakey tests
This commit fixes the test by using a 2-way handshake instead of
esp_cpu_stall().
2023-03-15 16:12:24 +08:00
xueyunfei
446b49cc15
dhcp server:bugfix softap excedes the range of subnet
2023-03-15 14:35:42 +08:00
xueyunfei
62983624ae
1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
...
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved
* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7
Detailed description of the changes:
- dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
- tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
- netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
- lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
- lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-15 14:35:42 +08:00
xueyunfei
3b46f2f698
lwip:optimization dhcp coarse timer
2023-03-15 14:35:42 +08:00
xueyunfei
6f311db07e
lwip: solve some routers do not forward multicast packet issue
2023-03-15 14:35:42 +08:00
Marius Vikhammer
84b9cebb04
Merge branch 'docs/broken_links_2_v5.0' into 'release/v5.0'
...
docs: fix broken links (v5.0)
See merge request espressif/esp-idf!22748
2023-03-15 14:16:15 +08:00
isha.pardikar@espressif.com
ff004d9ab9
wifi_prov_mgr : Fixed return value of characteristic read operation
2023-03-14 06:50:20 +00:00
wuzhenghui
64d5421d8b
deep sleep: close rf to optimize sleep current
2023-03-14 13:57:42 +08:00
Jiang Jiang Jian
6db1f2f9a7
Merge branch 'bugfix/some_small_fix_for_sleep_backport_v5.0' into 'release/v5.0'
...
soc/soc_caps: update soc caps for chips that support power-down of modem hardware(backport v5.0)
See merge request espressif/esp-idf!22720
2023-03-14 13:55:39 +08:00
Marius Vikhammer
420e20f95b
docs: fix broken links
2023-03-14 10:24:51 +08:00
wuzhenghui
568dd3d823
Revert "optimize deep sleep current in wifi softap mode"
...
This reverts commit 344ec80fad
.
2023-03-13 20:49:36 +08:00
Jiang Jiang Jian
89bb920c86
Merge branch 'bugfix/ps_bufferable_mmpdu_v5.0' into 'release/v5.0'
...
Combine improvements in sa query and buffer mgmt frames on SoftAP, fix NULL ptr dereference (Backport v5.0)
See merge request espressif/esp-idf!22215
2023-03-13 19:39:03 +08:00
Rahul Tank
ceeff063e8
Nimble: Added change to give time to allocate buffers, in case previous
...
allocation fails
Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-13 15:23:04 +05:30
Jiang Jiang Jian
358ed1af5d
Merge branch 'bugfix/add_return_type_nimble_port_init_v5.0' into 'release/v5.0'
...
Nimble: Added return value (success / failure ) to nimble_port_init / nimble_port_deinit (v5.0)
See merge request espressif/esp-idf!22191
2023-03-13 15:19:06 +08:00
xiongweichao
46e7347177
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-03-13 15:03:55 +08:00
jingli
833f201610
soc/soc_caps: update soc caps for chips that support power-down of modem hardware
2023-03-13 13:33:18 +08:00
liqigan
109d42bb85
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:16:51 +08:00
morris
c24222dcde
gptimer: fix race condition between start and stop
...
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-11 11:42:09 +08:00
Zim Kalinowski
bf082dcd1c
Merge branch 'bugfix/spram_and_virt_efuse_can_work' into 'release/v5.0'
...
esp_psram: Use efuse_ll instead of efuse API
See merge request espressif/esp-idf!22641
2023-03-11 00:00:08 +08:00
Roman Leonov
35068ee7b9
usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
...
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-10 12:40:01 +01:00
gauri patankar
cad044a3b6
wpa_supplicant:Fix potential null pointer dereference
2023-03-10 16:00:55 +05:30
Sarvesh Bodakhe
7999489c6e
Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode
2023-03-10 16:00:55 +05:30
wangmengyang
57b26802a5
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-03-10 07:37:24 +00:00
morris
ac0237670b
Merge branch 'bugfix/fixed_wrong_sdm_struct_sequence_v5.0' into 'release/v5.0'
...
sdm: fixed potential memory leak (v5.0)
See merge request espressif/esp-idf!22648
2023-03-10 15:19:22 +08:00
KonstantinKondrashov
963a8b1c57
esp_psram: Use efuse_ll instead of efuse API
...
When the virt efuse mode is on and psram is on as well
then efuse buffer is not filled by efuses (it is filled by 0).
So the psram init func gets wrong pkg_ver = 0.
Closes https://github.com/espressif/esp-idf/issues/10925
Close IDFGH-9576
2023-03-10 05:14:50 +00:00
laokaiyao
a6b190c083
sdm: fixed potential memory leak
2023-03-10 03:48:27 +00:00
Aditya Patwardhan
6692a1346b
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
...
Closes https://github.com/espressif/esp-idf/issues/10765
2023-03-10 03:46:19 +00:00
Marius Vikhammer
319208c3d1
Merge branch 'bugfix/clang_tidy_and_nvs_memory_issue' into 'release/v5.0'
...
clang tidy add C++ and nvs memory issue (backports 5.0)
See merge request espressif/esp-idf!22666
2023-03-10 11:42:02 +08:00
Mahavir Jain
045ad4638e
Merge branch 'feature/memprot_test_app_v5.0' into 'release/v5.0'
...
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3 (v5.0)
See merge request espressif/esp-idf!22582
2023-03-10 11:27:01 +08:00
Aditya Patwardhan
f31e3c1046
Merge branch 'fix/esp32_hw_mpi_data_corruption_v5.0' into 'release/v5.0'
...
esp32/mpi: Added alternate workaround for MPI data corruption issue (v5.0)
See merge request espressif/esp-idf!22581
2023-03-10 11:17:31 +08:00
Wang Meng Yang
e9092c2d2d
Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
...
support ble write and notify throughput test at the same time (backport v5.0)
See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
Zim Kalinowski
2a804de4b7
Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
...
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)
See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
Jakob Hasse
0eddee63e8
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()
2023-03-08 14:13:11 +08:00
Zim Kalinowski
416ada0ce1
Merge branch 'refactor/nvs_allocatable_objects_v5.0' into 'release/v5.0'
...
refactor(nvs): custom allocator for all objects allocated in NVS (v5.0)
See merge request espressif/esp-idf!21792
2023-03-07 14:15:49 +08:00
morris
a77d7d2343
Merge branch 'bugfix/timg0_disable_v5.0' into 'release/v5.0'
...
esp_system: Fix TIMG0 still enabled after Timer is freed (v5.0)
See merge request espressif/esp-idf!22630
2023-03-07 11:56:50 +08:00
Omar Chebib
83907aaa20
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-03-07 10:23:43 +08:00
morris
2b6576ff08
Merge branch 'bugfix/some_small_fix_for_sleep_examples_backport_v5.0' into 'release/v5.0'
...
examples: some small fix for sleep examples(backport v5.0)
See merge request espressif/esp-idf!22618
2023-03-07 10:20:02 +08:00
morris
4cd4762b1f
Merge branch 'bugfix/return_error_when_fail_detect_oct_psram_v5.0' into 'release/v5.0'
...
esp_psram: return error when fail to detect oct psram (v5.0)
See merge request espressif/esp-idf!22612
2023-03-07 10:18:28 +08:00
Gustavo Henrique Nihei
aab0a5a4a8
esp_system: Fix TIMG0 still enabled after Timer is freed
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Gustavo Henrique Nihei
24484887a9
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Laukik Hase
a2dd95434f
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-06 12:39:12 +00:00
morris
6b397d5114
Merge branch 'contrib/github_pr_10640_v5.0' into 'release/v5.0'
...
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22588
2023-03-06 15:35:24 +08:00
Laukik Hase
d53d4ec930
esp32/mpi: Added alternate workaround for MPI data corruption issue
...
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
MPI peripheral
- Updated the previous workaround added for the same issue as it
was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
enabled.
- The test performance numbers had to be updated due to the
performance penalty introduced by this fix.
Closes https://github.com/espressif/esp-idf/issues/10403
2023-03-06 06:43:17 +00:00
jingli
cb64ff74fc
system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK
2023-03-06 11:56:56 +08:00
jingli
38c25ebceb
konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED
2023-03-06 11:53:35 +08:00
Song Ruo Jing
639e49d157
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
2023-03-06 11:14:05 +08:00
Armando
753ed2697f
esp_psram: return error when fail to detect oct psram
2023-03-06 10:56:28 +08:00
morris
2b14b7d061
Merge branch 'contrib/github_pr_10402_v5.0' into 'release/v5.0'
...
ledc: move callback to IRAM as it's called from an ISR (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22590
2023-03-06 10:14:58 +08:00
Marius Vikhammer
7ea24f38a7
Merge branch 'refactor/move_rom_test_to_fpga_only_v5.0' into 'release/v5.0'
...
esp_rom: miniz test only on FPGA (backport 5.0)
See merge request espressif/esp-idf!22601
2023-03-06 09:15:54 +08:00
morris
6f74272d56
Merge branch 'contrib/github_pr_10856_v5.0' into 'release/v5.0'
...
Correct typo in referenced function name (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22587
2023-03-05 23:42:37 +08:00
Song Ruo Jing
f177b2c6c6
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 19:18:08 +08:00
jofrev
aa496e6550
Set errno in adjtime if delta is too large
...
errno should be set to EINVAL in this case according to adjtime's man
page.
2023-03-03 18:15:27 +08:00
jofrev
f2c8de6b1b
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2023-03-03 18:15:26 +08:00
Jakob Hasse
1581c494d3
refactor(esp_rom): miniz test only on FPGA now
2023-03-03 18:15:06 +08:00
wanlei
62e1e2500c
spi_slave: fix io re-config issue
2023-03-03 17:56:23 +08:00
Song Ruo Jing
bdffb4403d
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2023-03-03 17:21:56 +08:00
Simon Arlott
9d34501ad1
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 16:50:26 +08:00
Bradley McFadden
701780891c
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-03 16:45:17 +08:00
Zim Kalinowski
11c59a2e69
Merge branch 'bugfix/fix_psram_kconfig_help_v5.0' into 'release/v5.0'
...
psram: removed deprecated statement about coredump and external BSS (backport v5.0)
See merge request espressif/esp-idf!22562
2023-03-03 13:35:30 +08:00
Jiang Jiang Jian
7d7196d2d2
Merge branch 'ci/add_generic_to_xtal_26mhz_runners_5.0' into 'release/v5.0'
...
Ci: add generic to xtal 26mhz runners 5.0
See merge request espressif/esp-idf!21756
2023-03-02 17:17:47 +08:00
morris
0a5ed6ff9c
Merge branch 'bugfix/fix_btld_app_overlap_c2_v5.0' into 'release/v5.0'
...
ld: fixed bootloader and app potential overlap issue (v5.0)
See merge request espressif/esp-idf!22569
2023-03-02 15:26:02 +08:00
Rahul Tank
2b5f1140dd
Nimble: Added return value (success / failure ) to nimble_port_init
2023-03-02 09:47:03 +05:30
Jakob Hasse
28c325b291
refactor(nvs): custom allocator for all objects allocated in NVS
2023-03-02 10:49:53 +08:00
Armando
fbe7d6fca9
ld: fixed bootloader and app potential overlap issue
2023-03-02 10:45:40 +08:00
Chen Yudong
c8e7ab7f17
CI: add generic to xtal_40mhz jobs
2023-03-01 22:40:32 +08:00
Omar Chebib
e4c94328b9
psram: removed deprecated statement about coredump and external BSS
2023-03-01 19:02:24 +08:00
Armando
aa3cc6ac17
esp_adc: fix continuous mode pm lock release fail issue and add tests
...
Closes https://github.com/espressif/esp-idf/issues/10853
2023-03-01 10:51:19 +08:00
Island
564b94fe5b
Merge branch 'feature/esp32c2_optimize_npl_api_v5.0' into 'release/v5.0'
...
Optimized NPL Freertos API
See merge request espressif/esp-idf!21906
2023-02-28 20:51:49 +08:00
Jiang Jiang Jian
d759ee5aea
Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
...
touch: update examples and tests (v5.0)
See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Mahavir Jain
d56a6e1691
Merge branch 'fix/http_client_disable_auto_redirect_causes_loop_v5.0' into 'release/v5.0'
...
http_client: fixed looping caused when disable_auto_redirect enabled (v5.0)
See merge request espressif/esp-idf!22536
2023-02-28 19:54:31 +08:00
Jiang Jiang Jian
008a4dc54e
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue_v5.0' into 'release/v5.0'
...
NimBLE: Fix incomplete clearing of peer_dev_rec (v5.0)
See merge request espressif/esp-idf!21952
2023-02-28 14:20:48 +08:00
harshal.patil
f39f6011f5
http_client: fixed looping caused when disable_auto_redirect enabled
...
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-28 10:29:24 +05:30
zwl
3eb8a9cf1e
ble: Fixed flow control count error on ESP32-C2
2023-02-27 21:48:19 +08:00
zhiweijian
61c3b96957
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2023-02-27 13:01:13 +00:00
Marius Vikhammer
ca0623e311
Merge branch 'bugfix/freertos_stream_buffer_test_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix stream buffer send-receive test (v5.0)
See merge request espressif/esp-idf!22507
2023-02-27 19:02:04 +08:00
Zim Kalinowski
fd707e1d03
Merge branch 'bugfix/twai_listen_only_errata_v5.0' into 'release/v5.0'
...
twai: Add errata workaround for listen only mode (v5.0)
See merge request espressif/esp-idf!22514
2023-02-27 18:13:11 +08:00
Shen Weilong
0fce029b92
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-27 16:56:05 +08:00
zwl
7b28d40c0a
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-27 16:56:05 +08:00
zwl
530c07a5be
Optimized NPL Freertos API
2023-02-27 16:56:05 +08:00
Sumeet Singh
ace6a3b4bb
NimBLE: Fix incomplete clearing of peer_dev_rec
2023-02-27 14:21:57 +05:30
Jiang Jiang Jian
4abb6efb36
Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v5.0' into 'release/v5.0'
...
sleep: fix gpio wakeup related issues(backport v5.0)
See merge request espressif/esp-idf!22332
2023-02-27 15:12:13 +08:00
Jiang Jiang Jian
5ca38da869
Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'
...
Nimble: Removes global min/max definition causing problems with other libraries (v5.0)
See merge request espressif/esp-idf!21817
2023-02-27 15:11:28 +08:00
Jiang Jiang Jian
1f73b5e4cd
Merge branch 'bugfix/wps_start_state_issue_v5.0' into 'release/v5.0'
...
esp_wifi: Add check for wps start state (v5.0)
See merge request espressif/esp-idf!22025
2023-02-27 15:10:01 +08:00
Jiang Jiang Jian
809aeb77b7
Merge branch 'bugfix/update_esp_rom_rtc_header_v5.0' into 'release/v5.0'
...
update esp rom rtc header (backport to v5.0)
See merge request espressif/esp-idf!21915
2023-02-27 15:09:19 +08:00
Jiang Jiang Jian
2ab97d57f9
Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2_v5.0' into 'release/v5.0'
...
Bugfix/fixed hci uart flow ctrl error on esp32c2 v5.0
See merge request espressif/esp-idf!21887
2023-02-27 15:08:28 +08:00
Jiang Jiang Jian
7c20c3742d
Merge branch 'bugfix/fix_the_bluedroid_hci_crash_on_esp32c2' into 'release/v5.0'
...
Fixed the bluedroid hci crash due to insufficient memory on ESP32C2
See merge request espressif/esp-idf!22056
2023-02-27 15:07:31 +08:00
Jiang Jiang Jian
335ad04cba
Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2_backport_v5.0' into 'release/v5.0'
...
esp32c2: support feature(rtc time) depend on rtc fast mem(backport v5.0)
See merge request espressif/esp-idf!22224
2023-02-27 15:06:31 +08:00
Jiang Jiang Jian
f39c3b286c
Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v5.0' into 'release/v5.0'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v5.0)
See merge request espressif/esp-idf!22094
2023-02-27 15:05:49 +08:00
Jiang Jiang Jian
4cc03645e8
Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!22363
2023-02-27 15:05:38 +08:00
Jiang Jiang Jian
3bc9260dea
Merge branch 'support/release_v5.0_fix_h2_phy_init_when_sw_restart' into 'release/v5.0'
...
esp_phy: fix phy init when SW restart(backport 5.0)
See merge request espressif/esp-idf!22309
2023-02-27 15:04:02 +08:00
morris
491800f144
Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h_v5.0' into 'release/v5.0'
...
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue (v5.0)
See merge request espressif/esp-idf!22488
2023-02-25 17:30:47 +08:00
Darian Leung
3318fac02f
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 19:26:22 +08:00
morris
da46d216df
Merge branch 'bugfix/correct_ext_mem_defs_for_internal_ram_v5.0' into 'release/v5.0'
...
soc: update iram/dram addr range in ext_mem_defs.h (v5.0)
See merge request espressif/esp-idf!22489
2023-02-24 18:35:50 +08:00
Darian Leung
3623dc0fce
freertos: Fix stream buffer send-receive test
...
The stream buffer send-receive test preivously contained the following bugs:
- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
the sender task would cause memory corruption when accessing "tc" structure
allocated on the main task's stack
This commit fixes and simplifies the stream buffer test.
2023-02-24 16:24:25 +08:00
Mahavir Jain
53c66a6dae
Merge branch 'fix/heap-get-allocated-size_v5.0' into 'release/v5.0'
...
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled (backport v5.0)
See merge request espressif/esp-idf!22187
2023-02-24 11:05:41 +08:00
Armando
866d727477
soc: remove unused macro in ext_mem_defs.h
...
ESP_CACHE_TEMP_ADDR is not used in IDF
2023-02-23 12:40:43 +08:00
Armando
86b331b40f
soc: update iram/dram addr range in ext_mem_defs.h
...
IRAM0/DRAM0 addr range update, on s3, c3, c2, h4, c6:
IRAM0_ADDRESS_LOW ~ IRAM0_ADDRESS_HIGH
DRAM0_ADDRESS_LOW ~ DRAM0_ADDRESS_HIGH
now are for the real IRAM0 and DRAM0
2023-02-23 12:39:54 +08:00
Armando
ac86ef31c1
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-23 12:35:52 +08:00
yuanjianmin
c120f5777e
tcp_transport: Add authorization header for websocket client
2023-02-22 16:19:41 +04:00
David Čermák
4c606d3381
Merge branch 'feature/websocket-client-errorhandlin_v5.0' into 'release/v5.0'
...
[ws_transport]-Added `esp_transport_ws_get_upgrade_request_status` API (v5.0)
See merge request espressif/esp-idf!22360
2023-02-22 19:46:47 +08:00
Guillaume Souchere
2ea046c091
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 11:42:02 +01:00
Ivan Grokhotkov
498dc8d09d
Merge branch 'bugfix/nvs_cxx_example_v5.0' into 'release/v5.0'
...
nvs_flash: fixed wrong error check after open_nvs_handle in example (v5.0)
See merge request espressif/esp-idf!22303
2023-02-22 16:39:13 +08:00
morris
6b08f05282
Merge branch 'bugfix/rmt_buffer_allocation_v5.0' into 'release/v5.0'
...
legacy rmt driver: fix wrong buffer allocation (v5.0)
See merge request espressif/esp-idf!22429
2023-02-22 10:23:38 +08:00
Wang Meng Yang
3d80d4b795
Merge branch 'bugfix/sdp_event_status_overwritten_by_handle_v5.0' into 'release/v5.0'
...
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle
See merge request espressif/esp-idf!22213
2023-02-21 18:21:33 +08:00
Wang Meng Yang
8439e6184c
Merge branch 'bugfix/build_err_with_ssr_enabled_v5.0' into 'release/v5.0'
...
bt: Fixed build errors when sniff subrating is enabled (v5.0)
See merge request espressif/esp-idf!22350
2023-02-21 18:20:06 +08:00
Wang Meng Yang
11c65947d8
Merge branch 'bugfix/access_nullptr_when_ble_disconn_v5.0' into 'release/v5.0'
...
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected` (v5.0)
See merge request espressif/esp-idf!21879
2023-02-21 18:18:48 +08:00
isha.pardikar@espressif.com
049cffcb2a
BluFi : Fixed hdr getting free twice
...
Closes IDFGH-9378
2023-02-21 11:44:12 +05:30
Steinbart Andreas (HAU-EDS)
481cca3490
[ws_transport] - Added esp_transport_ws_get_upgrade_request_status
API
2023-02-20 14:12:48 +00:00
Ivan Grokhotkov
82458fd31d
Merge branch 'bugfix/extram_stack_coredump_v5.0' into 'release/v5.0'
...
coredump: add support for stacks in external RAM (backport v5.0)
See merge request espressif/esp-idf!22410
2023-02-20 20:32:19 +08:00
Ivan Grokhotkov
86a75d1d73
Merge branch 'feature/gdbstub_esp32c2_v5.0' into 'release/v5.0'
...
gdb stub: re-enable for ESP32-C2 (v5.0)
See merge request espressif/esp-idf!21770
2023-02-20 17:13:37 +08:00
Marius Vikhammer
18bda1be31
Merge branch 'feature/re-enable-heap-test-c2_v5.0' into 'release/v5.0'
...
heap: re-enable temporarily disabled test on esp32c2 (backport v5.0)
See merge request espressif/esp-idf!21873
2023-02-20 15:34:16 +08:00
Marius Vikhammer
fc3f49d589
Merge branch 'docs/freertos_doc_organization_v5.0' into 'release/v5.0'
...
Docs: Update FreeRTOS documentation organization for IDF and Amazon SMP FreeRTOS (v5.0)
See merge request espressif/esp-idf!22395
2023-02-20 15:26:23 +08:00
Marius Vikhammer
5b718a81a0
Merge branch 'feat/verbose-alloc-failure-abort_v5.0' into 'release/v5.0'
...
heap: print size and caps when malloc fails before calling system abort (backport v5.0)
See merge request espressif/esp-idf!22343
2023-02-20 15:17:51 +08:00
Marius Vikhammer
47bc882caa
Merge branch 'feature/re-enable-intr-alloc-test-c2_v5.0' into 'release/v5.0'
...
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target (backport v5.0)
See merge request espressif/esp-idf!21874
2023-02-20 15:16:36 +08:00
Marius Vikhammer
bca7446a53
Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2_v5.0' into 'release/v5.0'
...
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2 (v5.0)
See merge request espressif/esp-idf!21860
2023-02-20 15:14:56 +08:00
morris
b731bd6a60
rmt: fix rmt buffer allocation issue
2023-02-20 15:12:30 +08:00
Marius Vikhammer
d33d3d7884
Merge branch 'feature/re-enable-newlib-test-c2_v5.0' into 'release/v5.0'
...
newlib: Remove tests using RTC related features from the esp32c2 test set (backport v5.0)
See merge request espressif/esp-idf!21878
2023-02-20 15:11:16 +08:00
Jakob Hasse
1a98df0c93
bugfix(nvs_flash): fixed wrong error check after open_nvs_handle
...
Closes https://github.com/espressif/esp-idf/issues/10240
2023-02-20 14:20:18 +08:00
morris
f58f8116de
Merge branch 'feature/adc_calibration_c2_v5.0' into 'release/v5.0'
...
esp_adc: support adc calibration on esp32c2 (v5.0)
See merge request espressif/esp-idf!22382
2023-02-20 14:13:23 +08:00
Marius Vikhammer
41bf6dab0d
Merge branch 'bugfix/newlib_tz_env_mutex_v5.0' into 'release/v5.0'
...
newlib: Use correct recursive mutex for env and regular mutex for tz (v5.0)
See merge request espressif/esp-idf!22293
2023-02-20 13:04:17 +08:00
Aditya Patwardhan
962d716456
Merge branch 'bugfix/secure_boot_v2_part_size_check_v5.0' into 'release/v5.0'
...
gen_esp32part: allow secure boot v2 based app partition size 4K aligned (v5.0)
See merge request espressif/esp-idf!22284
2023-02-20 12:19:38 +08:00
Armando (Dou Yiwen)
1990335623
Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue_v5.0' into 'release/v5.0'
...
adc: make adc_channel.h macros work with ng driver (v5.0)
See merge request espressif/esp-idf!22020
2023-02-20 11:08:42 +08:00
Armando
d101d9c100
esp_adc: update license
2023-02-20 10:34:34 +08:00
Armando
0f49c8677b
include inttypes.h
2023-02-20 10:34:34 +08:00
Armando
45776dc0cc
esp_adc: add esp32c2 adc high/low test threshold and expected val
2023-02-20 10:34:34 +08:00
Armando
ed98062c66
esp_adc: refacotr tests for all supported attenuations
2023-02-20 10:34:34 +08:00
Armando
a03ca90d4a
esp_adc: replace hardcoded calibration version to a macro
...
On esp32c3 and esp32s3, we support calibration version 1. This commit
replace it with ESP_EFUSE_ADC_CALIB_VER to avoid hardcode.
2023-02-20 10:34:34 +08:00
Armando
fe0643ca40
esp_adc: support adc calibration on esp32c2
2023-02-20 10:34:34 +08:00
Armando
70d62f5c85
efuse: added adc calibration efuse fields on esp32c2
2023-02-20 10:34:34 +08:00
Armando
d9992320c8
efuse: remove PVT_LOW field on esp32c2
...
PVT_LOW doesn't exist on ESP32C2
2023-02-20 10:34:33 +08:00
zlq
bd7bcbb03b
1.add ldo parameters in efuse table; 2.set ldo dbias based on pvt-efuse; 3.add pll cali stop function; 4. add efuse_ocode
2023-02-20 10:33:25 +08:00
Mahavir Jain
b289b7a1f1
Merge branch 'feature/mbedtls-3.3.0_v5.0' into 'release/v5.0'
...
mbedtls: Update to v3.3.0 (v5.0)
See merge request espressif/esp-idf!22121
2023-02-19 14:41:06 +08:00
Mahavir Jain
a823a4907f
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis_v5.0' into 'release/v5.0'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs (v5.0)
See merge request espressif/esp-idf!22307
2023-02-19 12:10:36 +08:00
Mahavir Jain
c71f9a3e1e
Merge branch 'fix/stack-dram-memory-protection_v5.0' into 'release/v5.0'
...
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled (backport v5.0)
See merge request espressif/esp-idf!22170
2023-02-19 11:57:54 +08:00
Mahavir Jain
ca7045d904
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-02-19 03:53:02 +00:00
Laukik Hase
db99f311fc
mbedtls: Fix build with dynamic buffers feature
2023-02-19 03:53:02 +00:00
Laukik Hase
6384299167
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-02-19 03:53:02 +00:00
Laukik Hase
8b5ab6820f
mbedtls: Update config options as per v3.3.0 release
2023-02-19 03:53:02 +00:00
Laukik Hase
88aa45ff17
mbedtls: Update to v3.3.0
2023-02-19 03:53:02 +00:00
Mahavir Jain
e532de9aa5
partition_table: add tests for checking secure boot part size
2023-02-19 03:50:03 +00:00
Mahavir Jain
33568182d4
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-19 03:50:03 +00:00
Mahavir Jain
dcae357500
Merge branch 'fix/hardware_ecc_port_v5.0' into 'release/v5.0'
...
mbedtls/ecp: Fix incorrect ECP parameter value
See merge request espressif/esp-idf!22112
2023-02-19 11:49:14 +08:00
Mahavir Jain
395b682aa3
Merge branch 'fix/mbedtls_port_sanity_checks_and_return_values_v5.0' into 'release/v5.0'
...
mbedtls/port: refactor sanity checks and their return values (v5.0)
See merge request espressif/esp-idf!22127
2023-02-19 11:47:47 +08:00
morris
ce0316df99
lcd: support PLL240M as i80 clock source on esp32s3
2023-02-18 15:14:12 +08:00
morris
f603aa7d76
Merge branch 'bugfix/i2s_update_regs_before_start_v5.0' into 'release/v5.0'
...
i2s: fixed rx update stuck bug (v5.0)
See merge request espressif/esp-idf!21776
2023-02-18 15:07:05 +08:00
morris
db8b56c9ac
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX_v5.0' into 'release/v5.0'
...
spi: fix micro SPI_HOST_MAX error (v5.0)
See merge request espressif/esp-idf!22147
2023-02-18 15:06:35 +08:00
morris
3f68b61f3e
Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
...
mcpwm: support non-vararg version of generator functions (v5.0)
See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
morris
15471b450d
Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit_v5.0' into 'release/v5.0'
...
mcpwm: support not reset GPIO config at exit (v5.0)
See merge request espressif/esp-idf!22023
2023-02-18 15:03:13 +08:00
morris
27ca6549d5
Merge branch 'bugfix/gdma_uhci_id_5.0' into 'release/v5.0'
...
gdma: correct the dma trigger of UHCI && fix async memcpy conflict with peripheral DMA (v5.0)
See merge request espressif/esp-idf!22006
2023-02-18 15:02:32 +08:00
morris
10dd0cc4a1
Merge branch 'feature/rmt_no_light_sleep_lock_v5.0' into 'release/v5.0'
...
rmt: avoid auto light sleep when use xtal as the clock source (v5.0)
See merge request espressif/esp-idf!22053
2023-02-18 15:00:56 +08:00
morris
92b1f4fa27
Merge branch 'bugfix/gptimer_pm_lock_xtal_5.0' into 'release/v5.0'
...
gptimer: acquire pm lock for xtal clock source (v5.0)
See merge request espressif/esp-idf!22281
2023-02-18 15:00:24 +08:00
morris
9fb838c0b5
Merge branch 'bugfix/mcpwm_config_name_v5.0' into 'release/v5.0'
...
mcpwm: modify wrong config name (v5.0)
See merge request espressif/esp-idf!22385
2023-02-18 14:58:00 +08:00
Konstantin Kondrashov
8a6fb6df19
Merge branch 'feature/secure_features_are_enabled_correctly_v5.0' into 'release/v5.0'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly (v5.0)
See merge request espressif/esp-idf!22116
2023-02-17 21:40:42 +08:00
Konstantin Kondrashov
08283c213b
Merge branch 'feature/mac_crc_v5.0' into 'release/v5.0'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v5.0)
See merge request espressif/esp-idf!22114
2023-02-17 21:36:59 +08:00
Saurabh Kumar Bansal
75b7202d71
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling_v5.0' into 'release/v5.0'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration (backport v5.0)
See merge request espressif/esp-idf!22324
2023-02-17 21:22:59 +08:00
Darian
6a86124ff5
Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
...
USB Host: Backport multiple feature and refactors to v5.0
See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
Darian
e68bc99347
Merge branch 'bugfix/esp_pm_and_sleep_build_errors_v5.0' into 'release/v5.0'
...
esp_system: Fix various PM and sleep build errors (v5.0)
See merge request espressif/esp-idf!21781
2023-02-17 20:49:22 +08:00
Ivan Grokhotkov
69dd34dfb6
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32_v5.0' into 'release/v5.0'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32 (v5.0)
See merge request espressif/esp-idf!21821
2023-02-17 19:47:58 +08:00
Aditya Patwardhan
b559e2ccb6
Merge branch 'fix/esp_local_ctrl_header_incl_v5.0' into 'release/v5.0'
...
esp_local_ctrl: Fix header inclusion (v5.0)
See merge request espressif/esp-idf!22134
2023-02-17 19:42:25 +08:00
Ivan Grokhotkov
e5f975c5cf
Merge branch 'fix/revert-sdio-slave-gcc11-workaround_v5.0' into 'release/v5.0'
...
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv() (v5.0)
See merge request espressif/esp-idf!22404
2023-02-17 19:41:53 +08:00
Ivan Grokhotkov
66f5a4a497
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_ver' into 'release/v5.0'
...
espcoredump: fix incorrectly defined coredump chip version (v5.0)
See merge request espressif/esp-idf!21967
2023-02-17 19:41:07 +08:00
Aditya Patwardhan
78638641a7
Merge branch 'contrib/github_pr_10378_v5.0' into 'release/v5.0'
...
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22244
2023-02-17 19:36:06 +08:00
Ivan Grokhotkov
0033b02ce5
Merge branch 'fix/efuse-function-declaration_v5.0' into 'release/v5.0'
...
efuse: fix esp_efuse_utility_write_reg() declaration (v5.0)
See merge request espressif/esp-idf!22086
2023-02-17 19:33:22 +08:00
Aditya Patwardhan
3e5ea5a941
Merge branch 'contrib/github_pr_10391_v5.0' into 'release/v5.0'
...
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21767
2023-02-17 19:30:58 +08:00
Aditya Patwardhan
4fc89f445c
Merge branch 'fix/protocomm_kconfig_flag_v5.0' into 'release/v5.0'
...
protocomm: Fix Kconfig flag dependency on wifi_provisioning component (v5.0)
See merge request espressif/esp-idf!22135
2023-02-17 19:26:12 +08:00
Aditya Patwardhan
38917a36b5
Merge branch 'feature/add_bootloader_sector_pad_option_v5.0' into 'release/v5.0'
...
esptool_py: Added a --pad-to-size flag to align the bootloader image (v5.0)
See merge request espressif/esp-idf!21916
2023-02-17 19:02:52 +08:00
Omar Chebib
18125ff7b7
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-17 10:39:07 +08:00
Omar Chebib
886e98a2c1
Merge branch 'bugfix/support_coredump_stack_xtensa_v5.0' into 'release/v5.0'
...
coredump: custom core dump stack is now supported on Xtensa targets (backport v5.0)
See merge request espressif/esp-idf!21804
2023-02-17 10:35:35 +08:00
Alexey Lapshin
7db42d3a40
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
...
This happened because of passing sdio_slave_hal_send_desc_t** to function
sdio_ringbuf_recv() which is declared to have char** as input parameter
2023-02-16 13:48:58 +07:00
Alexey Lapshin
4005886b8a
Revert "sdio_slave: workaround the sdio_slave crash issue with release config + GCC11"
...
This reverts commit 19add3fb05
.
2023-02-16 13:48:58 +07:00
jingli
ac47b093f6
esp32c2/rtc: fix 8md256 as rtc slow clk not work properly during deep sleep
2023-02-16 10:55:50 +08:00
jingli
eb27e688fb
UT/esp32c2: reenable pm and sleep related UT
2023-02-16 10:54:11 +08:00
jingli
2da8497358
UT/esp32c2: reenable rtc clk calibration compensation UT
2023-02-16 10:52:59 +08:00
jingli
e109c5f998
esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory
2023-02-16 10:52:59 +08:00
Aditya Patwardhan
a4afa44435
versions: Update version to 5.0.1
2023-02-15 12:30:03 +00:00
Darian Leung
912c82fc5a
freertos: Expand CONFIG_FREERTOS_SMP description
...
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2023-02-15 20:16:55 +08:00
Cao Sen Miao
256dd53120
mcpwm: modify wrong config name
2023-02-15 17:55:55 +08:00
chenjianhua
58851cd5cd
bluedroid: support ble privacy by controller
2023-02-14 11:24:02 +08:00
chenjianhua
a13b89a043
bluedroid: add params in GATT connect event
2023-02-14 11:23:50 +08:00
chenjianhua
78437f48ae
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-02-14 11:23:01 +08:00
Saurabh Kumar Bansal
2b665ee327
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 17:05:11 +05:30
Darian Leung
6e9500ad13
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 17:04:46 +05:30
Tomas Rezucha
3f1cff699d
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 17:03:59 +05:30
Jin Cheng
2db423c62b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:26:35 +08:00
Guillaume Souchere
6e35b1eba3
heap: Fix priority in shex() bit shift
2023-02-13 09:03:32 +01:00
Chip Weinberger
6ed2371bd1
[Logs] print size and caps when malloc fails
2023-02-13 09:02:59 +01:00
Harshit Malpani
935661ba4a
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:05 +05:30
jingli
7f15980de9
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:32:13 +08:00
jingli
50feb8f75b
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:29:40 +08:00
Steve Jothen
60f678b736
Use correct recursive mutex for env and regular mutex for tz
2023-02-09 16:02:50 +08:00
zhangwenxu
bddbd66e13
esp_phy: fix phy init when SW restart
2023-02-09 15:11:44 +08:00
morris
de8409fa88
gptimer: acquire pm lock for xtal clock source
2023-02-09 14:10:15 +08:00
Sachin Parekh
f136f16f72
wpa_supplicant: Enable ECC test case
2023-02-08 21:35:49 +05:30
Sachin Parekh
131faba944
mbedtls/ecp: Fix incorrect ECP parameter value
...
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-02-08 21:35:49 +05:30
wangyuanze
5de3f74f5e
touch_sensor: fix touch_sensor_v1 filter issue
2023-02-08 14:32:36 +08:00