Nachiket Kukade
913b31c13f
esp_wifi: Fix PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other FTM bugs
2021-08-09 18:54:07 +05:30
xiewenxiang
032f6d34d1
component/bt: add local irk to controller
2021-08-06 18:19:25 +08:00
Michael (XIAO Xufeng)
e3954297bb
spi_master: fix the crash when using interrupt mode when cache is disabled
...
Closes https://github.com/espressif/esp-idf/issues/6529
Closes https://github.com/espressif/esp-idf/issues/6781
Closes https://github.com/espressif/esp-idf/issues/7368
2021-08-06 12:20:23 +08:00
Fu Hanxi
2231d6b158
ci: update performance test key to db compatible format
2021-08-04 12:22:25 +08:00
KonstantinKondrashov
0cd1bc6753
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-08-03 12:50:15 +05:00
Li Hang Fan
7de5c312a3
Update components/hal/include/hal/mcpwm_types.h
2021-08-03 15:20:47 +08:00
SalimTerryLi
f23acef8eb
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-08-03 14:27:34 +08:00
Ivan Grokhotkov
03109eb013
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-08-03 13:53:34 +08:00
Omar Chebib
c8e5b0611a
coredump: simplify the implementation of esp_core_dump_image_erase
function
...
Closes https://github.com/espressif/esp-idf/pull/6949
2021-08-03 11:48:39 +08:00
0xFEEDC0DE64
035c1ac901
Fixed esp_core_dump_image_erase() for flash encryption with 16byte long write buffer
2021-08-03 11:48:39 +08:00
Marius Vikhammer
f550724055
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:27:10 +08:00
Martin Vychodil
b04705cfe2
system/security: Memprot bypassing mitigation
...
Check Memprot lock bit(s) during the system startup, abort/reset on any Memprot parts found locked during this phase.
There is no legal reason to disallow the Memprot configuration by the system, so it's either a critical bug in the
application or an malicious attempt to bypass the system security.
Error message is printed before digital system reset.
Closes IDF-2700
2021-08-02 12:18:46 +02:00
muhaidong
1fd8fdcf7d
bugfix fix some wifi bugs for 4.3
...
1. sync idf menuconfig nvs status to lib
2. disable ampdu+amsdu bit
3. fix 80211 tx crash issue
4. supoort config 80211 tx rate
2021-07-31 21:46:14 +08:00
Marius Vikhammer
78392f0e84
ULP: reduce max possible memory reserved for ULP coprocessor
...
Some RTC slow memory is reserved by IDF, reduce CONFIG_TARGET_ULP_COPROC_RESERVE_MEM
range to reflect this.
Closes https://github.com/espressif/esp-idf/issues/7073
2021-07-31 14:10:57 +08:00
Marius Vikhammer
ee54dbfaab
bootloader: fix verify_load_addresses wrongly reporting "bad load address range"
...
verify_load_addresses would check if load_end was in a certain member range,
but should verify (load_end - 1) which is the actual last byte.
2021-07-31 14:10:57 +08:00
Jiang Jiang Jian
135b46a078
Merge branch 'mesh/non_mesh_connections_access_v4.3' into 'release/v4.3'
...
esp_wifi_mesh: add non mesh connections access(backport_v4.3)
See merge request espressif/esp-idf!14241
2021-07-31 02:52:11 +00:00
Wang Meng Yang
1537cff293
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail_v4.3' into 'release/v4.3'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list(release v4.3)
See merge request espressif/esp-idf!14558
2021-07-30 23:58:22 +00:00
Wang Meng Yang
353f493f22
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.3' into 'release/v4.3'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13888
2021-07-30 07:39:50 +00:00
Shubham Patil
68095b46c4
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-30 15:35:02 +08:00
xiewenxiang
192aa18c31
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-07-30 15:09:00 +08:00
shenjun
217c023a44
esp_wifi_mesh: add non mesh connections access
2021-07-30 14:32:48 +08:00
Michael (XIAO Xufeng)
95c572c0d2
Merge branch 'bugfix/fix_uart_reset_issue_on_esp32c3_backport_v4.3' into 'release/v4.3'
...
bugfix(uart): reset uart0 core before uart apb reset(backport v4.3)
See merge request espressif/esp-idf!14462
2021-07-30 06:27:22 +00:00
Gustavo Henrique Nihei
de1a4f0c0d
spi: Fix wrong target register for interrupt disable
2021-07-30 13:55:08 +08:00
Ivan Grokhotkov
953e9a78e2
Merge branch 'bugfix/panic_handler_disable_wdts_early_v4.3' into 'release/v4.3'
...
esp_system: Reconfigure the WDTs at the start of the panic handler (v4.3)
See merge request espressif/esp-idf!14225
2021-07-30 03:03:09 +00:00
Ivan Grokhotkov
716efae251
Merge branch 'bugfix/esp32s2_disable_bss_extram_v4.3' into 'release/v4.3'
...
esp32s2: disable bss extram option, clean up spiram init code a bit (v4.3)
See merge request espressif/esp-idf!13733
2021-07-30 03:01:57 +00:00
Renz Bagaporo
b07276265a
esp32s2: reset systimer clk on startup
2021-07-30 10:13:46 +08:00
Renz Bagaporo
cebab7fa7f
newlib: init microseconds offset
2021-07-30 10:13:41 +08:00
Jiang Jiang Jian
d33824ac4d
Merge branch 'bugfix/fix_connect_fail_cause_by_sleep_v4.3' into 'release/v4.3'
...
Fix connection failure caused by sleep (backport v4.3)
See merge request espressif/esp-idf!14272
2021-07-29 12:38:48 +00:00
aleks
002e6b8cec
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-07-29 14:27:04 +08:00
Marius Vikhammer
00c304535f
system: enable C3 light sleep related example tests
2021-07-29 09:29:29 +08:00
Marius Vikhammer
0b8ed8d76e
ci: enable previously disabled unit tests
2021-07-29 09:29:29 +08:00
Ivan Grokhotkov
617da9f403
Merge branch 'bugfix/twai_low_speed_bit_rates_v4.3' into 'release/v4.3'
...
TWAI: Fix incorrect configuration initializers for low speed bit rates (backport v4.3)
See merge request espressif/esp-idf!14412
2021-07-28 11:23:08 +00:00
Ivan Grokhotkov
0e6f4ba2cf
Merge branch 'bugfix/uart_race_condition_v4.3' into 'release/v4.3'
...
Fix couple of UART issues (backport v4.3)
See merge request espressif/esp-idf!14207
2021-07-28 11:22:18 +00:00
Marius Vikhammer
b667770cc6
ulp riscv: force cocpu clock on to prevent spurious cocpu trap resets
...
Closes https://github.com/espressif/esp-idf/issues/7224
2021-07-28 18:15:38 +08:00
aleks
0d0f4adbf8
freemodbus: fix mb zero based reg address in the iterator
...
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-07-28 11:34:19 +02:00
Mahavir Jain
47b96db12d
Merge branch 'feature/prov_mgr_reset_state_v4.3' into 'release/v4.3'
...
wifi_provisioning: Add API to erase credentials and reset provisioning state (v4.3)
See merge request espressif/esp-idf!14531
2021-07-28 08:46:32 +00:00
Mahavir Jain
82b868a4b2
Merge branch 'bugfix/esp32c3_wrong_iram_alignment_v4.3_2' into 'release/v4.3'
...
System/memprot: ESP32C3 IRAM section alignment fix (v4.3)
See merge request espressif/esp-idf!14506
2021-07-28 03:34:08 +00:00
Shubham Kulkarni
7793f58e71
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
2021-07-27 15:11:26 +05:30
Shubham Kulkarni
f93fdda2ff
wifi_provisioning: Add API to reset state if provisioning fails
2021-07-27 15:09:51 +05:30
Jiang Jiang Jian
59af9606e6
Merge branch 'bugfix/fix_scan_timeout_mr_4.3' into 'release/v4.3'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14445
2021-07-27 07:42:37 +00:00
xiongweichao
a60a2892fb
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-07-27 14:26:22 +08:00
Andrey Starodubtsev
b5b629c584
Fix couple of UART issues
...
- there was a small race in `uart_pattern_link_free`:
`rx_pattern_pos.data` was accessed for reading outside spinlock
- `uart_flush_input` enabled
`UART_INTR_RXFIFO_FULL|UART_INTR_RXFIFO_TOUT` intr mask on exit even
if these flags weren't set when function was called
Closes https://github.com/espressif/esp-idf/pull/7023
2021-07-27 10:50:05 +08:00
Armando
96de941a6e
spi_master: fix cmd test ci failure
2021-07-27 10:28:13 +08:00
Ivan Grokhotkov
7dc2e5e545
Merge branch 'bugfix/rtos_systick_cycle_time_error_dfs_v4.3' into 'release/v4.3'
...
backport v4.3: fix RTOS SysTick cycle time error caused by DFS
See merge request espressif/esp-idf!14494
2021-07-26 21:38:16 +00:00
David Čermák
4fd1479dc6
Merge branch 'bugfix/remove_unstable_network_tests_v4.3' into 'release/v4.3'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests (v4.3)
See merge request espressif/esp-idf!14425
2021-07-26 17:02:51 +00:00
David Čermák
ebf1d15e54
Merge branch 'bugfix/esp_netif_dhcps_state_v4.3' into 'release/v4.3'
...
esp_netif: Fix dhcps state transitions (v4.3)
See merge request espressif/esp-idf!14423
2021-07-26 17:00:43 +00:00
Mahavir Jain
27e3447eea
Merge branch 'bugfix/read_ota_partition_required_output_arg_v4.3' into 'release/v4.3'
...
otatool: Fixes read_ota_partition cmd, required output arg (v4.3)
See merge request espressif/esp-idf!13672
2021-07-26 11:34:19 +00:00
Martin Vychodil
e9dc39730f
System/memprot: ESP32C3 IRAM section alignment fix (LD)
...
IRAM section didn't contain sufficient padding for possible CPU instruction prefetch,
ie instruction fetch could happen in DRAM section which is prohibited by the Memprot module.
This is fixed by adding 16B to the end of IRAM section in LD script (C3 CPU prefetch buffer depth is 4 words)
Closes IDF-3554
2021-07-25 12:39:48 +02:00
Alex Henrie
0cb48f2f2e
Fix memory leak on error path in register_select
...
And remove dead error handling code from unregister_select.
Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-25 07:42:15 +05:30
Alex Henrie
afd3fc6d16
Fix memory leak on error path in http_header_set_format
2021-07-25 07:42:14 +05:30
Alex Henrie
e634a00ef8
Fix memory leak on error path in md5_printf
2021-07-25 07:42:13 +05:30
Alex Henrie
de49ec5a46
Fix memory leak on error path in esp_ds_start_sign
2021-07-25 07:42:13 +05:30
Li Shuai
1772277e98
fix RTOS SysTick cycle time error caused by DFS
2021-07-23 19:15:28 +08:00
Krzysztof Budzynski
5ab8799f09
Merge branch 'docs/provide_link_to_pcb_layout_for_ethernet_board_v4.3' into 'release/v4.3'
...
docs: provide the link to pcb layout for ethernet board v1.2 and fix a typo in freetos/task (v4.3)
See merge request espressif/esp-idf!13966
2021-07-23 10:57:37 +00:00
Mahavir Jain
de8c6aaa8d
Merge branch 'bugfix/fix_ws_handle_big_messages_error_v4.3' into 'release/v4.3'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly(backport v4.3).
See merge request espressif/esp-idf!14344
2021-07-22 04:20:26 +00:00
Mahavir Jain
ab452839ed
Merge branch 'feature/upgrade_mbedtls_to_v4.3' into 'release/v4.3'
...
mbedtls: upgrade to release v2.16.11 (v4.3)
See merge request espressif/esp-idf!14437
2021-07-21 12:17:00 +00:00
David Cermak
de30298223
mdns: Fix crashes reported by the fuzzer
2021-07-21 11:48:27 +02:00
David Cermak
355e152082
mdns: Minor correction of the test code
2021-07-21 11:48:27 +02:00
David Cermak
0d3c3a9173
mdns: Fix fuzzer from miss-interpreting adding services as timeouts
2021-07-21 11:48:27 +02:00
Wangjialin
427fe1bcde
uart: fix esp32c3 uart output garbage value after resetting
2021-07-21 15:31:50 +08:00
Mahavir Jain
8f75f93c14
Merge branch 'bugfix/fix_truncated_headers_for_esp_http_client_v4.3' into 'release/v4.3'
...
esp_http_client: Fix header truncated when responded header length over buffer_size (backport v4.3)
See merge request espressif/esp-idf!14383
2021-07-21 05:31:26 +00:00
Mahavir Jain
3222f0a811
Merge branch 'feature/protocomm_mfg_data_v4.3' into 'release/v4.3'
...
Provisioning BLE: Add API to set manufacturer data in advertisement (scan response) packets (v4.3)
See merge request espressif/esp-idf!14366
2021-07-21 05:24:25 +00:00
Mahavir Jain
1d4eb835d0
Merge branch 'bugfix/otatool_imported_as_lib_v4.3' into 'release/v4.3'
...
otatool: Fix a crash when imported as external python lib (v4.3)
See merge request espressif/esp-idf!13666
2021-07-21 05:23:12 +00:00
Mahavir Jain
60ef790969
Merge branch 'cherry-pick-76bd33e9' into 'release/v4.3'
...
MbedTLS: Add config option for key elements and key element extension for SSL connection (backport v4.3)
See merge request espressif/esp-idf!14361
2021-07-21 05:22:05 +00:00
Yang Zhao
658aaa4f93
This is to fix the hardware bug. The device may report scan event timeout
...
when scaning.If check this error,then reset the rwble core.
2021-07-20 20:02:14 +08:00
Mahavir Jain
f817971f68
mbedtls: fix crt_bundle test to ensure proper server start event
...
This fixes occasional test failure that was observed due to
client task getting started before server was up.
2021-07-20 14:15:59 +05:30
Mahavir Jain
4333e618b5
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-20 14:15:59 +05:30
Chen Yi Qun
eb01aaacc7
fix esp32s2 fall into sleep forever when deep-sleep time is set to 0
...
(backport v4.3)
2021-07-19 21:11:04 +08:00
David Cermak
f7169ed063
mqtt: Moved weekend tests to test apps
2021-07-19 15:05:58 +02:00
David Cermak
acf5333b1e
esp_netif: Fix dhcps state transitions
...
When the DHCP server is stopped before starting the netif,
it should remain stopped -- as per compatibility with previous tcpip_adapter behavior
2021-07-19 15:00:37 +02:00
Mahavir Jain
4b47e7e643
Merge branch 'fix/esp32c3_memprot_split_line_v4.3' into 'release/v4.3'
...
esp32c3/memprot: Fix incorrect calculations and register access (v4.3)
See merge request espressif/esp-idf!14372
2021-07-19 11:28:55 +00:00
Darian Leung
e701c98e27
TWAI: Fix incorrect configuration initializers for low speed bit rates
...
This commit fixes the timing configuration initializers for the
1K, 5K, and 10K bit rates.
2021-07-19 17:13:34 +08:00
Jiang Jiang Jian
42376de238
Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff_v4.3' into 'release/v4.3'
...
Add remove sniff when peer not accepted sniff mode(v4.3)
See merge request espressif/esp-idf!14395
2021-07-19 07:31:37 +00:00
KonstantinKondrashov
c9ebba355f
otatool: Fix a crash when imported as external python lib
...
Closes: https://github.com/espressif/esp-idf/issues/6733
2021-07-19 12:41:51 +08:00
KonstantinKondrashov
6785534f63
otatool: Fixes read_ota_partition cmd, required output arg
...
Closes: https://github.com/espressif/esp-idf/issues/6559
2021-07-19 12:41:00 +08:00
Mahavir Jain
1f7172dbf9
Merge branch 'bugfix/secure_boot_sig_verify_v4.3' into 'release/v4.3'
...
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification (v4.3)
See merge request espressif/esp-idf!14390
2021-07-16 10:54:13 +00:00
xiongweichao
bc3f0c7cdd
Add remove sniff when peer not accepted sniff mode
2021-07-16 17:55:10 +08:00
Chinmay Chhajed
ee8a78025c
bt/controller: Fix for BLE ACL tx flush issue during reset.
2021-07-16 17:54:27 +08:00
Angus Gratton
07465563c5
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-16 11:03:21 +05:30
Angus Gratton
7c55633bfb
esp_common: Correctly disable ".bss segment placed in external memory" for ESP32-S2 & ESP32-S3
...
Support for this feature is still pending.
As reported by https://github.com/espressif/esp-idf/issues/6162
2021-07-16 11:39:09 +10:00
Angus Gratton
3c13a480d7
esp32s2: Simplify the code for adding spiram to heap
2021-07-15 21:22:33 +10:00
Angus Gratton
d5d20920bb
esp32s2: Remove unused option CONFIG_SPIRAM_USE_AHB_DBUS3
2021-07-15 21:22:33 +10:00
yuanjm
b7791c171d
esp_http_client: Optimize code structure
2021-07-15 16:17:51 +08:00
Clickau
d25b354cfc
esp_http_client: fix truncated headers
...
Signed-off-by: yuanjm <yuanjianmin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-15 16:17:36 +08:00
Sachin Parekh
47c728adf0
esp32c3/memprot: Correct the split line address calculation
2021-07-15 10:57:18 +05:30
Sachin Parekh
65b9f87998
esp32c3/memprot: Fix incorrect access to DRAM0 split line registers
...
memprot_ll_set_dram0_split_line_* and memprot_ll_get_dram0_split_line_* APIs were accessing
incorrect configuration register
2021-07-15 10:57:18 +05:30
Prasad Alatkar
6a9a962083
Provisioning BLE: Add API to set manufacturer data in scan response
...
- Add `wifi_prov_scheme_ble_set_mfg_data` API to set custom manufacturer data
in BLE advertisements.
- Run format.sh script on modified files.
- Fix few typos in `protocomm_nimble.c`.
- Incorporate suggestion to remove extra check on protocomm_ble_mfg_data_len
- Remove few unnecessary comments.
2021-07-14 18:22:40 +05:30
Rahul Tank
758fc73efe
system : Add defination of ESP_ERROR_CHECK_WITHOUT_ABORT under CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT flag
2021-07-14 16:02:33 +05:30
Rahul Tank
2dc4961063
Nimble: Add fix for crash in esp_timer deletion
...
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-14 16:02:32 +05:30
Mahavir Jain
dd12e9f8cd
Merge branch 'cert/skipping_keyelements_validation' into 'master'
...
MbedTLS: Add config option for key elements and key element extension for SSL connection
See merge request espressif/esp-idf!12898
(cherry picked from commit 76bd33e9a4
)
38d67725
mbedtls: Add config option key element and key element ext
2021-07-14 16:43:58 +08:00
bizhuangyang
835d1b0bac
bugfix:rotary encoder example isr service install
...
Fix the issue mentioned when using two or more encoders. Modify PCNT_CTRL_GND_IO
to avoid the affect of USB JTAG(origin pin 19 is used for USB D-). Update esp32c3.
peripherals.ld and docs for esp32s3.
Closes https://github.com/espressif/esp-idf/issues/6889
2021-07-14 10:13:21 +08:00
laokaiyao
8b2331a810
driver/timer: only re-enable alarm in callback when auto reload is true
...
closes https://github.com/espressif/esp-idf/issues/7001
2021-07-13 17:22:33 +08:00
yuanjm
1214944e78
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7202
2021-07-13 17:05:24 +08:00
xiehang
96122d6f28
Fix connection failure caused by sleep
2021-07-06 10:49:10 +08:00
Angus Gratton
1fc288556c
esp_system: Reconfigure the WDTs at the start of the panic handler
...
This is mostly important on ESP32 ECO3 with the
ESP32_ECO3_CACHE_LOCK_FIX, because when we stall the other CPU core
before we disable the TG1 WDT then the first CPU can get stuck
in WDT ISR handle_livelock_int routine waiting for the other CPU.
2021-07-06 09:59:39 +08:00
Kapil Gupta
b47e8123ca
esp_wifi: Revert default country to China
2021-07-05 12:40:47 +05:30
Michael (XIAO Xufeng)
596d17a6cc
spi_docs: Fixed the default value of max_transfer_sz.
...
(cherry picked from commit e89fabb963
)
2021-07-05 11:47:27 +08:00
Jiang Jiang Jian
4d53269a6d
Merge branch 'feature/regdomain_support_v4.3' into 'release/v4.3'
...
esp_wifi: Add support for regdomain db (backport v4.3)
See merge request espressif/esp-idf!13609
2021-07-02 17:22:09 +00:00
Jiang Jiang Jian
4b24d3d464
Merge branch 'bugfix/tls_alignment_v4.3' into 'release/v4.3'
...
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts (v4.3)
See merge request espressif/esp-idf!14233
2021-07-02 11:00:50 +00:00
Michael (XIAO Xufeng)
2ac59cc885
Merge branch 'bugfix/delete_i2c_cmd_mux_semaphore_more_cleanly_v4.3' into 'release/v4.3'
...
driver/i2c: delete i2c cmd_mux semaphore more cleanly (backport 4.3)
See merge request espressif/esp-idf!13400
2021-07-02 10:58:38 +00:00
Michael (XIAO Xufeng)
6e05a56713
Merge branch 'bugfix/i2s_apll_disable_issue_v4.3' into 'release/v4.3'
...
i2s: fix driver uninstall issue (backport v4.3)
See merge request espressif/esp-idf!13998
2021-07-02 10:56:17 +00:00
Jiang Jiang Jian
ff75da76e4
Merge branch 'feature/add-nimble-host-to-blufi_v4.3' into 'release/v4.3'
...
Add support of NimBLE host to Blufi (v4.3)
See merge request espressif/esp-idf!14198
2021-07-02 09:29:31 +00:00
Kapil Gupta
cf44123da5
esp_wifi: Add support for regdomain database
2021-07-02 14:29:45 +05:30
Ivan Grokhotkov
64057d302a
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
...
Regression from 4702feeee
. The TLS segment is located inside
.flash.rodata, so we need to get the alignment of that section, not
.flash.rodata_noload.
2021-07-02 08:37:47 +02:00
Kapil Gupta
69a48e431e
wpa_supplicant: Fix some issues in 11kv
...
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-07-02 10:28:57 +05:30
Nachiket Kukade
e280541892
esp_wifi: Update wifi lib with lock free issue fix
2021-07-01 14:14:42 +05:30
Jiang Jiang Jian
ea9dc928ee
Merge branch 'feature/optimize_wifi_log_by_linker_script_v4.3' into 'release/v4.3'
...
esp_wifi: move unused WiFi log to noload section to save binary size(backport v4.3)
See merge request espressif/esp-idf!14167
2021-07-01 08:40:11 +00:00
Zhang Jun Hao
5e600d5b31
esp_wifi: move unused WiFi log to noload section to save binary size
2021-07-01 14:11:38 +08:00
Rahul Tank
e4ada333cc
Merge branch 'release/v4.3' into 'feature/add-nimble-host-to-blufi_v4.3'
...
# Conflicts:
# components/bt/host/nimble/Kconfig.in
2021-07-01 11:47:03 +08:00
“sonalipatil”
00b9df2937
Add support of NimBLE host to Blufi
...
Merges https://github.com/espressif/esp-idf/pull/6904
2021-07-01 09:06:15 +05:30
Jiang Jiang Jian
91430c8674
Merge branch 'bugfix/add_esp_timer_helper_function_v4.3' into 'release/v4.3'
...
Add esp timer helper function (v4.3)
See merge request espressif/esp-idf!14202
2021-07-01 03:01:02 +00:00
Jiang Jiang Jian
df99c92193
Merge branch 'feature/ftm_support_stage2_v4.3' into 'release/v4.3'
...
wifi/ftm: Additional FTM features implementation (Backport v4.3)
See merge request espressif/esp-idf!14157
2021-06-30 15:20:01 +00:00
Mahavir Jain
eb78648fa6
Merge branch 'bugfix/esp_https_ota_v4.3' into 'release/v4.3'
...
esp_https_ota: Add check for HTTP error codes and documentation updates (v4.3)
See merge request espressif/esp-idf!14206
2021-06-30 14:55:36 +00:00
Nachiket Kukade
c1d5eafd16
wifi/ftm: Additional FTM features implementation
...
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:49:28 +05:30
Jiang Jiang Jian
3a0b4628ce
Merge branch 'feature/crypto_porting_v4.3' into 'release/v4.3'
...
wpa_supplicant: Rewrite Crypto APIs based on MbedTLS (backport V4.3)
See merge request espressif/esp-idf!14181
2021-06-30 11:46:03 +00:00
Shubham Kulkarni
01f05da3ae
esp_https_ota: Add check for HTTP error codes and corresponding error logs
...
Closes: https://github.com/espressif/esp-idf/issues/7058
2021-06-30 15:59:10 +05:30
Angus Gratton
82c6e0628a
Merge branch 'test/flash_perf_thr_update_by_grafana_avg_v4.3' into 'release/v4.3'
...
ci: adjust spi_flash performance value according to more test data (v4.3)
See merge request espressif/esp-idf!14116
2021-06-30 10:06:10 +00:00
Rahul Tank
f1adfaaced
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
2021-06-30 14:53:06 +05:30
Ivan Grokhotkov
c836cef1a5
Merge branch 'bugfix/add_exception_emergency_pool_again_4.3' into 'release/v4.3'
...
[esp_system]: added __cxx_eh_arena_size_get again (backport 4.3)
See merge request espressif/esp-idf!14132
2021-06-30 07:30:39 +00:00
Michael (XIAO Xufeng)
689fad7372
ci: adjust spi_flash performance value according to more test data
...
After we have the performance dashboard, we have more data and no longer depend on the threshold to ensure performance.
Set looser performance thresholds to avoid CI failure.
2021-06-30 08:52:03 +08:00
Jiang Jiang Jian
df0ed79cd5
Merge branch 'bugfix/deep_sleep_rtcwdt_rst_issue_v4.3' into 'release/v4.3'
...
backport v4.3: clear wakeup and reject int raw signal before entry sleep
See merge request espressif/esp-idf!13999
2021-06-29 14:05:06 +00:00
Jiang Jiang Jian
32e8a809f6
Merge branch 'bugfix/correct_gatt_max_macro_name_v4.3' into 'release/v4.3'
...
Bluedroid: Fixed issue of option not being set due to incorrect macro (v4.3)
See merge request espressif/esp-idf!14180
2021-06-29 09:25:12 +00:00
Kapil Gupta
073b45a8aa
wpa_supplicant: Fix crypto related bugs
...
1. Fix aes_unwrap functionality when hardware acceleration is disabled
2. Fix compilation errors when mbedTLS is disabled.
3. Disable WPA3 when mbedTLS is disabled.
2021-06-29 14:34:48 +08:00
kapil.gupta
ae35d70359
wpa_supplicant: Write Crypto API based on mbedtls
...
This commit add following crypto changes
1. Update current crypto code with upstream supplicant code
2. Add a proper porting layer to use mbedtls APIs for all the crypto
operations used by supplicant.
Internal crypto will be used when USE_MBEDLTS flag is disabled
in supplicant's menuconfig.
This commit also removes the clutter in crypto files due to partial
porting of some APIs to mbedtls, all the code from those files have
been removed and rewritten in a generic way, this is inspired from
current upstream code.
This also reduces the lib size significantly, supplicant's lib
size reduces around ~567kb after this change(NB: lib size doesn't
indicate reduction in final bin size).
2021-06-29 14:34:48 +08:00
Rahul Tank
9c8b2b92ad
Bluedroid: Fixed issue of option not being set due to incorrect macro
...
name.
2021-06-29 09:53:35 +05:30
Jiang Jiang Jian
a060ee8e9c
Merge branch 'bugfix/wifi_mac_sleep_issue_v4.3' into 'release/v4.3'
...
backport v4.3: fix wifi mac sleep bug when wifi is initialized multiple times
See merge request espressif/esp-idf!13669
2021-06-29 04:22:59 +00:00
Jiang Jiang Jian
de92d7e15f
Merge branch 'mesh/bugfix_fix_esp_mesh_send_block_issue_v4.3' into 'release/v4.3'
...
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master(backport_v4.3)
See merge request espressif/esp-idf!14085
2021-06-29 03:01:22 +00:00
Li Shuai
139afb094e
fix wifi mac sleep bug when wifi is initialized multiple times
2021-06-29 10:26:02 +08:00
liuhan
6a1938384a
tls: Modify tls optimize both mbedtls and wolfssl
2021-06-29 00:19:03 +08:00
Roland Dobai
84a0c67a8c
Merge branch 'feature/toolchain_2021r1_v4.3' into 'release/v4.3'
...
Bring 2021r1 toolchains (backport v4.3)
See merge request espressif/esp-idf!13996
2021-06-28 16:15:05 +00:00
David Čermák
f022863c35
Merge branch 'feature/update_mqtt_submodule_v4.3' into 'release/v4.3'
...
MQTT: Support for certificate bundle; Client clean-up (v4.3)
See merge request espressif/esp-idf!14159
2021-06-28 14:35:17 +00:00
Jiang Jiang Jian
7339b019f1
Merge branch 'bugfix/wps_wfa_cert_fixes_v4.3' into 'release/v4.3'
...
wpa_supplicant: Add WPS strict in config option(backport v4.3)
See merge request espressif/esp-idf!13547
2021-06-28 13:28:21 +00:00
David Čermák
b9b7750b78
Merge branch 'feature/sperate_esp_netif_component_v4.3' into 'release/v4.3'
...
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code(backport v4.3)
See merge request espressif/esp-idf!14158
2021-06-28 09:15:41 +00:00
Angus Gratton
17f30a4aec
Merge branch 'feature/parametrize_core_dump_check_v4.3' into 'release/v4.3'
...
coredump: core dump data check can now be parametrized (v4.3)
See merge request espressif/esp-idf!13773
2021-06-28 07:03:50 +00:00
shenjun
62cc976e0e
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
2021-06-28 11:57:10 +08:00
Wang Meng Yang
95ddb84df1
Merge branch 'bugfix/fix_c3_some_bugs_06_15_v4.3' into 'release/v4.3'
...
Bugfix/fix c3 some bugs 06 15 v4.3
See merge request espressif/esp-idf!14017
2021-06-28 00:00:06 +00:00
Michael (XIAO Xufeng)
c42ee1b790
Merge branch 'bugfix/spi_flash_cs_setup_v4.3' into 'release/v4.3'
...
spi_flash: fix cs line setup to make the flash driver more stable(backport v4.3)
See merge request espressif/esp-idf!13967
2021-06-27 14:37:08 +00:00
David Čermák
4cf65c3533
Merge branch 'feature/lwip_icmp_v4.3' into 'release/v4.3'
...
lw-ip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code(backport v4.3)
See merge request espressif/esp-idf!14110
2021-06-25 18:01:40 +00:00
Chen Yi Qun
d4d308d580
LEDC: fix bit error in ledc_struct.h(backport v4.3)
2021-06-25 20:43:36 +08:00
David Cermak
9de41781d5
MQTT: Support for certificate bundle; Client clean-up
...
* Closes https://github.com/espressif/esp-idf/issues/7040
* Merges https://github.com/espressif/esp-idf/pull/7041
* Update submodule: git log --oneline 9fdf7b61385633075d5c3b84803f2dd0578d7869..f10321a53b53a146ee299cfecc320b89c0cf6611
Detailed description of the changes:
* Remove unnecessary parentheses
- esp-mqtt commit: db13533904
- esp-mqtt MR: espressif/esp-mqtt!101
* outbox: Cleanup all items when connection closes
- esp-mqtt commit: 1a94efe8b9
- esp-mqtt MR: espressif/esp-mqtt!104
* Outbox: Removes unnecessary calls to outbox_set_pending
- esp-mqtt commit: 36a3990404
- esp-mqtt MR: espressif/esp-mqtt!105
* MQTT: Makes abort connection function void.
- esp-mqtt commit: 67553aba45
- esp-mqtt MR: espressif/esp-mqtt!106
* Client: Removes unused defines
- esp-mqtt commit: eec6f0e17d
- esp-mqtt MR: espressif/esp-mqtt!100
- Closes https://github.com/espressif/esp-mqtt/issues/194
* Config: Added support for certificate bundle
- esp-mqtt commit: 06157be118
- esp-mqtt MR: espressif/esp-mqtt!98
- Closes https://github.com/espressif/esp-mqtt/issues/190
* Config: Adds missing field at config struct (path field)
- esp-mqtt commit: 5b27d1896e
- esp-mqtt MR: espressif/esp-mqtt!96
* Client: Add support for partial transport writes
- esp-mqtt commit: d8c9c7a9e7
- esp-mqtt MR: espressif/esp-mqtt!99
- Partially addresses https://github.com/espressif/esp-idf/issues/6940
* Client: Add support for Retain flag in messages posted by events
- esp-mqtt commit: a00a3134c6
- esp-mqtt MR: espressif/esp-mqtt!99
- Closes https://github.com/espressif/esp-mqtt/issues/193
* esp-mqtt: Added nullchecks for public APIs
- esp-mqtt commit: 2f57985c0b
- esp-mqtt MR: espressif/esp-mqtt!94
- Closes https://github.com/espressif/esp-mqtt/issues/185
* esp-mqtt: Reduce the includes used in all files
- esp-mqtt commit: 87fcce72c9
- esp-mqtt MR: espressif/esp-mqtt!93
* mqtt_outbox: Use STAILQ_FOREACH for outbox_delete_single_expired
- esp-mqtt commit: ff8e64839a
- esp-mqtt MR: espressif/esp-mqtt!97
- Merges https://github.com/espressif/esp-mqtt/pull/187
* Client: Add optimize for depend on ssl
- esp-mqtt commit: 8f3cac8c36
- esp-mqtt MR: espressif/esp-mqtt!95
2021-06-25 14:15:49 +02:00
yuanjm
bde386ab94
esp_netif: Correct spelling mistakes
2021-06-25 19:40:22 +08:00
yuanjm
c1fe7fe230
slip: Fix the definition of cplusplus in the code
2021-06-25 19:40:08 +08:00
yuanjm
00d84a3bb2
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code
2021-06-25 19:39:53 +08:00
Wang Meng Yang
3844f6bb84
Merge branch 'bugfix/ble_start_scan_crash_issue_mr_4.3' into 'release/v4.3'
...
ble start scan crash issue
See merge request espressif/esp-idf!14081
2021-06-25 11:25:36 +00:00
liuhan
8767aa7a4f
lwip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code
2021-06-25 16:36:11 +08:00
zwj
4d3715c836
support hw recorrect
2021-06-25 15:32:50 +08:00
zwj
dc209757b1
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:32:28 +08:00
Anton Maklakov
99115d7e52
ci: fix test_build_system* fails
2021-06-25 11:48:26 +07:00
Anton Maklakov
12e882632b
make build system: fix build for undefined _lock_* funcs
2021-06-25 11:48:25 +07:00
Anton Maklakov
29b8f3b719
newlib: Add ESP_ROM_HAS_RETARGETABLE_LOCKING capability for C3 and S3 chips
2021-06-25 11:48:25 +07:00
Anton Maklakov
e7b70a2f44
hal: fix ee.get_gpio_in command for esp32-s3
2021-06-25 11:47:59 +07:00
David Čermák
3a588d7d19
Merge branch 'bugfix/mdns_one_shot_multicast_v4.3' into 'release/v4.3'
...
mdns: Support for One-Shot mDNS queries (v4.3)
See merge request espressif/esp-idf!14130
2021-06-24 18:47:46 +00:00
liuhan
424203e411
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
2021-06-24 23:20:17 +08:00
Jiang Jiang Jian
460fc7f546
Merge branch 'feature/optimize_firmware_code_size_v4.3' into 'release/v4.3'
...
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size(Backport v4.3)
See merge request espressif/esp-idf!13265
2021-06-24 12:16:17 +00:00
Jiang Jiang Jian
5ab41b6c5d
Merge branch 'bugfix/phy_calib_data_to_nvs_for_c3_s3_v4.3' into 'release/v4.3'
...
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3(V4.3)
See merge request espressif/esp-idf!13625
2021-06-24 09:50:18 +00:00
Kapil Gupta
2a09b9d91f
wpa_supplicant: Add WPS strict in config option
...
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.
Also add changes to declare esp device as single band mobile device since
WFA sniffer was not able to identify it in the certification setup.
2021-06-24 16:15:40 +08:00
Wang Meng Yang
cd4c444af9
Merge branch 'bugfix/spp_connect_20_fail_v4.3' into 'release/v4.3'
...
component_bt: fix spp acceptor deadlock
See merge request espressif/esp-idf!14105
2021-06-24 06:53:05 +00:00
David Čermák
4d08c344bd
Merge branch 'bugfix/mdns_interface_del_crash_v4.3' into 'release/v4.3'
...
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets(Backport v4.3)
See merge request espressif/esp-idf!13857
2021-06-24 05:47:36 +00:00
Wang Meng Yang
951c6cb719
Merge branch 'bugfix/bt_sleep_state_check_assert_failed_for_v4.3' into 'release/v4.3'
...
Bluetooth: fixed the assertion failure in checking hardware sleep state during wake-up(backport v4.3)
See merge request espressif/esp-idf!14128
2021-06-24 05:23:35 +00:00
David Cermak
0e078d9481
mdns: Support for One-Shot mDNS queries
2021-06-24 06:58:53 +02:00
David Čermák
5abe2b059e
Merge branch 'bugfix/lwip_config_dhcp_client_id_v4.3' into 'release/v4.3'
...
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue (v4.3)
See merge request espressif/esp-idf!13515
2021-06-24 04:21:38 +00:00
Jakob Hasse
58583f187e
[esp_system]: added __cxx_eh_arena_size_get again
...
* This function has been accidentally removed.
It is necessary to provide the emergency
exception memory pool size for C++ code.
Since our libstdc++ always has exceptions
enabled, this function must exist here even if
-fno-exception is set for user code.
2021-06-24 12:19:34 +08:00
chenjianxing
3423cc2937
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3
2021-06-24 11:33:19 +08:00
Zhang Jun Hao
306b035a51
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
2021-06-24 10:11:09 +08:00
wangmengyang
ffe43f2c45
component/bt: fixed the assert in checking hardware sleep state during wake-up
...
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 08:28:24 +08:00
Wang Meng Yang
ecc86b3f22
Merge branch 'bugfix/rx_irq_flooding_during_scan_v4.3' into 'release/v4.3'
...
Bluetooth: fixed interrupt flooding during scan
See merge request espressif/esp-idf!14104
2021-06-24 00:12:59 +00:00
David Čermák
6ff1d8c828
Merge branch 'bugfix/eth_w5500_io_intr_missed_v4.3' into 'release/v4.3'
...
esp_eth: w5500: Improve GPIO interrupt processing (v4.3)
See merge request espressif/esp-idf!13863
2021-06-23 17:54:30 +00:00
Mahavir Jain
0da3b397f2
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots_v4.3' into 'release/v4.3'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd (v4.3)
See merge request espressif/esp-idf!13366
2021-06-23 15:37:40 +00:00
David Čermák
70912cb4b2
Merge branch 'feature/optimize_mqtt_option_v4.3' into 'release/v4.3'
...
transport: Add CONFI_WS_TRANSPORT for optimize the code size(backport v4.3)
See merge request espressif/esp-idf!14109
2021-06-23 15:00:47 +00:00
Krzysztof Budzynski
d42499a5db
Merge branch 'docs/programming_guide_c3_update_twai_v4.3' into 'release/v4.3'
...
Update TWAI driver docs and registers for esp32c3 (backport v4.3)
See merge request espressif/esp-idf!13289
2021-06-23 14:41:07 +00:00
Jiang Jiang Jian
46144f7093
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v4.3' into 'release/v4.3'
...
esp_wifi: fix amsdu & fragment vulnerabilities(v4.3)
See merge request espressif/esp-idf!13799
2021-06-23 13:38:27 +00:00
Angus Gratton
b2d728075d
Merge branch 'bugfix/esp_partition_get_sha256_v4.3' into 'release/v4.3'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on (v4.3)
See merge request espressif/esp-idf!13665
2021-06-23 12:45:55 +00:00
KonstantinKondrashov
1d23b83d3b
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-06-23 19:28:40 +08:00
Darian Leung
9b014138bf
Update TWAI driver docs and registers for esp32c3
...
This commit updates the documentation and register struct
of the TWAI driver for the ESP32-C3. Note that the register
fields for ESP32-S3 have also been updated.
2021-06-23 19:26:16 +08:00
wangmengyang
4657069afd
components/bt: Disable CS-RXDONEMSK to avoid RX interrupt flooding during scan event in Wi-Fi coexistence scenario
2021-06-23 19:14:41 +08:00
Ivan Grokhotkov
b67e388281
Merge branch 'feature/prevent_unwind_code_linking_4.3' into 'release/v4.3'
...
[C++]: prevent unwind code linking (backport 4.3)
See merge request espressif/esp-idf!13800
2021-06-23 08:32:17 +00:00
Omar Chebib
5186a968be
coredump: core dump data check can now be parametrized
...
Core dump integrity check can now be parametrized through menuconfig.
It can be performed on boot or ignored. When core dump is activated
in the menuconfig, the user can still check the core dump at any time
with the function `esp_core_dump_image_check()`.
Fix a bug where `esp_core_dump_image_get()` was not accessible
when core dump was disabled.
Closes https://github.com/espressif/esp-idf/issues/6620
2021-06-23 16:17:15 +08:00
0xFEEDC0DE64
418fed12df
espcoredump erase review comments
2021-06-23 16:17:15 +08:00
0xFEEDC0DE64
5d4e084669
coredump: Implemented esp_core_dump_image_erase() and esp_core_dump_image_get() now returns ESP_ERR_NOT_FOUND when partition is blank
...
Closes https://github.com/espressif/esp-idf/pull/6631
2021-06-23 16:17:12 +08:00
David Cermak
c93298c31d
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-06-23 12:52:18 +08:00
Suren Gabrielyan
2ee5178667
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
...
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-23 12:50:11 +08:00
David Cermak
d09f6cac24
esp_eth: Improve GPIO interrupt processing in w5500 driver
...
Increase the interrupt reassert level timing so the chances of missing
two consecutive events are minimal.
Enable only SIR_RECV interrupt event, so the SEND events are not used
for GPIO signal.
2021-06-23 12:41:45 +08:00
David Cermak
1f2af24118
esp_eth: Recover the w5500 driver from missed io interrupt
...
If the GPIO interrupt is re-asserted too quickly it could be missed. If this happens the driver goes silent and never receives any data. Recover by periodic checks of the IO signal level
2021-06-23 12:41:45 +08:00
Mahavir Jain
b007024c62
Merge branch 'bugfix/heap_tracing_build_issue_for_c3_v4.3' into 'release/v4.3'
...
heap: fix build issue with HEAP_TRACING config for C3 (v4.3)
See merge request espressif/esp-idf!14075
2021-06-23 03:45:39 +00:00
liuhan
63e489255f
transport: Add CONFI_WS_TRANSPORT for optimize the code size
2021-06-23 11:26:56 +08:00
David Čermák
1d05bb7c01
Merge branch 'bugfix/esp_netif_ppp_set_auth_fail_v4.3' into 'release/v4.3'
...
esp_netif: Fix failing ppp_set_auth() due to wrong arg check (v4.3)
See merge request espressif/esp-idf!13864
2021-06-22 19:32:40 +00:00
David Čermák
4e120e36eb
Merge branch 'bugfix/eth_w5500_4byte_corruption_v4.3' into 'release/v4.3'
...
esp_eth: Fix w5500 read register operations (v4.3)
See merge request espressif/esp-idf!13862
2021-06-22 19:07:40 +00:00
David Čermák
2c9d8ac64e
Merge branch 'feature/sperate_slip_component_v4.3' into 'release/v4.3'
...
esp_netif: Add CONFIG_LWIP_SLIP_SUPPORT to sperate slip component (backport v4.3)
See merge request espressif/esp-idf!13633
2021-06-22 16:23:04 +00:00
David Čermák
a59eccdd9e
Merge branch 'bugfix/fix_disable_ipv6_build_fail_v4.3' into 'release/v4.3'
...
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail(backport v4.3)
See merge request espressif/esp-idf!13835
2021-06-22 15:39:41 +00:00
Island
7406312f11
Merge branch 'bugfix/start_enc_proc_mic_err_fix_release_4p3' into 'release/v4.3'
...
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller (release/v4.3)
See merge request espressif/esp-idf!14057
2021-06-22 12:54:38 +00:00
xiongweichao
15dcd2eca1
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 20:37:51 +08:00
Wang Meng Yang
3b88d9231b
Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.3' into 'release/v4.3'
...
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.3]
See merge request espressif/esp-idf!14010
2021-06-22 12:28:03 +00:00
David Cermak
2fb93e6a54
esp_eth: Fix w5500 to break from potentially infinite tx loop
...
The issue typically happens for link-down during Tx. Added two retry levels, one before checking the sanity of the w5500 phy register and another for the Tx done itself (if the device is in the sane state)
Closes https://github.com/espressif/esp-idf/issues/6233
2021-06-22 17:23:07 +08:00
David Cermak
8534799d66
esp_eth: Fix w5500 to correctly read registers on -Os
...
Reading SPI data may come in 4-byte units and thus result in unwanted
overwrites if smaller size registers read, especially if multiple placed
one after another. Fixed by using direct reads to `trans` structure for
sizes smaller or equal to 4.
Closes https://github.com/espressif/esp-idf/issues/6579
2021-06-22 17:23:07 +08:00
sushant.chougule
e6115da7e9
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
2021-06-22 17:17:29 +08:00
Angus Gratton
97f007c08c
Merge branch 'bugfix/add-MAXNAMLEN-definition' into 'release/v4.3'
...
newlib: add the definition of MAXNAMLEN in sys/dirent.h (backport v4.3)
See merge request espressif/esp-idf!13757
2021-06-22 07:12:56 +00:00
Wang Meng Yang
976594b853
Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro_v4.3' into 'release/v4.3'
...
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
See merge request espressif/esp-idf!14037
2021-06-22 04:53:19 +00:00
Angus Gratton
efb4784d78
Merge branch 'bugfix/link_gcov_rtio_backport_v4.3' into 'release/v4.3'
...
Bugfix/link gcov rtio backport v4.3
See merge request espressif/esp-idf!13833
2021-06-22 03:14:41 +00:00
Angus Gratton
6ee42ba036
Merge branch 'feature/update_libsodium_submodule_v4.3' into 'release/v4.3'
...
libsodium: Update library to v1.0.18 (v4.3)
See merge request espressif/esp-idf!13081
2021-06-22 02:38:03 +00:00
yuanjm
83e9c1d28d
esp_netif: Add CONFIG_LWIP_SLIP_SUPPORT to sperate slip component
2021-06-22 10:12:53 +08:00
KonstantinKondrashov
6a50197246
bootloader: Fix a wrong offset in image_load after refactoring
2021-06-22 08:30:43 +08:00
KonstantinKondrashov
54ae758b77
bootloader_support: Used esp_image_get_metadata() instead of esp_image_verify()
...
- bootloader_common_get_sha256_of_partition will not do any unnecessery verifies.
- Used esp_image_get_metadata() instead of esp_image_verify().
2021-06-22 08:30:43 +08:00
KonstantinKondrashov
99af5e9a71
bootloader: Fixed a case when signed OTA updates fail when debugger is attached due to the wrong image_len.
...
And it fixed another case for bootloader_common_get_sha256_of_partition() when CHECK_SIGNATURE is on
- If RSA signature check is on in Kconfig then sha256 was 0xFFFFF...
because image_load gave image_len which pointed to the end of sign blocks.
And image_digest was filled from a wrong position.
Closes https://github.com/espressif/esp-idf/issues/6873
2021-06-22 08:30:41 +08:00
Angus Gratton
362c9234dc
Merge branch 'bugfix/fix_ld_relinking_on_modification_v4.3' into 'release/v4.3'
...
build: fix linker scripts edition not triggering a rebuild (backport v4.3)
See merge request espressif/esp-idf!13450
2021-06-22 00:29:11 +00:00
Angus Gratton
9f6e09d0d3
Merge branch 'bugfix/flash_rodata_any_alignement_v4.3' into 'release/v4.3'
...
build: Fix cache issue and add dedicated section for (Custom) App version info (backport v4.3)
See merge request espressif/esp-idf!13448
2021-06-22 00:23:49 +00:00
“YangZhao”
fe9ecf2f7a
If the scan window set as 4 slots and the scan interval set as 5 slots
...
,then the device will crash when starting scanning.This commit is to fix
this bug.
2021-06-21 21:56:03 +08:00
liqigan
a6b1fda209
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:05:41 +08:00
yuanjm
b2dfa2ed85
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
...
Closes https://github.com/espressif/esp-idf/issues/6935
2021-06-21 17:23:58 +08:00
Mahavir Jain
dd73ba9601
heap: use hal specific API to get cpu cycles count
...
This fixes compilation issue of heap tracing feature for RISC-V
architecture.
2021-06-21 14:40:07 +05:30
wangjialiang
6203a22e2c
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-21 11:19:31 +08:00
wangjialiang
c250bbc3fb
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-21 11:19:01 +08:00
Island
8c909d3319
Merge branch 'bugfix/AuthValue_leak_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth... (v4.3)
See merge request espressif/esp-idf!14024
2021-06-21 03:08:55 +00:00
liaowenhao
2060f63130
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
...
Closes https://jira.espressif.com:8443/browse/IDFGH-5399
2021-06-21 10:55:34 +08:00
laokaiyao
5f184c6556
driver/i2c: add notes to i2c deleteing function v4.3
2021-06-21 10:07:40 +08:00
Melissa LeBlanc-Williams
b6826d8878
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly v4.3
...
Merges https://github.com/espressif/esp-idf/pull/6846
2021-06-21 10:07:40 +08:00
Wang Meng Yang
51aaf310fd
Merge branch 'bugfix/active_ext_scan_performance_in_coex_v4.3' into 'release/v4.3'
...
bugfix/active_ext_scan_performance_in_coex_v4.3
See merge request espressif/esp-idf!13544
2021-06-19 02:28:13 +00:00
Aditya Patwardhan
694f7e349f
libsodium: Update library to v1.0.18
2021-06-18 16:57:37 +08:00
Angus Gratton
e9fd883f50
Merge branch 'bugfix/esp32_u4wdh_quad_io_v4.3' into 'release/v4.3'
...
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip (v4.3)
See merge request espressif/esp-idf!13876
2021-06-18 07:16:50 +00:00
wangjialiang
36cb29280a
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-18 14:16:07 +08:00
Mahavir Jain
f819a4fffa
Merge branch 'feature/update_esp_cryptoauthlib_v4.3' into 'release/v4.3'
...
secure_element: Update esp-cryptoauthlib submodule latest version. (v4.3)
See merge request espressif/esp-idf!13836
2021-06-18 06:15:36 +00:00
Island
cf3445db01
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v4.3)
See merge request espressif/esp-idf!13922
2021-06-18 03:33:15 +00:00
wangmengyang
ef6910467c
components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP
2021-06-17 19:34:03 +08:00
David Čermák
777907f8ef
Merge branch 'bugfix/start_emac_after_phy_reset_v4.3' into 'release/v4.3'
...
esp_eth: restart negotiation in esp_eth_start (v4.3)
See merge request espressif/esp-idf!13698
2021-06-17 07:13:31 +00:00
Aditya Patwardhan
92a5c34a61
secure_element: Update esp-cryptoauthlib submodule latest version.
...
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-06-17 13:52:03 +08:00
morris
5c3d5faeff
i2s: fix driver uninstall issue
2021-06-17 12:57:58 +08:00
Michael (XIAO Xufeng)
9249f05fc9
spi_flash: reverted unwilling cs_setup argument
...
Partially reverted 08f1bbe0c7
.
The host should have this flexibility, which is consistent to the cs_hold argument.
However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-17 12:26:11 +08:00
ChenJianxing
f2676b8e59
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-17 10:44:06 +08:00
Li Shuai
21b3068b77
deep sleep: clear wakeup and reject int raw signal before entry sleep
2021-06-17 10:41:22 +08:00
Angus Gratton
b5256118ff
Merge branch 'bugfix/riscv_stack_alignment_v4.3' into 'release/v4.3'
...
core: fix cases where riscv SP were not 16 byte aligned (v4.3)
See merge request espressif/esp-idf!13653
2021-06-17 02:09:34 +00:00
Angus Gratton
9d50e27aff
Merge branch 'bugfix/cmake_ulp_reserved_size_v4.3' into 'release/v4.3'
...
ulp: Fix bug where ULP linker script not regenerated for new config (v4.3)
See merge request espressif/esp-idf!13628
2021-06-17 00:06:30 +00:00
Mahavir Jain
a213b289be
Merge branch 'feature/extmem_alloc_for_s2_v4.3' into 'release/v4.3'
...
External memory allocation policy support for ESP32-S2 (GitHub PR) (v4.3)
See merge request espressif/esp-idf!13619
2021-06-16 16:34:13 +00:00
wangjialiang
6300f7791a
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-16 21:26:38 +08:00
David Čermák
3e28c250d7
Merge branch 'bugfix/tcp_transport_tls_no_mem_v4.3' into 'release/v4.3'
...
tcp_transport: Fix error handling of esp_tls_init() (v4.3)
See merge request espressif/esp-idf!13676
2021-06-16 09:50:10 +00:00
Wang Meng Yang
0c3173874e
Merge branch 'bugfix/bt_impersonation_passkey_fix_v4.3' into 'release/v4.3'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v4.3)
See merge request espressif/esp-idf!13758
2021-06-16 08:59:13 +00:00
Wang Meng Yang
b3d17474d6
Merge branch 'bugfix/invalid_feat_page_exec_v4.3' into 'release/v4.3'
...
bt controller: Fixed handling for invalid feature page. (v4.3)
See merge request espressif/esp-idf!13566
2021-06-16 08:57:36 +00:00
Angus Gratton
c0c0497de3
ulp: Fix bug where ULP linker script not regenerated for new config
...
ULP linker script relies on value of CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM,
when this value changes in config then it should be regenerated.
2021-06-16 16:54:03 +08:00
Angus Gratton
94f447f599
Merge branch 'bugfix/partition_table_integrity_check_v4.3' into 'release/v4.3'
...
paritition_table: Verify the partition table md5sum when loading in the app (v4.3)
See merge request espressif/esp-idf!13582
2021-06-16 08:49:55 +00:00
David Cermak
054770407e
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
...
Closes https://github.com/espressif/esp-idf/issues/7047
2021-06-16 13:59:35 +08:00
Jiang Jiang Jian
7e8afda8b2
Merge branch 'bugfix/fix_crash_when_csi_enable_v4.3' into 'release/v4.3'
...
esp_wifi: fix crash when csi enable(v4.3)
See merge request espressif/esp-idf!13925
2021-06-16 04:38:41 +00:00
Angus Gratton
a45fa929c2
Merge branch 'bugfix/ulp_riscv_unintended_wake_v4.3' into 'release/v4.3'
...
ulp: unintended wakeup in ulp_riscv (v4.3)
See merge request espressif/esp-idf!13630
2021-06-16 04:25:29 +00:00
Angus Gratton
2baf0e626a
Merge branch 'bugfix/fix_mbedtls_cmake_warning_v4.3' into 'release/v4.3'
...
mbedtls: fixed CMake build warning (v4.3)
See merge request espressif/esp-idf!13590
2021-06-16 04:20:46 +00:00
Angus Gratton
c0e07f8975
Merge branch 'bugfix/pthread_join_debug_log_v4.3' into 'release/v4.3'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level (v4.3)
See merge request espressif/esp-idf!13776
2021-06-16 04:19:56 +00:00
Mahavir Jain
0b2f0a3213
bt: use generic SPIRAM config option for memory alloc policy
2021-06-16 11:11:55 +08:00
Marcel Kottmann
4c8ae4fd56
mbedtls: Allow external mem alloc for ESP32-S2
...
Closes https://github.com/espressif/esp-idf/pull/6998
Closes IDFGH-5226
2021-06-16 11:11:55 +08:00
Krzysztof Budzynski
21dfe81a68
Merge branch 'bugfix/doc_freertos_task_stack_bytes_v4.3' into 'release/v4.3'
...
freertos docs: Specify that uxTaskGetStackHighWaterMark() returns bytes not words (v4.3)
See merge request espressif/esp-idf!13627
2021-06-16 02:54:35 +00:00
Krzysztof Budzynski
ce9f195abe
Merge branch 'doc/nvs_get_used_entry_count__clarify_4.3' into 'release/v4.3'
...
[doc]: NVS documentation updates (backport 4.3)
See merge request espressif/esp-idf!13821
2021-06-16 02:52:15 +00:00
Cao Sen Miao
9c7d2c7595
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-15 15:27:51 +08:00
Wang Fang
1903d8587a
docs: provide the link to pcb layout for ethernet board v1.2 and fix a typo in freetos/task
2021-06-15 15:26:10 +08:00
Zhang Jun Hao
e86ca4edc2
esp_wifi: fix crash when csi enable
2021-06-10 16:00:01 +08:00
xiewenxiang
84b157e2ea
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:33:06 +08:00
Angus Gratton
22a02656b7
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
...
Closes https://github.com/espressif/esp-idf/issues/6191
2021-06-07 14:53:43 +10:00
David Cermak
c7de165ccb
tcp_transport: Fix error handling of esp_tls_init()
2021-06-03 13:47:41 +00:00
Alexey Gerenkov
e900224343
gcov: Fixes not linked gcov rtio functions
2021-06-02 22:05:15 +03:00
Marius Vikhammer
57442c38bd
core: fix cases where riscv SP were not 16 byte aligned
...
RISC-V stack pointer should always be 16 byte aligned, but for some cases where
we were doing manual SP manipulation this was not always the case.
2021-06-02 16:02:10 +08:00
liaowenhao
7e4f7867f0
bugfix/fix crash when lmp flooding
2021-06-02 15:31:33 +08:00
Jakob Hasse
5395f451a2
[doc]: NVS documentation updates
...
* Move nvs flash README to common doc directory
* correct markup of functions and types in text
from old README
* Better comment of nvs_get_used_entry_count()
* Mention C++ example in API reference
* Used target instead of hard code ESP32
* Note that strings can only span one page
* Reflect that item types have been moved
* Some clarification about nvs_commit()
* Improved reference to the ESP Partition API
* fixed little mistake in documenting-code.rst
* Change of nvs_open_from_part() to
nvs_open_from_partition() reflected in docs
* Corrected documentation of
NVSHandle::get_string(), NVSHandle::get_blob()
and NVSHandle::get_item_size().
* Closes DOC-165
* Closes IDF-1563
* Closes IDF-859
* Closes https://github.com/espressif/esp-idf/issues/6123
2021-06-02 13:34:35 +08:00
baohongde
f0679fe175
components/bt: Delete BLE ADV priority high
2021-06-01 16:19:24 +00:00
Chinmay Chhajed
b7ab286edf
bt controller: Fixed handling for invalid feature page.
2021-06-01 16:19:24 +00:00
Renz Bagaporo
0e904b3f7e
ulp: clear rtc int at initialization
...
Closes https://github.com/espressif/esp-idf/issues/6654
2021-06-01 21:41:12 +08:00
Angus Gratton
1967e53f4a
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
...
Regression in 83bf2e1ac1
, this memory region was shifted from fast to slow RTC
memory (no change on ESP32-C3 as no RTC fast memory on this chip.)
2021-06-01 19:05:09 +10:00
Jakob Hasse
d376c161aa
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-06-01 13:46:50 +08:00
zhiweijian
9e2ce84a9a
Fixed ANON_ADV address error
2021-06-01 11:49:21 +08:00
Angus Gratton
9596f0d966
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-05-31 13:49:59 +10:00
Angus Gratton
a3856c5438
esp_rom: Allow passing any type of data pointer to md5, remove unchecked size on digest pointer
2021-05-30 23:21:14 +00:00
Angus Gratton
58a3e08895
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-05-30 23:21:14 +00:00
Chinmay Chhajed
24035f698d
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-28 19:24:27 +05:30
WangQixiang
ac362cc662
change MAXNAMLEN to 255
2021-05-28 20:41:25 +08:00
WangQixiang
a29fe72cc9
add the definition of MAXNAMLEN in sys/dirent.h
2021-05-28 20:41:10 +08:00
Jiang Jiang Jian
4de9ba152a
Merge branch 'bugfix/ble_fix_reconnect_failed_when_using_rpa_public_address_v4.3' into 'release/v4.3'
...
Fixed BLE reconnect failed when using rpa public address (backport v4.3)
See merge request espressif/esp-idf!13743
2021-05-28 08:31:18 +00:00
morris
03a6c4975c
esp_eth: restart negotiation in esp_eth_start
2021-05-28 08:22:56 +00:00
Angus Gratton
0cca9e860d
freertos docs: Specify that uxTaskGetStackHighWaterMark() returns bytes not words
...
As reported https://esp32.com/viewtopic.php?f=13&t=20043&p=73732
2021-05-28 05:13:40 +00:00
Omar Chebib
a573cfe58a
espcoredump: Fix bugs related to (fake) stacks
...
Add support to tasks stacks in RTC DRAM. Before this fix, any stack
in RTC DRAM would have been considered as corrupted, whichi is not
the case.
Fix a bug related to wrong parameters passed to esp_core_dump_get_stack.
Fix a bug reading fake stack memory, triggering a memory violation.
* Closes https://github.com/espressif/esp-idf/issues/6751
* Merges https://github.com/espressif/esp-idf/pull/6750
2021-05-28 01:58:09 +00:00
zwj
7d1fe0b553
Fixed BLE reconnect failed when using rpa public address
2021-05-27 08:17:18 +00:00
Marius Vikhammer
8efb2bb1ed
ci: run Example_GENERIC for C3
...
Add support for running example_GENERIC tests for C3 on label.
Fix examples that fail.
2021-05-20 14:32:47 +10:00
KonstantinKondrashov
c270a9f0b9
esp32c3: Updates a description in Kconfig about Universal MAC Address strategy
2021-05-20 04:30:31 +00:00
Marius Vikhammer
390bdf2f78
mbedtls: fixed CMake build warning
...
Building mbedtls with CMake would warn that:
"A private source from a directory other than that of target "mbedcrypto
has a relative path"
This happened due to some of the CMake variables listing sources could be empty.
Changed to only use target_sources in the code-path where we set the sources,
so we only call target_sources will non-empty variables.
Closes https://github.com/espressif/esp-idf/issues/6767
2021-05-19 11:11:04 +08:00
Nachiket Kukade
aa33c43644
esp_wifi: Update wifi lib
...
Update wifi library with below fixes -
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-14 11:14:03 +08:00
Angus Gratton
de0063164d
Merge branch 'bugfix/place_xt_int_fns_into_iram_4.3' into 'release/v4.3'
...
[system]: put xtensa_intr_asm into IRAM (backport 4.3)
See merge request espressif/esp-idf!13402
2021-05-14 01:48:11 +00:00
Angus Gratton
93aee41c29
Merge branch 'bugfix/setjmp_longjmp_4.3' into 'release/v4.3'
...
[system]: Made longjmp save for context switch (backport 4.3)
See merge request espressif/esp-idf!13489
2021-05-14 01:40:17 +00:00
Jiang Jiang Jian
4db80bcc78
Merge branch 'nimble/workaound_ble_conn_err_v4.3' into 'release/v4.3'
...
NimBLE: Add NimBLE host support to reattempt GAP connection and address MITM vulnerability (CVE-2020-26558) (release/v4.3)
See merge request espressif/esp-idf!13549
2021-05-13 16:25:54 +00:00
Jiang Jiang Jian
2647288d32
Merge branch 'bugfix/ag_use_dynamic_memory_error_v4.3' into 'release/v4.3'
...
Fix ag use dynamic memory error
See merge request espressif/esp-idf!13542
2021-05-13 16:20:38 +00:00
Jiang Jiang Jian
a75a988c98
Merge branch 'bugfix/wifi_modem_sleep_percentage_optimize_v4.3' into 'release/v4.3'
...
backport v4.3: optimize wifi station modem sleep percentage
See merge request espressif/esp-idf!13541
2021-05-13 16:19:08 +00:00
Michael (XIAO Xufeng)
c7a10f9293
Merge branch 'bugfix/timer_spinlock_iram_v4.3' into 'release/v4.3'
...
timer: add IRAM_ATTR to spinlock give/take API (v4.3)
See merge request espressif/esp-idf!13511
2021-05-13 11:36:48 +00:00
Prasad Alatkar
7095159a4c
NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
...
* Add workaround to overcome connection establishment failure error.
* Fix vulnerability during public key exchange in secure connection
2021-05-13 16:44:17 +05:30
xiongweichao
2644f793bd
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-13 16:09:47 +08:00
xiongweichao
848f931e06
fix ag use dynamic memory error
2021-05-13 16:09:40 +08:00
Jiang Jiang Jian
e6f96717ff
Merge branch 'bugfix/remove_uart2_c3_v4.3' into 'release/v4.3'
...
uart: remove misleading ld files and soc defs for UART2 (v4.3)
See merge request espressif/esp-idf!13394
2021-05-13 04:11:32 +00:00
Jiang Jiang Jian
ed76cc4dd4
Merge branch 'feature/support_adjust_voltage_storingInEfuse_open_glitch_rst_v4.3' into 'release/v4.3'
...
ESP32c3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3 (backport v4.3)
See merge request espressif/esp-idf!13388
2021-05-13 04:08:56 +00:00
Li Shuai
d51ed40487
modem sleep: optimize wifi station modem sleep percentage
2021-05-13 11:57:12 +08:00
Jiang Jiang Jian
31b142cf93
Merge branch 'bugfix/concurrent_mode_sae_crash_fix_v4.3' into 'release/v4.3'
...
esp_wifi: Add station based check for auth frame formation (backport v4.3)
See merge request espressif/esp-idf!13526
2021-05-13 03:27:54 +00:00
Michael (XIAO Xufeng)
cdec9f3659
Merge branch 'bugfix/fix_touch_sensor_power_source_v4.3' into 'release/v4.3'
...
touch_sensor: fix esp32s2&esp32s3 touch sensor default power source (Backport v4.3)
See merge request espressif/esp-idf!13484
2021-05-13 03:06:01 +00:00
Michael (XIAO Xufeng)
02e742271d
Merge branch 'feature/merge_c3_caps_v4.3' into 'release/v4.3'
...
soc: merge C3 caps into a single soc_caps.h (v4.3)
See merge request espressif/esp-idf!13518
2021-05-13 02:55:26 +00:00
Jakob Hasse
f16ec53183
[system]: put xtensa_intr_asm into IRAM
2021-05-12 16:44:52 +08:00
Jiang Jiang Jian
3299a19c2f
Merge branch 'bugfix/lwip_debug_define' into 'release/v4.3'
...
lw-ip: Fix LWIP_DEBUG define which is always defined(backport v4.3)
See merge request espressif/esp-idf!13118
2021-05-12 06:28:54 +00:00
Jiang Jiang Jian
a3ae9ae482
Merge branch 'bugfix/generate_value_0_when_prov_auth_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v4.3)
See merge request espressif/esp-idf!13480
2021-05-12 06:22:04 +00:00
Kapil Gupta
deeb517b72
esp_wifi: Add station based check for auth frame formation
2021-05-11 18:20:45 +05:30
Marius Vikhammer
874b470379
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-05-11 15:31:59 +08:00
Marius Vikhammer
38aa99d63d
soc: merge C3 caps into a single soc_caps.h
2021-05-11 15:20:54 +08:00
Jakob Hasse
a37c20b417
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-05-11 12:04:27 +08:00
zwj
1957025f4a
fix C3/S3 ble multi-connection failed when device acts as master and slave
2021-05-10 13:12:01 +00:00
chaijie
6d2bdfc5f5
1. open glitch reset for c3 ECO3;
...
2. set digital & rtc voltage to about 1.15v which storing in efuse.
2021-05-08 17:38:24 +08:00
Kang Zuoling
d651e4e073
touch_sensor: fix esp32s2 touch sensor default power source
2021-05-08 13:54:59 +08:00
wangjialiang
5fc3c0ca91
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 11:58:04 +08:00
fuzhibo
f6d96f33bb
bugfix: add .rodata section for riscv ulp for esp32s2
2021-05-07 10:56:33 +10:00
Angus Gratton
228f875ada
esp32s2 riscv ulp: Make re-linking depend on linker script file
2021-05-07 10:54:55 +10:00
Angus Gratton
997c07c2ee
esp32s2 riscv ulp: Ensure reset vector is always at offset 0x0
...
Previous linker script relied on nothing else using the .text section
As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
2021-05-07 10:54:55 +10:00
Omar Chebib
831d470a75
build: fix linker scripts edition not triggering a rebuild
...
Fix the dependencies in CMakeLists files for triggering a relink
when linker script file is modified.
2021-05-06 12:19:01 +08:00
Ivan Grokhotkov
b7707c54ce
freertos: fix TLS run-time address calculation
...
Since dd849ffc
, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.
Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.
Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc
was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-05-06 11:42:14 +08:00
Omar Chebib
375f969d43
build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
...
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.
Closes https://github.com/espressif/esp-idf/issues/6719
2021-05-06 11:40:57 +08:00
Omar Chebib
c29dbda5fd
build: fix cache issue when .flash.text section alignment is uncommon
...
rodata dummy section has now the same alignment as flash text section,
and at least the same size. For these reasons, the cache will map
correctly the following rodata section.
2021-05-06 11:40:47 +08:00
Angus Gratton
d30ec8c94e
freertos: Add addition overflow check for stream buffer
...
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 18:30:49 +10:00
Angus Gratton
658a0acdbe
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:30:49 +10:00
Angus Gratton
467c7af33e
Merge branch 'doc/general_notes_v4.3' into 'release/v4.3'
...
doc: Update docs about startup sequence and memory types (v4.3)
See merge request espressif/esp-idf!13316
2021-05-03 06:48:07 +00:00
Mahavir Jain
4c113a0c0c
Merge branch 'bugfix/fix_mbedtls_send_alert_crash_v4.3' into 'release/v4.3'
...
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL[backport v4.3]
See merge request espressif/esp-idf!13300
2021-04-30 07:08:19 +00:00
Mahavir Jain
ad759ee5a7
Merge branch 'newlib/no_atomic_support_v4.3' into 'release/v4.3'
...
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n (backport v4.3)
See merge request espressif/esp-idf!13361
2021-04-30 07:07:37 +00:00
Mahavir Jain
24af403dac
Merge branch 'bugfix/esp_http_client_read_v4.3' into 'release/v4.3'
...
Fix esp_http_client_read for file size aligned to 289 bytes (v4.3)
See merge request espressif/esp-idf!13305
2021-04-30 07:06:33 +00:00
Jiang Jiang Jian
469bb082d7
Merge branch 'bugfix/fix_nolightsleep_after_wifi_init_v4.3' into 'release/v4.3'
...
esp_wif: fix nolightsleep after wifi init v4.3
See merge request espressif/esp-idf!13403
2021-04-30 05:52:09 +00:00
Jiang Jiang Jian
80e381e511
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.3' into 'release/v4.3'
...
[system]: Remove redundant othercore cache disable (backport v4.3)
See merge request espressif/esp-idf!13356
2021-04-30 05:51:43 +00:00
Jiang Jiang Jian
847273d0fb
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.3' into 'release/v4.3'
...
backport v4.3: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13391
2021-04-30 02:50:04 +00:00
yuanjm
6d32eec165
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-30 02:01:51 +00:00
ninh
6dc067dda7
esp_wifi: fix nolightsleep after wifi init (backport to v4.3)
2021-04-29 22:01:55 +08:00
ninh
0ddf00c6e1
esp_pm: allow dfs to swith down alltime if no lightsleep (backport to v4.3)
2021-04-29 22:00:37 +08:00
Jiang Jiang Jian
8c6705ded5
Merge branch 'bugfix/interrupt_watchdog_on_reset_v4.3' into 'release/v4.3'
...
Bugfix/interrupt watchdog on reset v4.3
See merge request espressif/esp-idf!13386
2021-04-29 13:33:07 +00:00
shenjun
2f603a56a7
esp_wifi_mesh: update wifi mesh libs
...
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
4. Forward Mgmt frames with skipping CCMP headers to fix parsing issues in Application for ESP32C3
2021-04-29 15:05:07 +08:00
Michael (XIAO Xufeng)
2bffeb7265
uart: fix misleading files for UART2
...
Includes: header files, ld files and clk.c
ESP32-C3 only have UART0 and UART1.
2021-04-29 14:23:13 +08:00
wangmengyang
9c872b1851
components/bt: fixed bugs in Bluetooth Controller and Baseband
...
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set
2: Update libbtbb.a for ESP32-C3 to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-29 03:58:29 +00:00
wangmengyang
b2c18de9b3
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-29 03:58:29 +00:00
Li Shuai
f684bd10f5
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 10:14:30 +08:00
Michael (XIAO Xufeng)
9da031e0c3
Merge branch 'bugfix/twai_caps_naming_and_tidy_up_v4.3' into 'release/v4.3'
...
Fix TWAI caps (backport v4.3)
See merge request espressif/esp-idf!13304
2021-04-28 17:47:35 +00:00
Michael (XIAO Xufeng)
64de7ee38c
Merge branch 'feature/spi_slave_hd_segment_example_v4.3' into 'release/v4.3'
...
spi_slave_hd: add an spi slave hd segment example (4.3)
See merge request espressif/esp-idf!13312
2021-04-28 17:39:25 +00:00
Michael (XIAO Xufeng)
52d9d466fb
Merge branch 'ci/enable_i2c_test_v4.3' into 'release/v4.3'
...
I2C: enable all unit test for i2c on esp32c3 (backport 4.3)
See merge request espressif/esp-idf!13061
2021-04-28 15:00:20 +00:00
Jiang Jiang Jian
a4a7e7b3e9
Merge branch 'bugfix/update_esp32c3_phy_init_data_v4.3' into 'release/v4.3'
...
esp_wifi: update esp32c3 phy init data(v4.3)
See merge request espressif/esp-idf!13338
2021-04-28 12:45:36 +00:00
Armando
a87f5c6c02
spi_slave_hd: add polling api to read/write buf to essl_spi
2021-04-28 08:20:55 +00:00
Armando
20993109e8
spi_slave_hd: add callback after data is loaded to the DMA for segment mode
2021-04-28 08:20:55 +00:00
Michael (XIAO Xufeng)
6c38cc736a
Merge branch 'bugfix/twai_esp32_errata_workarounds_backport_v4.3' into 'release/v4.3'
...
TWAI: Add FIFO overrun handling and ESP32 hardware errata workarounds (backport v4.3)
See merge request espressif/esp-idf!12984
2021-04-28 08:12:06 +00:00
chenjianxing
193b60afcf
esp_wifi: update esp32c3 phy init data
2021-04-28 08:04:28 +00:00
Shubham Kulkarni
e4ebaca693
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-28 05:00:58 +00:00
Michael (XIAO Xufeng)
3f358236f0
Merge branch 'feat/c3_driver_api_cleanup_gpio_v4.3' into 'release/v4.3'
...
gpio, rtcio: removed unsupported features on different targets (v4.3)
See merge request espressif/esp-idf!13120
2021-04-27 09:37:15 +00:00
Cao Sen Miao
ba1ce2ebd0
I2C: enable all unit test for i2c on esp32c3
2021-04-27 17:13:47 +08:00
Sachin Parekh
aad1f7abde
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
...
These APIs are used when the architecture doesn't have atomic
instruction support
Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-27 13:34:54 +05:30
wuzhenghui
29ad86ed5b
remove othercore cache disable
2021-04-27 14:40:52 +08:00
Jiang Jiang Jian
dede31cd83
Merge branch 'bugfix/gtk_reinstallation_fix_1_4.3' into 'release/v4.3'
...
wpa_supplicant: Clean gtk after disconnect (backport v4.3)
See merge request espressif/esp-idf!13286
2021-04-27 03:32:46 +00:00
Darian Leung
07291fdd27
TWAI: FIFO overrun handling and errata workarounds
...
This commit adds handling for FIFO overruns and
adds workarounds for HW errats on the ESP32.
Closes https://github.com/espressif/esp-idf/issues/2519
Closes https://github.com/espressif/esp-idf/issues/4276
2021-04-26 19:35:13 +08:00
Darian Leung
00801c8044
TWAI: Simply caps and remove unused caps
2021-04-26 19:34:30 +08:00
Darian Leung
b8e31efcac
TWAI: Fix incorrect CAP name
...
Fixes a bug where SOC_TWAI_BRP_DIV_SUPPORTED was mistyped preventing
slower bit rates from being enabled on ESP32 revision 2 and 3 chips
2021-04-26 19:34:30 +08:00
Jiang Jiang Jian
ae72870d43
Merge branch 'bugfix/fix_c3_ble_disconnect_due_to_con_param_update_v4.3' into 'release/v4.3'
...
Fix c3 ble disconnect due to con param update v4.3
See merge request espressif/esp-idf!13325
2021-04-26 06:00:15 +00:00
Jiang Jiang Jian
4d1aaed682
Merge branch 'refactor/bt_lib_submodules_v4.3' into 'release/v4.3'
...
Refactor/bt lib submodules(backports v4.3)
See merge request espressif/esp-idf!13275
2021-04-25 06:24:46 +00:00
Michael (XIAO Xufeng)
6059ef26fb
gpio, rtcio: removed unsupported features on different targets
2021-04-24 15:55:13 +00:00
liuhan
38db3d9507
lw-ip: Fix LWIP_DEBUG define which is always defined
2021-04-23 18:25:17 +00:00
Shu Chen
42ae0166d7
esp32c3: fix typos of c3 path
2021-04-23 21:09:06 +08:00
Michael (XIAO Xufeng)
eff7fd9052
Merge branch 'feature/update_adc_programming_guide_on_c3_v4.3' into 'release/v4.3'
...
adc: add adc programming guide on c3 (4.3)
See merge request espressif/esp-idf!13281
2021-04-23 12:53:04 +00:00
Angus Gratton
275743ab1c
doc: Add notes that vTaskStartScheduler() is called during startup
...
Closes https://github.com/espressif/esp-idf/issues/1457
2021-04-23 22:48:47 +10:00
Angus Gratton
8a39b5237d
doc: update the memory types and startup docs
2021-04-23 22:48:47 +10:00
zwj
5e9aa539ea
fix c3 ble disconnect due to connection parameters update
2021-04-23 20:39:40 +08:00
Angus Gratton
d0e0f80bd0
esp_system: Mark the startup array as 'const' to save RAM
2021-04-23 19:12:06 +10:00
Angus Gratton
1b82e9604c
Merge branch 'bugfix/esp32c3_eco3_efuse_programming_v4.3' into 'release/v4.3'
...
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3 (v4.3)
See merge request espressif/esp-idf!13297
2021-04-23 09:08:24 +00:00
Mahavir Jain
26139daaf5
Merge branch 'feature/adds_ota_example_test_check_sign_on_update_v4.3' into 'release/v4.3'
...
simple_ota_example: Adds config to test on_update_no_secure_boot option (v4.3)
See merge request espressif/esp-idf!13222
2021-04-23 08:57:46 +00:00
Mahavir Jain
f9831301ce
Merge branch 'bugfix/bootloader_min_revision_c3_v4.3' into 'release/v4.3'
...
Fix bootloader minimum revision check and print for ESP32-C3 (v4.3)
See merge request espressif/esp-idf!13263
2021-04-23 08:56:24 +00:00
Mahavir Jain
cfb84d3381
Merge branch 'feature/mbedtls_md5_update_v4.3' into 'release/v4.3'
...
mbedtls: Add CONFIG_MBEDTLS_ROM_MD to enable ROM MD acceleration(back port v4.3)
See merge request espressif/esp-idf!13133
2021-04-23 08:56:08 +00:00
Kapil Gupta
952e47d45d
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:45:13 +05:30
Michael (XIAO Xufeng)
c6ca4e3e88
Merge branch 'bugfix/fix_flash_ci_v4.3' into 'release/v4.3'
...
esp_flash: fix host number for passing ci(backport v4.3)
See merge request espressif/esp-idf!13264
2021-04-23 06:43:18 +00:00
Angus Gratton
999f648a35
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
...
Without this timing change, efuse programming occasionally appears to fail
(although the efuse is programmed correctly).
2021-04-23 10:33:43 +10:00
liuhan
9bf4d44235
mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS
2021-04-22 12:34:00 +00:00
KonstantinKondrashov
1166bc5680
bootloader: Suppress a Cmake warning - variables were not used by the project
...
Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY
2021-04-22 07:27:08 +00:00
KonstantinKondrashov
02170d815e
bootloader: Fix error in Make build system when signature options is on
2021-04-22 07:27:08 +00:00
Armando
3fb1165e4e
adc: add adc programming guide on c3
2021-04-22 06:28:37 +00:00
wangmengyang
cdcb85fd70
component/bt: add another bt-lib submodule and refactor the directories
...
# Conflicts:
# .gitmodules
# components/bt/component.mk
2021-04-22 07:46:55 +08:00
Jiang Jiang Jian
a67793e9fc
Merge branch 'bugfix/gtk_reinstallation_fix_v4.3' into 'release/v4.3'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.3)
See merge request espressif/esp-idf!13181
2021-04-21 15:17:35 +00:00
Jiang Jiang Jian
182c2eda48
Merge branch 'bugfix/fix_bootloader_time_too_long_bug_v4.3' into 'release/v4.3'
...
esp32s2/esp32c3: decrease boot up and cpu start up time (backport v4.3)
See merge request espressif/esp-idf!12728
2021-04-21 14:20:28 +00:00
Jiang Jiang Jian
1d218485ec
Merge branch 'nimble/add_c3_config_max_conn_v4.3' into 'release/v4.3'
...
NimBLE: Add max connection config option for C3 (v4.3)
See merge request espressif/esp-idf!12999
2021-04-21 13:07:48 +00:00
wangmengyang
257047c073
remove original esp32-bt-lib submodule
2021-04-21 20:40:35 +08:00
Jiang Jiang Jian
83358061df
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.3)
See merge request espressif/esp-idf!13254
2021-04-21 12:35:51 +00:00
Kapil Gupta
47e4386953
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-04-21 11:41:34 +00:00
chaijie
e8282fb5c5
esp32s2/esp32s3/esp32c3: Decrease boot up time by delete useless slow clock calibration
2021-04-21 11:38:26 +00:00
Jiang Jiang Jian
5a5327e77e
Merge branch 'bugfix/fix_esp32c3_macaddr_default_v4.3' into 'release/v4.3'
...
fix esp32c3 default mac addr count(v4.3)
See merge request espressif/esp-idf!13209
2021-04-21 11:35:43 +00:00
Wang Meng Yang
5580d578bd
Merge branch 'nimble/add_error_prints_acl_buf_v4.3' into 'release/v4.3'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.3)
See merge request espressif/esp-idf!12968
2021-04-21 10:26:31 +00:00
Wang Meng Yang
949a3cd61a
Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.3' into 'release/v4.3'
...
Fix the controller do not report the disconnect event to host
See merge request espressif/esp-idf!13262
2021-04-21 09:55:38 +00:00
Prasad Alatkar
ac9bd8bcc4
NimBLE: Add max connection config option for ESP32C3
2021-04-21 08:52:32 +00:00
“YangZhao”
e45ce5c058
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 15:02:40 +08:00
Cao Sen Miao
44b81cb280
esp_flash: fix host number for passing ci
2021-04-21 13:54:26 +08:00
Mahavir Jain
d41781099a
bootloader_support: fix min. revision error print for < C3-ECO3 revisions
2021-04-21 10:16:46 +05:30
Mahavir Jain
6403a229eb
bootloader: fix print related to min. chip revision
...
Closes https://github.com/espressif/esp-idf/issues/6890
Closes IDFGH-5106
2021-04-21 10:16:46 +05:30
Jiang Jiang Jian
98ad8cc2e3
Merge branch 'bugfix/ftm_fixes_logging_change_v4.3' into 'release/v4.3'
...
wifi/ftm: Move FTM report logging into application and some bugfixes (Backport v4.3)
See merge request espressif/esp-idf!13218
2021-04-21 03:22:59 +00:00
Angus Gratton
afc2f9b5d3
Merge branch 'bugfix/freertos_current_tcb_unpinned_v4.3' into 'release/v4.3'
...
freertos: Fix race condition returning incorrect TCB on unpinned tasks (v4.3)
See merge request espressif/esp-idf!13236
2021-04-20 22:57:47 +00:00
Jiang Jiang Jian
f2e222a8f8
Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry_v4.3' into 'release/v4.3'
...
optimize c3 multi con and add connection retry (backport v4.3)
See merge request espressif/esp-idf!12990
2021-04-20 15:28:30 +00:00
wangjialiang
bdce35c3d7
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 21:24:25 +08:00
Nachiket Kukade
6587ff6110
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 14:00:23 +05:30
Angus Gratton
991d0b8c31
freertos: test: Add stress test for thread local storage
...
(Fails without the fix applied in parent commit.)
2021-04-20 03:51:43 +00:00
Angus Gratton
2290d0385e
freertos: Fix race condition returning incorrect TCB on unpinned tasks
...
Noted as a problem with thread local storage returning a different task's
pointers, but some other were APIs also accessing current task unsafely.
Regression in FreeRTOS 10 update a3c90bf59a
2021-04-20 03:51:43 +00:00
Jiang Jiang Jian
4f04f48a70
Merge branch 'bugfix/update_esp32s2_phylib_v1800_v4.3' into 'release/v4.3'
...
esp_wifi: Update esp32s2 phylib and fix s3 beta2 tsf (backport v4.3)
See merge request espressif/esp-idf!13151
2021-04-20 03:50:17 +00:00
zwj
2a7df3bcd8
optimize C3 multi-connection
2021-04-20 02:53:07 +00:00
zwj
67b09d3db5
add option to enable multi-connection
2021-04-20 02:53:07 +00:00
zwj
5717f8f2fb
update con state when getting connection cancle complete
2021-04-20 02:53:07 +00:00
zwj
fe2f3bfe1e
fix ble 5.0 SMP failed
2021-04-20 02:53:07 +00:00
zwj
e2af75b5e4
add BLE connection establishment retry
2021-04-20 02:53:07 +00:00
ChenJianxing
a17b57b062
fix esp32c3 default mac addr count
2021-04-20 02:38:31 +00:00
Rahul Tank
9ed4e06dd2
esp-idf: Added an option in menuconfig to configure maximum gatt services
...
Currently Max GATT services count cannot be configured externally and
hence user needs to modify code ,everytime the count is to be
modified.
Added an option in menuconfig to provide a way to user to set the count.
Fixes: https://jira.espressif.com:8443/browse/BT-1508
2021-04-19 12:28:49 +05:30
xiehang
ededfb47b9
esp_wifi: fix esp32s2 and esp32s3beta2 issue
...
1.Update libphy.a to V1800 20210413_e7ef680 for esp32s2
2.fix esp32s3beta2 tsf issue
2021-04-19 14:45:08 +08:00
Angus Gratton
2335e5026f
Merge branch 'bugfix/freertos_task_delete_v4.3' into 'release/v4.3'
...
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak (v4.3)
See merge request espressif/esp-idf!13142
2021-04-16 01:46:37 +00:00
David Čermák
2bd0e9371a
Merge branch 'bugfix/mdns_configure_strict_mode_v4.3' into 'release/v4.3'
...
mdns: Fix mdns to correctly answer non-strict queries (+ additional fixes) (v4.3)
See merge request espressif/esp-idf!13121
2021-04-15 12:27:33 +00:00
Jiang Jiang Jian
e9cf9e2978
Merge branch 'bugfix/e8192_and_assert_param_bt1551' into 'release/v4.3'
...
Modify E8192 ELx 200 ELx40 log level to LOGD
See merge request espressif/esp-idf!12977
2021-04-14 16:23:57 +00:00
Jiang Jiang Jian
6463dd9630
Merge branch 'bugfix/esp32c3_deep_sleep_gpio_wakeup_issue_v4.3' into 'release/v4.3'
...
backport v4.3: fix deep sleep gpio wakeup fail issue
See merge request espressif/esp-idf!13140
2021-04-14 16:02:32 +00:00
Jiang Jiang Jian
c9f1b55287
Merge branch 'bugfix/fix_wifi_issue_for_pm_disconnected_v4.3' into 'release/v4.3'
...
esp_wifi: fix some issue about wifi pm (backport to v4.3)
See merge request espressif/esp-idf!13138
2021-04-14 14:36:56 +00:00
xiongweichao
e16ec9a574
modify E8192 ELx200 ELx40 log level to LOGD
2021-04-14 19:33:03 +08:00
Angus Gratton
a7994b1a42
freertos: Add some comments about deleting tasks when using SMP
...
Some cases are not immediately obvious, so document them in comments.
2021-04-14 19:45:08 +10:00
Angus Gratton
c725aa3ec1
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
...
Causes test added in parent commit to pass.
This race happens if the deleted task is running on the other CPU,
and is already spinning in a critical section waiting for xTaskQueueMutex
because it's about to be blocked for a resource.
The "deleted" task would end up blocked, possibly indefinitely, and
never actually deleted or its resources cleaned up by the idle tasks.
Details:
vTaskDelete() adds the target task to the xTasksWaitingTermination list,
expecting it to be yielded off CPU and then cleaned up later. However as soon as
vTaskDelete() releases xTaskQueueMutex, the target task runs and moves itself to the
xDelayedTaskList1. Because interrupts are already disabled on that CPU,
the "yield" to the other CPU sent by the vTaskDelete() comes afterward so
doesn't help.
2021-04-14 19:45:08 +10:00
Angus Gratton
3687ae989b
freertos: Add unit test for deleting task which may be blocking
2021-04-14 19:45:08 +10:00
Li Shuai
16cf160d57
deep sleep: fix sleep gpio wakeup fail issue
2021-04-14 15:40:13 +08:00
ninh
58160d46c6
esp_wifi: fix some issue about wifi pm (backport to v4.3)
2021-04-14 14:44:19 +08:00
ninh
bd03a0e66a
esp_pm: fix an issue and add an interface (backport to v4.3)
2021-04-13 17:16:23 +08:00
David Cermak
eab4e6fedd
mdns: Fixed the ip header TTL to be correctly set to 255
...
Defined in https://tools.ietf.org/html/rfc6762#section-11 : All Multicast DNS responses (including responses sent via unicast)
SHOULD be sent with IP TTL set to 255
2021-04-13 10:36:30 +02:00
David Cermak
03d504dbb2
mdns: Fix parsing answers with questions when instance name not set
...
mdns resolver didn't correctly resolved queries when host name wasn't
assigned. Fixed by allowing processing also if some answer present
(non-strict mode)
Closes https://github.com/espressif/esp-idf/issues/6598
2021-04-13 10:36:30 +02:00
David Cermak
8e8737c128
mdns: Fix the resolver to correctly parse it's own non-strict answers
...
The resolver was able to respond correctly, but would also resolve its
own queries and cause issues with BCT 1.5.2, specifically
* MULTIPLE QUESTIONS - DUPLICATE SUPPRESSION
* MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION
tests failed.
2021-04-13 10:36:30 +02:00
suren.gabrielyan
3a5d9d9431
mdns: Add MDNS_STRICT_MODE config option
...
Strict mode was hardcoded in private header file, but it's useful for
users to enable/disable it depending on the mdns library they are using.
e.g. Avahi might not resolve the non-strict answers.
2021-04-13 10:36:30 +02:00
Michael (XIAO Xufeng)
693aaef039
Merge branch 'bugfix/enable_gpio18_gpio19_esp32c3_v4.3' into 'release/v4.3'
...
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3 (backport v4.3)
See merge request espressif/esp-idf!13112
2021-04-13 07:40:00 +00:00
Angus Gratton
7703fcbd8d
Merge branch 'bugfix/silent_asserts_v4.3' into 'release/v4.3'
...
freertos/lw ip: Support silent assertions (v4.3)
See merge request espressif/esp-idf!13011
2021-04-13 04:30:09 +00:00
Michael (XIAO Xufeng)
9a7deae742
Merge branch 'bugfix/reduce_the_consumption_of_touch_sensor_during_deep_sleep_backport_v4.3' into 'release/v4.3'
...
bugfix: reduce the consumption of touch sensor during deep sleep (backport v4.3)
See merge request espressif/esp-idf!12869
2021-04-13 04:16:01 +00:00
Omar Chebib
84dc42c4b0
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
...
When `DIS_USB_JTAG` eFuse is NOT burned (`False`), it is not possible
to set pins 18 and 19 as GPIOs. This commit solves this by manually
disabling USB JTAG when using pins 18 or 19.
The functions shall use `gpio_hal_iomux_func_sel` instead of
`PIN_FUNC_SELELECT`.
2021-04-12 17:45:06 +08:00
David Čermák
d7e680828a
Merge branch 'feature/seperate_ipv6_function_from_ipv4_v4.3' into 'release/v4.3'
...
Add LWIP_IPV6 macro to strip IPv6 function (backport v4.3)
See merge request espressif/esp-idf!12998
2021-04-12 08:38:45 +00:00
Angus Gratton
da47503c14
Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap_v4.3' into 'release/v4.3'
...
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled (v4.3)
See merge request espressif/esp-idf!13096
2021-04-12 08:18:21 +00:00
yuanjm
4544b709e5
lwip: Fix spelling issues in lwip_debug.c
2021-04-12 05:42:50 +00:00
yuanjm
1ef91c72e2
components: Use CONFIG_LWIP_IPV6 to strip IPv6 function in components
2021-04-12 05:42:50 +00:00
yuanjm
90696dad89
lwip: Add LWIP_IPV6 macro to strip IPv6 function in LWIP component
2021-04-12 05:42:50 +00:00
fuzhibo
e310fb1393
fix: reduce the consumption of touch sensor during deep sleep
2021-04-12 12:24:53 +08:00
Angus Gratton
71de11e89d
Merge branch 'feature/esp32c3_memprot_test3_v4.3' into 'release/v4.3'
...
ESP32C3/ESP32S2: memprot API upgrade and test application (v4.3)
See merge request espressif/esp-idf!12942
2021-04-12 03:29:29 +00:00
Krzysztof Budzynski
bda9e1fda7
Merge branch 'bugfix/doxygen_input_file_bug_v4.3' into 'release/v4.3'
...
docs: fix doxygen compile warnings for doxygen 1.9.1 (v4.3)
See merge request espressif/esp-idf!13075
2021-04-12 00:46:11 +00:00
Marius Vikhammer
97df333a3b
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:46:06 +08:00
Martin Vychodil
6dfff2fdbd
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 10:21:58 +10:00
Angus Gratton
2ed3e8b344
Merge branch 'bugfix/prefetch_invalid_v4.3' into 'release/v4.3'
...
soc: add dummy bytes to ensure instr prefetch always valid (v4.3)
See merge request espressif/esp-idf!12993
2021-04-09 14:49:07 +00:00
Prasad Alatkar
58a7d9f239
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-04-09 14:18:20 +00:00
Angus Gratton
e4dd9053c2
Merge branch 'feature/secure_bootv2_c3_v4.3' into 'release/v4.3'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3 (v4.3)
See merge request espressif/esp-idf!13062
2021-04-09 13:06:46 +00:00
Angus Gratton
ff5e0d0d38
Merge branch 'bugfix/calc_8m_freq_test_v4.3' into 'release/v4.3'
...
rtc: increase CI acceptance range for calc 8M test (v4.3)
See merge request espressif/esp-idf!13085
2021-04-09 13:06:36 +00:00
Angus Gratton
03b0540bc6
esp32s3: Reserve RTC memory in bootloader in the app linker script
2021-04-09 19:15:43 +10:00
Angus Gratton
17e30c9e89
esp32c3: Reserve RTC memory from bootloader in the app linker script
2021-04-09 19:15:43 +10:00
Angus Gratton
00cfcde385
bootloader: Fix "skip validate on exit deep sleep" when "Use RTC fast memory as heap" is enabled
...
RTC region used to store boot partition needs to remain reserved in the app.
2021-04-09 19:15:43 +10:00
Angus Gratton
0839fd08dd
Merge branch 'bugfix/dport_init_min_stack_size_v4.3' into 'release/v4.3'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (backport v4.3)
See merge request espressif/esp-idf!12797
2021-04-09 09:14:25 +00:00
Marius Vikhammer
220f3d2198
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:11 +08:00
Renz Bagaporo
ea4a8d5e4f
esp_hw_support: fix esp_restart crash
...
Closes https://github.com/espressif/esp-idf/issues/6836
2021-04-09 09:30:03 +08:00
Michael (XIAO Xufeng)
e36e433519
Merge branch 'bugfix/fix_uart_handler_call_inline_func_v43' into 'release/v4.3'
...
Bugfix/fix uart handler call inline func (backport v4.3)
See merge request espressif/esp-idf!13003
2021-04-08 09:38:51 +00:00
Michael (XIAO Xufeng)
76ff1724b3
Merge branch 'feature/remove_hspi_macor_on_chips_later_than_s2_v4.3' into 'release/v4.3'
...
spi: remove hspi macor on chips later than s2 (v4.3)
See merge request espressif/esp-idf!12956
2021-04-08 09:37:07 +00:00
Angus Gratton
9f1ae278e0
Merge branch 'feature/vdd_sdio_pd_configurable_v4.3' into 'release/v4.3'
...
system: add VDD_SDIO power domain configuration for light sleep (backport v4.3)
See merge request espressif/esp-idf!13028
2021-04-08 09:27:57 +00:00
KonstantinKondrashov
54908d3a42
esp32c3: Default supported ESP32-C3 Revision ECO3
2021-04-08 15:09:14 +08:00
KonstantinKondrashov
a5e27d73a5
secure_boot_v2: Adds support SB_V2 for ESP32-C3 ECO3
2021-04-08 14:35:35 +08:00
Renz Bagaporo
dbf2a64adb
esp_hw_support: add test for rtc clk compensation
2021-04-07 06:40:28 +08:00
Renz Bagaporo
11970e65a1
newlib: persist rtc clk corrections
2021-04-07 06:40:28 +08:00
Armando
670b057b04
spi: remove HSPI macro on esp32c3 and esp32s3
2021-04-06 15:30:28 +08:00
Omar Chebib
ae3b4819da
esp_system: add VDD_SDIO power domain configuration to documentation
...
Add a warning in `sleep_modes` doc page to explain how to keep
VDD_SDIO power domain ON.
2021-04-06 14:04:22 +08:00
Omar Chebib
b0684e8b3c
esp_system: add VDD_SDIO power domain configuration for light sleep
...
VDD_SDIO power domain can now be configured for light sleep
by the application. It is now possible to keep the power domain
ON during light sleep, keeping the GPIOs connected to it powered.
The power domain will, by default be:
- Kept ON if CONFIG_ESP_SYSTEM_PD_FLASH is not set
- Turned OFF if not set
The application can still force it to be ON by calling
`esp_sleep_pd_config(ESP_PD_DOMAIN_VDDSDIO, ESP_PD_OPTION_ON);`
2021-04-06 14:01:38 +08:00
Angus Gratton
322cba0bf0
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-04-06 02:43:24 +00:00
Angus Gratton
f5c6595cb4
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-04-06 02:43:24 +00:00