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
Angus Gratton
e9e2b68587
freertos: Use the standard assert() function for configASSERT
...
Unless the option for "assert and keep running" is enabled.
This means that silent asserts now work for FreeRTOS, and disabling asserts
now also disables them in FreeRTOS without needing a separate config change.
Related to https://github.com/espressif/esp-idf/issues/6306
2021-04-02 11:07:23 +11:00
Angus Gratton
73d40cb813
lwip: Support silent assertion configuration
...
If silent assert configuration is enabled, LWIP asserts are now 'silent' also.
Also updates KConfig to note that LWIP asserts are also disabled when asserts
are disabled globally (this was already the behaviour, but the config item
suggested otherwise.)
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-04-02 11:03:44 +11:00
Angus Gratton
bf6ddf2557
bootloader: Allow 'silent assert' config to work in bootloader
...
Requires adding the 'newlib' component to the bootloader project, for
platform_include header.
2021-04-02 11:03:21 +11:00
aleks
d761226f36
driver: fix uart handler in iram calls inline uart_ll_is_tx_idle
2021-04-01 09:56:56 +02:00
Marius Vikhammer
5036ec363b
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-04-01 10:23:44 +08:00
Jiang Jiang Jian
c724236623
Merge branch 'bugfix/close_tsen_when_close_phy_v4.3' into 'release/v4.3'
...
esp_wifi: close tsen when close phy (backport to v4.3)
See merge request espressif/esp-idf!12986
2021-04-01 02:17:57 +00:00
Jiang Jiang Jian
f7034e7767
Merge branch 'bugfix/dirent-riscv-header-4.3' into 'release/v4.3'
...
vfs: use sys/dirent.h from newlib (backport v4.3)
See merge request espressif/esp-idf!12752
2021-04-01 02:16:59 +00:00
Jiang Jiang Jian
7e75d7f748
Merge branch 'bugfix/aes_dma_completion_v4.3' into 'release/v4.3'
...
mbedtls: Fix AES dma completion race condition (v4.3)
See merge request espressif/esp-idf!12903
2021-04-01 02:15:30 +00:00
Angus Gratton
e5437afa7f
Merge branch 'bugfix/ds_invalidate_assert_v4.3' into 'release/v4.3'
...
esp32s2 ds: Fix invalidating Digital Signature key from HMAC peripheral if assertions are disabled (v4.3)
See merge request espressif/esp-idf!12905
2021-03-31 22:56:13 +00:00
Jiang Jiang Jian
319eecc793
Merge branch 'doc/c3_system_api_v4.3' into 'release/v4.3'
...
docs: updated system api-reference chapters for C3 (v.4.3)
See merge request espressif/esp-idf!12892
2021-03-31 17:57:41 +00:00
Jiang Jiang Jian
d17923151b
Merge branch 'bugfix/fix_esp32c3_hardware_bug_before_ECO3_v4.3' into 'release/v4.3'
...
backport v4.3: fix c3 hardware bug before ECO3 and optimizate bbpll config:
See merge request espressif/esp-idf!12988
2021-03-31 17:44:01 +00:00
Jiang Jiang Jian
0a0b3bb23f
Merge branch 'bugfix/assert_when_tcp_send_data_for_v4.3' into 'release/v4.3'
...
lw-ip:bugfix for assert when tcp send data(backport4.3)
See merge request espressif/esp-idf!12980
2021-03-31 17:40:43 +00:00
ninh
2a5cf2c3e0
esp_wifi: close tsens when close phy (backport v4.3)
2021-03-31 21:04:29 +08:00
chaijie
0c7f286a87
fix c3 hardware bug before ECO3 and optimizate bbpll config:
...
1. deepsleep poweron reset bug in high temperature before ECO3;
2. brownout reset bug before ECO2;
3. bbpll voltage low bug before ECO3;
4. need xpd iph for xtal before ECO3;
2021-03-31 20:17:54 +08:00
xueyunfei
3e26049a05
bugfix for assert when tcp send data
2021-03-31 16:45:45 +08:00
xiehang
dece3abd9c
esp_wifi: Fix some wifi bugs
...
1.Add beacon timeout event.
2.Update TBTT when rx probe respones after beacon timeout.
3.Fix ESPTouch v2 issues.
2021-03-31 14:21:49 +08:00
Jiang Jiang Jian
1af5bc2f7d
Merge branch 'bugfix/esp32c3_light_sleep_gpio_reset_issue_v4.3' into 'release/v4.3'
...
backport v4.3: add software workaround for esp32c3 gpio reset issue
See merge request espressif/esp-idf!12751
2021-03-31 03:12:09 +00:00
Michael (XIAO Xufeng)
1790aa6bc6
Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue_4.3' into 'release/v4.3'
...
spi: spi slv dual boad test slv fail issue (4.3)
See merge request espressif/esp-idf!12958
2021-03-30 17:16:33 +00:00
Michael (XIAO Xufeng)
b75a5fd03a
Merge branch 'bugfix/adc_power_issue_4.3' into 'release/v4.3'
...
adc: fix adc power issue (v4.3)
See merge request espressif/esp-idf!12921
2021-03-30 17:15:09 +00:00
Jiang Jiang Jian
cbf2858450
Merge branch 'bugfix/support_esp32c3eco3_v4.3' into 'release/v4.3'
...
Bugfix/support esp32c3eco3 v4.3
See merge request espressif/esp-idf!12931
2021-03-30 15:15:06 +00:00
Michael (XIAO Xufeng)
868c96c59f
Merge branch 'bugfix/flash_suspend_restriction_v4.3' into 'release/v4.3'
...
spi_flash: make suspend off by default and add more information for using suspend(backport v4.3)
See merge request espressif/esp-idf!12932
2021-03-30 11:00:53 +00:00
Armando
62787fc277
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3
2021-03-30 17:11:23 +08:00
alex.li
9e97133481
Support new section addr and wifi lib for ESP32C3-ECO3.
2021-03-30 16:05:13 +08:00
Marius Vikhammer
c9087c205b
docs: updated system api-reference chapters for C3
2021-03-30 14:28:02 +08:00
Jiang Jiang Jian
2a715c811b
Merge branch 'bugfix/extern_c_decl_4.3' into 'release/v4.3'
...
[cxx]: fixed extern "C" declarations (backport v4.3)
See merge request espressif/esp-idf!12741
2021-03-30 03:09:46 +00:00
Li Shuai
be56456add
light sleep: add software workaround for esp32c3 gpio reset issue
2021-03-29 15:06:23 +08:00
Jiang Jiang Jian
413bbe4de4
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.3' into 'release/v4.3'
...
component/bt: fix Spelling mistakes(release v4.3)
See merge request espressif/esp-idf!12815
2021-03-29 05:07:57 +00:00
Cao Sen Miao
4906779d50
spi_flash: make suspend off by default and add more information for using suspend
2021-03-29 12:02:43 +08:00
Marius Vikhammer
7d5d57ec03
esptool: update to support flashing esp32c3 eco 3
2021-03-26 18:42:41 +08:00
Angus Gratton
67a1858bb1
esp32c3: Add support for building image with a minimum target revision
2021-03-26 18:29:53 +08:00
ronghulin
fb9de62f74
bugfix: keep wakeup state during csa
2021-03-26 18:29:10 +08:00
Armando
f48346f22f
adc: apply adc power API to adc driver
2021-03-26 17:41:20 +08:00
Jiang Jiang Jian
2d26c24e3a
Merge branch 'bugfix/clear_interrupt_in_touch_sensor_initialization_backport_v4.3' into 'release/v4.3'
...
fix: clear interrupt in touch sensor initialization (backport v4.3)
See merge request espressif/esp-idf!12758
2021-03-26 05:55:18 +00:00
Jiang Jiang Jian
2792c333bc
Merge branch 'bugfix/freemodbus_fix_mbm_event_processing_v43' into 'release/v4.3'
...
freemodbuss: fix event processing after merge (backport v4.3)
See merge request espressif/esp-idf!12821
2021-03-26 05:52:59 +00:00
Jiang Jiang Jian
7c5e920c37
Merge branch 'feature/temp_v4.3' into 'release/v4.3'
...
temp_sensor: add calibration for esp32c3(backport v4.3)
See merge request espressif/esp-idf!12703
2021-03-26 05:51:47 +00:00
Jiang Jiang Jian
d4ac30a978
Merge branch 'fix/dont_disable_uart_dl_mode_by_default_v4.3' into 'release/v4.3'
...
bootloader/ ESP32_ECO3: Do not disable UART download mode by default (v4.3)
See merge request espressif/esp-idf!12907
2021-03-26 05:50:48 +00:00
Jiang Jiang Jian
2596c7e2cc
Merge branch 'nimble/mbedtls_aes_free_dma_v4.3' into 'release/v4.3'
...
NimBLE: Free AES context after use by calling `mbedtls_free_aes` (Needed for C3) (v4.3)
See merge request espressif/esp-idf!12917
2021-03-26 05:47:50 +00:00
Armando
8fe99aff96
adc: add implementation of missed public API
...
Added ``adc1_pad_get_io_num``, ``adc2_pad_get_io_num`` and
``adc_vref_to_gpio``.
2021-03-26 13:26:19 +08:00
Armando
a6ed4611a2
adc: update lock scope on esp32c3
2021-03-26 13:26:19 +08:00
Armando
1509264f2e
adc: add pm_lock to adc driver on esp32c3
2021-03-26 13:26:19 +08:00
Armando
271b84f5b6
adc: update adc header files on c3
2021-03-26 13:26:19 +08:00
Armando
f1be501271
adc: refactor adc single read api on esp32c3
2021-03-26 13:26:19 +08:00
Armando
ea20966c29
adc: seperate hal layer and driver layer
2021-03-26 13:26:18 +08:00
Armando
f25c996b06
adc: remove unused functions on esp32c3
2021-03-26 13:26:18 +08:00
Jiang Jiang Jian
745bb2123f
Merge branch 'bugfix/btdm_add_controller_support_RPA_4.3' into 'release/v4.3'
...
Add option to enable/disable esp32 controller RPA (backport v4.3)
See merge request espressif/esp-idf!12886
2021-03-26 04:21:04 +00:00
Jiang Jiang Jian
143bb1edf4
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_v4.3' into 'release/v4.3'
...
fix multi-connection pair failed (backport v4.3)
See merge request espressif/esp-idf!12885
2021-03-26 04:19:28 +00:00
Jiang Jiang Jian
f1737a630d
Merge branch 'bugfix/btdm_synchronize_multiple_branch_of_bt_lib_v4.3' into 'release/v4.3'
...
Bugfix/btdm synchronize multiple branch of bt lib v4.3
See merge request espressif/esp-idf!12872
2021-03-26 04:15:52 +00:00
Prasad Alatkar
a9d1d44d4d
NimBLE: Free AES context after use by calling mbedtls_free_aes
...
- Update NimBLE submodule to resolve issue observed while using mbedTLS as
crypto stack during security exchanges.
Closes BT-1435, BT-1434
2021-03-25 18:43:49 +05:30
baohongde
72b27f1782
components/bt: Synchronize multiple branch of bt lib
2021-03-25 15:58:42 +08:00
baohongde
8e482c9423
components/bt: Fix assert without sw coexist enabled
2021-03-25 15:58:42 +08:00
baohongde
1fb45977fa
component/coex: Decouple Wi-Fi and bluetooth with coexist to reduce binary file size
2021-03-25 15:58:42 +08:00
“YangZhao”
257728feab
Fix the bug of modem sleep which may lead to the crash issue "assert(-218959118,0)"
2021-03-25 15:58:22 +08:00
KonstantinKondrashov
26d362040e
secure_boot/SIGNED_ON_UPDATE_NO_SECURE_BOOT: Only the first position of signature blocks is used to verify any update
2021-03-25 15:40:24 +08:00
Aditya Patwardhan
f6a794cf51
bootloader/ ESP32_ECO3: Do not disable UART download mode by default
2021-03-25 10:32:37 +05:30
Angus Gratton
974db3016b
esp32s2 ds: Fix invalidating Digital Signature key from HMAC peripheral if assertions are disabled
2021-03-25 15:34:26 +11:00
Angus Gratton
9c4c377f2d
mbedtls tests: Add optional debug log output to AES stream tests
2021-03-25 15:28:45 +11:00
Angus Gratton
e6b8bc6ecb
mbedtls aes dma: Fix bug where DMA would complete when the first output descriptor was done, not the last
2021-03-25 15:28:45 +11:00
Mahavir Jain
718f296587
Merge branch 'bugfix/revert_esp_log_issue_4.3' into 'release/v4.3'
...
efuse: revert ESP_LOG to ESP_EARLY_LOG in src/esp_efuse_utility.c (4.3)
See merge request espressif/esp-idf!12794
2021-03-25 03:56:02 +00:00
David Čermák
6c74618bff
Merge branch 'bugfix/fix_wrong_bit_order_of_ksz8041_v4.3' into 'release/v4.3'
...
eth_phy: fix wrong register bit order in ksz8041
See merge request espressif/esp-idf!12735
2021-03-24 18:08:37 +00:00
zwj
f2ca74b139
add option to enable/disable esp32 controller RPA
2021-03-24 16:45:58 +08:00
zwj
ac8ea9e9e5
fix multi-connection pair failed
2021-03-24 16:44:45 +08:00
wangmengyang
cc8ef3660a
components/bt: shorten some log messages for bluedroid
2021-03-24 03:38:56 +00:00
wangmengyang
67402f035f
component/bt: [ESP32S3] fix missing IRAM_ATTR for function in libbtdm_app.a
2021-03-24 03:38:56 +00:00
wangmengyang
7dd5568cb7
fixed incorrect Tx power mappings for ESP32C3 chip
2021-03-24 03:38:56 +00:00
Jiang Jiang Jian
f00d7ee9d0
Merge branch 'bugfix/fix_wdt_timeout_when_enable_rf_v4.3' into 'release/v4.3'
...
esp_wifi: fix wdt timeout when enable rf (backport v4.3)
See merge request espressif/esp-idf!12833
2021-03-23 16:32:29 +00:00
XieWenxiang
dba5597edf
component/bt: Modify some ambiguous descriptions(release v4.3)
2021-03-23 23:02:18 +08:00
ninh
4f8d784753
esp_wifi: fix wdt timeout when enable rf
2021-03-23 10:26:56 +08:00
Jakob Hasse
a697377871
[doc]: elaborated nvs encryption comments in nvs
2021-03-22 13:02:35 +00:00
negativekelvin
6ceee165b5
Fix nvs_flash_generate_keys
...
Merges https://github.com/espressif/esp-idf/pull/6478
2021-03-22 13:02:35 +00:00
Mahavir Jain
8ec0ffe751
Merge branch 'bugfix/fix_rtc_memory_region_name_v4.3' into 'release/v4.3'
...
esp32c3: correct name for RTC memory region in heap (v4.3)
See merge request espressif/esp-idf!12820
2021-03-22 12:54:07 +00:00
Jiang Jiang Jian
5d0ce8b52f
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.3' into 'release/v4.3'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled. (v4.3)
See merge request espressif/esp-idf!12495
2021-03-22 12:52:37 +00:00
Jiang Jiang Jian
2313683b58
Merge branch 'bugfix/fix_l2cap_repeat_cid_v4.3' into 'release/v4.3'
...
Bugfix/Fix L2CAP Repeat Cid[backport v4.3]
See merge request espressif/esp-idf!12613
2021-03-22 12:49:03 +00:00
Jiang Jiang Jian
c41822dc7c
Merge branch 'mesh/support_for_chain_topology_backport_v4.3' into 'release/v4.3'
...
mesh: support for chain topology (backport v4.3)
See merge request espressif/esp-idf!12805
2021-03-22 12:48:41 +00:00
Jiang Jiang Jian
21909d7823
Merge branch 'mesh/ps_duty_signaling_backport_v4.3' into 'release/v4.3'
...
mesh/ps: network duty signaling (backport v4.3)
See merge request espressif/esp-idf!12804
2021-03-22 12:47:53 +00:00
Jiang Jiang Jian
651a939643
Merge branch 'bugfix/spi_flash_compatible_with_rom_c3_and_s3_v4.3' into 'release/v4.3'
...
spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM (backport v4.3)
See merge request espressif/esp-idf!12784
2021-03-22 12:47:05 +00:00
Jiang Jiang Jian
3bf9d389ef
Merge branch 'bufix/ag_deep_copy_crash_v_4_3' into 'release/v4.3'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12791
2021-03-22 12:46:18 +00:00
aleks
6238c49479
freemodbuss: fix event processing after merge
2021-03-19 13:59:54 +01:00
shenjun
fe1126cccb
mesh/ps: network duty signaling
2021-03-19 20:58:00 +08:00
Mahavir Jain
4725249385
esp32c3: correct name for RTC memory region in heap
2021-03-19 17:59:12 +05:30
jiangguangming
a643ea9432
spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM
2021-03-19 16:37:34 +08:00
Armando
d6f76f8a5f
efuse: revert ESP_LOG to ESP_EARLY_LOG in src/esp_efuse_utility.c
...
Closes https://github.com/espressif/esp-idf/issues/6660
2021-03-19 13:25:32 +08:00
shenjun
1d778c941c
mesh: support for chain topology
2021-03-19 11:25:57 +08:00
xiongweichao
87b613fd2f
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:29:05 +08:00
Angus Gratton
502a819757
secure boot v2: Fix issue checking multiple signature blocks on OTA update
2021-03-17 17:08:59 +08:00
Angus Gratton
a479ee30c9
secure boot: Add boot check for SBV2 "check app signature on update"
...
As this mode uses the public keys attached to the existing app's signatures to
verify the next app, checking that a signature block is found on boot prevents
the possibility of deploying a non-updatable device from the factory.
2021-03-17 17:08:59 +08:00
KonstantinKondrashov
46e85ed021
secure_boot: Secure Boot V2 verify app signature on update (without Secure boot)
...
- ESP32 ECO3, ESP32-S2/C3/S3
2021-03-17 17:08:59 +08:00
KonstantinKondrashov
0862fe815b
secure_boot: Adds empty esp_secure_boot_init_checks
...
There is no checks
2021-03-17 17:09:00 +08:00
fuzhibo
918875424e
fix: clear interrupt in touch sensor initialization
2021-03-16 11:37:41 +08:00
Jiacheng Guo
5490c0a243
vfs: use sys/dirent.h from newlib
...
The dirent.h shipped with the risc-v compiler lacks `extern "C"`
declartion and causes linkage declartion conflict when included in C++
files. Use the dirent.h from newlib only to avoid this issue.
(cherry picked from commit b14830c5c0
)
2021-03-16 10:33:31 +08:00
William Ferguson
a71d9cc466
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6634
Closes https://github.com/espressif/esp-idf/issues/6633
2021-03-15 17:48:23 +08:00
morris
c75a8b11bb
eth_phy: fix wrong register bit order in ksz8041
2021-03-15 13:12:17 +08:00
liqigan
9c884b3ba9
fix l2cap repeat cid
2021-03-12 15:53:48 +08:00
Angus Gratton
9a2d251912
Merge branch 'feature/coredump_refactor_riscv_support_v4.3' into 'release/v4.3'
...
espcoredump: code refactoring and add support for RISC-V implementation (backport v4.3)
See merge request espressif/esp-idf!12680
2021-03-12 07:47:02 +00:00
Jiang Jiang Jian
3b9af23290
Merge branch 'component_bt/optimize_spp_stop_server_v4.3' into 'release/v4.3'
...
component_bt/Optimize SPP Stop Server API[backport v4.3]
See merge request espressif/esp-idf!12615
2021-03-12 07:45:05 +00:00
Jiang Jiang Jian
ff12b50e45
Merge branch 'feature/wifi_support_sta_sleep_at_disconnected_v4.3' into 'release/v4.3'
...
esp_wifi: wifi support sta sleep at disconnected (backport v4.3)
See merge request espressif/esp-idf!12720
2021-03-12 07:43:46 +00:00
Jiang Jiang Jian
f6336516d1
Merge branch 'bugfix/fix_ble_connect_evt_report_remote_addr_err_v4.3' into 'release/v4.3'
...
fix ble connection event report remote address error (backport v4.3)
See merge request espressif/esp-idf!12717
2021-03-12 05:59:25 +00:00
Angus Gratton
4d80dd1238
Merge branch 'bugfix/c++_usage_esp_core_dump_h_v4.3' into 'release/v4.3'
...
Fixed c++ include usage for esp_core_dump.h (backport v4.3)
See merge request espressif/esp-idf!12677
2021-03-12 04:01:42 +00:00
zwj
8a2155f95e
fix ble connection event report remote address error
2021-03-12 11:44:13 +08:00
ninh
367190deaf
esp_wifi: support sta to sleep at disconnected status
2021-03-12 00:22:38 +08:00
Jiang Jiang Jian
dbb632fe34
Merge branch 'bugfix/fix_smartconfig_issue_v4.3' into 'release/v4.3'
...
esp_wifi: Fix the second distribution network failure of smartconfig (backport v4.3)
See merge request espressif/esp-idf!12685
2021-03-11 14:28:52 +00:00
Michael (XIAO Xufeng)
1329747dc1
Merge branch 'bugfix/flash_s3_v4.3' into 'release/v4.3'
...
spi_flash: remove useless dummy and make rom compatible on esp32s3(backport v4.3)
See merge request espressif/esp-idf!12704
2021-03-11 13:38:52 +00:00
Angus Gratton
82ffb33085
Merge branch 'feature/crypto_reserve_gdma_ch_v4.3' into 'release/v4.3'
...
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA (v4.3)
See merge request espressif/esp-idf!12676
2021-03-11 10:50:09 +00:00
Krzysztof Budzynski
d42958439d
Merge branch 'doc/c3_api_ref_update_v4.3' into 'release/v4.3'
...
docs: update api-reference chapters for C3 (v4.3)
See merge request espressif/esp-idf!12583
2021-03-11 09:36:44 +00:00
Li Shuai
37946ab300
deep sleep: power down wifi and bt during deep sleep
2021-03-11 07:32:30 +00:00
Li Shuai
2b7a3f6d85
light sleep: some default parameters optimization
2021-03-11 07:32:30 +00:00
xiehang
60642e580c
esp_wifi: Fix the second distribution network failure of ESPTouch v2
2021-03-11 07:32:30 +00:00
Jiang Jiang Jian
4235e80008
Merge branch 'bugfix/backport_bugfixs_to_release_v4.3' into 'release/v4.3'
...
Bugfix/backport bugfixs to release v4.3
See merge request espressif/esp-idf!12682
2021-03-11 07:15:00 +00:00
Angus Gratton
a8e0989648
Merge branch 'feature/re-enable_suspend_test_esp32c3_v4.3' into 'release/v4.3'
...
freertos: Workaround delay between interrupt request and trigger on RISC-V (backport v4.3)
See merge request espressif/esp-idf!12679
2021-03-11 07:12:56 +00:00
Cao Sen Miao
268787c5fb
spi_flash: remove useless dummy and make rom compatible on esp32s3
2021-03-11 14:31:27 +08:00
Cao Sen Miao
d92ac450a2
temp_sensor: add calibration for esp32c3
2021-03-11 14:25:18 +08:00
Angus Gratton
233f3f80e5
Merge branch 'feature/skip_validate_v4.3' into 'release/v4.3'
...
bootloader: Add config options to skip validation of app for minimum boot time (v4.3)
See merge request espressif/esp-idf!12683
2021-03-11 05:47:43 +00:00
Chinmay Chhajed
d01efe4b8c
Fix for C2H flow control param check when only BLE mode is configured.
2021-03-11 12:04:01 +08:00
Michael (XIAO Xufeng)
e48935d187
Merge branch 'bugfix/uart_baud_c3_s3_v4.3' into 'release/v4.3'
...
uart: fixed incorrect baudrate on C3 and S3 when target is too slow (v4.3)
See merge request espressif/esp-idf!12681
2021-03-10 17:10:13 +00:00
Jiang Jiang Jian
12bbd1f051
Merge branch 'bugfix/fix_some_wifi_bugs_0309_v4.3' into 'release/v4.3'
...
esp_wifi: Fix some Wi-Fi bugs 0309 (backport v4.3)
See merge request espressif/esp-idf!12670
2021-03-10 11:07:20 +00:00
Angus Gratton
0305d13467
bootloader: Add config options to skip validation of app for minimum boot time
2021-03-10 19:08:47 +11:00
baohongde
e6ace495b4
Fix issues during light sleep and DFS
2021-03-10 14:14:49 +08:00
baohongde
b449909b35
Fix controller task watchdog in Wi-Fi test
2021-03-10 14:14:29 +08:00
gengyuchao
0253d825e9
Fix IRAM_ATTR missing
2021-03-10 14:14:04 +08:00
aleks
32b0836485
driver: esp32s3 fix UART driver
...
Fix set UART2 instance to correct base address (esp32s3 has non standard base periph address)
2021-03-10 13:41:10 +08:00
Michael (XIAO Xufeng)
7dca6b7428
uart: fixed incorrect baudrate on C3 and S3 when target is too slow
...
The integer part of the divider is only 12-bit now. We used prescaler to get low frequency instead.
2021-03-10 13:41:10 +08:00
Michael (XIAO Xufeng)
b180c2a146
Merge branch 'bugfix/touch_element_callback_para_v4.3' into 'release/v4.3'
...
touch_element: fix event callback parameter type, change it into pointer (backport v4.3)
See merge request espressif/esp-idf!12629
2021-03-10 05:26:50 +00:00
Omar Chebib
113bf479a4
espcoredump: code refactoring and add support for RISC-V implemetation
...
This commit includes the refactoring of the core dump feature. Thanks to
this refactoring, it is easier to integrate the support of RISC-V
architecture for this feature.
Fixes ESP-1758
2021-03-10 12:19:00 +08:00
Omar Chebib
774f010196
freertos: Fix delay between interrupt request and trigger on RISC-V
...
NOP instructions have been added in order to prevent the code
from executing code it shouldn't execute. This is due to a delay
between the moment an interrupt is requested and the moment it
is fired. It only happens on RISC-V SoC.
2021-03-10 12:14:21 +08:00
0xFEEDC0DE64
d36c72fba0
Fixed c++ include usage for esp_core_dump.h
2021-03-10 12:04:42 +08:00
Marius Vikhammer
1c8fd4041e
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
...
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.
Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-10 09:40:35 +08:00
Jiang Jiang Jian
d4263c2558
Merge branch 'bugfix/btdm_crash_when_esp_restart_v4.3' into 'release/v4.3'
...
components/bt: Fix crash in Bluetooth when esp_restart
See merge request espressif/esp-idf!12641
2021-03-09 17:30:45 +00:00
xiehang
ea49545269
esp_wifi: Fix some Wi-Fi bugs 0309
...
1. Fix the issue that the parameters obtained from RAM cannot be saved to NVS
2. Modify not to store the default value in NVS
3. Fixed issue with hidden AP scans after connecting AP.
4. Fix watchdog issue when receiving action frame.
5. Fixed issue of reason code change from 15 to 204 when provide wrong password
6. Fix set config return value error
7. Fix ampdu age timer memory leak
2021-03-09 20:30:13 +08:00
Michael (XIAO Xufeng)
9ca05c17ae
Merge branch 'bugfix/ota_simple_backport_v4.3' into 'release/v4.3'
...
ota: fix ota with flash encryption(backport v4.3)
See merge request espressif/esp-idf!12639
2021-03-09 09:42:57 +00:00
baohongde
1e77586120
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-05 20:19:18 +08:00
Cao Sen Miao
1ea548ecb3
ota: fix ota with flash encryption
2021-03-05 18:39:32 +08:00
Aditya Patwardhan
962ea61d53
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:04:45 +05:30
Aditya Patwardhan
d61ee580d5
esp_tls: Fix misplaced paranthesis in esp_tls_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:04:45 +05:30
Aditya Patwardhan
947e445e02
Fix esp_tls: Prevent freeing of global ca store after each connection
...
when dynamic ssl buffers are enabled
2021-03-05 09:53:19 +05:30
Kang Zuo Ling
1821fd766b
touch_element: fix event callback parameter type, change it into pointer
2021-03-05 11:45:47 +08:00
liqigan
58c9a2eaba
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:16:44 +08:00
Marius Vikhammer
fb82bdb9da
docs: update api-reference chapters for C3
...
Checked and updated the following chapters:
* api-reference/network
* api-reference/protocols
* api-reference/provisioning
* api-reference/storage
* api-reference/peripherals/ds
* api-reference/peripherals/hmac
* api-reference/peripherals/secure_element
2021-03-02 15:00:56 +08:00
Shubham Kulkarni
20b25a9667
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-03-01 05:33:26 +00:00
Angus Gratton
1d9d444c07
Merge branch 'bugfix/deepsleep_disable_brownout_s2_v4.3' into 'release/v4.3'
...
deep_sleep: on S2 disable the brown out detector before deep sleeping (v4.3)
See merge request espressif/esp-idf!12499
2021-03-01 03:50:20 +00:00
Michael (XIAO Xufeng)
8ceb462993
Merge branch 'feature/enable_gpio19_esp32c3_v4.3' into 'release/v4.3'
...
gpio: enable GPIO19 on ESP32C3 boards (backport v4.3)
See merge request espressif/esp-idf!12542
2021-02-27 05:25:42 +00:00
Michael (XIAO Xufeng)
6accffecea
Merge branch 'bugfix/fix_spi_slv_hd_dma_reset_issue_4.3' into 'release/v4.3'
...
spi_slave_hd: fix spi slv hd dma reset issue (4.3)
See merge request espressif/esp-idf!12513
2021-02-27 04:12:42 +00:00
Michael (XIAO Xufeng)
de79e482c9
Merge branch 'feaature/deep_sleep_wakeup_backport' into 'release/v4.3'
...
esp_system: support gpio wakeup from deep sleep on esp32c3(backport v4.3)
See merge request espressif/esp-idf!12537
2021-02-26 14:49:19 +00:00
aditi_lonkar
6638b81f8e
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:00:55 +05:30
Jiang Jiang Jian
d92b647199
Merge branch 'bugfix/fix_some_wifi_bugs_0226_v4.3' into 'release/v4.3'
...
esp_wifi: fix some wifi bugs (backport v4.3)
See merge request espressif/esp-idf!12538
2021-02-26 12:52:39 +00:00
zwj
aa652adc12
fix crash caused by spp pairing cancel
2021-02-26 19:17:51 +08:00
Omar Chebib
5795075460
gpio: enable GPIO19 on ESP32C3 boards
2021-02-26 17:54:36 +08:00
Cao Sen Miao
198d350fe5
esp_system: support gpio wakeup from deep sleep on esp32c3
2021-02-26 17:08:22 +08:00
Michael (XIAO Xufeng)
24f3341a2d
Merge branch 'docs/spi_flash_auto_suspend_v4.3' into 'release/v4.3'
...
spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND (v4.3)
See merge request espressif/esp-idf!12512
2021-02-26 08:53:48 +00:00
zhangyanjiao
5a429f644f
esp_wifi: update wifi lib
2021-02-26 16:36:16 +08:00
Xia Xiaotian
9aae8e0ce3
esp_wifi: synchronize Wi-Fi adapter between different chips
...
Support preferring to allocate Wi-Fi memory from PSRAM on ESP32-S3
Support Wi-Fi TX cache buffer on ESP32-S3
2021-02-26 16:34:23 +08:00
Xia Xiaotian
e5e47ebae6
esp_wifi: store PHY digital registers before disabling PHY and load
...
them after enabling PHY
2021-02-26 16:34:10 +08:00
ChenJianxing
436c3c289e
esp_wifi: optimization wifi rate
...
1.support disable 11b rate
2.support config espnow rate
3.fix sta negotiate phymode issue
4.update ftm rate
2021-02-26 16:32:09 +08:00
dongyou
2aa6aa8b88
change rom function for esp32c3 to fix eb lldesc size issue
2021-02-26 16:31:12 +08:00
Armando
3e9cd49d32
spi_slv_hd: add hal_trans_finish comments for clarifying risk
2021-02-26 10:39:12 +08:00
Armando
2c1845995b
spi_slave_hd: refactor the hal append api to remove the spinlock
2021-02-26 10:39:10 +08:00
Armando
41bee7831f
adc: apply gdma api to adc on esp32c3
2021-02-25 18:53:32 +08:00
Michael (XIAO Xufeng)
bd1b4dbda1
Merge branch 'feature/apply_gdma_new_channel_api_to_spi_4.3' into 'release/v4.3'
...
spi: apply gdma new channel api to spi (v4.3)
See merge request espressif/esp-idf!12501
2021-02-25 10:36:09 +00:00
Michael (XIAO Xufeng)
1de12526eb
spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND
2021-02-25 18:08:23 +08:00
Michael (XIAO Xufeng)
f0f2799946
Merge branch 'bugfix/gdma_pair_uninstall_concurrency_issue_v4.3' into 'release/v4.3'
...
gdma: fix wrong level of {group,pair} reference count (v4.3)
See merge request espressif/esp-idf!12488
2021-02-25 09:11:58 +00:00
Armando
8a2f91b48a
spi: add enum for spi dma channels
2021-02-25 11:03:18 +08:00
Armando
ed6fb33726
spi: remove hard-coded DMA chan in soc_caps.h
2021-02-25 11:03:07 +08:00
Armando
66d10f0eec
spi: refactor spi_common dma allocator
2021-02-25 11:01:33 +08:00
Armando
97f248d22c
spi: update unit tests to spi gdma allocator
2021-02-25 11:01:27 +08:00
Armando
ffc4ff5a8c
spi: apply gdma allocator to SPI
2021-02-25 11:01:16 +08:00
Armando
326d76ebdf
spi: add dma channel auto-alloc feature on esp32
2021-02-25 11:01:06 +08:00
Marius Vikhammer
c6ed522d60
deep_sleep: on S2 disable the brown out detector before deep sleeping
...
On S2 the brown out detector would occasionally trigger erroneously during deep sleep.
Disable it before sleeping to circumvent this issue.
Closes https://github.com/espressif/esp-idf/issues/6179
2021-02-25 10:53:06 +08:00
Angus Gratton
8e187e7157
Merge branch 'bugfix/c3_unit_test_cleanup_v4.3' into 'release/v4.3'
...
System: C3 shared stack watchpoint & unit test cleanups (v4.3)
See merge request espressif/esp-idf!12418
2021-02-24 22:51:11 +00:00
morris
19f18aaa11
gdma: fix wrong level of {group,pair} ref count
2021-02-24 17:46:23 +08:00
morris
626a861115
async_mcp: clean eof flag when prepare rx descriptors
2021-02-24 17:46:23 +08:00
Marius Vikhammer
3d9523724d
freertos: add API for getting tick rate on C3
2021-02-23 12:14:11 +08:00
Marius Vikhammer
360e7c4d51
system: enable shared stack watchpoint
...
Enable shared stack watchpoint for overflow detection
Enable unit tests:
* "test printf using shared buffer stack" for C3
* "Test vTaskDelayUntil" for S2
* "UART can do poll()" for C3
2021-02-19 16:59:29 +08:00
Marius Vikhammer
9083ef97e5
spi_flash: disable mmap into instr space unit test for C3
...
On C3 the cache is programmatically split between Icache and dcache and with the default setup we dont leave a lot pages
available for additional mmaps into instruction space. Disabling this test for now since any hypothetical use case for this
is no longer supported "out of the box"
2021-02-19 16:58:47 +08:00
aleks
321ee21c4c
freemodbus: fix mb controller parity propagation issues
...
Closes https://github.com/espressif/esp-idf/issues/6377
2021-02-16 10:47:43 +01:00
Angus Gratton
4ce47b0394
Merge branch 'feature/master_build_c3_example' into 'master'
...
CI: enable example builds for C3
Closes IDF-2364
See merge request espressif/esp-idf!11968
2021-02-10 11:54:26 +08:00
Michael (XIAO Xufeng)
2c0962f727
Merge branch 'feature/spi_flash_auto_suspend_default_on_c3' into 'master'
...
spi_flash: make the auto_suspend default y on C3
See merge request espressif/esp-idf!12233
2021-02-09 19:50:48 +08:00
Island
b88ec36635
Merge branch 'bugfix/ignore_null_valued_comb_key' into 'master'
...
component/bt: Added check for NULL valued combination key.
See merge request espressif/esp-idf!12239
2021-02-09 19:49:25 +08:00
Island
3f821b1d65
Merge branch 'bugfix/ble_mesh_server_model_deinit' into 'master'
...
ble_mesh: stack: Fix deinit server models with no matching id
See merge request espressif/esp-idf!12312
2021-02-09 16:26:38 +08:00
Chinmay Chhajed
368ba6b077
component/bt: Added check for NULL valued combination key.
2021-02-09 12:09:32 +05:30
Chinmay Chhajed
fb3a382fe4
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-09 12:09:15 +05:30
Chinmay Chhajed
5596f37af1
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-09 12:09:15 +05:30
Angus Gratton
2c39010b3b
Merge branch 'bugfix/anti_rollback_without_test_app' into 'master'
...
bootloader: Anti-rollback mode doesn't run test_app
See merge request espressif/esp-idf!12225
2021-02-09 14:16:51 +08:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Angus Gratton
1de3f00012
Merge branch 'bugfix/SECURE_DISABLE_ROM_DL_MODE_does_not_work' into 'master'
...
bootloader: SECURE_ENABLE_SECURE_ROM_DL_MODE cannot be y when SECURE_DISABLE_ROM_DL_MODE=y
See merge request espressif/esp-idf!12288
2021-02-09 11:09:09 +08:00
Angus Gratton
49c442b12f
Merge branch 'feature/efuse_update_description' into 'master'
...
efuse: Updates description of uart_print_control efuse
Closes IDF-2705
See merge request espressif/esp-idf!12236
2021-02-09 11:02:26 +08:00
Xia Xiaotian
b71481093a
esp_wifi: fix some Wi-Fi scan and coexist bugs
...
1. Fix the bug that Wi-Fi performance is impacted by BLE starting scan for a while in some scenarios on ESP32-C3.
2. Fix the bug that Wi-Fi performance is impacted when Bluetooth change state for a while in some scenarios on ESP32-C3.
3. Fix the bug that BLE performance is impacted by Wi-Fi scan on ESP32-C3.
4. Fix the bug that Wi-Fi scan fails when BLE is scanning on ESP32-C3.
5. Fix Wi-Fi ACK and CTS rate when low rate is disabled on ESP32-C3.
2021-02-08 21:20:09 +08:00
wangmengyang
44dd496bea
update esp32c3 btbb lib 21-02-08 and set coexist state when in scan(initiating) mode
2021-02-08 21:19:59 +08:00
KonstantinKondrashov
43ebb8ea61
efuse: Updates description of uart_print_control efuse
2021-02-08 18:02:55 +08:00
zwj
52909b69b7
fix esp32c3 can't enable adv flow control func
2021-02-08 16:33:20 +08:00
Nachiket Kukade
f9ff3da5d4
wpa_supplicant: Fix error handling in DPP Action Rx
...
1. Fix error handling while receiving DPP Action frames
2. Update wifi lib to avoid forwarding Public action frames
with NULL bss
2021-02-07 23:23:34 +08:00
lly
d3cc004803
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-07 11:12:25 +08:00
Jiang Jiang Jian
d1cc9e98b7
Merge branch 'bugfix/fix_wifi_connect_fail' into 'master'
...
WiFi: fix the bug that wifi connect fail for ESP32C3
See merge request espressif/esp-idf!12308
2021-02-06 02:35:43 +08:00
Jack
2859c7ebd1
fix the bug that wifi connect fail
2021-02-06 00:12:37 +08:00
Michael (XIAO Xufeng)
747ac00f9b
Merge branch 'bugfix/flash_encyption_80Mflash_40Mram' into 'master'
...
flash_encryption/psram: fixed the issue that block when flash_encryption_write
See merge request espressif/esp-idf!12177
2021-02-05 22:00:26 +08:00
Cao Sen Miao
c1b41ece32
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-02-05 20:10:42 +08:00
Michael (XIAO Xufeng)
423a5458dc
Merge branch 'bugfix/support_new_BYflash_chip_boot' into 'master'
...
spi_flash: add external flash support on esp32c3
Closes IDF-2650, IDF-2651, and IDF-2399
See merge request espressif/esp-idf!12121
2021-02-05 20:03:24 +08:00
Jiang Jiang Jian
17257b63ed
Merge branch 'bugfix/modify_coexist_options' into 'master'
...
modify Bluetooth coexistence options on ESP32C3
See merge request espressif/esp-idf!12244
2021-02-05 19:45:40 +08:00
Yann Pomarède
ee400f8b68
bootloader: SECURE_ENABLE_SECURE_ROM_DL_MODE cannot be y when SECURE_DISABLE_ROM_DL_MODE=y
...
Closes: https://github.com/espressif/esp-idf/pull/6442
2021-02-05 18:38:17 +08:00
wangmengyang
2dd730d35c
component/bt: [esp32c3] modify Bluetooth coexistence options
2021-02-05 09:16:29 +00:00
Kapil Gupta
00b1738197
esp_wifi: Fixed crash issue in presence of WEP AP
2021-02-05 09:13:24 +00:00
Jiang Jiang Jian
919e674f6e
Merge branch 'bugfix/bcn_timeout_with_power_down' into 'master'
...
components/coex: Fix bcn timeout with MAC BB power down
See merge request espressif/esp-idf!12285
2021-02-05 17:10:26 +08:00
Michael (XIAO Xufeng)
822a40a6cf
Merge branch 'fix/adc_xpd_calibration' into 'master'
...
adc: fixed the issue that ADC power is left on after the calibration is done
See merge request espressif/esp-idf!12207
2021-02-05 16:28:53 +08:00
baohongde
f8d85768b0
components/coex: Fix bcn timeout with MAC BB power down
2021-02-05 14:30:04 +08:00
Michael (XIAO Xufeng)
351ba5ff9e
adc: fixed the issue that ADC power is left on after the calibration is done
...
Also refactor the locks in the adc_common.c file.
2021-02-05 14:17:52 +08:00
Angus Gratton
fe44643808
Merge branch 'bugfix/doc_freertos_smp_macros' into 'master'
...
docs: Update SMP descriptions for taskENTER_CRITICAL/taskEXIT_CRITICAL
Closes IDFGH-4428
See merge request espressif/esp-idf!12219
2021-02-05 08:14:50 +08:00
Angus Gratton
bc09dda0f4
docs: Update SMP descriptions for taskENTER_CRITICAL/taskEXIT_CRITICAL
...
Closes https://github.com/espressif/esp-idf/issues/6259
2021-02-05 10:18:23 +11:00
Michael (XIAO Xufeng)
09b827b2c8
Merge branch 'feature/spi_slave_double_board_test_for_slave_transaction' into 'master'
...
spi slave: add a double board test for esp32c3 relating to sending/receiving unaligned data
See merge request espressif/esp-idf!11153
2021-02-05 00:51:24 +08:00
Jiang Jiang Jian
3554981c8a
Merge branch 'bugfix/support_esp32c3_rom_eco3' into 'master'
...
esp_wifi: support esp32c3 rom eco3
See merge request espressif/esp-idf!12223
2021-02-04 23:43:04 +08:00
Michael (XIAO Xufeng)
67779e8e25
Merge branch 'docs/spi_mode' into 'master'
...
spi: add explaination to the modes
See merge request espressif/esp-idf!12251
2021-02-04 23:00:28 +08:00
David Čermák
6992084ca7
Merge branch 'feature/ws_client_ping_interval' into 'master'
...
websocket: Add configurable ping interval
Closes IDFGH-4582
See merge request espressif/esp-idf!12101
2021-02-04 21:07:41 +08:00
David Čermák
a2005adf32
Merge branch 'bugfix/disable_software_flow_control_with_small_buffers' into 'master'
...
esp_eth: added option to disable soft flow control when rx buffer is few
Closes WIFI-3362
See merge request espressif/esp-idf!12186
2021-02-04 20:36:04 +08:00
Jiang Jiang Jian
6a7781b92a
Merge branch 'bugfix/fix_a2dp_underun' into 'master'
...
bugfix/component_bt: Fix A2DP Underrun Issue
Closes AUD-2681
See merge request espressif/esp-idf!12093
2021-02-04 19:28:07 +08:00
Michael (XIAO Xufeng)
52a76867d1
Merge branch 'bugfix/spi_lose_last_3_bytes' into 'master'
...
spi_master: fix an issue where master cannot correctly receive data when using DMA in halfduplex mode.
Closes IDFGH-612
See merge request espressif/esp-idf!11354
2021-02-04 18:35:48 +08:00
ChenJianxing
dc350a9c7c
esp_wifi: support esp32c3 rom eco3
2021-02-04 18:28:06 +08:00
Jiang Jiang Jian
c1aacb2efc
Merge branch 'bugfix/btdm_add_ble_connection_params_check' into 'master'
...
Bugfix/btdm add ble connection params check
See merge request espressif/esp-idf!12193
2021-02-04 17:32:42 +08:00
Island
8f28993493
Merge branch 'bugfix/ble_mesh_free_mbedtls_aes_ctx' into 'master'
...
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
See merge request espressif/esp-idf!12253
2021-02-04 17:14:11 +08:00
Cao Sen Miao
b1d3d0ac74
suspend_test: delay more time for erase
2021-02-04 16:47:41 +08:00
Jiang Jiang Jian
27100cc50e
Merge branch 'docs/wifi_doc_update' into 'master'
...
update wifi docs
See merge request espressif/esp-idf!12232
2021-02-04 16:37:31 +08:00
Angus Gratton
018d7c2551
Merge branch 'feature/add_pkg_and_revision_for_c3' into 'master'
...
efuse(esp32c3): Adds getting chip_revision and chip_pkg
See merge request espressif/esp-idf!12060
2021-02-04 16:04:36 +08:00
David Čermák
7b497138ae
Merge branch 'bugfix/netif_add_str_to_ipx' into 'master'
...
esp_netif: Added methods for conversion IP4/IP6 addresses from their string interpretation
Closes IDFGH-3602
See merge request espressif/esp-idf!12143
2021-02-04 16:02:40 +08:00
Cao Sen Miao
e38326d715
spi_flash: fix the issue that ext flash hold is not controlled properly
2021-02-04 14:44:51 +08:00
Cao Sen Miao
cc1c6c30be
flash: check boya chip support
2021-02-04 14:44:50 +08:00
Cao Sen Miao
8020c46da7
spi_flash: enable ext flash unit-test on esp32c3
2021-02-04 14:44:50 +08:00
Michael (XIAO Xufeng)
a0573f5b9f
spi_flash: make the auto_suspend default y on C3
2021-02-04 14:11:04 +08:00
Michael (XIAO Xufeng)
0700129c5a
soc: merge dac_caps.h into soc_caps.h for C3
2021-02-04 13:15:10 +08:00
Michael (XIAO Xufeng)
fe0c81f67c
Merge branch 'fix/adc_gpio_init_unit_both' into 'master'
...
adc: fixed the issue adc_gpio_init doesn't support ADC_UNIT_BOTH
See merge request espressif/esp-idf!11556
2021-02-04 13:10:22 +08:00
Angus Gratton
6252446b7d
Merge branch 'bugfix/s3_dma_enable_crypto' into 'master'
...
sha: dont enable/disable GDMA when enable/disable SHA module
See merge request espressif/esp-idf!12247
2021-02-04 11:30:10 +08:00
lly
0c6e61d258
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-04 11:24:54 +08:00
Island
c8aa7cb960
Merge branch 'bugfix/ble_mesh_misc_fix_for_c3' into 'master'
...
ble_mesh: stack: bugfix for running on esp32c3
See merge request espressif/esp-idf!12245
2021-02-04 10:57:27 +08:00
Michael (XIAO Xufeng)
586dd7d7cd
spi: add explaination to the modes
2021-02-03 21:56:53 +08:00
Michael (XIAO Xufeng)
a2aa349dcc
adc: fixed the issue adc_gpio_init doesn't support ADC_UNIT_BOTH
2021-02-03 20:55:58 +08:00
Ivan Grokhotkov
4edaf134bb
Merge branch 'feature/loadable_elf_c3' into 'master'
...
build-system: add loadable elf support for ESP32-S2 and C3
Closes IDF-2137
See merge request espressif/esp-idf!12217
2021-02-03 19:40:34 +08:00
lly
0d95760fe4
ble_mesh: stack: Fix hw aes no dma channel for c3
2021-02-03 08:45:06 +00:00
lly
bd2d63ff96
ble_mesh: stack: Enable duplicate scan for c3
2021-02-03 08:45:06 +00:00
Jiang Jiang Jian
922194a295
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config' into 'master'
...
fix issue when router reply arp late and let sendto() return -1
See merge request espressif/esp-idf!12139
2021-02-03 16:33:30 +08:00
Angus Gratton
d54f0e40ba
Merge branch 'bugfix/unaligned_poisoned_memory' into 'master'
...
heap: fix unaligned memory bug when poisoning is enabled.
Closes IDF-2653
See merge request espressif/esp-idf!12132
2021-02-03 13:52:57 +08:00
Jiri Schiebel
d1356bca68
esp-netif: Added methods for conversion IP4/IP6 addresses from their string interpretation
...
Closes https://github.com/espressif/esp-idf/issues/5545
2021-02-02 16:07:32 +01:00
Akihiro YAMAZAKI
9ff9137e7a
websocket: Add configurable ping interval
...
Merges https://github.com/espressif/esp-idf/pull/6399
Signed-off-by: David Cermak <cermak@espressif.com>
2021-02-02 14:01:29 +01:00
morris
e361498a2a
intr_alloc: re-enable unit test
2021-02-02 20:25:50 +08:00
morris
d212e698d7
rtc: fix rtc slow memory layout on esp32s3
2021-02-02 20:03:08 +08:00
Marius Vikhammer
245a2469f6
sha: dont enable/disable GDMA when enable/disable SHA module
...
Enabling and disabling of the GDMA module is done by the GDMA driver.
2021-02-02 19:24:57 +08:00
Marius Vikhammer
fa7aa656d3
build-system: add loadable elf support for ESP32-S2 and C3
2021-02-02 17:21:39 +08:00
Krzysztof Budzynski
d2e6793582
Merge branch 'docs/c3_get_started' into 'master'
...
docs: inital doc update for C3
Closes IDF-2312, IDF-2314, IDF-2551, IDF-2611, and IDF-2317
See merge request espressif/esp-idf!11884
2021-02-02 14:18:23 +08:00
dongyou
fe76c53fec
update wifi docs
2021-02-02 11:42:00 +08:00
Angus Gratton
2b5cbcf852
Merge branch 'feature/fpga_warnings' into 'master'
...
esp_system: Add boot warning when running on FPGA, fix dropped log issue
Closes IDF-2687
See merge request espressif/esp-idf!12209
2021-02-02 09:02:23 +08:00
Ivan Grokhotkov
458308786b
Merge branch 'doc/fix_pxTaskGetStackStart' into 'master'
...
[doc/freertos]: fixed doc of pxTaskGetStackStart()
Closes IDF-1668
See merge request espressif/esp-idf!12159
2021-02-02 07:09:00 +08:00
KonstantinKondrashov
25ac1d4d28
bootloader: Anti-rollback mode doesn't run test_app
...
- Cmake shows an error if the partition table has a test app.
- BOOTLOADER_APP_TEST depends on !BOOTLOADER_APP_ANTI_ROLLBACK.
- Bootloader does not boot the test app if secure version is low.
Closes: https://www.esp32.com/viewtopic.php?f=13&t=19164&p=71302#p71302
2021-02-01 23:24:23 +08:00
Marius Vikhammer
548fd02d10
docs: initial update of programming guide for C3
...
Updates "front page" content, get-started, and api-guides with C3 content
Enable building and publishing of C3 docs in CI
2021-02-01 15:40:02 +08:00
morris
006a87557b
esp_eth: added option to disable soft flow control when rx buffer is few
2021-02-01 14:14:54 +08:00
Omar Chebib
c4dc3acba9
heap: add light poisoning configuration to the tests.
...
Relates to IDF-2653
2021-02-01 11:58:42 +08:00
Omar Chebib
d902b4e7db
heap: fix unaligned memory bug when poisoning is enabled.
...
Poisoned memory is now aligned as requested by the user.
Closes IDF-2653
2021-02-01 11:58:42 +08:00
Angus Gratton
dfda84c2ab
esp_system: Fix some ESP_EARLY_LOG lines not being output fully
...
At least on ESP32, calling esp_rom_uart_set_clock_baudrate() causes the
contents of the UART FIFO to be discarded.
2021-02-01 14:24:38 +11:00
Angus Gratton
8dbb14b469
system: Log a warning when booting bootloader or app configured for FPGA use
...
Such a firmware may appear to work on normal chip, but not everything will function as expected.
2021-02-01 14:24:38 +11:00
Michael (XIAO Xufeng)
c4346abfb7
Merge branch 'feature/i2c_master_cmd_begin_const' into 'master'
...
i2c: modify internal impl to ensure the cmd will not be modified
See merge request espressif/esp-idf!12153
2021-02-01 11:18:02 +08:00
alex.li
a9b0336ac5
Fix wapi authmode in NVS and S3/C3 compability.
2021-01-30 19:14:37 +08:00
Jiang Jiang Jian
7c6dad2a29
Merge branch 'bugfix/fix_some_wifi_bugs_0129' into 'master'
...
esp_wifi: fixed some Wi-Fi bugs
Closes WIFI-3239 and WIFI-969
See merge request espressif/esp-idf!12196
2021-01-30 10:32:04 +08:00
zhangyanjiao
c97279b51c
esp_wifi: fixed some Wi-Fi bugs
...
1. Fixed the MIC comparison logic AES-128-CMAC decryption
2. Fixed issue of setting incorrect log_length of NVS misc log
2021-01-29 19:29:57 +08:00
Ivan Grokhotkov
d653d52e3c
Merge branch 'bugfix/coredump_extra_regs_parsing_error' into 'master'
...
fix(coredump): parse registers values from stack
Closes IDFCI-414
See merge request espressif/esp-idf!12189
2021-01-29 18:31:44 +08:00
zwj
d76d708bc3
add connection parameter check
2021-01-29 15:29:57 +08:00
Fu Hanxi
da73dc8195
fix(coredump): parse registers values from stack
2021-01-29 11:12:21 +08:00
ronghulin
84a1e65495
esp_wifi: fixes some Wi-Fi bugs
...
1. Clear hotspot bss when auth timeout happens.
2. Fix PMK not saved in NVS for SoftAP for PSK mode.
3. Fix the bug for esptouch find hidden AP fail.
4. Fix not connect to open AP when WPA3 auth fail.
2021-01-29 11:02:40 +08:00
Ivan Grokhotkov
bb1f75179b
Merge branch 'bugfix/freertos_systimer_stall_when_cpu_halted' into 'master'
...
freertos: stall systimer while CPU is in debug mode
See merge request espressif/esp-idf!12063
2021-01-29 07:02:30 +08:00
Jiang Jiang Jian
28faf93c51
Merge branch 'feature/esp32c3_power_down' into 'master'
...
esp32c3 : power down MAC and BB only if both Wi-Fi and BT power down
Closes FC3-99
See merge request espressif/esp-idf!12076
2021-01-28 23:27:19 +08:00
baohongde
eef66789d4
Mac BB power down in light sleep
...
components/bt: Do not use feature: timer support isr dispatch method
disable controller after wake up finished.
protect critical section of power down
choose clk in sleep
components/coex: mac bb power down in light sleep
components/coex: Macro changed
components/os: protect reserved interrupt number
update phy to phy_version 300,6e46ba7,Jan 25 2021
some bugfix
2021-01-28 22:28:04 +08:00
Jiang Jiang Jian
3af715ddd8
Merge branch 'bugfix/disable_hardware_encrp_for_s3' into 'master'
...
temporarily disable hardware encryption for esp32s3
See merge request espressif/esp-idf!12187
2021-01-28 22:07:48 +08:00
ChenJianxing
243417c48c
temporarily disable hardware encryption for esp32s3
2021-01-28 21:05:51 +08:00
Mahavir Jain
e712a91488
spi_flash: add config option to enable encrypted partition read/write
...
This feature can be disabled to save some IRAM (approx 1KB) for cases
where flash encryption feature is not required.
2021-01-28 12:19:21 +00:00
Mahavir Jain
8a01cc2c26
Revert "esp_partition: disable encrypted reads/writes if flash encryption is disabled"
...
This reverts commit bf35ef1ce7
.
It has been noticed that there are scenarios where even though firmware is not enabled
with flash encryption config feature, it should be able to write to encrypted partitions.
This revert adds the feature back which was removed around v4.0 timelines, and same
change will be backported to all releases (upto v4.0) for consistency.
2021-01-28 12:19:21 +00:00
Jiang Jiang Jian
9eae54f3be
Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
...
fix a2dp sink crash due to ble 5.0 code
Closes BT-1358, BT-1354, and BT-1356
See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
wangmengyang
ee480b7776
Refactor Bluetooth init/deinit mechanism
...
free osi_funcs struct memory duiring failure of controller_init when necessary
components/bt: use s_lp_stat.phy_enabled to control the on/off of phy module
clean up style for controller_disable
clean up some empty functions and unnecessary comments
Added async wakeup src "BTDM_ASYNC_WAKEUP_SRC_TMR"
remove use of assert in controller_init, set error code upon some exceptions
move stop esp_timer early to phase0, add state variable wakeup_timer_started
2021-01-28 19:27:17 +08:00
wangmengyang
06ea8a3028
remove use of macro "CONFIG_SPIRAM_USE_MALLOC"
2021-01-28 19:25:03 +08:00
wangmengyang
086b36d737
Refactor Bluetooth sleep mechanism
...
Refactor bluetooth hardware PowerUp/PowerDown functions
component/bt: fix use of a deprecated MACRO "CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE"
component/bt: fix sleep wakeup in controller disable procedure
remove use of s_pm_lock_sem
1. Modified the waking up approach from async to sync: post a message to controller task upon vhci downstream packets or controller disable, and in response, controller task goes through the wake-up procedure
2. Added Controller status check for the esp_vhci APIs
3. Adjust the procedure during controller_init, check the validity of arguments first
Some minor modifications for bluetooth sleep control and configuration
1. use variable flag s_btdm_allow_light_sleep to control the use of s_light_sleep_pm_lock
2. use variable btdm_lpclk_sel to choose bluetooth sleep clock, support only for external 32kHz crystal temporarily
component/bt: improve async_wakeup function
1. check power state first and then decide if wakeup needs to be performed
2. change the meaning of the return value, if wakeup request is posted to controller task, then return true, otherwise return false
put sleep control logics in controller init/deinit/enable/disable together
Use s_lp_cntl struct: replace bool-typed variable sleep_backup_en with s_lp_cntl.mac_bb_pd
Use s_lp_cntl struct: replace bool-typed variable s_btdm_allow_light_sleep with s_lp_cntl.no_light_sleep
Use s_lp_cntl struct: replace global variable btdm_lpclk_sel with s_lp_cntl.lpclk_sel
create semaphore s_wakeup_req_sem only when low power mode is required
Use s_lp_cntl struct: use s_lp_cntl.wakeup_timer_required to control the wakeup timer
use s_lp_stat to replace original state variable sleep_backup_done and s_pm_lock_acquired
one minor change for mac_bb_pd settings init: return error status if memeory allocation failed
2021-01-28 19:23:09 +08:00
Jiang Jiang Jian
4ab76197e9
Merge branch 'bugfix/bta_hf_client_sco_co_out_data' into 'master'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
Closes AUD-2714
See merge request espressif/esp-idf!12179
2021-01-28 18:02:25 +08:00
Ivan Grokhotkov
9a20283485
Merge branch 'bugfix/scan_test_missing_build_apps_without_tests' into 'master'
...
ci: bugfix: scan_test missing build apps without tests
See merge request espressif/esp-idf!12138
2021-01-28 17:48:24 +08:00
Mahavir Jain
719aeacb4e
Merge branch 'feature/enable_app_update_tests_for_c3' into 'master'
...
Enable app_update tests for ESP32-C3
Closes IDF-2495
See merge request espressif/esp-idf!12173
2021-01-28 17:41:42 +08:00
wangmengyang
9742aa6f05
component/bt: handle sleep wakeup event in the context of controller task instead of timer task
2021-01-28 16:04:21 +08:00
Angus Gratton
ae165c9b52
Merge branch 'bugfix/esp32s2_rom_address_range' into 'master'
...
soc: Fix SOC_IROM_MASK_HIGH address
Closes IDF-2672
See merge request espressif/esp-idf!12126
2021-01-28 13:49:27 +08:00
Alex Lisitsyn
96b77a28b1
freemodbus: add support for list of area descriptors for each register area
...
add multi register area descriptors into concrete port (initial)
add create/destroy of area descriptors into concrete port
add the list of descriptors in common slave interface structure and init/destroy in concrete slave port
move r/w callback functions into common slave
final update of common slave interface wrappers add override API option in concrete port
update slave examples to check new feature
2021-01-28 12:29:32 +08:00
David Čermák
445b1a6717
Merge branch 'bugfix/deprecate_esp_eth_receive' into 'master'
...
esp_eth: deprecate esp_eth_receive
Closes IDF-1065 and IDFGH-4657
See merge request espressif/esp-idf!12176
2021-01-28 02:14:42 +08:00
Michael (XIAO Xufeng)
9ff04b2e79
Merge branch 'feature/musical_buzzer' into 'master'
...
RMT example: musical buzzer
See merge request espressif/esp-idf!10346
2021-01-28 01:04:24 +08:00
Michael (XIAO Xufeng)
673937087e
Merge branch 'feature/usb_host_hal' into 'master'
...
Add USB Host HAL
Closes IDF-2633
See merge request espressif/esp-idf!11784
2021-01-28 00:58:11 +08:00
Jiang Jiang Jian
20b20eef72
Merge branch 'feature/ftm_support' into 'master'
...
Add FTM support for ESP32-S2 & ESP32-C3
Closes IDFGH-3034 and WIFI-3293
See merge request espressif/esp-idf!10441
2021-01-28 00:28:10 +08:00
suda-morris
0208810eca
esp_eth: fix typo in lan8720 driver
...
Closes https://github.com/espressif/esp-idf/issues/6469
2021-01-27 23:48:10 +08:00
morris
c010f24d8b
esp_eth: deprecate esp_eth_receive
...
Ethernet driver is interrupt driven only, don't support polling mode.
So deprecate esp_eth_receive API.
2021-01-27 23:48:01 +08:00
Nachiket Kukade
8de3b31d2d
FTM support for ESP32-C3 and connectionless mode
...
1. Support for FTM to work without any connection
1. Support for ESP32-C3 chip
3. Fix error case handling if FTM fails
4. Fix asynchronization, re-transmission related issues
2021-01-27 20:49:07 +05:30
Jiang Jiang Jian
24f0bbded9
Merge branch 'bugfix/esp32s3beta2_ble_coexist_status_set' into 'master'
...
bugfix/esp32s3beta2_ble_coexist_status_set
See merge request espressif/esp-idf!12137
2021-01-27 21:37:51 +08:00
Jiang Jiang Jian
67f78569a2
Merge branch 'component_bt/update_bt_demo_and_api_comment' into 'master'
...
component_bt/doc&demo: update bt demo and api comment
See merge request espressif/esp-idf!10461
2021-01-27 21:25:11 +08:00
liaowenhao
e502893f18
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-01-27 19:46:13 +08:00
zwj
00fdbfcddc
fix ble connection maximum latency is 499
2021-01-27 16:13:17 +08:00
zwj
b937485ad1
add ble examples default sdkconfig for esp32s3
2021-01-27 15:57:20 +08:00
Martin Vychodil
69096ddce5
Security: ESP32C3 memory protection feature (IRAM0/DRAM0)
...
Software support for PMS module.
Allows controlled memory access to IRAM (R/W/X) and DRAM0 (R/W)
On/locked by default, configurable in Kconfig (esp_system)
Closes https://jira.espressif.com:8443/browse/IDF-2092
2021-01-27 08:44:03 +01:00
Jiang Jiang Jian
d097988608
Merge branch 'bugfix/keep_esp_rtc_time_correct' into 'master'
...
newlib: Keep esp rtc time correct
See merge request espressif/esp-idf!11932
2021-01-27 15:22:43 +08:00
Mahavir Jain
3fa22ffa55
app_update: fix warnings in tests for ESP32-C3 build
2021-01-27 12:50:06 +05:30
Angus Gratton
cc934ea0a1
Merge branch 'feature/esp32c3_tls' into 'master'
...
freertos: add thread local storage support in RISC-V port
Closes IDF-2125
See merge request espressif/esp-idf!12064
2021-01-27 15:19:06 +08:00
Michael (XIAO Xufeng)
baedf7c9bb
Merge branch 'bugfix/potential_cocurrency_issue_in_gdma' into 'master'
...
gdma: fix potential cocurrency issue
Closes IDF-2646
See merge request espressif/esp-idf!12001
2021-01-27 15:07:35 +08:00
Angus Gratton
8d60683b08
Merge branch 'bugfix/fix_context_switch_ra' into 'master'
...
freerots: fix rtos_int_exit writing outside ISR stack
See merge request espressif/esp-idf!12161
2021-01-27 15:05:10 +08:00
zhiweijian@espressif.com
28fd413bf5
fix ble restart faild when enable ble sleep
2021-01-27 14:45:03 +08:00
zwj
bdafdbbf3d
disable bluedroid congest error log print
2021-01-27 14:45:03 +08:00
zhiweijian
90d5413623
fix read multi char failed(GATT_27001)
2021-01-27 14:45:03 +08:00
zwj
081e474baf
fix a2dp sink crash due to ble 5.0 code
2021-01-27 14:45:03 +08:00
wangmengyang
51be1af028
add coexist hook functions and fix bugs for coexistence
2021-01-27 06:37:04 +00:00
weitianhua
c347b0a937
Update bt_discovery demo and README
...
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README
Update SPP demo
1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.
Format comment in esp_a2dp_api.h
Format comment in esp_avrc_api.h
Format comment in esp_spp_api.h
Fix bt_discovery build err
Update HFP API guide error
Remove BTA_AV_DEBUG
Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
Nachiket Kukade
a71976ab54
wifi/ftm: Stability fixes, raw FTM data in event
...
Update wifi lib with below additions -
1. Add FTM frame formation, IEEE definitions, event and IOCTL.
2. Implementation of FTM bursts, Measurements and RTT calculations
3. Fix Watchdog timeout, crashes with better cleanup of timers
4. Included FTM Report raw data in FTM event
Closes https://github.com/espressif/esp-idf/issues/5059
2021-01-27 11:16:35 +05:30
Nachiket Kukade
acb1143409
Add support for FTM operation
...
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
Fu Hanxi
e4e375f488
fix: add spi_flash.h for s2, s3, c3 targets in cpu_start.c
...
update s2, s3, c3 ld files spi_flash_attach to esp_rom_spiflash_attach
2021-01-27 12:35:49 +08:00
Angus Gratton
f7a8593a3b
Merge branch 'style/python_isort_double_quote_fixer' into 'master'
...
style: format python files with isort and double-quote-string-fixer
See merge request espressif/esp-idf!12149
2021-01-27 12:25:39 +08:00
Michael (XIAO Xufeng)
da4b4fc565
Merge branch 'bugfix/mcpwm_can_set_two_falut_signal' into 'master'
...
mcpwm: fix second fault line broken issue
Closes IDFGH-4194
See merge request espressif/esp-idf!12119
2021-01-27 11:36:30 +08:00
Michael (XIAO Xufeng)
1d52a0a459
Merge branch 'bugfix/enable_init_priority_test_c3' into 'master'
...
cxx: re-enable cxx init_priority unit test for C3
Closes IDF-2206
See merge request espressif/esp-idf!11972
2021-01-27 11:24:03 +08:00
Angus Gratton
21f5bcd46f
Merge branch 'bugfix/ulp_wakeup_trigger' into 'master'
...
ulp: specify ulp-risc-v as done signal source
Closes IDFGH-4210
See merge request espressif/esp-idf!11970
2021-01-27 07:59:51 +08:00
Michael (XIAO Xufeng)
31955fd7ea
i2c: modify internal impl to ensure the cmd will not be modified
...
related to: https://github.com/espressif/esp-idf/issues/5108
2021-01-27 01:31:49 +08:00
dongyou
d21ae1faa8
fix smartconfig issue when router reply arp late
...
Closes https://github.com/espressif/esp-idf/issues/6443
2021-01-26 19:56:57 +08:00
Marius Vikhammer
4374966d4e
freerots: fix rtos_int_exit writing outside ISR stack
...
rtos_int_exit would store RA at an offset of 4 byte from the SP,
where the offset should be 0.
This caused rtos_int_exit to overwrite variables in bss.
2021-01-26 11:18:39 +00:00
Chen Wu
8207f6ac32
lwip: Fixed ping assert reset when ping interval is 0
2021-01-26 10:48:56 +00:00
Jakob Hasse
fd58ed2f74
[doc/freertos]: fixed doc of pxTaskGetStackStart()
...
Closes IDF-1668
2021-01-26 17:31:11 +08:00
Krzysztof Budzynski
9a5bd86d54
Merge branch 'docs/update_docs_based_on_the_second_batch_of_customer_feedbacks' into 'master'
...
docs: update documents based on doc-855, doc-885, doc-889, doc-897
See merge request espressif/esp-idf!12124
2021-01-26 16:21:26 +08:00
Michael (XIAO Xufeng)
d741b08fe7
Merge branch 'feature/esp32c3_deep_sleep_rtcfastmem' into 'master'
...
esp32c3: Finish deep sleep support
Closes IDF-2560
See merge request espressif/esp-idf!12031
2021-01-26 12:53:34 +08:00
Michael (XIAO Xufeng)
c99e891201
Merge branch 'feature/sync_adc_changes_from_c3_to_master_last' into 'master'
...
adc: sync adc changes from c3 to master (last time)
Closes IDF-2694
See merge request espressif/esp-idf!12134
2021-01-26 12:52:20 +08:00
Jiang Jiang Jian
6938f7b30f
Merge branch 'add_dhcp_option_61' into 'master'
...
lw-ip: add dhcp option 61
Closes WIFI-1290
See merge request espressif/esp-idf!6507
2021-01-26 11:36:05 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Angus Gratton
b432fc8853
esp_system: Enable deep sleep reset reason test for ESP32-C3
2021-01-25 17:20:04 +00:00
Angus Gratton
d3ffaf4684
esp_system: Add soc_caps guards in esp_sleep.h
2021-01-25 17:20:04 +00:00
Angus Gratton
4026e7b250
esp_system esp32c3: Fix uart flush on entering deep sleep
2021-01-25 17:20:04 +00:00
Angus Gratton
0eb8d7e185
esp_hw_support esp32c3: Add deep sleep rtc crc calculation support
...
Last step to enable deep sleep on ESP32-C3 in all configurations
2021-01-25 17:20:04 +00:00
Jiang Jiang Jian
dc8402ea61
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp' into 'master'
...
feature/ Add A2DP Init and Deinit Complete Evt
See merge request espressif/esp-idf!11458
2021-01-25 23:23:12 +08:00
David Čermák
42c6bcd3c9
Merge branch 'feature/eth_io_cmd_get_duplex' into 'master'
...
esp_eth: Add ioctl command for getting duplex mode
Closes IDFGH-4622
See merge request espressif/esp-idf!12088
2021-01-25 23:16:05 +08:00
Michael (XIAO Xufeng)
2b83418141
adc: add fallback calibration method
...
Also:
1. Separate static configuration into init phase to improve
performance
2. Add a init code config layer to avoid duplicated configuration
3. Add a HW_CALIBRATION_V1 caps
2021-01-25 20:30:42 +08:00
Jiang Jiang Jian
4fb9f5eeeb
Merge branch 'feature/add_dpp_support' into 'master'
...
Add dpp support
Closes WIFI-1054 and WIFI-2627
See merge request espressif/esp-idf!8167
2021-01-25 20:09:31 +08:00
KonstantinKondrashov
3ed226c362
efuse(esp32c3): Adds getting chip_revision and chip_pkg
2021-01-25 19:37:40 +08:00
Wang Fang
7df1cad1d6
docs: This MR does the following updates:
...
1. Provided more information regarding I2S_COMM_FORMAT_STAND_PCM_SHORT and I2S_COMM_FORMAT_STAND_PCM_LONG
2. Added --output flag for partition table read instructions
3. Reordered the header files for esp-ble-mesh
4. Reordered the setup instructions for Ubuntu and CentOS
2021-01-25 11:10:08 +00:00
xueyunfei
617ea86672
Add dhcp option 61
2021-01-25 17:48:15 +08:00
weitianhua
1404879bf4
Fix A2DP Underrun Issue
2021-01-25 17:44:11 +08:00
Jiang Jiang Jian
68916df92c
Merge branch 'optimization/dhcp_key_state_transition_message' into 'master'
...
lw-ip:optimization dhcp key state transition message
Closes WIFI-2037
See merge request espressif/esp-idf!8346
2021-01-25 17:43:34 +08:00
Michael (XIAO Xufeng)
7a20ea5f0e
Merge branch 'feature/support_flash_sus_res_c3' into 'master'
...
spi_flash: Add flash auto-suspend auto-resume mode on esp32c3
Closes IDF-2591
See merge request espressif/esp-idf!11888
2021-01-25 17:41:32 +08:00
Axel Lin
2049aa9f68
esp_eth: Add ioctl command for getting duplex mode
...
Similar to ETH_CMD_G_SPEED, add ETH_CMD_G_DUPLEX_MODE for getting duplex mode.
Merges https://github.com/espressif/esp-idf/pull/6436
2021-01-25 08:40:47 +00:00
weitianhua
bfad85a372
Add init & deinit event for a2dp
2021-01-25 16:30:09 +08:00
Nachiket Kukade
76b2cb28d2
Add DPP Enrollee example
...
1. Add Example for DPP Enrollee
2. Use DPP Supplicant API's to setup connection
3. Add support for multiple channels in Bootstrapping
4. Add Unity testcase for testing Offchannel operations
Closes https://github.com/espressif/esp-idf/issues/5654
2021-01-25 13:26:33 +05:30
Nachiket Kukade
87205dc2f4
Add DPP Enrollee Support
...
1. Modify DPP Protocol modules for our purpose
2. Add DPP supplicant task and modules to handle DPP frames
3. Add DPP Public API's and definitions for DPP
2021-01-25 13:24:21 +05:30
Nachiket Kukade
1ca80b4221
Add support for Remain-on-Channel and Action Tx
...
1. Add API's and structures for Remain-onChannel & Action Tx
2. Handling of events and callbacks for the operations
3. Update WiFi lib with related API support
2021-01-25 13:24:21 +05:30
Jiang Jiang Jian
1614cefd4f
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes' into 'master'
...
Fix some issues raised by Coverity static Analyzer.
Closes WIFI-3251
See merge request espressif/esp-idf!11918
2021-01-25 15:52:21 +08:00
Michael (XIAO Xufeng)
3d7da2c8ff
adc: simplify LL on C3
2021-01-25 15:08:55 +08:00
Michael (XIAO Xufeng)
c257daa950
wifi: run adc2 calibration on C3
2021-01-25 15:08:50 +08:00
Darian Leung
1fabfd005b
soc: Fix SOC_IROM_MASK_HIGH address
...
The high address limit IROM on the esp32s2 is incorrect, thus
causing backtrace printing to think valid function PCs are invalid.
2021-01-25 14:54:25 +08:00
Armando
402ccacc10
system: update edma reset in system_api_esp32c3/s3.c
2021-01-25 04:51:40 +00:00
Armando
f5f0461264
tmpsensor: add temp_sensor.h for c3
2021-01-25 04:51:40 +00:00
Armando
f9ec7ddda3
adc: add comment for ADC sampling frequency
2021-01-25 04:51:40 +00:00
Armando
d8a4b247b9
adc_digi: update_adc_api_for_5M_freq_limit
...
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
56919682be
adc: remove useless adc_ll_set_sar_clk_div in LL
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
90fc3e7030
adc: update the monitor and filter in the HAL on C3
...
On C3 ADC has no enable bit for monitor and filter. However we can use context variables to implement one
2021-01-25 04:51:40 +00:00
fuzhibo
19fb11549b
driver(adc): update adc ll and hal driver for esp32c3
2021-01-25 04:51:40 +00:00
Armando
5798c22a5c
adc: replace assert with esp check
2021-01-25 04:51:40 +00:00
Armando
271c97149d
rtc_tmpsensor: remove redundant semaphore on c3
2021-01-25 04:51:40 +00:00
Angus Gratton
feb293797f
driver: esp32c3 rtc_tempsensor compile fixes
2021-01-25 04:51:40 +00:00
fuzhibo
33647c7cd4
update temperature Sensor driver for esp32c3
2021-01-25 04:51:40 +00:00
Angus Gratton
a5fb7deda5
driver: Update/cleanup esp32c3 rtc_tempsensor.c
2021-01-25 04:51:40 +00:00
Armando
02600309c8
adc: fix some regression issues
2021-01-25 04:51:40 +00:00
Armando
2b737c1927
adc: fix adc invalid data issue by update adc_reset
2021-01-25 04:51:40 +00:00
Cao Sen Miao
4e6e34e3ad
adc_i2s: solve the i2s_adc issue when using wifi
2021-01-25 04:51:40 +00:00
Ivan Grokhotkov
34408026bb
wifi: add set_xpd_sar override
...
Wi-Fi enables and disables ADC when exiting and entering sleep mode.
Coordinate ADC power state with other modules, using adc_power_acquire
and adc_power_release.
2021-01-25 04:51:40 +00:00
Ivan Grokhotkov
abe94e3b53
adc: add adc_power_acquire/release, deprecate adc_power_on/off
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
d7d1dee208
system: reset dma when soft reset
2021-01-25 04:51:40 +00:00
Armando
d35173c147
small fix for cherrypick
2021-01-25 04:51:40 +00:00
Armando
b38f4646de
adc_digi: add dma drivers
2021-01-25 04:51:40 +00:00
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
xueyunfei
b50fca4aa0
optimization dhcp key state transition message
2021-01-25 03:54:20 +00:00
aditi_lonkar
89bf9404a5
esp_http_client: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
fe7efa8db4
esp_local_ctrl: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
da313b691d
wifi_provisioning: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
6e7780421b
fatfs: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
7bf205162c
tcp_transport: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
562a5dd215
wpa_supplicant: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
Cao Sen Miao
f3e79ca166
spi_flash(c3): add boya chip support for suspend feature
2021-01-25 11:14:06 +08:00
Cao Sen Miao
9905da46e0
spi_flash: Add auto suspend mode on esp32c3
2021-01-25 11:14:02 +08:00
KonstantinKondrashov
1f37a5f162
spi_flash(esp32-s2): Add the workaround of a reboot issue when SPI HW suspend is enabled
2021-01-25 11:13:38 +08:00
KonstantinKondrashov
60e58eaddb
spi_flash: Add auto-suspend mode for ESP32-S2
...
Uses HW auto_wait_idle, HW auto_suspend and SW resume
2021-01-25 11:13:38 +08:00
KonstantinKondrashov
afef16c2e9
spi_flash: Support suspend/resume mode for operations
...
- Adds arbitration between the erase and write in suspend mode
(If the flash memory is suspended then only a read operation can be performed.)
- espcoredump: Dump does not use suspend feature, just resume before continue.
- spi_flash: Add release_cpu() to do suspend/release_cpu/resume
2021-01-25 11:13:38 +08:00
Chen Jian Xing
f71adec8fb
Support ESP32S3 (beta2) WiFi
2021-01-25 00:18:42 +08:00
Ivan Grokhotkov
1402941402
test/freertos: add RISC-V support in thread local storage test
2021-01-24 12:38:15 +00:00
Ivan Grokhotkov
b2aaebaf85
freertos: add thread local storage support in RISC-V port
2021-01-24 12:38:15 +00:00
Ivan Grokhotkov
d7bac619ec
freertos: stall systimer while CPU is in debug mode
2021-01-24 11:32:17 +00:00
Michael (XIAO Xufeng)
06f22fc4b0
Merge branch 'feature/new_restart_mode_driver_and_ut_for_spi_slave_hd' into 'master'
...
spi_slave_halfduplex: append mode driver
See merge request espressif/esp-idf!10845
2021-01-24 09:27:12 +08:00
Jiang Jiang Jian
c889df2928
Merge branch 'feature/wifi_wapi_release' into 'master'
...
Feature/wifi wapi release
Closes WIFI-2553
See merge request espressif/esp-idf!11589
2021-01-23 18:15:07 +08:00
Alex
67d0460c2d
Feature/wifi wapi release
2021-01-23 18:15:07 +08:00
Ivan Grokhotkov
106aa180f3
Merge branch 'bugfix/verbose_logging_failure_with_spiram' into 'master'
...
Fix verbose logging bootup failure with spiram
See merge request espressif/esp-idf!11982
2021-01-22 23:03:04 +08:00
Mahavir Jain
2cdc1fcdbf
efuse: change prints to ESP_EARLY_LOG for function called from startup code
2021-01-22 18:00:03 +05:30
David Čermák
a461f8f115
Merge branch 'bugfix/ws_transport_ping' into 'master'
...
ws_transport: Add option to propagate control packets to the app
Closes IDFGH-4478
See merge request espressif/esp-idf!11957
2021-01-22 19:21:43 +08:00
Mahavir Jain
f5e51e7c1b
Merge branch 'feature/esp32c3_ds_mbedtls_integration' into 'master'
...
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
Closes IDF-2267
See merge request espressif/esp-idf!12033
2021-01-22 17:06:46 +08:00
Mahavir Jain
ba1c8ceddb
Merge branch 'feature/support_transport_keepalive' into 'master'
...
Transport: Add TCP keep-alive function
Closes IDFGH-4543
See merge request espressif/esp-idf!11909
2021-01-22 17:04:05 +08:00
Michael (XIAO Xufeng)
68034a5149
Merge branch 'bugfix/soc_rtcperi_rtcldo' into 'master'
...
fix rtc peripheral wakeup fail bug & clear rtc regulator force on configuration when in deepsleep
See merge request espressif/esp-idf!9709
2021-01-22 16:55:55 +08:00
Michael (XIAO Xufeng)
a08265aad8
Merge branch 'bugfix/fix_x32k_config_param' into 'master'
...
esp32s2/esp32s3: Improve 32k xtal startup time
See merge request espressif/esp-idf!11836
2021-01-22 16:42:54 +08:00
morris
d4b9198f05
mcpwm: fix second fault line broken
...
Closes: https://github.com/espressif/esp-idf/issues/6053
2021-01-22 16:18:37 +08:00
morris
ceab7daea8
mcpwm: fix wrong capture edge
2021-01-22 16:17:59 +08:00
Michael (XIAO Xufeng)
a7168eef39
Merge branch 'feature/update_tinyusb' into 'master'
...
tinyusb: Update tinyusb to the latest upstream version
See merge request espressif/esp-idf!11931
2021-01-22 16:15:08 +08:00
David Cermak
acc7bd2ca4
ws_transport: Add option to propagate control packets to the app
...
Client could choose if they want to receive control packets and handle
them.
* If disabled (default) the transport itself tries to handle PING
and CLOSE frames automatically during read operation. If handled
correctly, read outputs 0 indicating no (actual app) data received.
* if enabled, all control frames are passed to the application to be
processed there.
Closes https://github.com/espressif/esp-idf/issues/6307
2021-01-22 07:22:41 +00:00
Renz Bagaporo
19d8a403e6
ulp: set riscv-ulp as done signal source properly
...
Closes https://github.com/espressif/esp-idf/issues/6069
2021-01-22 15:22:01 +08:00
Shubham Kulkarni
b53e46a68e
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-01-22 06:56:28 +00:00
yuanjm
044c3e3e74
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
...
Closes IDFGH-4543
2021-01-22 06:56:28 +00:00
Aditya Patwardhan
79c23a1886
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
2021-01-22 11:54:16 +05:30
Angus Gratton
cf9ac2ef9e
Merge branch 'bugfix/wifi_ld_phy_init' into 'master'
...
wifi: remove esp_phy_enable/disable IRAM_attr
See merge request espressif/esp-idf!12094
2021-01-22 14:23:01 +08:00
Jiang Jiang Jian
9c5a9ae8fd
Merge branch 'bugfix/support_esp32c3_lightsleep_master_cpu_pd_issue' into 'master'
...
fix cpu pd bug of normal light sleep
See merge request espressif/esp-idf!12083
2021-01-22 14:03:10 +08:00
Angus Gratton
a7da0c894b
Merge branch 'feature/c3_master_flash_enc_support' into 'master'
...
flash encryption: merge C3 flash encryption changes to master
See merge request espressif/esp-idf!12040
2021-01-22 12:58:38 +08:00
Mahavir Jain
67c7b6f130
Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
...
Feature/nvs encryption usability improvements
See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
Jiang Jiang Jian
4724fd263c
Merge branch 'feature/softap_pairwise_cipher' into 'master'
...
esp_wifi: Add pairwise cipher support in softAP config
See merge request espressif/esp-idf!10848
2021-01-22 11:25:47 +08:00
Marius Vikhammer
ec5fb44778
wifi: remove esp_phy_enable/disable IRAM_attr
...
esp_phy_enable and esp_phy_disable were declared both with IRAM attr
and with (noflash) in the linker fragment file, causing ldgen to emit
warnings.
Remove IRAM_attr and let the linker fragment decide placement
2021-01-22 11:04:47 +08:00
Ivan Grokhotkov
88252c98b8
Merge branch 'feature/refactor_espcoredump' into 'master'
...
Feature: Refactor espcoredump
See merge request espressif/esp-idf!11525
2021-01-21 20:35:31 +08:00
Armando
0538dc2d93
spi_slave_hd: add DMA Append Mode feature
2021-01-21 18:53:53 +08:00
Angus Gratton
3532f52f60
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj' into 'master'
...
ldgen: check mappings
Closes IDF-1624
See merge request espressif/esp-idf!8557
2021-01-21 15:59:35 +08:00
Fu Hanxi
be71f5050d
core dump: modify the test according to the refactor
2021-01-21 15:14:59 +08:00
Fu Hanxi
d50f021a8c
core dump: rewrite espcoredump.py with corefile package
2021-01-21 15:14:59 +08:00
Fu Hanxi
7109cda149
core dump: Add corefile package for parse/build bin/elf core files
...
- elf.py: elf related structs
- gdb.py: gdb related functions
- loader.py: extract elf/bin from flash to elf format core file
- xtensa.py: xtensa arch target related structs and functions
2021-01-21 15:14:59 +08:00
Jiang Jiang Jian
ea79091725
Merge branch 'bugfix/esp32c3_wpa4096_cert_support' into 'master'
...
MbedTLS: Add software fallback for Modular Exponentiation for larger bignum operations
Closes WIFI-3257 and IDFGH-132
See merge request espressif/esp-idf!11928
2021-01-21 12:45:19 +08:00
ninh
25dcc68b5d
newlib: keep esp_rtc_get_time_us when rewrite the value of RTC_SLOW_CLK_CAL_REG
2021-01-21 02:28:21 +00:00
Li Shuai
58ab3975ea
light sleep: fix cpu pd bug of normal light sleep
2021-01-21 10:03:39 +08:00
Li Shuai
f57ab2d69b
add brownout reset option prompt to menuconfig
2021-01-21 10:03:32 +08:00
Aditya Patwardhan
cc3843263a
esp-tls: Added unit tests
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
43a1b53aad
esp_tls_wolfssl: Move order of crt_bundle check to match that in
...
esp_tls_mbedtls
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
1a09e16af2
esp_tls: Fix memory leak when esp-tls server session is deleted
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
cddb8c29e6
esp-tls: Fix mem leak when global_ca_store is freed
2021-01-21 01:17:23 +00:00
Angus Gratton
fe8a891de9
Merge branch 'feature/support_esp32c3_master_cmake_secure_boot' into 'master'
...
bootloader/esp32c3: Support secure boot
Closes IDF-2115
See merge request espressif/esp-idf!11797
2021-01-21 08:42:49 +08:00
kapil.gupta
7bc74089f4
esp_wifi: Add pairwise cipher support in softAP config
...
Closes https://github.com/espressif/esp-idf/issues/5963
2021-01-20 22:40:40 +05:30
Jiang Jiang Jian
f7c9f1afd7
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd
Closes BT-711
See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098
Merge branch 'feature/hfp_console' into 'master'
...
Feature/modify hfp console style by using esp console
Closes BT-1052
See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
Jiang Jiang Jian
cb255a1489
Merge branch 'bugfix/fix_32k_not_found' into 'master'
...
Fix esp32 external 32k xtal not found error
See merge request espressif/esp-idf!11296
2021-01-20 23:34:24 +08:00
Island
b7c404d3ff
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend' into 'master'
...
ble_mesh: stack: Fix proxy client may fail to resend msg
See merge request espressif/esp-idf!9882
2021-01-20 19:21:16 +08:00
Island
1f91e321f1
Merge branch 'bugfix/ble_mesh_node_set_name_status_check' into 'master'
...
ble_mesh: stack: Remove node set device name return status check
See merge request espressif/esp-idf!12071
2021-01-20 19:20:58 +08:00
Aditya Patwardhan
a02be97fda
nvs_flash: Modify the default NVS initialization API with internal nvs encryption
...
handling (only when nvs encryption is enabled)
* NVS Encryption will now be turned on by default with flash encryption
* Updated the flash encryption example to shocase NVS encryption
along with information on how to configure and use NVS encryption
* Updated respective test case
* Added two partition tables for NVS encryption
i) Table 1- Single factory app, no OTA, encrypted NVS
ii) Table 2- Factory app, Two OTA, encrypted NVS
2021-01-20 11:12:14 +00:00
Michael (XIAO Xufeng)
db45f00860
Merge branch 'bugfix/fix_esp32c3_rf_40M_loss_package_bug' into 'master'
...
esp32c3: fix rf 40M loss package bug when CPU run 80M
See merge request espressif/esp-idf!12057
2021-01-20 18:48:52 +08:00
Jiang Jiang Jian
d017c21131
Merge branch 'nimble/support_wl_DLE_esp32c3' into 'master'
...
NimBLE: Support whtelist remove, packet length set APIs
Closes BT-1271 and BT-1242
See merge request espressif/esp-idf!12069
2021-01-20 17:17:34 +08:00
Li Shuai
6ef2a7def0
bootloader: fix external 32k xtal not found error
2021-01-20 16:51:20 +08:00
Angus Gratton
cfdd7f0f22
Merge branch 'feature/c3_crypto_gdma' into 'master'
...
AES/SHA: GDMA crypto driver
Closes IDF-2192 and IDF-2501
See merge request espressif/esp-idf!12014
2021-01-20 16:42:39 +08:00
Island
5cd5c96dc8
Merge branch 'bugfix/ble_mesh_prov_use_diff_rand' into 'master'
...
ble_mesh: stack: Use different random for each prov
See merge request espressif/esp-idf!9494
2021-01-20 16:35:47 +08:00
Michael (XIAO Xufeng)
e7ce01b197
Merge branch 'bugfix/flash_patch_for_new_api' into 'master'
...
spi_flash: enable spi_flash write unit-test on esp32c3
Closes IDF-2579
See merge request espressif/esp-idf!11973
2021-01-20 16:15:13 +08:00
Jiang Jiang Jian
26ae354dc5
Merge branch 'feature/support_esp32c3_lightsleep_master' into 'master'
...
support esp32c3 lightsleep for master
Closes IDF-2106
See merge request espressif/esp-idf!11975
2021-01-20 16:00:06 +08:00
lly
3ce6887aaf
ble_mesh: stack: Remove node set device name return status check
2021-01-20 14:48:24 +08:00
Prasad Alatkar
f401e9716f
NimBLE: Support APIs for whitelist remove and set packet length in controller
2021-01-20 11:58:33 +05:30
lly
690642be0e
ble_mesh: stack: Use different random for each provisioning
2021-01-20 14:09:44 +08:00
lly
16f5438810
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-01-20 06:04:31 +00:00
Jiang Jiang Jian
53e1a7f661
Merge branch 'nimble_esp32c3_support' into 'master'
...
ESP32C3 NimBLE support
See merge request espressif/esp-idf!12046
2021-01-20 13:57:38 +08:00
Li Shuai
3170ecf268
deep sleep: add empty interface rtc_deep_sleep_start for esp32c3
2021-01-20 13:28:34 +08:00
Li Shuai
27ddbf5fcc
light sleep: libphy optimization for esp32c3
2021-01-20 13:28:30 +08:00
Jiang Jiang Jian
52762994b1
Merge branch 'feature/add_judge_MTU_for_dhcp' into 'master'
...
lw-ip:Add feature for dhcp MTU judgement
See merge request espressif/esp-idf!7829
2021-01-20 12:37:16 +08:00
Angus Gratton
55970fe3a2
Merge branch 'feature/esp32c3_support_brownout' into 'master'
...
esp32c3: Adds support BROWNOUT reset
Closes IDF-2397
See merge request espressif/esp-idf!11910
2021-01-20 12:19:56 +08:00
chaijie
f6c61544ae
esp32s2/esp32s3: Improve 32k xtal startup time
2021-01-20 03:51:21 +00:00
chaijie
7cf32b4387
esp32s2: Fix wakeup fail issue when pd peripheral in lightsleep.
...
esp32s2: fix wrong deepsleep configuration issue.
1. if RTC_CK8M_ENABLE_WAIT_DEFAULT set to 1, rtc peripherals will not poweron successfully if pd peripherals in light_sleep, the minimum RTC_CK8M_ENABLE_WAIT_DEFAULT is RTC_POWERUP_CYCLES + RTC_WAIT_CYCLES + 2;
2. when goto deepsleep after lightsleep waking up, rtc regulator should not force pu.
2021-01-20 03:51:07 +00:00
Ivan Grokhotkov
b69f94fb3a
Merge branch 'feature/move_ringbuf_funcs_into_flash' into 'master'
...
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
Closes IDF-2247
See merge request espressif/esp-idf!10731
2021-01-20 07:32:39 +08:00
Alex Lisitsyn
8bde6b8fca
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
2021-01-20 07:32:31 +08:00
KonstantinKondrashov
88c5fe49b8
soc: Adds a soc_caps define for all chips to define the number of boot key digests
2021-01-19 20:51:13 +08:00
KonstantinKondrashov
98f726fa4b
bootloader/esp32c3: Adds secure boot (not yet supported)
2021-01-19 20:51:13 +08:00
Prasad Alatkar
f959028486
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
Chinmay Chhajed
62225cc47a
NimBLE: BLE 5.0 related configuration changes
...
Added some changes like checking idf_target = BT_SOC_SUPPORT_5_0
and menuconfig option to enable/disable host based privacy.
2021-01-19 17:02:56 +05:30
David Čermák
273b9f503c
Merge branch 'bugfix/mdns_txt_collision' into 'master'
...
mDNS: Fix of text length calculation when checking a collision
See merge request espressif/esp-idf!12002
2021-01-19 16:05:48 +08:00
Krzysztof Budzynski
08815671e0
Merge branch 'bugfix/adc_full_scale_voltages' into 'master'
...
docs: Update full-scale voltages for ESP32-S2 chip
Closes DOC-578
See merge request espressif/esp-idf!11214
2021-01-19 16:03:53 +08:00
Li Shuai
f168ac3b39
light sleep: add cpu power down support for esp32c3
2021-01-19 14:51:50 +08:00
Li Shuai
63c4e5481f
fix no RTOS SysTick interrupt for a period of time after the OS Scheduler is started
2021-01-19 14:51:22 +08:00
Li Shuai
a43de3a44b
fix set UART_FORCE_XOFF
can't stop new Tx request issue
2021-01-19 14:51:22 +08:00
Li Shuai
6d12fdd6e7
light sleep: add gpio configure workaround at slept status for esp32c3
2021-01-19 14:51:22 +08:00
Li Shuai
ac7d1bec76
light sleep: overhead time accuracy optimization for esp32c3
2021-01-19 14:50:58 +08:00
Li Shuai
aa7fd175b9
light sleep: light sleep support for esp32c3
2021-01-19 14:50:58 +08:00
Li Shuai
355dd10257
light sleep: dfs support for esp32c3
2021-01-19 14:50:58 +08:00
Krzysztof
6df6123ff6
docs: Update full-scale voltages for ESP32-S2 chip
2021-01-19 14:47:17 +08:00
chaijie
180d3fe44a
esp32c3: fix rf 40M loss package bug
2021-01-19 14:09:00 +08:00
Island
e39ed0ecf1
Merge branch 'bugfix/ble_mesh_log_macro' into 'master'
...
ble_mesh: stack: Add prefix for log macros
See merge request espressif/esp-idf!11962
2021-01-19 14:00:26 +08:00
Cao Sen Miao
d69a07ae20
spi_flash: enable spi_flash write unit-test on esp32c3
2021-01-19 12:04:57 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
Renz Bagaporo
d1c800fbbb
components: fix ldgen check errors
2021-01-19 11:17:18 +08:00
Renz Bagaporo
8d52b0b5e1
ci: exempt upstream libmbedtls mapping for sha256
2021-01-19 11:17:18 +08:00
Renz Bagaporo
32206d3a7d
ci: enabled ldgen mapping check in ci
2021-01-19 11:17:18 +08:00
Marius Vikhammer
51169b0e0c
AES/SHA: use GDMA driver instead of LL
2021-01-19 11:02:51 +08:00
lly
0edb86ddb0
ble_mesh: stack: Fix compile warning when log is disabled
2021-01-19 02:09:58 +00:00
lly
80bee1da1f
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-01-19 02:09:58 +00:00
ronghulin
3b2281ecdb
bugfix: update wifi lib
...
1. Fix the bug that LR can't work on esp32c3
2. Unlock mutex for esp_wifi_80211_tx when out of memory
3. Fix issue that esp_wifi_80211_tx can't be used in ap mode
4. Fix the compile error for esp32c3 in ESPTouch v2
2021-01-19 00:28:16 +00:00
Angus Gratton
cfe8172e12
Merge branch 'feature/core_dump_walk_over_tasks_list' into 'master'
...
coredump: Adds RTOS snapshot API to walk over tasks lists
Closes IDF-541
See merge request espressif/esp-idf!8594
2021-01-19 05:54:12 +08:00
Alexey Gerenkov
3b0fa33c20
coredump: Adds compile time check for target support
2021-01-18 20:51:11 +03:00
Alexey Gerenkov
589a3d9336
coredump: Switches to RTOS snapshots walking API
2021-01-18 20:51:05 +03:00
David Čermák
0aeef17915
Merge branch 'bugfix/httpd_ws_async_wrong_len' into 'master'
...
httpd: Fixed wrong len in ws_send_async for longer packets
Closes IDFGH-4360
See merge request espressif/esp-idf!11686
2021-01-18 22:33:37 +08:00
xueyunfei
9dcbec406a
Add feature for dhcp MTU judgement
2021-01-18 14:30:06 +00:00
kapil.gupta
de22f3a4e5
MbedTLS: Add software fallback implementation for exp mod
...
Add configuration option to fallback to software implementation
for exponential mod incase of hardware is not supporting it
for larger MPI value.
Usecase:
ESP32C3 only supports till RSA3072 in hardware. This config option
will help to support 4k certificates for WPA enterprise connection.
2021-01-18 18:47:51 +05:30
suren.gabrielyan
be0ae1ebbb
mDNS: Fix of text length calculation when detecting a collision
2021-01-18 12:54:27 +00:00
Jiang Jiang Jian
3748fdbbb3
Merge branch 'feature/wifi_lightsleep_optimization' into 'master'
...
esp_wifi: Wi-Fi lightsleep optimization
See merge request espressif/esp-idf!11811
2021-01-18 20:43:52 +08:00
Jiang Jiang Jian
f5e7504000
Merge branch 'nimble/update_nimble-1.3.0-idf' into 'master'
...
NimBLE: Update NimBLE to latest 1.3.0 release
See merge request espressif/esp-idf!9917
2021-01-18 20:29:10 +08:00
David Cermak
c415c6f9a6
httpd: Fixed wrong header in ws_send_async() for lengthy packets
...
Closes https://github.com/espressif/esp-idf/issues/6196
2021-01-18 12:13:58 +00:00
Michael (XIAO Xufeng)
cf9ff5eccf
Merge branch 'feature/touch_sense_driver_core' into 'master'
...
feature(touch): add touch sense driver core
Closes IDF-2378
See merge request espressif/esp-idf!11824
2021-01-18 19:58:14 +08:00
Kang Zuoling
d16861001f
touch_element: add new touch library component
2021-01-18 17:01:08 +08:00
KonstantinKondrashov
e62d4a6b81
esp32s3: BROWNOUT reset reason is set directly without using the brownout ISR
2021-01-18 15:38:09 +08:00
KonstantinKondrashov
f58c296336
esp32s2: BROWNOUT reset reason is set directly without using the brownout ISR
2021-01-18 15:38:09 +08:00
KonstantinKondrashov
d81a93ae4c
esp32c3: Adds support BROWNOUT reset
2021-01-18 15:38:09 +08:00
ninh
659d805411
esp_wifi: light sleep optimization
2021-01-18 15:31:03 +08:00
Marius Vikhammer
03fa63b0c9
bootloader: add flash encryption support for C3
...
Adds flash encryption support for C3 and updates docs for S2 & C3
2021-01-18 14:10:54 +08:00
Island
c65a24063d
Merge branch 'update/ble_mesh_set_hsl_states' into 'master'
...
ble_mesh: stack: Enable updating lighting hsl state
See merge request espressif/esp-idf!12025
2021-01-18 13:20:59 +08:00
lly
187fb9d959
ble_mesh: stack: Fix compile warning with BIT macro
2021-01-18 08:59:14 +08:00
lly
3aabf571a8
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-01-18 00:54:11 +00:00
Angus Gratton
e82fe93b3d
Merge branch 'feature/update_esptool' into 'master'
...
tools: Update esptool submodule
Closes IDFGH-4600
See merge request espressif/esp-idf!12011
2021-01-18 07:13:33 +08:00
Angus Gratton
5938b9a892
Merge branch 'feature/support_esp32c3_master_cmake_reset_reason' into 'master'
...
esp32c3: Add UTs for reset_reason
Closes IDF-2091
See merge request espressif/esp-idf!11546
2021-01-18 07:12:21 +08:00
Konstantin Kondrashov
d23c7690f2
esp32c3: Add UTs for reset_reason
2021-01-18 07:12:21 +08:00
Darian Leung
40bff84803
Add USB Host HAL
...
This commit adds the USB Host Driver HAL
2021-01-18 05:02:10 +08:00
Jiang Jiang Jian
6f39d90520
Merge branch 'feature/support_tx_amsdu' into 'master'
...
feature: support tx amsdu
Closes WIFI-1668
See merge request espressif/esp-idf!11167
2021-01-17 17:08:01 +08:00
Jiang Jiang Jian
8b33695495
Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
...
Feature/support esp32c3 s3 ble 5.0 and bug fix
See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
Roland Dobai
eadb69aa36
tools: Update esptool submodule
...
Closes https://github.com/espressif/esp-idf/issues/6415
2021-01-16 09:37:04 +01:00
Prasad Alatkar
7252c99a14
BLE Mesh: Fix compilation for NimBLE-1.3.0 upgrade by typecasting adv data to void
2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2
NimBLE: Update NimBLE to latest 1.3.0 release
2021-01-15 16:57:29 +00:00
Roland Dobai
958bfcbf59
Update tinyusb to the latest upstream version
2021-01-15 15:06:20 +01:00
zwj
ea42d8e043
fix bluedroid deinit crash
2021-01-15 21:08:14 +08:00
lly
8aae9860ce
ble_mesh: stack: Enable updating lighting hsl state
2021-01-15 20:27:43 +08:00
ronghulin
adfa43a3a4
feature: support tx amsdu
2021-01-15 20:10:18 +08:00
Mahavir Jain
526f682397
Merge branch 'bugfix/httpd_session_close_lru' into 'master'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru
Closes IDF-2443
See merge request espressif/esp-idf!11543
2021-01-15 20:06:00 +08:00
Ivan Grokhotkov
9cb3ac94c4
Merge branch 'bugfix/linenoise_probe' into 'master'
...
console: fix linenoiseProbe never timing out
Closes IDFCI-387
See merge request espressif/esp-idf!12012
2021-01-15 19:31:14 +08:00
Mahavir Jain
c0d6b18e88
Merge branch 'bugfix/wifi_prov_zero_networks' into 'master'
...
wifi_provisioning: Add a check for number of scanned networks while allocating memory
See merge request espressif/esp-idf!8249
2021-01-15 19:22:05 +08:00
Jiang Jiang Jian
9ff1609a20
Merge branch 'feature/add_esptouch_v2' into 'master'
...
WiFi: add ESPTouch v2
Closes WIFI-942 and WIFI-2619
See merge request espressif/esp-idf!10093
2021-01-15 19:11:47 +08:00
zwj
d624675087
fix connection param update timeout
2021-01-15 18:05:39 +08:00
zwj
ad09955b1f
fix crash when creating aux open failed, fix GAP_22026 failed
2021-01-15 18:05:18 +08:00
zwj
273d2fd5ec
fix multi-connection crash (smp-08003)
2021-01-15 18:05:04 +08:00
zhiweijian
e81104f377
fix add white list failed
2021-01-15 18:04:45 +08:00
zwj
61b1a4b7b8
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-01-15 18:04:27 +08:00
zhiweijian@espressif.com
d4619584d7
fix ble connect crash
2021-01-15 18:04:16 +08:00
zwj
1d1754e4b4
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-01-15 18:03:56 +08:00
zwj
0880c7bcf9
fix ble read multi char err when the number of handles is more than 10
2021-01-15 18:03:39 +08:00
zwj
4a719daa78
fix scan rsp length err
2021-01-15 18:03:27 +08:00
zwj
796a959fa5
fix vendor hci memory leak
2021-01-15 18:03:15 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
Ivan Grokhotkov
9b2b86b7d9
console: fix linenoiseProbe never timing out
...
Fixes a regression from 753a92952
: if cb was negative, read_bytes
overflowed, because the type was changed from int to size_t.
Also fixes incorrect timeout calculation: timeout_ms was 200, but
each iteration delayed for 10ms, and reduced timeout_ms by 1. This
made the effective timeout to be 2000ms.
2021-01-15 09:22:04 +01:00
ninh
27aa6c289f
components/pm: Add slp gpio configure workaround
2021-01-15 15:34:45 +08:00
Ivan Grokhotkov
bba7826ac0
Merge branch 'feature/c3_gdb_stub_regard_uart' into 'master'
...
gdbstub: C3 - protection for UART register region
Closes IDF-2533
See merge request espressif/esp-idf!11745
2021-01-15 15:23:58 +08:00
Angus Gratton
19883d9799
Merge branch 'bugfix/fix_sign_conversion_warnign' into 'master'
...
freertos: Silence sign-conversion warning
Closes IDFGH-3949
See merge request espressif/esp-idf!10724
2021-01-15 14:40:59 +08:00
Alexey Gerenkov
ae1cc5f49b
freertos: Adds snapshot API to walk over tasks lists
2021-01-15 06:37:12 +00:00
zhangyanjiao
1da9d9c356
esp_wifi: add esptouch v2
...
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
Shubham Kulkarni
00876a8946
esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru
2021-01-15 05:53:41 +00:00
Michael (XIAO Xufeng)
b94c99a033
Merge branch 'feature/c3_twai_bringup' into 'master'
...
TWAI: bringup for S3 & C3
Closes IDF-2109 and IDF-1770
See merge request espressif/esp-idf!11984
2021-01-15 13:46:21 +08:00
Angus Gratton
ca7cc79d6b
Merge branch 'feature/c3_stack_watchpoint' into 'master'
...
c3 stack watchpoint
Closes IDF-2307
See merge request espressif/esp-idf!11576
2021-01-15 13:28:56 +08:00
Piyush Shah
388f4fd7ef
wifi_provisioning: Add a check for number of scanned networks while allocating memory
...
If number of scanned networks is zero, while getting the list, since we try
to allocate zero bytes, we get a NULL pointer in response. This is considered
as an error and the provisioning worflow breaks there.
Adding a check before allocation resolves the issue.
2021-01-15 05:01:35 +00:00
Angus Gratton
317c882133
Merge branch 'bugfix/elf_sha256_first_byte_skip' into 'master'
...
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256
Closes IDFGH-4572
See merge request espressif/esp-idf!11981
2021-01-15 06:55:15 +08:00
morris
467d44970e
rmt: support setting loop count at runtime
2021-01-14 21:26:04 +08:00
morris
914ba4914a
gdma: fix potential cocurrency issue
...
Alloc handle memory first then hook, we can benifit:
1. Don't have to do malloc in a critical section
2. Don't have to do esp_intr_free in a critical section
2021-01-14 20:37:36 +08:00
Marius Vikhammer
0713e93b8f
TWAI: bringup for S3 and C3
2021-01-14 20:30:31 +08:00
Michael (XIAO Xufeng)
19d92ef6b2
Merge branch 'fix/tinyusb_cdc_remove_logv_assert_mutex_fail' into 'master'
...
tinyusb: reduce annoying log under verbose level in CDC
See merge request espressif/esp-idf!11934
2021-01-14 19:28:31 +08:00
Michael (XIAO Xufeng)
ea996df725
Merge branch 'feature/rmt_support_user_context_in_translator' into 'master'
...
rmt: support user context in translator
Closes IDFGH-4135 and IDFGH-3237
See merge request espressif/esp-idf!10894
2021-01-14 19:26:26 +08:00
Krzysztof Budzynski
8df9e67f15
Merge branch 'bugfix/show_missing_function_descriptions' into 'master'
...
docs: Update typos in 'esp_efuse.h' header file to show function descriptions
See merge request espressif/esp-idf!11923
2021-01-14 18:13:02 +08:00
Jakob Hasse
b51889dccb
system: stack watchpoint support on C3
...
Closes IDF-2307
2021-01-14 17:46:44 +08:00
Mahavir Jain
569ebc181a
Merge branch 'feature/enable_wifi_provisioning_for_esp32c3' into 'master'
...
wifi_provisioning: enable component build for ESP32-C3
Closes IDF-2251
See merge request espressif/esp-idf!11749
2021-01-14 17:35:12 +08:00
Itay Perl
563bc5d19d
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256
...
At -O2 optimization level, GCC seems to optimize out the copying of the
first byte of the checksum, assuming it is zero. This "miscompilation"
happens because the esp_app_desc struct is declared const, but then modified
post-compilation. Casting to volatile disables the optimization.
Closes: https://github.com/espressif/esp-idf/pull/6389
2021-01-14 17:10:49 +08:00
Island
1e73d90c29
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn' into 'master'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
See merge request espressif/esp-idf!11806
2021-01-14 14:47:21 +08:00
Mahavir Jain
ccf89cd4bf
wifi_provisioning: fix build warnings due to incorrect event handler argument type
2021-01-14 10:47:35 +05:30
Mahavir Jain
533c124280
wifi_provisioning: enable component build for ESP32-C3
2021-01-14 10:47:35 +05:30
Marius Vikhammer
4af99be229
cxx: re-enable cxx init_priority unit test for C3
2021-01-14 04:06:06 +00:00
Angus Gratton
a0eab085ad
Merge branch 'bugfix/return_EINVAL_if_truncate_length_minus_zero' into 'master'
...
fatfs: return EINVAL if truncate length is less than 0
Closes IDFCI-390
See merge request espressif/esp-idf!11980
2021-01-14 12:03:14 +08:00
morris
95e712039c
rmt: add workaround to get user context in a graceful way
2021-01-14 11:01:41 +08:00
Michael (XIAO Xufeng)
2d3f22918f
Merge branch 'feature/gdma_channel_allocator' into 'master'
...
gdma channel allocator
Closes IDF-2124
See merge request espressif/esp-idf!11570
2021-01-14 10:52:49 +08:00
Nishanth Samala
21bb6f2334
rmt: support rmt user context in translator
...
Merges https://github.com/espressif/esp-idf/pull/6002
2021-01-14 10:51:25 +08:00
Renz Bagaporo
ff2d9fd96c
[freertos] Silence sign-conversion warning
2021-01-14 10:54:15 +11:00
Angus Gratton
92ae75f955
Merge branch 'feature/support_serial_port_env_args_in_tools' into 'master'
...
Support port and baud env args for otatool targets
Closes IDFGH-3289
See merge request espressif/esp-idf!10812
2021-01-14 07:51:45 +08:00
Angus Gratton
401ad7f2e1
Merge branch 'bugfix/c3_retention_memory_aligned_alloc' into 'master'
...
heap: support aligned_alloc for retention memory on ESP32-C3
See merge request espressif/esp-idf!11974
2021-01-14 06:38:09 +08:00
morris
e9c131e174
fatfs: return EINVAL if truncate length is less than 0
2021-01-13 19:11:48 +08:00
Mahavir Jain
09604d6519
Merge branch 'bugfix/softap_prov_cookies' into 'master'
...
protocomm_httpd: Use HTTP cookies to track session
Closes IDFGH-4487
See merge request espressif/esp-idf!11883
2021-01-13 18:10:55 +08:00
jiangguangming
47f469b238
heap: support aligned_alloc for retention memory on ESP32-C3
2021-01-13 14:41:22 +08:00
Jiang Jiang Jian
7ef49203bd
Merge branch 'bugfix/wifi_fix_no_tbtt_in_station_softap_mode_when_listen_interval_sleep' into 'master'
...
esp_wifi: fix the issue that no tbtt is generated in station+softap mode when maximum modem sleep is enabled
See merge request espressif/esp-idf!11658
2021-01-13 14:17:08 +08:00
Angus Gratton
f683db7aea
Merge branch 'feature/c3_IDF-2554' into 'master'
...
global: Uses CCOUNT API instead of XTHAL macro
Closes IDF-2554
See merge request espressif/esp-idf!11954
2021-01-13 12:55:21 +08:00
Angus Gratton
820639cede
Merge branch 'bugfix/c3_init_priority' into 'master'
...
fix[cxx/system]: init_priority ordering on RISCV
Closes IDF-2206 and IDFGH-4527
See merge request espressif/esp-idf!11660
2021-01-13 12:52:21 +08:00
Angus Gratton
9769be3fde
Merge branch 'bugfix/fix_sign_compare' into 'master'
...
global: fix sign-compare warnings for system level components
See merge request espressif/esp-idf!11252
2021-01-13 12:45:05 +08:00
Piyush Shah
541cf16c9e
protocomm security1: Restart security session if SESSION_STATE_CMD0 is received
...
With the introduction of cookies to track a session, it is possible that the
clients restart the provisioning on the same session, specifically when a user
cancels a current provisioning attempt. This can result in an error as the state
on the device side and client side will go out of sync.
This has now been changed such that if SESSION_STATE_CMD0 is received on
an existing session, the state is reset and flow allowed to continue.
2021-01-13 04:34:10 +00:00
Piyush Shah
72fa8d0750
protocomm_httpd: Use HTTP cookies to track session
...
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.
So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.
Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-01-13 04:34:10 +00:00
Xia Xiaotian
50681db44c
esp_wifi: fix the issue that no tbtt is generated in station+softap mode when
...
maximum modem sleep is enabled
close https://github.com/espressif/esp-idf/issues/6006
2021-01-13 04:20:23 +00:00
Jiang Jiang Jian
26418edc85
Merge branch 'bugfix/IDFCI-377-tag' into 'master'
...
ci: Fix ci IDFCI-377
Closes IDFCI-377
See merge request espressif/esp-idf!11919
2021-01-13 11:59:16 +08:00
morris
40a6a0fac6
async_mcp: apply gdma driver
2021-01-13 10:52:27 +08:00
morris
e6d23a35ec
gdma: dynamic alloc DMA channels
2021-01-13 10:52:27 +08:00
Krzysztof Budzynski
e277d8ef23
Merge branch 'bugfix/esp_sntp_header' into 'master'
...
docs: Add esp_sntp to API reference as it's default idf header
Closes DOC-854
See merge request espressif/esp-idf!11796
2021-01-13 10:28:39 +08:00
David Čermák
76f6dd6214
lwip: Moved default SNTP API to esp_sntp.h
...
and make sntp.h in port folders of lwip component obsoleted
2021-01-13 10:28:34 +08:00
ninh
6dd6c8c3cf
ci: fix IDFCI-377
2021-01-12 13:04:53 +00:00
David Cermak
a807f8e263
lwip: Fixed minor debug print format issue
...
This caused some unsigned int prints out to be printed as singed integer which made the logs unreadable, for example sequence numbers in TCP packet headers
2021-01-12 11:57:49 +00:00
KonstantinKondrashov
dada7cd035
global: Uses CCOUNT API instead of XTHAL macro
2021-01-12 16:24:23 +08:00
Michael (XIAO Xufeng)
a23b6d8ae0
Merge branch 'feature/update_touch_sensor_apis' into 'master'
...
driver: update touch sensor apis
See merge request espressif/esp-idf!11720
2021-01-12 15:39:42 +08:00
morris
753a929525
global: fix sign-compare warnings
2021-01-12 14:05:08 +08:00
Angus Gratton
6504d89050
Merge branch 'bugfix/newlib_FD_ISSET' into 'master'
...
newlib: Fix a case in FD_ISSET macro when n==-1
Closes IDF-2457
See merge request espressif/esp-idf!11794
2021-01-12 13:37:48 +08:00
Angus Gratton
0c341fe23f
Merge branch 'feature/support_esp32c3_master_cmake_random_support' into 'master'
...
fix: support bootloader random enable for esp32c3
Closes IDF-2305
See merge request espressif/esp-idf!11840
2021-01-12 08:21:18 +08:00
David Čermák
cee0e17b7f
Merge branch 'feature/add_websocket_mutual_tls' into 'master'
...
websocket: support mutual tls for websocket
Closes IDFGH-4200
See merge request espressif/esp-idf!11866
2021-01-11 21:45:02 +08:00
Angus Gratton
edac64b703
Merge branch 'feature/c3_master_unit_test' into 'master'
...
C3: build unit tests for C3
See merge request espressif/esp-idf!11856
2021-01-11 18:11:06 +08:00
Jakob Hasse
4c0cf6bf62
gdbstub: C3 - protection for UART register region
...
* reading the UART peripheral registers disturbs
gdbstub because it communicates via UART.
Hence, we protect it.
Closes IDF-2533
2021-01-11 17:09:42 +08:00
fuzhibo
312a0ad6c1
fix: support bootloader random enable for esp32c3
2021-01-11 14:41:09 +08:00
Michael (XIAO Xufeng)
caf1e9d570
Merge branch 'bugfix/soc_caps_implicit_inc' into 'master'
...
HAL: explicitly include soc_caps.h
Closes IDFGH-4547
See merge request espressif/esp-idf!11895
2021-01-11 14:18:10 +08:00
Michael (XIAO Xufeng)
87db7e1705
Merge branch 'bugfix/flash_consistent_with_rom' into 'master'
...
spi_flash: IDF repo stuff needs to be consistent with that in rom
See merge request espressif/esp-idf!11929
2021-01-11 14:14:53 +08:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Aditya Patwardhan
0841d2bc75
esp_tls: Add warning if the CA chain provided contains one/more invalid
...
cert
2021-01-11 03:20:35 +00:00
Michael (XIAO Xufeng)
680f924e86
tinyusb: reduce annoying log under verbose level in CDC
...
And a robust fix.
2021-01-11 01:00:06 +08:00
Ivan Grokhotkov
66ac736a8c
Merge branch 'bugfix/tusb_partial_read' into 'master'
...
usb: Add fix for tinyusb reading
Closes IDF-2029 and IDFGH-4465
See merge request espressif/esp-idf!10069
2021-01-11 00:07:29 +08:00
Jiang Jiang Jian
a42b0c8f06
Merge branch 'feature/support_esp32c3_wifi_master' into 'master'
...
Feature/support esp32c3 wifi master
See merge request espressif/esp-idf!11780
2021-01-10 16:16:29 +08:00
Chen Jian Xing
5b44295cb9
esp_wifi: fix esp32c3 code issues
...
1. enable wifi clk and rm dport header
2.syn phy_init_data.h from esp32
2021-01-10 16:16:28 +08:00
yuanjm
5ab774f9d8
websocket: support mutual tls for websocket
...
Closes https://github.com/espressif/esp-idf/issues/6059
2021-01-08 19:13:37 +00:00
David Cermak
9ffa9cce73
lwip: Add warning to use ESP_IDF_LWIP_HOOK_FILENAME if LWIP_HOOK_FILENAME defined
2021-01-08 14:28:21 +00:00
David Cermak
5993a49352
lwip: Add IDF hook filename to customize lwip hooks
...
LWIP_HOOK_FILENAME is used in IDF to define standard and default hooks for IDF port in LWIP.
Added ESP_IDF_LWIP_HOOK_FILENAME to customize additional hooks in lwip
Closes https://github.com/espressif/esp-idf/issues/6261
2021-01-08 14:28:21 +00:00
Andrei Gramakov
1d1896d409
tinyusb: Add fix for tinyusb reading
...
Closes IDF-2029
2021-01-08 14:21:26 +00:00
Ivan Grokhotkov
b53e8de443
Merge branch 'bugfix/tinyusb_vendor_msc' into 'master'
...
tinyusb: Fix Mass Storage and Vendor Class builds
See merge request espressif/esp-idf!11443
2021-01-08 21:34:34 +08:00
liaowenhao
6c0e3fe23c
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-01-08 20:58:35 +08:00
Cao Sen Miao
228a819a42
spi_flash: idf repo stuff tobe consistent with that in rom
2021-01-08 18:36:23 +08:00
Angus Gratton
c535d569aa
Merge branch 'bugfix/secure_boot_sig_failed_crash' into 'master'
...
secure boot: Fix crash if signature verification fails in app
Closes IDFGH-4376
See merge request espressif/esp-idf!11846
2021-01-08 16:23:29 +08:00
Krzysztof
90c0876b8a
docs: Update typos in 'esp_efuse.h' header file to show function descriptions
2021-01-08 15:29:52 +08:00
Angus Gratton
7069736c2a
Merge branch 'feature/bootloader_uses_efuse_keys_api' into 'master'
...
bootloader: Add using of efuse APIs for keys, purposes, wr/rd-protection bits
See merge request espressif/esp-idf!11110
2021-01-08 11:29:50 +08:00
Konstantin Kondrashov
fbba2cb356
bootloader/esp32s2: Add using of efuse APIs for keys, purposes, wr/rd-protection bits for flash encryption, secure boot
2021-01-08 11:29:46 +08:00
liaowenhao
08dc78412e
fix double malloc for SCO link when bta_ag_sco_co_open is also called in bta_ag_rfc_open
2021-01-07 11:37:24 +00:00
liaowenhao
60e2eb8dfc
bugfix/fixed the warning info always being printed when entering the cona command in msbc mode
2021-01-07 11:37:24 +00:00
lly
d0901c81f8
ble_mesh: stack: Fix using wrong | for OR between macros
2021-01-07 19:17:45 +08:00
Mahavir Jain
fee77509a9
Merge branch 'feature/update_cjson_to_v1.7.14' into 'master'
...
cJSON: update to v1.7.14 release
Closes IDFGH-4532
See merge request espressif/esp-idf!11892
2021-01-07 18:47:46 +08:00