songruojing
b1017de2e6
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3
2022-02-10 20:27:43 +08:00
Michael (XIAO Xufeng)
dcfd5187ac
Merge branch 'bugfix/fix_spi_cs_hold_time_issue_v4.3' into 'release/v4.3'
...
spi_master: fix spi cs_ena_posttrans issue (v4.3)
See merge request espressif/esp-idf!16687
2022-02-10 09:36:50 +00:00
Darian Leung
7f51eb7e7c
Fix incorrect D- pulldown and cleanup USB device struct
...
This commit fixes the incorrect setting of the D- pulldown resistor in the USB LL.
The usb_struct.h used by USB device mode has also been cleaned up.
2022-02-10 17:20:39 +08:00
morris
b979547b06
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap_v4.3' into 'release/v4.3'
...
rmt: do not support rx wrap on esp32s2 (v4.3)
See merge request espressif/esp-idf!17080
2022-02-10 09:12:04 +00:00
Cao Sen Miao
9c4b96d63b
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2022-02-10 10:33:40 +08:00
Wang Meng Yang
119ae77993
Merge branch 'bugfix/a2dp_source_congest_v4.3' into 'release/v4.3'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.3)
See merge request espressif/esp-idf!16735
2022-02-09 11:34:21 +00:00
Wang Meng Yang
ab099369c8
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.3' into 'release/v4.3'
...
component_bt: fixed config parse crash after flash_erase(v4.3)
See merge request espressif/esp-idf!16731
2022-02-09 11:15:52 +00:00
Cao Sen Miao
3a628eb470
usb_serial_jtag: remove the strict condition check in esp_phy
2022-02-09 19:02:36 +08:00
morris
81e3035f4d
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-09 18:23:44 +08:00
Cao Sen Miao
d64553797c
usb_serial_jtag: can print when wifi enabled by default
...
Closes https://github.com/espressif/esp-idf/issues/8131
2022-02-09 17:36:04 +08:00
Zim Kalinowski
5c72bbcb3d
Merge branch 'bugfix/uart_no_int_after_flush_v4.3' into 'release/v4.3'
...
UART: RX interrupts are now properly restored after a flush (backport v4.3)
See merge request espressif/esp-idf!16928
2022-02-09 06:51:43 +00:00
Ivan Grokhotkov
5bcb77fdca
Merge branch 'bugfix/vfs_open_errno_v4.3' into 'release/v4.3'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR) (v4.3)
See merge request espressif/esp-idf!17045
2022-02-08 14:37:45 +00:00
Kapil Gupta
b19424d67e
wpa_supplicant: Scan resumption in PBC mode
2022-02-08 17:16:29 +05:30
Jiang Jiang Jian
93a3a47440
Merge branch 'bugfix/fix_common_clock_bug_v4.3' into 'release/v4.3'
...
esp_wifi: fix common clock bug (backport v4.3)
See merge request espressif/esp-idf!16969
2022-02-08 11:28:02 +00:00
Ivan Grokhotkov
489fcf1b6c
vfs: add test for errno value after 'open'
2022-02-07 11:36:21 +01:00
hörbert
d8c3b4d646
vfs: don't overwrite errno by a hard coded ENOENT
...
Calling "open" in CHECK_AND_CALL sets a perfectly correct errno.
There is no need to overwrite that with a value of ENOENT, since doing
so hides lower level errors like EIO.
Closes https://github.com/espressif/esp-idf/pull/8036
2022-02-07 11:36:20 +01:00
Armando
b3c51e74c8
spi_master: fix spi cs_ena_posttrans issue
2022-02-07 12:22:15 +08:00
Mahavir Jain
fea5bdce86
Merge branch 'feature/mbedtls-2.28.0_v4.3' into 'release/v4.3'
...
mbedtls: Upgrading to v2.28.0 (v4.3)
See merge request espressif/esp-idf!17005
2022-02-03 04:12:10 +00:00
Laukik Hase
bdd329ff02
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
- Fix for make-system build errors
2022-02-02 15:07:50 +05:30
Laukik Hase
df9f101792
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-02-02 11:00:32 +05:30
Laukik Hase
6957b4815a
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-02-02 11:00:32 +05:30
Laukik Hase
46388a0741
wpa_supplicant: Saved message-type digest used in handshake for PRF operations
2022-02-02 11:00:32 +05:30
Laukik Hase
92c0c09514
mbedtls: Moved mbedtls_mpi_mul_int to port layer
2022-02-02 11:00:32 +05:30
Laukik Hase
29b6d229c1
mbedtls: Added config options for v2.28.0 upgrade
2022-02-02 11:00:32 +05:30
Laukik Hase
021627754c
mbedtls: Upgrade to v2.28.0
2022-02-02 11:00:27 +05:30
Shubham Patil
aa89d67923
espcoredump: Parse bt for instruction fetch prohibited cause
2022-02-01 18:28:30 +05:30
Sachin Parekh
e0fc13b23d
coredump: Parse backtrace info for RISCV
...
For RISCV, backtrace generation on device is not possible without
including and parsing DWARF sections. We extract the crash task stack
and let the host generate the backtrace
2022-02-01 17:52:13 +05:30
Shubham Patil
8536cf46a5
espcoredump: Fix string truncation build failure
2022-02-01 17:51:55 +05:30
Shubham Patil
9928f44894
espcoredump: On device core dump parsing to generate summary
2022-02-01 15:24:16 +05:30
Laukik Hase
d29ab82bc9
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-02-01 09:50:45 +05:30
Harshit Malpani
5b36459611
expat: upgrade to v2.4.3 release
...
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_3/expat/Changes
2022-01-31 11:15:29 +05:30
liuning
72e4b5ac5b
esp_wifi: fix common clock bug (backport v4.3)
2022-01-27 20:20:31 +08:00
Omar Chebib
a5a4718600
UART: RX interrupts are now properly restored after a flush
...
Added a unit test to make sure the expected behavior happens
2022-01-27 10:53:41 +08:00
aditi_lonkar
aa044f4a63
esp_wifi: Fixes memory leak in wpa3 connection.
2022-01-26 17:33:20 +08:00
yuanjm
51e196ac93
smartconfig: Fix smartconfig set socket option fail
2022-01-26 11:09:22 +08:00
Zim Kalinowski
87f8a0d5f1
Merge branch 'bugfix/efuse_timesettigs_in_burn_op_v4.3' into 'release/v4.3'
...
efuse: Fixes eFuse timesettings issue on esp32c3 (v4.3)
See merge request espressif/esp-idf!16922
2022-01-26 00:48:52 +00:00
KonstantinKondrashov
8374e3b0ee
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
...
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 20:01:00 +08:00
KonstantinKondrashov
5ebbe6aea7
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-25 19:16:16 +08:00
xiongweichao
58bd27b713
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-24 14:39:33 +08:00
xiongweichao
a0f69c3499
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-24 14:39:33 +08:00
xiongweichao
8368bf3760
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-24 14:39:31 +08:00
xiongweichao
c56cf9d6fd
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-24 14:39:28 +08:00
Hrudaynath Dhabe
e8196c0ff2
esp_wifi: Add support for EAP-FAST authentication method
2022-01-24 14:24:14 +08:00
Jiang Jiang Jian
ab6b4a13db
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.3' into 'release/v4.3'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.3)
See merge request espressif/esp-idf!16814
2022-01-24 06:02:47 +00:00
xiongweichao
947e7909b9
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-24 14:02:01 +08:00
jincheng
53f20589a4
fix cs event for rd_rem_ext_feats delayed issue
2022-01-24 10:31:27 +08:00
Fu Hanxi
b9a96186fd
Merge branch 'feature/espcoredump_py_riscv_support_v4.3' into 'release/v4.3'
...
feature: espcoredump py riscv support (v4.3)
See merge request espressif/esp-idf!16840
2022-01-20 01:16:04 +00:00
Ivan Grokhotkov
9aa263c103
Merge branch 'test/remove_spi_flash_perf_thr_v4.3' into 'release/v4.3'
...
spi_flash_test: remove threshold from unit test (v4.3)
See merge request espressif/esp-idf!16822
2022-01-18 11:51:26 +00:00
Fu Hanxi
b865a84661
test(coredump): refactor coredump test and add esp32s2/esp32c3 tests
2022-01-18 18:03:44 +08:00
Fu Hanxi
fbfef19982
feat(coredump): add esp32s2 and esp32c3 support
2022-01-18 17:48:41 +08:00
Michael (XIAO Xufeng)
cc2c92a7ab
spi_flash_test: remove threshold from unit test
2022-01-18 15:40:00 +08:00
Fu Hanxi
f9cf648afd
fix(coredump): pr_status pid padding should be uint16
2022-01-18 13:50:10 +08:00
Marius Vikhammer
3bad4e3ca4
Task WDT: Fix overflow issue during timeout calculation
...
Closes https://github.com/espressif/esp-idf/issues/8239
2022-01-17 10:06:38 +08:00
Mahavir Jain
8a5f624801
Merge branch 'bugfix/invalid_url_cause_to_crash_v4.3' into 'release/v4.3'
...
http: Fix parsing invalid url cause to crash (v4.3)
See merge request espressif/esp-idf!16479
2022-01-13 06:39:28 +00:00
yuanjm
be89be5a3f
esp_https_ota: Fix esp_https_ota_begin may exist memory leak
2022-01-12 19:57:43 +08:00
Zim Kalinowski
c6c7068776
Merge branch 'bugfix/app_compatible_with_3_1_bootloader_v4.3' into 'release/v4.3'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos (v4.3)
See merge request espressif/esp-idf!16741
2022-01-12 08:39:02 +00:00
Chen Wu
7f1ab6d8d1
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2022-01-12 16:17:20 +08:00
Wang Meng Yang
f68da60831
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.3' into 'release/v4.3'
...
components/bt: Fix bluedroid compile issue(backport release/v4.3)
See merge request espressif/esp-idf!16593
2022-01-11 09:52:16 +00:00
KonstantinKondrashov
f295efce12
esp_system: Fix RTC_WDT protection in esp_restart_noos
...
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2022-01-10 21:57:46 +08:00
David Čermák
b0060dc0a3
Merge branch 'bugfix/mqtt_update_refs_v4.3' into 'release/v4.3'
...
MQTT: Fix build if CONFIG_WS_TRANSPORT is not set and client cleanups (v4.3)
See merge request espressif/esp-idf!15627
2022-01-10 10:25:06 +00:00
Wang Meng Yang
06f2f1c6b2
Merge branch 'bugfix/fix_null_pointer_deference_issue_4.3_mr' into 'release/v4.3'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16638
2022-01-10 08:44:25 +00:00
Wang Meng Yang
62c10b2a05
Merge branch 'bugfix/PRs_on_esp_hid_v4.3' into 'release/v4.3'
...
bugfix/handle_3_esp_hid_PRs (v4.3)
See merge request espressif/esp-idf!16591
2022-01-10 03:21:32 +00:00
David Cermak
308b3e31a3
MQTT: Fix build if CONFIG_WS_TRANSPORT is not set and client cleanups
...
Updated MQTT submodule: git log --oneline f10321a53b53a146ee299cfecc320b89c0cf6611...89894bd0c611b1392967fe90bb49682eba858383
* Fix build issue if cert bundle disabled
* Fix build issue if ws transport disabled
* Add config to set retransmission interval
Detailed description of the changes (f10321a53b...89894bd0c6
):
* Added config option to configure custom retransmission interval
- See merge request espressif/esp-mqtt!110
- esp_mqtt commit 1b009c840b
- Related https://github.com/espressif/esp-mqtt/pull/199
* Configuration conflicts were verified, logged but not reported to the user.
- See merge request espressif/esp-mqtt!102
- esp_mqtt commit 88f4b8ed50
* Fixed build issue if cert bundle disabled
- See merge request espressif/esp-mqtt!109
- esp_mqtt commit 4a89bff610
- esp_mqtt commit 1b71980575
- esp_mqtt commit 5b3c81ee48
- Related https://github.com/espressif/esp-mqtt/pull/198
- Related https://github.com/espressif/esp-idf/issues/7535
* Removes unnecessary outbox_cleanup
- This function were used on old version to handle QoS 2 messages. It's no longer necessary in current implementation.
- See merge request espressif/esp-mqtt!108
- esp_mqtt commit ebef896b00
* Fixed return an error when fail to enqueue
- The functions that enqueue messages didn't had a return for the handler, with this the error was only logged instead of returned whichmay cause the user to have an ID for a message that was not published.
- See merge request espressif/esp-mqtt!103
- esp_mqtt commit 7471177fe7
* CI: Use qemu image based on esp-env:v4.4-1
- Replaced the temporary qemu image with the official qemu:v4.4-1-20210517 derived from the esp-env:v4.4-1 test environment
- See merge request espressif/esp-mqtt!107
- esp_mqtt commit 231b274962
Closes https://github.com/espressif/esp-idf/issues/7535
2022-01-07 15:07:27 +00:00
Zim Kalinowski
6dce875bf9
Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision_v4.3' into 'release/v4.3'
...
Freertos: Fix loss of precision in pdTICKS_TO_MS (v4.3)
See merge request espressif/esp-idf!16675
2022-01-07 14:32:13 +00:00
Zim Kalinowski
9138b9aff5
Merge branch 'bugfix/crypto_allocate_lldesc_v4.3' into 'release/v4.3'
...
crypto: dont create DMA descriptors on the stack (v4.3)
See merge request espressif/esp-idf!16342
2022-01-07 08:45:43 +00:00
Zim Kalinowski
ade22c9072
Merge branch 'bugfix/fix_heap_memory_corruption_v4.3' into 'release/v4.3'
...
Heap: Fix a possible bug in the TLSF allocator (backport v4.3)
See merge request espressif/esp-idf!16508
2022-01-06 11:36:47 +00:00
Omar Chebib
d300a9cfe3
Heap: Fix a possible bug in the TLSF allocator (backport v4.3)
2022-01-06 11:36:46 +00:00
Jiang Jiang Jian
e383693ac2
Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.3' into 'release/v4.3'
...
CI: change ap authmode from number to string (backport v4.3)
See merge request espressif/esp-idf!16554
2022-01-06 10:10:03 +00:00
lisekt84
3764b03734
freertos: Fix loss of precision in pdTICKS_TO_MS
...
Closes https://github.com/espressif/esp-idf/pull/7856
Closes https://github.com/espressif/esp-idf/issues/7853
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-01-06 15:54:01 +08:00
Wang Meng Yang
b9c5ef1717
Merge branch 'bugfix/fix_spp_open_err_bda_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.3]
See merge request espressif/esp-idf!16614
2022-01-06 04:06:42 +00:00
Zim Kalinowski
d6b5b0ab00
Merge branch 'bugfix/pthread_destructor_sequencing_v4.3' into 'release/v4.3'
...
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific (v4.3)
See merge request espressif/esp-idf!14828
2022-01-06 00:38:14 +00:00
Marius Vikhammer
6e9d90d6e1
soc: Added support for specify the maximum descriptor length when setting up the DMA descriptor link
2022-01-06 08:11:57 +08:00
Marius Vikhammer
2a28ec3522
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2022-01-06 08:11:57 +08:00
Marius Vikhammer
b957692888
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2022-01-06 08:11:57 +08:00
Murray Fordyce
606d7e48d2
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 10:47:56 +08:00
Mahavir Jain
0bc2cb89e5
Merge branch 'bugfix/rtc_section_alignment_v4.3_2' into 'release/v4.3'
...
System: fix RTCFAST section alignment (v4.3)
See merge request espressif/esp-idf!16518
2022-01-04 12:34:12 +00:00
“YangZhao”
74f4d07c3b
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 11:09:44 +08:00
Zim Kalinowski
5965ad859d
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.3' into 'release/v4.3'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.3)
See merge request espressif/esp-idf!15882
2022-01-04 02:31:48 +00:00
David Čermák
f8d60e2008
Merge branch 'bugfix/dm9051_tx_throughput_rate_optimization_v4.3' into 'release/v4.3'
...
esp_eth: optimize dm9051 Tx throughput(v4.3)
See merge request espressif/esp-idf!15886
2022-01-03 12:42:54 +00:00
David Cermak
d34f2e407b
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2022-01-03 11:04:17 +01:00
Zim Kalinowski
1dfe3570b4
Merge branch 'bugfix/psram_fix_bootloader_v4.3' into 'release/v4.3'
...
bootloader: disable psram cache bug fix for bootloader (v4.3)
See merge request espressif/esp-idf!15805
2022-01-02 06:14:08 +00:00
Zim Kalinowski
aef7850157
Merge branch 'bugfix/freertos_round_robin_scheduling_retain_skip_v4.3' into 'release/v4.3'
...
freertos: Implement best effort round robin scheduling (v4.3)
See merge request espressif/esp-idf!16542
2021-12-31 02:58:53 +00:00
Zim Kalinowski
04d2887493
Merge branch 'bugfix/spi_slave_test_non_dma_v4.3' into 'release/v4.3'
...
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM (v4.3)
See merge request espressif/esp-idf!16306
2021-12-31 02:57:25 +00:00
Xie Wen Xiang
9b2f6a2a77
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue_v4.3' into 'release/v4.3'
...
components/bt: Fix bluedroid ble50 adv data length issue(backport release/v4.3)
See merge request espressif/esp-idf!16580
2021-12-31 00:40:11 +00:00
liqigan
04bea91b38
fix SPP open with wrong remote bd_addr
2021-12-30 16:36:51 +08:00
xiewenxiang
abacbb1d12
components/bt: Fix bluedroid compile issue
2021-12-30 11:58:21 +08:00
Robin Krens
0818a8b4f1
spacing styling correction
2021-12-30 10:57:30 +08:00
Robin Krens
f61b57e5e5
minor styling changes
2021-12-30 10:57:30 +08:00
Robin Krens
837d4637f5
esp_hid: fix output report char declaration
...
Current issue: output reports sent by Windows not received.
The report characteristic declaration should also support write without
response as specified by HIDS profile:
See https://www.bluetooth.com/specifications/GATT/ (page 14)
2021-12-30 10:57:30 +08:00
xiewenxiang
aaeecdf0e7
component/bt: Support set HW CCA threshold value
2021-12-29 15:40:26 +08:00
xiewenxiang
ab2148a390
component/bt: fix periodic adv parameters detection issue
2021-12-29 15:03:28 +08:00
baohongde
918d8fabcf
components/bt: Update the document of demo bt discovery
2021-12-29 14:39:18 +08:00
Laukik Hase
cc5e2107bb
wifi_prov_mgr: Added check for passphrase length in softAP scheme
...
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-28 18:13:51 +05:30
Omar Chebib
7467c68a17
Merge branch 'bugfix/xStreamBufferReset_crashing_v4.3' into 'release/v4.3'
...
FreeRTOS: Fix xStreamBufferReset function always crashing (backport v4.3)
See merge request espressif/esp-idf!16171
2021-12-27 14:25:01 +00:00
huchaoru
143fb842a5
CI: change ap authmode from number to string (backport v4.3)
2021-12-27 19:59:11 +08:00
Ivan Grokhotkov
df5f73e165
Merge branch 'bugfix/modbus_port_fix_lgpl_licensed_files_v43' into 'release/v4.3'
...
freemodbus: fix port contains lgpl licensed files (backport v4.3)
See merge request espressif/esp-idf!16183
2021-12-27 10:02:21 +00:00
Sudeep Mohanty
7c0d99e68d
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-12-27 15:02:27 +08:00
Mahavir Jain
8a7b2f326b
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended_v4.3' into 'release/v4.3'
...
freertos: Fix prvTaskIsTaskSuspended check (v4.3)
See merge request espressif/esp-idf!16540
2021-12-27 03:56:22 +00:00
Darian Leung
e9cbf56d36
freertos: Fix SMP round robin scheduling
...
The previous SMP freertos round robin would skip over tasks when
time slicing. This commit implements a Best Effort Round Robin
where selected tasks are put to the back of the list, thus
makes the time slicing more fair.
- Documentation has been updated accordingly.
- Tidy up vTaskSwitchContext() to match v10.4.3 more
- Increased esp_ipc task stack size to avoid overflow
Closes https://github.com/espressif/esp-idf/issues/7256
2021-12-27 11:52:11 +08:00
Darian Leung
c33b260e7a
freertos: Fix prvTaskIsTaskSuspended check
...
This commit fixes prvTaskIsTaskSuspended(). Both pending ready lists
should be checked to confirm that is truly suspended.
Closes https://github.com/espressif/esp-idf/issues/7564
2021-12-24 21:08:56 +08:00
morris
19ddefeb5c
timer: stop alarm if alarm value doesn't change in ISR handler
...
Alarm will be disabled by hardware when alarm event happend.
In the ISR, if auto-reload is enabled, we should re-enable the alarm.
If the alarm target value is changed in user's callback,
the alarm will be reenabled as well.
Closes https://github.com/espressif/esp-idf/issues/7001
Closes https://github.com/espressif/esp-idf/issues/8095
2021-12-24 12:28:45 +08:00
Yang Zhao
65edf90e93
Update esp32c3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-23 20:30:12 +08:00
Mahavir Jain
da6c5be6c1
Merge branch 'feature/mbedtls_dynamic_memory_v4.3' into 'release/v4.3'
...
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable...(backport v4.3)
See merge request espressif/esp-idf!16521
2021-12-23 11:43:45 +00:00
Ivan Grokhotkov
f8ee842e8c
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.3' into 'release/v4.3'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.3)
See merge request espressif/esp-idf!16230
2021-12-23 07:51:39 +00:00
Li Jingyi
e3b39381fd
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable MBEDTLS_DYNAMIC_BUFFER feature when MBEDTLS_SSL_PROTO_DTLS is selected
2021-12-23 15:34:18 +08:00
Omar Chebib
5e805d58a8
FreeRTOS: Fix xStreamBufferReset function always crashing
...
This function resets the spinlock given as a parameter after taking it
(when entering the critical section). This then results in a panic once
it tries to exit the same critical section.
* Closes https://github.com/espressif/esp-idf/issues/7725
2021-12-23 06:15:50 +00:00
Jiang Jiang Jian
57efd94fea
Merge branch 'bugfix/scannable_adv_duration_estimation_v4.3' into 'release/v4.3'
...
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence(backport v4.3)
See merge request espressif/esp-idf!16477
2021-12-23 04:21:37 +00:00
Wang Fang
9abfa2c645
Merge branch 'fix/remove_deprecated_macro_SPI_TRANS_SET_CD' into 'release/v4.3'
...
Remove a deprecated macro: SPI_TRANS_SET_CD
See merge request espressif/esp-idf!16494
2021-12-23 02:21:11 +00:00
Martin Vychodil
d581312451
System: fix RTCFAST section alignment
...
This bugfix contains 3 fixes:
1. .rtc_dummy section is removed (not needed for C3)
2. .rtc_text section is padded with 16B for possible CPU prefetch
3. .rtc_text section is aligned to 4B boundary to comply with PMS Memprot requirements
2021-12-23 02:09:46 +01:00
Jiang Jiang Jian
7a4ed65769
Merge branch 'bugifx/nimble_timer_memory_leak_v4.3' into 'release/v4.3'
...
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process(backport v4.3)
See merge request espressif/esp-idf!16446
2021-12-22 13:34:03 +00:00
Jiang Jiang Jian
31d1156c6d
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.3' into 'release/v4.3'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16146
2021-12-22 13:33:29 +00:00
Jiang Jiang Jian
25c047d2fa
Merge branch 'bugfix/wpa_supplicant_logs_release_v4.3' into 'release/v4.3'
...
esp_wifi: Change the verbosity of wpa_supplicant logs. (Backport v4.3)
See merge request espressif/esp-idf!16348
2021-12-22 13:32:58 +00:00
Jiang Jiang Jian
0fed811a46
Merge branch 'feature/mbedtls-2.16.12-integration_v4.3' into 'release/v4.3'
...
mbedtls: upgrade to release v2.16.12 (v4.3)
See merge request espressif/esp-idf!16484
2021-12-22 13:32:30 +00:00
Mahavir Jain
bd5176f108
Merge branch 'bugfix/vfs_io_disabled_console_v4.3' into 'release/v4.3'
...
Fix console output flushing when CONFIG_VFS_SUPPORT_IO is disabled (v4.3)
See merge request espressif/esp-idf!15653
2021-12-22 13:12:21 +00:00
Jiang Jiang Jian
39ab27d0cf
Merge branch 'bugfix/wps_fixes_v4.3' into 'release/v4.3'
...
wpa_supplicant: Add WPS Fixes (backport V4.3)
See merge request espressif/esp-idf!16151
2021-12-22 12:20:46 +00:00
Jiang Jiang Jian
7c9ef7466f
Merge branch 'bugfix/riscv_fix_vector_mcause_v4.3' into 'release/v4.3'
...
RISC-V: fix usage of special register when interrupts are enabled (backport v4.3)
See merge request espressif/esp-idf!16188
2021-12-22 10:09:55 +00:00
Mahavir Jain
97f8f1b0d6
Merge branch 'feature/mbedtls_dynamic_memory_v4.3' into 'release/v4.3'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost(backport v4.3)
See merge request espressif/esp-idf!16274
2021-12-22 08:21:43 +00:00
Zim Kalinowski
eef3c878aa
Merge branch 'bugfix/fix_select_timeout_v4.3' into 'release/v4.3'
...
VFS: `select` function's timeout is now POSIX compliant (backport v4.3)
See merge request espressif/esp-idf!16190
2021-12-22 05:49:13 +00:00
Mahavir Jain
ad2652c1f4
Merge branch 'bugfix/stdatomic_sync_op_and_fetch_v4.3' into 'release/v4.3'
...
newlib: stdatomic: implement missing "op_fetch", "nand" builtins (v4.3)
See merge request espressif/esp-idf!16466
2021-12-22 04:14:53 +00:00
Zim Kalinowski
f00a1bf164
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.3' into 'release/v4.3'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.3)
See merge request espressif/esp-idf!15738
2021-12-22 02:17:47 +00:00
Ivan Grokhotkov
e0777cbbd4
Merge branch 'bugfix/freertos_linker_lf_fixes_v4.3' into 'release/v4.3'
...
freertos: linker.lf rules fixes (v4.3)
See merge request espressif/esp-idf!14042
2021-12-22 00:17:22 +00:00
Wang Fang
641e86c1dc
fix: remove a deprecated macro: SPI_TRANS_SET_CD
2021-12-21 17:44:15 +08:00
Mahavir Jain
0fd5c562bf
mbedtls: upgrade to release v2.16.12
...
For release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
2021-12-21 14:04:31 +05:30
Mahavir Jain
9d79b70acf
mbedtls: small documentation update
2021-12-21 14:04:12 +05:30
Li Jingyi
32e29580de
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-21 15:19:29 +08:00
wangmengyang
3f63a4caee
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-21 12:55:13 +08:00
Wang Meng Yang
450b05a64a
Merge branch 'bugfix/fix_spp_listen_err_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.3]
See merge request espressif/esp-idf!16384
2021-12-21 04:35:07 +00:00
Jiang Jiang Jian
778faeb7dd
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode_v4.3' into 'release/v4.3'
...
secure_boot: Fix warning when UART ROM DL mode is disabled (v4.3)
See merge request espressif/esp-idf!16238
2021-12-21 03:54:33 +00:00
Jiang Jiang Jian
e9f47296a8
Merge branch 'reduce_bootup_time_when_using_usb-serial-jtag_v4.3' into 'release/v4.3'
...
rtc_clk: reduce bootup time when using usb-serial-jtag(backport v4.3)
See merge request espressif/esp-idf!16261
2021-12-21 03:52:39 +00:00
Jiang Jiang Jian
7dbfd01520
Merge branch 'bugfix/hardware_mpi_fallback_issue_v4.3' into 'release/v4.3'
...
mbedtls: fix hardware MPI (bignum) related regression (v4.3)
See merge request espressif/esp-idf!16237
2021-12-21 03:49:11 +00:00
Jiang Jiang Jian
6c38e7c5de
Merge branch 'bugfix/esptool_bump_v4.3' into 'release/v4.3'
...
bugfix: ESP32 rev0/1 connection in release/v4.3
See merge request espressif/esp-idf!16218
2021-12-21 03:47:24 +00:00
Jiang Jiang Jian
4ab1fb9b2a
Merge branch 'bugfix/bootloader_debug_buffers_v4.3' into 'release/v4.3'
...
bootloader_support: Fix and re-enable bootloader_debug_buffer function (v4.3)
See merge request espressif/esp-idf!16074
2021-12-21 03:45:32 +00:00
Jiang Jiang Jian
683a98fbe3
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.3' into 'release/v4.3'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.3)
See merge request espressif/esp-idf!16180
2021-12-21 03:44:41 +00:00
Jiang Jiang Jian
0193aeffd6
Merge branch 'feature/add_dhcp_option_v4.3' into 'release/v4.3'
...
lw-ip: Add macro to disable vendor class option(backport v4.3)
See merge request espressif/esp-idf!15983
2021-12-21 03:44:09 +00:00
Jiang Jiang Jian
9a0a697b27
Merge branch 'bugfix/mdns_non_standard_domains_v4.3' into 'release/v4.3'
...
mdns: Fix parsing non-standard queries (v4.3)
See merge request espressif/esp-idf!16060
2021-12-21 03:43:18 +00:00
Jiang Jiang Jian
3eb854c3ea
Merge branch 'bugfix/LAN8720_reset_assertion_v4.3' into 'release/v4.3'
...
Increased LAN8720 ETH-PHY reset assertion time (v4.3)
See merge request espressif/esp-idf!15826
2021-12-21 03:42:37 +00:00
Jiang Jiang Jian
e7db515b35
Merge branch 'bugfix/link_spi_flash_rom_func_in_bootloader_stage_v4.3' into 'release/v4.3'
...
esp_rom: link rom spi flash functions in bootloader stage (v4.3)
See merge request espressif/esp-idf!15257
2021-12-21 03:42:15 +00:00
Wang Meng Yang
04f69192d2
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.3' into 'release/v4.3'
...
components/bt: fix blufi encryption fail(backport release/v4.3)
See merge request espressif/esp-idf!16315
2021-12-21 03:30:02 +00:00
Wang Meng Yang
91d7557579
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.3' into 'release/v4.3'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.3)
See merge request espressif/esp-idf!16378
2021-12-21 03:27:09 +00:00
Angus Gratton
564229c9a6
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
...
Update as per specification at https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_key_create.html
Specifically:
- Before a destructor is called then the value for the corresponding key is
already set to NULL.
- If a destructor calls pthread_setspecific() to assign a non-NULL value then
this destructor is called again, after all existing non-NULL values have been
called.
Adds a test for this relatively complex behaviour.
Closes https://github.com/espressif/esp-idf/issues/6643
2021-12-21 01:27:49 +00:00
Ivan Grokhotkov
e26a2250a5
freertos: linker.lf rules fixes
...
1. Add conditions based on Kconfig options for functions which are
compiled based on those options.
2. Static allocation is always enabled, move corresponding functions
into the common list.
2021-12-21 01:26:44 +00:00
Ivan Grokhotkov
8e7b11f6d1
newlib: set errno in the explicitly provided reent structure
...
Since these functions receive the pointer to reent structure, they
should set errno in it rather than using thread-local errno.
This didn't cause practical issues because console functions in IDF
are only called from threads, and in that case 'r' is a pointer to
the thread-local structure, so &errno is the same thing as
&__errno_r(r). Still, fixing this for consistency.
2021-12-21 01:25:49 +00:00
Ivan Grokhotkov
3d91e6d993
newlib: implement _fstat_r stub for console
...
When CONFIG_VFS_SUPPORT_IO is disabled, _read_r and _write_r
implementations in syscalls.c are used to provide console I/O via
esp_rom_uart_tx_one_char/esp_rom_uart_rx_one_char.
When newlib opens a (FILE*) stream, it calls fstat to check if the
underlying file is character-oriented. In this case, it configures the
stream to use line buffering. Otherwise (or if fstat fails) the stream
is opened as block buffered.
Since fstat wasn't provided, stdin/stdout/stderr streams got opened in
block buffered mode. For console, we need line buffered output so that
the stream buffer is flushed each time a complete line (ending with
'\n') is sent to stdout or stderr.
Fix by implementing _fstat_r stub, setting st->st_mdoe=S_IFCHR.
2021-12-21 01:25:49 +00:00
Ivan Grokhotkov
bd598e36ea
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
...
* Adds implementations of __{atomic,sync}_nand_fetch_n. These builtins
were implemented for other operations but were not defined for NAND.
* Adds implementation of __atomic_OP_fetch_n for all OPs.
* Adds implementation of __sync_OP_and_fetch_n for all OPs.
Reported in https://github.com/espressif/arduino-esp32/issues/5948
2021-12-21 02:16:02 +01:00
Omar Chebib
824552e9b4
RISC-V: fix usage of special register when interrupts are enabled
2021-12-21 01:06:11 +00:00
Ivan Grokhotkov
3c0d892d43
Merge branch 'bugfix/missing-atomic-definitions' into 'release/v4.3'
...
newlib: missing atomic definitions (v4.3)
See merge request espressif/esp-idf!15610
2021-12-21 01:03:24 +00:00
Ivan Grokhotkov
5ec8dcf937
Merge branch 'bugfix/scheduler_state_query_thread_safety_v4.3' into 'release/v4.3'
...
freertos: fix thread safety for checking scheduler state (v4.3)
See merge request espressif/esp-idf!16131
2021-12-21 01:02:12 +00:00
Ivan Grokhotkov
8bf14a9238
versions: Update version to 4.3.2
2021-12-20 19:02:41 +01:00
Kapil Gupta
92331a8c62
wpa_supplicant: Add WPS Fixes
...
Add following bugfixes
1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
APs in its vicinity and try to do WPS with them one by one till
WPS timeout occurs. This is for some APs which do not set
selected registrar correctly.
2021-12-20 22:02:53 +05:30
wangmengyang
971d9b9436
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-20 15:55:47 +08:00
liqigan
a269df84e9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:07:29 +08:00
xiewenxiang
a7900f871f
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:33:24 +08:00
xiewenxiang
d4cc192782
components/bt: Support low duty cycle directed advertising
2021-12-14 09:33:17 +08:00
xiewenxiang
8409e3bcbe
components/bt: fix blufi encryption fail
2021-12-13 09:55:00 +08:00
Hrudaynath Dhabe
d3b88a13e1
esp_wifi: Change the verbosity of wpa_supplicant logs.
2021-12-09 12:41:36 +05:30
Marius Vikhammer
44af11f38c
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
2021-12-08 12:17:06 +08:00
jingli
4b73610eea
reduce bootup time when using usb-serial-jtag
2021-12-03 20:55:52 +08:00
RichFalk
2305b5f474
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-12-03 09:34:15 +05:30
Mahavir Jain
70936f4c92
mbedtls: remove wrap from component.mk as well
...
Note: This was not required in original MR, as master branch does
not support GNU Make.
2021-12-02 17:15:42 +05:30
Aditya Patwardhan
9fb61791fe
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-12-02 15:17:56 +05:30
Mahavir Jain
7a8c8f8576
esp_bignum: move check for supported MPI bits at start of API
...
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-12-02 15:08:42 +05:30
Mahavir Jain
1cae1fc18e
mbedtls: update mbedtls submodule pointer for MPI API change
2021-12-02 15:08:41 +05:30
Mahavir Jain
0befb28237
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-12-02 15:08:37 +05:30
Mahavir Jain
f864e1ddbb
mbedtls: update kconfig help to correct on supported MPI bits
2021-12-02 15:07:37 +05:30
radim.karnis
4f19ef06fb
esptool: Bump version, fix esp32r0/1 connection
...
Closes https://github.com/espressif/esptool/issues/698
2021-12-01 12:43:50 +01:00
Armando
c38215cb2c
spi_master: correctly reset spi afifos before DMA transaction starts
2021-12-01 11:48:05 +08:00
Gustavo Henrique Nihei
f34a85dc31
bootloader_support: Fix and re-enable bootloader_debug_buffer function
...
The body of the bootloader_debug_buffer function was conditioned to
macros that were never defined, resulting in deactivated code.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-30 21:01:55 +08:00
Yang Zhao
f2d6cb7298
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:27:32 +08:00
Omar Chebib
2ccf84cedf
VFS: select
function's timeout is now POSIX compliant
...
`select` function will now round up the timeout passed as a parameter (if any).
It makes it POSIX compliant.
* Closes https://github.com/espressif/esp-idf/issues/7514
2021-11-30 12:05:34 +08:00
Mahavir Jain
0855521014
bootloader: add anti-FI checks around secure version in anti-rollback scheme
2021-11-29 18:49:36 +05:30
aleks
9204605d98
freemodbus: fix port contains lgpl licensed files
...
Initial version of freemodbus master port files have been added to ESP-IDF based on https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32 .
The overall repository license, at the time of adding these files, has been BSD 3-clause. However at that time, several port files carried LGPL license headers. As the author of these files confirmed in https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32/issues/61#issuecomment-977828450 , this wasn't intentional. ESP-IDF version of modbus master port has been rewritten to target FreeRTOS instead of RT-Thread, but the license headers remained from the original version. This commit corrects this, replacing the license of these files with BSD 3-clause.
2021-11-29 14:15:23 +01:00
Mahavir Jain
a8260c9c77
freertos: fix thread safety for checking scheduler state
...
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-25 19:32:19 +05:30
Jiang Jiang Jian
d95accbda9
Merge branch 'bugfix/multi_heap_get_info_impl_backport_v4.3' into 'release/v4.3'
...
heap: fix multi_heap_get_info_impl (backport v4.3)
See merge request espressif/esp-idf!16118
2021-11-25 11:45:31 +00:00
Michael (XIAO Xufeng)
d16584c313
Merge branch 'bugfix/spi_slave_wrong_miso_mosi_v4.3' into 'release/v4.3'
...
spi_slave: Fix MOSI/MISO inconsistent references on the SPI Slave drivers. (v4.3)
See merge request espressif/esp-idf!14405
2021-11-25 09:36:55 +00:00
Jiang Jiang Jian
0c77b89e13
Merge branch 'feature/add_coex_hci_command_v4.3' into 'release/v4.3'
...
Add hci command to set coexistence status (4.3)
See merge request espressif/esp-idf!16054
2021-11-25 08:02:14 +00:00
Michael (XIAO Xufeng)
8892b4c008
Merge branch 'bugfix/i2c_cmd_not_initailized' into 'release/v4.3'
...
i2c: fixed i2c_cmd_t not initialized properly issue (v4.3)
See merge request espressif/esp-idf!16096
2021-11-25 04:16:52 +00:00
Michael (XIAO Xufeng)
f055fbb713
i2c: fixed i2c_cmd_t not initialized properly issue
2021-11-25 04:16:51 +00:00
Michael (XIAO Xufeng)
b1ca6be111
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key_v43' into 'release/v4.3'
...
freemodbus: fix invalid error handling for duplicate param key (backport v4.3)
See merge request espressif/esp-idf!14788
2021-11-25 04:15:33 +00:00
Gustavo Henrique Nihei
de7d86b8a1
driver: Refactor and clean up SPI Slave test
2021-11-25 12:03:55 +08:00
Gustavo Henrique Nihei
7b587bf1d7
driver: Create TX/RX-only test cases for SPI Slave
2021-11-25 12:03:55 +08:00
Gustavo Henrique Nihei
880e96d7bb
spi: Ensure DMA In-Link EOF is generated by trans_done on SPI Slave
2021-11-25 12:03:55 +08:00
Gustavo Henrique Nihei
2bc4a0836f
spi: Remove Slave TX/RX set bitlen not effective for ESP32-S2/C3/S3
...
Furthermore, RX_EOF_EN should only be set when SPI Slave is configured
for segment transfer mode and the "ms_data_bitlen" field is configured
to control the "IN_SUC_EOF" interrupt. Since "ms_data_bitlen" is not
set anymore for S2, C3 and S3, "RX_EOF_EN" should be cleared.
2021-11-25 12:03:54 +08:00
Gustavo Henrique Nihei
6fb126657a
spi: Fix SPI Slave TX/RX bitlen configuring wrong registers
...
The maximum input length for the SPI Slave should be applied to the read
buffer configuration, not for the write buffer. Similarly, the output
configuration should also target the write buffer.
2021-11-25 12:03:54 +08:00
Gustavo Henrique Nihei
74f010ddfd
spi_slave: Fix MOSI/MISO enable on transaction preparation
...
MOSI and MISO enablement were conditioned to the existence of TX
and RX buffers, respectively. This is valid for the SPI Master,
but for the SPI Slave the opposite is expected.
2021-11-25 12:03:54 +08:00
gaoxiaojie
61d300f055
heap: fix multi_heap_get_info_impl
2021-11-25 10:22:41 +08:00
Zim Kalinowski
28792cdfea
Merge branch 'bugfix/gdbstub_includes' into 'release/v4.3'
...
[gdbstub]: fixed includes of component.mk (v4.3)
See merge request espressif/esp-idf!15870
2021-11-25 01:51:12 +00:00
aleks
158384043d
freemodbus: fix invalid error handling for duplicate param_key
2021-11-25 01:16:10 +08:00
Michael (XIAO Xufeng)
ab5c956bdf
Merge branch 'bugfix/esp_timer_before_init_v4.3' into 'release/v4.3'
...
esp_timer: allow querying the timer before esp_timer_init is called (backport v4.3)
See merge request espressif/esp-idf!15772
2021-11-24 16:44:56 +00:00
Jiang Jiang Jian
23d6e460d9
Merge branch 'bugfix/backport_wifi_fix_1123_v4.3' into 'release/v4.3'
...
esp_wifi: backport some wifi fix(v4.3)
See merge request espressif/esp-idf!16070
2021-11-24 15:26:43 +00:00
Michael (XIAO Xufeng)
48997e82c0
Merge branch 'bugfix/modbus_fix_compiler_err_when_tcp_is_disabled_v43' into 'release/v4.3'
...
freemodbus: fix compiler err when tcp is disabled (backport v4.3)
See merge request espressif/esp-idf!14789
2021-11-24 14:13:04 +00:00
Alex Lisitsyn
de7f5305a7
freemodbus: fix compiler err when tcp is disabled (backport v4.3)
2021-11-24 14:13:03 +00:00
Jiang Jiang Jian
daf9cbbb01
Merge branch 'doc/make_classic_bt_API_ref_only_for_esp32_4.3' into 'release/v4.3'
...
Doc/make classic bt api ref only for esp32 [backport v4.3]
See merge request espressif/esp-idf!15726
2021-11-24 02:54:02 +00:00
Jiang Jiang Jian
050fd07486
Merge branch 'bugfix/fix_crash_when_shutdown_bt_v4.3' into 'release/v4.3'
...
component/bt: fix crash when shutdown bt(backport v4.3)
See merge request espressif/esp-idf!15709
2021-11-24 02:53:21 +00:00
Angus Gratton
9d72bdda58
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
...
- Removes need to manually exclude these components as shown at
https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378
- Hide the config for these components if IPV6 is disabled
- The components are still included in the build, but with no source
files
Backport of e305f29382
Closes https://github.com/espressif/esp-idf/issues/7816
2021-11-23 22:39:58 +08:00
Jiang Jiang Jian
76ddca045e
Merge branch 'bugfix/sleep_wrong_log_lvl_v4.3' into 'release/v4.3'
...
Sleep: fix wrong debug level (backport v4.3)
See merge request espressif/esp-idf!16037
2021-11-23 14:31:30 +00:00
Jiang Jiang Jian
4cb5d9a5c8
Merge branch 'bugfix/protocomm_nimble_allocation_v4.3' into 'release/v4.3'
...
Fix for potential allocation bug in protocomm_nimble.c (v4.3)
See merge request espressif/esp-idf!15997
2021-11-23 13:17:12 +00:00
ChenJianxing
5788bd02c6
esp_wifi: Modify Mexico channel refer to FCC
...
esp_coex: fix wrong alloctation for coex_funcs_t
2021-11-23 21:13:26 +08:00
Jiang Jiang Jian
793b814789
Merge branch 'mesh/bugfix_fix_layer2_node_connection_issue_v4.3' into 'release/v4.3'
...
mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared(backport_v4.3)
See merge request espressif/esp-idf!15660
2021-11-23 12:40:52 +00:00
xiewenxiang
1fbf3bcfef
component/bt: fix crash when shutdown bt
2021-11-23 20:01:16 +08:00
yuanjm
a8fd3ef48e
lwip: Add macro to disable vendor class option
2021-11-23 19:42:47 +08:00
David Cermak
12509dd0c1
mdns: Fix parsing non-standard queries
...
Fix for packets containing unexpected domains, such as openthread.thread.home.arpa.
If we find this packet we set the name entry as invalid, but continue with parsing as the packet might contain related queries for us.
Closes https://github.com/espressif/esp-idf/issues/7694
2021-11-23 09:10:27 +01:00
Jiang Jiang Jian
b1290591df
Merge branch 'bugfix/register_non_32bit_access_v4.3' into 'release/v4.3'
...
hal: avoid non-32bit access to registers (v4.3)
See merge request espressif/esp-idf!15616
2021-11-23 07:09:41 +00:00
Jiang Jiang Jian
9e37f39441
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection_v4.3' into 'release/v4.3'
...
component/bt: check the ble ext conn parameter(backport v4.3)
See merge request espressif/esp-idf!15769
2021-11-23 06:53:16 +00:00
Jiang Jiang Jian
96b284bcd3
Merge branch 'bugfix/fix_static_check_error_mr_4.3' into 'release/v4.3'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16045
2021-11-23 06:36:23 +00:00
Jiang Jiang Jian
254b78d449
Merge branch 'bugfix/leedarson_v4.3' into 'release/v4.3'
...
component_bt: Fix some code logic errors (v4.3)
See merge request espressif/esp-idf!16026
2021-11-23 06:34:33 +00:00
Jiang Jiang Jian
e8153a3cd5
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v4.3)
See merge request espressif/esp-idf!15784
2021-11-23 06:30:46 +00:00
Jiang Jiang Jian
07daa951b6
Merge branch 'bugfix/ble_mesh_host_init_v4.3' into 'release/v4.3'
...
ble_mesh: nimble: return error if init host twice (v4.3)
See merge request espressif/esp-idf!15788
2021-11-23 06:30:28 +00:00
Jiang Jiang Jian
a657543989
Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit_v4.3' into 'release/v4.3'
...
[NimBLE]: clear timer handler during de-initialization(backport v4.3)
See merge request espressif/esp-idf!16029
2021-11-23 06:24:11 +00:00
Jiang Jiang Jian
1e9872bd6a
Merge branch 'bugfix/11kv_scan_event_removal_v4.3' into 'release/v4.3'
...
esp_wifi: Fixes related to 802.11kv (v4.3)
See merge request espressif/esp-idf!16038
2021-11-23 06:23:52 +00:00
Jiang Jiang Jian
b57fff983f
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.3' into 'release/v4.3'
...
ESP32: Fix memory leak in controller deinit function v4.3
See merge request espressif/esp-idf!15969
2021-11-23 06:19:52 +00:00
xiongweichao
8a9ca26d61
Add hci command to set coexistence status
2021-11-23 11:40:17 +08:00
“YangZhao”
911847e3ea
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 19:46:14 +08:00
Kapil Gupta
a63084ae3f
esp_wifi: Remove scan done event for supplicant scans
...
Closes https://github.com/espressif/esp-idf/issues/7423
2021-11-22 14:48:32 +05:30
Kapil Gupta
9d174e7944
wpa_supplicant: Optimize BTM request scan
2021-11-22 14:45:58 +05:30
Omar Chebib
e615a9546b
Sleep: fix wrong debug level
...
Fix usage of ESP_LOGD in sleep_modes.c which triggers a panic when
used in debug log level.
* Closes https://github.com/espressif/esp-idf/issues/7942
2021-11-22 16:42:48 +08:00
wangmengyang
21666192d5
[nimble]: clear timer handler during de-initialization
2021-11-22 10:59:21 +08:00
xiongweichao
92a4cdd7fd
Missing break in switch
2021-11-22 10:47:28 +08:00
xiongweichao
97e728a9aa
Dereference null return value
2021-11-22 10:47:23 +08:00
xiongweichao
a977434855
already defined in bt_target.h
2021-11-22 10:47:12 +08:00
xiongweichao
50f34eb553
Dereference after null check
2021-11-22 10:47:07 +08:00
xiongweichao
a7f26d24d9
Dereference before null check
2021-11-22 10:47:01 +08:00
xiongweichao
6576cee0e8
Logically dead code
2021-11-22 10:46:55 +08:00
Yang Zhao
5a7ae2d8c8
1.It is abnormal when getting the deep sleep state bit. So we need to check
...
the state again and run the "ble_master_soft_rst()" if neesed.
2.fix HCI_Read_Clock error
3.fix HCI_Create_Connection_Cancel error
4.fix ASSERT_WARN during epr
2021-11-19 16:50:30 +08:00
Yang Zhao
ea3a586709
Fix the issue of device name len limited
2021-11-19 16:06:03 +08:00
Mahavir Jain
e241ee32e7
Merge branch 'bugfix/fix_ota_crash_backport_v4.3' into 'release/v4.3'
...
spi_flash: fix app crash when OTA because the OTA task's stack is in rtc fast memory(backport v4.3)
See merge request espressif/esp-idf!15858
2021-11-19 04:54:25 +00:00
isha pardikar
d47c54e706
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
NimBLE: Fixed potential allocation bug in protocomm_nimble.c
Closes https://github.com/espressif/esp-idf/issues/7689
See merge request espressif/esp-idf!15669
2021-11-18 14:16:25 +05:30
Sachin Parekh
017f7a241a
secure_boot: Do not allow key revocation in bootloader
2021-11-17 12:35:06 +05:30
Sachin Parekh
812a92c703
secure_boot: Added Kconfig option for aggressive key revoke
...
Applicable to S2, C3, and S3
2021-11-17 12:35:06 +05:30
Mahavir Jain
d49917edeb
Merge branch 'bugfix/aes_unaligned_access_v4.3' into 'release/v4.3'
...
aes: fix unaligned access (v4.3)
See merge request espressif/esp-idf!15802
2021-11-17 03:57:14 +00:00
Mahavir Jain
a397a70373
Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility_v4.3' into 'release/v4.3'
...
nvs: add config to ignore "encrypted" flag of nvs partitions (v4.3)
See merge request espressif/esp-idf!15921
2021-11-17 03:56:42 +00:00
Mahavir Jain
fa640fef3e
Merge branch 'bugfix/efuse_stdbool_v4.3' into 'release/v4.3'
...
efuse: Add missing stdbool.h include file (v4.3)
See merge request espressif/esp-idf!15936
2021-11-16 15:14:26 +00:00
Mahavir Jain
b6806002df
Merge branch 'bugfix/fix_http_head_request_v4.3' into 'release/v4.3'
...
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request(backport v4.3)
See merge request espressif/esp-idf!15714
2021-11-16 15:13:09 +00:00
Mahavir Jain
4841480a52
Merge branch 'bugfix/define__DOXYGEN___v4.3' into 'release/v4.3'
...
docs: define __DOXYGEN__ for doxygen builds (v4.3)
See merge request espressif/esp-idf!15680
2021-11-16 15:12:27 +00:00
Mahavir Jain
38be4eef46
Merge branch 'bugfix/select_boot_app_v4.3' into 'release/v4.3'
...
partition_table: Fix case when a few similar to otadata partitions in the table (v4.3)
See merge request espressif/esp-idf!15647
2021-11-16 15:11:51 +00:00
Rahul Tank
0f96ebce13
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
Closes https://github.com/espressif/esp-idf/issues/7653
2021-11-16 10:43:38 +05:30
Gustavo Henrique Nihei
728c391766
efuse: Enable C++ linkage for the include headers on esp_efuse.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 13:30:11 -03:00
Gustavo Henrique Nihei
985ca0bcf2
efuse: Add missing stdbool.h include file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 13:30:10 -03:00
Mahavir Jain
2b4604ce8e
spi_flash: minor cleanup, use type/subtype from esp_partition.h
2021-11-12 09:44:04 +05:30
Mahavir Jain
893342794f
nvs: add config to ignore "encrypted" flag of nvs partitions
...
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.
It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.
Please see commit aca9ec28b3
which
introduced check to not allow NVS partitions with "encrypted" flag set.
More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667
Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-12 09:44:04 +05:30
Tian Sen Wen
8999626545
esp_eth: optimize dm9051 Tx throughput
2021-11-11 14:41:58 +08:00
Jakob Hasse
6085518bcb
fix (gdbstub): added xtensa, esp32 as public includes in component.mk
...
Closes https://github.com/espressif/esp-idf/issues/7846
2021-11-10 13:45:05 +08:00
jingli
04ac2b319a
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
2021-11-09 19:51:35 +08:00
boarchuz
22fad5110c
fix bootloader build with rom flash driver
...
Closes https://github.com/espressif/esp-idf/pull/7508
Closes https://github.com/espressif/esp-idf/issues/6849
2021-11-08 14:14:53 +08:00
Frank Sautter
08aacb02f7
Increased LAN8720 ETH-PHY reset assertion time (IDFGH-6018)
...
Increase reset assertion time from 100µs (as specified minimum in the datasheet) to 150µs.
Some specimen of the LAN8720 need the reset signal asserted longer than 100µs to initialise properly. Otherwise they are in a zombie state where they are establishing and loosing an Ethernet link once in a seconds interval.
2021-11-05 11:46:58 +01:00
KonstantinKondrashov
b0c1ceca06
spi_flash: No CPU release time for an erase operation when OS is not running
...
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.
Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n
Fixed for the legacy flash driver as well.
2021-11-04 15:18:44 +08:00
Marius Vikhammer
b1d346f682
bootloader: disable psram cache bug fix for bootloader
...
The psram cache bug fix was also being applied to the bootloader binary (for cmake),
which doesnt do any psram access.
Applying this fix would increase the binary size, as much as 300 bytes in worst case scenarios
2021-11-04 11:32:07 +08:00
Marius Vikhammer
1c9f018891
aes: fix potential unaligned access in aes-gcm
2021-11-04 10:59:53 +08:00
Marius Vikhammer
79b59947d8
aes: fix potential unaligned access of buffers
...
https://github.com/espressif/esp-idf/issues/7236
2021-11-04 10:35:55 +08:00
Marius Vikhammer
519f17f831
docs: define __DOXYGEN__ for doxygen builds
...
Some docs depended on __DOXYGEN__ but this was never defined anywhere.
2021-11-04 10:14:49 +08:00
lly
fe9efd2770
ble_mesh: nimble: return error if init host twice
2021-11-03 19:22:25 +08:00
lly
aab04816f9
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-03 19:05:14 +08:00
Andrei Safronov
6a57c4d5d5
newlib: fix clang atomics
...
Correction of the SYNC_LOCK_* macros in stdatomic
2021-11-02 16:24:18 +01:00
Scott Mabin
710c1f2fad
remove __clang
ifdef around atomic emulation
...
* CI errors led me to believe these were needed, but as it turns out the
load/store intrinsics are required even when idf is built by gcc when
linking to a clang based project.
* remove ... postfix inside `SYNC_LOCK_TEST_AND_SET` expansion
2021-11-02 16:24:18 +01:00
Scott Mabin
b01c197505
newlib: provide missing atomic libcalls
...
Provide emulated atomic load & store libcalls for u8, u16 & u32 integer
types. This is required when building with Clang as llvm does not lower
these operations to native load / stores, where as gcc does.
Provide `sync_lock_test_and_set` atomic implementations for all
supported integer types.
Closes https://github.com/espressif/esp-idf/issues/7591 .
Closes https://github.com/espressif/esp-idf/issues/7592 .
2021-11-02 16:24:18 +01:00
Andrei Safronov
de5e0fa3bd
newlib,clang: implement __sync_* atomics for clang/llvm toolchain.
2021-11-02 16:24:18 +01:00
Ivan Grokhotkov
d4f2e03e4a
newlib: stdatomic: emulate 64-bit atomics on 32-bit SMP SoCs
...
Closes https://github.com/espressif/esp-idf/issues/3163
2021-11-02 16:24:18 +01:00
Ivan Grokhotkov
be520f975a
newlib: stdatomic: fix prototypes, don't disable compiler warnings
2021-11-02 16:24:18 +01:00
Sachin Parekh
2250da111e
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-11-02 16:24:18 +01:00
Renz Bagaporo
5f2fabb2b1
arch: move stdatomic
2021-11-02 16:24:18 +01:00
Cao Sen Miao
173f7e87aa
esp_timer: init rtc timer and system timer in early init
2021-11-02 17:33:31 +08:00
Ivan Grokhotkov
b5fe84a250
esp_timer: allow querying the timer before esp_timer_init is called
2021-11-02 17:33:07 +08:00
xiewenxiang
5ff15a3895
component/bt: check the ble ext conn parameter
2021-11-02 15:32:13 +08:00
yuanjm
cbfffc7269
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
...
Closes https://github.com/espressif/esp-idf/issues/7777
2021-11-01 17:21:21 +08:00
KonstantinKondrashov
e335a16356
efuse_table_gen: Fixes wrong joining fields with omitted names
...
The issue is related to the non-sequential way of description when
such fields going together sequential.
Related to esp32h2 chip for eFuses: MAC_FACTORY and MAC_EXT.
The issue is in wrong indexes of MAC_EXT.
MAC_EXT got indexes like it is joined to MAC_FACTORY.
const esp_efuse_desc_t* ESP_EFUSE_MAC_FACTORY[] = {
&MAC_FACTORY[0],
&MAC_FACTORY[1],
&MAC_FACTORY[2],
&MAC_FACTORY[3],
&MAC_FACTORY[4],
&MAC_FACTORY[5],
NULL
};
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[6],
&MAC_EXT[7],
NULL
};
This commit fixed it to:
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[0],
&MAC_EXT[1],
NULL
};
2021-10-29 19:36:26 +08:00
shenjun
57131eff89
mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2021-10-29 16:43:22 +08:00
weitianhua
b2fba50e78
Remove dummy defines of Classic BT
2021-10-29 14:37:23 +08:00
Isha Pardikar
98d34e5f6d
Merge branch 'wifi_prov_mgr_fix_v4.3' into 'release/v4.3'
...
Wifi_prov_mgr: Fix for ios device needs to do forget device (v4.3)
See merge request espressif/esp-idf!15484
2021-10-29 06:30:25 +00:00
weitianhua
58ff27cc03
Make Classic BT related document links only visible for ESP32
2021-10-29 14:25:31 +08:00
Jiang Jiang Jian
3f752f7e0d
Merge branch 'bugfix/fix_phy_usb_issue_v4.3' into 'release/v4.3'
...
esp_phy: fix esp32c3 phy USB & RSSI issue(V4.3)
See merge request espressif/esp-idf!15648
2021-10-29 03:13:02 +00:00
Konstantin Kondrashov
8140b10a16
esp_system: Adds sync of FRC & RTC counters in esp_restart (v4.3)
2021-10-28 17:33:46 +00:00
chenjianxing
33a616d6a0
esp_phy: fix esp32c3 phy USB & RSSI issue
2021-10-28 17:52:01 +08:00
Zim Kalinowski
534ca101e4
Merge branch 'refactor/systimer_reset_alternative_v4.3' into 'release/v4.3'
...
Systimer reset alternative on S2 (and others) (v4.3)
See merge request espressif/esp-idf!15652
2021-10-28 08:00:29 +00:00
Konstantin Kondrashov
fa85714845
Systimer reset alternative on S2 (and others) (v4.3)
2021-10-28 08:00:28 +00:00
Jiang Jiang Jian
181e51a596
Merge branch 'bugfix/eap_client_iot_issues_v4.3' into 'release/v4.3'
...
ESP_WiFi: Fix some wpa enterprise issue (backport v4.3)
See merge request espressif/esp-idf!15567
2021-10-28 05:59:09 +00:00
Jiang Jiang Jian
6c1c6a3e37
Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously_v43' into 'release/v4.3'
...
freemodbus: fix issues when modbus master and slave work simultaneously (backport v4.3)
See merge request espressif/esp-idf!14930
2021-10-28 03:08:12 +00:00
Alex Lisitsyn
4f716817e0
freemodbus: fix issues when modbus master and slave work simultaneously (backport v4.3)
2021-10-28 03:08:12 +00:00
Kapil Gupta
6acb4620b4
wpa_supplicant: Add missing cflag for legacy makefile
2021-10-28 11:07:05 +08:00
Kapil Gupta
e78d06beb2
wpa_supplicant: Update internal tls client with sha384/sha512 support
...
Add support for validating certificates with SHA384 and SHA512 hashes.
2021-10-28 11:07:05 +08:00
Kapil Gupta
d680db8ed3
esp_wifi: Fix interoperability issue with windows 2008
2021-10-28 11:07:05 +08:00
Island
8165bbca55
Merge branch 'bugfix/heartbeat_filter_with_acceptlist_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix heartbeat filter with accept list (v4.3)
See merge request espressif/esp-idf!15676
2021-10-28 02:58:25 +00:00
Anton Maklakov
befd021767
Merge branch 'bugfix/gdbstub_4_c3_v4.3' into 'release/v4.3'
...
bugfix/esp-gdbstrub: add missing function for esp32c3 (backport v4.3)
See merge request espressif/esp-idf!15665
2021-10-27 09:49:35 +00:00
wangjialiang
3139ef5ab6
ble_mesh: stack: Fix heartbeat filter with accept list
2021-10-27 16:32:17 +08:00
xiongweichao
25a7cdcbd3
Remove assert when inq done
...
Closes https://github.com/espressif/esp-idf/issues/6759
2021-10-27 11:34:51 +08:00
Dmitry
8cb6baac6c
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-27 11:03:35 +08:00
Anton Maklakov
44c701abb6
Merge branch 'feature/toolchain_2021r2_v4.3' into 'release/v4.3'
...
Update toolchains to esp-2021r2 (v4.3)
See merge request espressif/esp-idf!15638
2021-10-26 20:13:28 +00:00
KonstantinKondrashov
208b41975b
partition_table: Fix case when a few similar to otadata partitions in the table
...
It was when in the partition table there is a partition with type="data" and suptype=""(empty),
in this case type=1, suptype=0. It is similar to otadata partition.
This commit fixes it, now it will handle it as type=1, suptype=6 (ESP_PARTITION_SUBTYPE_DATA_UNDEFINED).
2021-10-26 16:07:31 +08:00
Jiang Jiang Jian
54b25318cd
Merge branch 'bugfix/remove_dis_rtc_ram_boot_efuse_bit_backport_v4.3' into 'release/v4.3'
...
efuse: remove DIS_RTC_RAM_BOOT efuse bit (backport v4.3)
See merge request espressif/esp-idf!15233
2021-10-26 03:59:46 +00:00
Anton Maklakov
6e48d5bd6b
coredump: update test data for toolchain 2021r2
2021-10-25 20:19:52 +07:00
Wang Meng Yang
dfe5f7432f
Merge branch 'bugfix/fix_ble_scan_failed_issue_master_4.3' into 'release/v4.3'
...
Fix the ble scan failed issue
See merge request espressif/esp-idf!15588
2021-10-25 07:53:16 +00:00
morris
62bd98158f
hal: avoid non-32bit access to registers
2021-10-25 11:33:50 +08:00
Mahavir Jain
e4995581dc
Merge branch 'bugfix/esp32_app_cpu_core_cache_access_err' into 'release/v4.3'
...
esp32: fix cache access error exception for APP CPU core
See merge request espressif/esp-idf!15586
2021-10-22 09:10:22 +00:00
morris
9a59b6379c
Merge branch 'ci/update_esp_eth_cert_v4.3' into 'release/v4.3'
...
ci: update cert used for esp_eth test (v4.3)
See merge request espressif/esp-idf!15584
2021-10-22 06:54:59 +00:00
morris
498c159b55
Merge branch 'bugfix/fix_efuse_err_address_backport4.3' into 'release/v4.3'
...
fix efuse err address in block0 (backport v4.3)
See merge request espressif/esp-idf!14814
2021-10-22 05:06:41 +00:00
Wu Zheng Hui
e5bd4427e3
fix efuse err address in block0 (backport v4.3)
2021-10-22 13:06:40 +08:00
wuzhenghui
7c52647243
fix stuck in rtc_clk_cal
2021-10-21 21:54:04 +08:00
wuzhenghui
fd5a63f31e
modify csv & generate
...
update efuse_reg.h & efuse_struct.h & references in rst file
2021-10-21 19:24:12 +08:00
isha pardikar
7a0a6879e3
Wifi_prov_mgr:Fix for ios device needs to do forget device
2021-10-21 10:11:58 +05:30
Wang Meng Yang
625bd4f767
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.3' into 'release/v4.3'
...
Fix some bluedroid issues(backport v4.3)
See merge request espressif/esp-idf!15230
2021-10-21 03:49:20 +00:00
Yang Zhao
521c0ef956
1.Fix the ble scan failed issue, this may happen in coexit environment
...
2.Fix connection failed with LG 5.0 phone
3.Check only for same X component of public key in BR/EDR
2021-10-21 10:45:25 +08:00
Mahavir Jain
28f8ac5f12
cpu_start: rename function to add core prefix for more clarity
2021-10-21 08:09:14 +05:30
Mahavir Jain
76e606ab32
cpu_start: let individual core clear its interrupt matrix
...
There was race condition where interrupt entries set by APP cpu core
could have been cleared during PRO cpu startup.
This was causing "cache access error" not being detected for ESP32 APP
CPU core.
This fix allows to NOT modify or clear any entries set by other core
(APP or PRO) and thus avoiding any race conditions during startup code.
2021-10-21 08:03:55 +05:30
Marius Vikhammer
1eab7a033b
ci: update cert used for esp_eth test
2021-10-21 10:06:03 +08:00
morris
eef5add97e
Merge branch 'bugfix/fix_esp32s2_deep_sleep_timer_wake_up_fail_backport_v4.3' into 'release/v4.3'
...
rtc: fix esp32s2 fall into sleep forever when deep-sleep time is set to 0(backport v4.3)
See merge request espressif/esp-idf!13560
2021-10-19 04:44:47 +00:00
Michael (XIAO Xufeng)
43d2a6eeed
Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks_v43' into 'release/v4.3'
...
freemodbus: add affinity option for modbus stack tasks (backport v4.3)
See merge request espressif/esp-idf!14540
2021-10-19 04:11:51 +00:00
Jiang Jiang Jian
2318522f04
Merge branch 'feature/support_ota_multi_phy_v4.3' into 'release/v4.3'
...
esp_wifi: support multi phy init data bin embedded(v4.3)
See merge request espressif/esp-idf!13868
2021-10-18 13:47:28 +00:00
Wang Meng Yang
d474c76556
Merge branch 'bugfix/btdm_ble_data_length_update_fail_v4.3' into 'release/v4.3'
...
Fix data length update failed(release v4.3)
See merge request espressif/esp-idf!15502
2021-10-18 03:07:14 +00:00
morris
5a0b570702
Merge branch 'bugfix/modbus_fix_stack_reinitialization_sequence_v43' into 'release/v4.3'
...
modbus: fix stack reinitialization sequence (backport v4.3)
See merge request espressif/esp-idf!15402
2021-10-18 01:45:12 +00:00
morris
2e8abdb814
Merge branch 'bugfix/fix_touch_sensor_measure_start_wait_time_backport_v4.3' into 'release/v4.3'
...
Bugfix(Touch): fix the touch sensor wait cycle after wakeup from sleep (backport v4.3)
See merge request espressif/esp-idf!13640
2021-10-18 01:42:41 +00:00
Michael (XIAO Xufeng)
14977d7561
Merge branch 'bugfix/spi_ll_intr_bits_v4.3' into 'release/v4.3'
...
spi: Fix wrong target register for interrupt disable (v4.3)
See merge request espressif/esp-idf!14404
2021-10-16 16:18:10 +00:00
Michael (XIAO Xufeng)
8732cc6c6b
Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr_v4.3' into 'release/v4.3'
...
driver/timer: fixed auto reload problem in default isr callback (backport to 4.3)
See merge request espressif/esp-idf!13529
2021-10-16 15:59:26 +00:00
Michael (XIAO Xufeng)
61bd1eb225
Merge branch 'bugfix/xmc_overerase_v4.3' into 'release/v4.3'
...
bootloader: add xmc spi_flash startup flow to improve reliability (v4.3)
See merge request espressif/esp-idf!14768
2021-10-15 16:52:25 +00:00
aleks
5b52358092
freemodbus: check/fix reinitialization issues (tcp master and slave examples)
2021-10-15 16:50:33 +08:00
Armando
52a8f6cdd5
essl: add essl spi support to communicate with spi slave hd mode
2021-10-15 16:50:24 +08:00
Wang Meng Yang
98c1974fb5
Merge branch 'bugfix/stack_init_check_v4.3' into 'release/v4.3'
...
Nimble: Check stack status before executing stack command (v4.3)
See merge request espressif/esp-idf!15321
2021-10-15 07:53:32 +00:00
David Čermák
dacd74cd0f
Merge branch 'bugfix/mdns_remove_service4.3' into 'release/v4.3'
...
mdns: fix memory free issue when repeating the query in reply (v4.3)
See merge request espressif/esp-idf!13516
2021-10-15 05:03:50 +00:00
Cao Sen Miao
fa0dc23a71
Merge branch 'flash/support_gd_32Mb' into 'release/v4.3'
...
spi_flash: support 32Mb-addess flash(backport v4.3)
See merge request espressif/esp-idf!13654
2021-10-15 01:48:59 +00:00
Michael (XIAO Xufeng)
d4fd54f8ce
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
...
The user register, especially dummy related ones, needs to be restored, otherwise the ROM function will not work.
Introduced in dd40123129
.
2021-10-15 02:18:03 +08:00
Michael (XIAO Xufeng)
e00f6cbde9
bootloader: add xmc spi_flash startup flow to improve reliability
2021-10-15 01:49:46 +08:00
Michael (XIAO Xufeng)
5875b03266
Merge branch 'bugfix/fix_bit_error_in_ledc_struct_backport_v4.3' into 'release/v4.3'
...
LEDC: fix bit error in ledc_struct.h(backport v4.3)
See merge request espressif/esp-idf!14162
2021-10-14 17:41:00 +00:00
Jiacheng Guo
0b556de95c
mdns: fix memory free issue when repeating the query in reply
...
The repeated query will be copied in the next event loop while the
memory is freed instantly. Delay the free to fix this issue.
2021-10-14 17:31:01 +02:00
chenjianxing
b4b57a25b8
esp_wifi: backport some wifi fix
...
1.support multi phy init data bin embedded
2.fix not tx 9M rate issue
2021-10-14 21:37:57 +08:00
Cao Sen Miao
ce9e615679
Merge branch 'feature/esp32c3_usbjtagserial_v4.3' into 'release/v4.3'
...
usb_serial_jtag: support usb_serial_jtag on esp32c3(backport v4.3)
See merge request espressif/esp-idf!15319
2021-10-14 10:38:02 +00:00
XieWenxiang
1ea757c0f1
component/bt: Modify the bluetooth device name length limits
2021-10-14 18:24:17 +08:00
fuzhibo
8ab23d4395
Driver(Touch sensor): fix the touch sensor wait cycle after wakeup from sleep
2021-10-14 17:17:45 +08:00
David Čermák
1cddcd010c
Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp_v4.3' into 'release/v4.3'
...
dhcpserver: support cplusplus (backport v4.3)
See merge request espressif/esp-idf!15448
2021-10-14 09:12:02 +00:00
Michael (XIAO Xufeng)
1b75fb5622
Merge branch 'bugfix/spi_master_crash_cache_disabled_v4.3' into 'release/v4.3'
...
spi_master: fix the crash when using interrupt mode when cache is disabled (v4.3)
See merge request espressif/esp-idf!14681
2021-10-14 07:15:54 +00:00
morris
340a4a95ee
Merge branch 'bugfix/i2s_write_failed_in_32bit_slave_mode' into 'release/v4.3'
...
i2s: fix write failure issue in slave mode (backport v4.3)
See merge request espressif/esp-idf!15081
2021-10-14 01:46:57 +00:00
xiewenxiang
594f604e7d
component/bt: fix data length update failed
2021-10-13 19:55:43 +08:00
Song Ruo Jing
75916a8758
Merge branch 'bugfix/cpu_reset_perip_clk_disable_v4.3' into 'release/v4.3'
...
esp_system: Peripheral clocks faulty become disabled during cpu reset
See merge request espressif/esp-idf!15482
2021-10-13 10:04:13 +00:00
morris
faa44d5843
Merge branch 'backport/v4.3/8_16bits_periph_access' into 'release/v4.3'
...
bugfix/driver: fix and cleanup soc/ll stuffs (backport v4.3)
See merge request espressif/esp-idf!15204
2021-10-13 08:30:51 +00:00
Cao Sen Miao
6c01cdc38f
Merge branch 'feature/add_official_support_for_gd_v4.3' into 'release/v4.3'
...
spi_flash(bootloader): adjust unlock patch from rom patch into bootloader, and add support for GD chips (backport v4.3)
See merge request espressif/esp-idf!14605
2021-10-13 08:28:10 +00:00
laokaiyao
07410a1381
i2s: fix write failure issue in slave mode
2021-10-13 10:22:26 +08:00
aleks
33fe673e85
freemodbus: add affinity option for modbus stack tasks
2021-10-12 17:38:39 +08:00
yuanjm
6e182d7ed3
dhcpserver: support cplusplus
...
Closes https://github.com/espressif/esp-idf/issues/7494
Merges https://github.com/espressif/esp-idf/pull/7526
2021-10-12 14:25:38 +08:00
songruojing
023bbe5cb1
esp_system: fix the bug that some peripheral clocks are being disabled during cpu reset for esp32s2, c3, s3
2021-10-12 11:37:17 +08:00
Cao Sen Miao
e226a65a1f
spi_flash: add support for 32Mbit address GD flash, for GD25Q256
2021-10-12 10:53:07 +08:00
suda-morris
91fa868bd6
twai: update register struct file
2021-10-12 10:42:04 +08:00
SalimTerryLi
29accf2533
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
...
Note: on ESP32 UART rxfifo seems to be read as u8 instead of u32 to make it work
2021-10-12 10:42:04 +08:00
Cao Sen Miao
f49d6bf061
usb_serial_jtag: fix the bug that cannot write with usb_jtag
2021-10-11 17:34:24 +08:00
Jeroen Domburg
d6cdb3e0ae
usb_serial_jtag: support usb_serial_jtag on esp32c3
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-10-11 17:34:24 +08:00
Martin Vychodil
e1b9532848
Merge branch 'bugfix/memprot_wrong_fi_check_v4.3' into 'release/v4.3'
...
System/Memprot: Fixed voltage glitching detection logic (v4.3)
See merge request espressif/esp-idf!15412
2021-10-11 03:02:51 +00:00
Cao Sen Miao
ea06ee1ad6
spi_flash: move the unlock patch to bootloader and add support for GD
2021-10-11 10:52:52 +08:00
Cao Sen Miao
a05d4e9e86
Merge branch 'bugfix/bugfix/gpio_cant_hold_v4.3' into 'release/v4.3'
...
gpio: fix issue that gpio cannot hold during deep-sleep on c3 (backport v4.3)
See merge request espressif/esp-idf!15358
2021-10-11 02:30:22 +00:00
Mahavir Jain
c990c8f752
Merge branch 'bugfix/memprot_bad_esp_restart_check_v4.3_3' into 'release/v4.3'
...
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart() (v4.3)
See merge request espressif/esp-idf!15424
2021-10-10 13:01:23 +00:00
Mahavir Jain
d3ec2dc904
Merge branch 'feature/github-7632_v4.3' into 'release/v4.3'
...
esp_crt_bundle: remove EC-ACC certificate (v4.3)
See merge request espressif/esp-idf!15434
2021-10-10 11:25:48 +00:00
Song Ruo Jing
3bcc85d96d
Merge branch 'bugfix/enable_gpio_20_v4.3' into 'release/v4.3'
...
gpio: Enable IO20 on ESP32 (backport v4.3)
See merge request espressif/esp-idf!15022
2021-10-09 08:44:17 +00:00
Li Shuai
0e0e298322
Merge branch 'feature/ledc_use_rtc8m_or_xtal_lightsleep_v4.3' into 'release/v4.3'
...
backport v4.3: support RTC8M and XTAL power domain in light sleep mode
See merge request espressif/esp-idf!15362
2021-10-09 07:28:39 +00:00
Cao Sen Miao
cbfa3eb350
gpio: fix issue that gpio cannot hold during deep-sleep on c3, Closes https://github.com/espressif/esp-idf/issues/7455
2021-10-08 19:56:14 +08:00
Jiang Jiang Jian
e8394e801f
Merge branch 'bugfix/ping_iface_v4.3' into 'release/v4.3'
...
lw ip: Fix ICMP Ping on specific iface (GitHub PR) (v4.3)
See merge request espressif/esp-idf!15145
2021-10-08 06:10:12 +00:00
Wang Meng Yang
166790d354
Merge branch 'bugfix/a2dp_no_audio_transmitted_v4.3' into 'release/v4.3'
...
bugfix/fix wrong clock_id in function `time_now_us` (v4.3)
See merge request espressif/esp-idf!15316
2021-10-08 06:01:22 +00:00
xiewenxiang
5a26d7008d
component/bt: set ext adv param failed when stop ext adv
2021-10-08 11:58:15 +08:00
Victor Morales
caafeff63f
esp_crt_bundle: remove EC-ACC certificate
...
Fixes bug #7631
2021-10-07 13:13:52 +05:30
Martin Vychodil
ec6745a137
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-05 11:58:31 +02:00
Alex Lisitsyn
86b7acc932
Merge branch 'bugfix/freemodbus_change_max_task_prio_v43' into 'release/v4.3'
...
Bugfix/freemodbus change max task prio (backport v4.3)
See merge request espressif/esp-idf!13732
2021-10-05 07:47:21 +00:00
ivmarkov
98733692c9
lwip: Fix ICMP Ping on specific iface
...
Fix broken parentheses in setsockopt call
Merges https://github.com/espressif/esp-idf/pull/7397
2021-10-05 13:12:01 +08:00
Martin Vychodil
7689a801d4
System/Memprot: fixed voltage glitching detection logic
...
When the application is being debugged it should check the call result (esp_cpu_in_ocd_debug_mode())
is not given volt.glitch attack - so the result is triple-checked by ESP_FAULT_ASSERT macro. In case
the check fails, the system is reset immediately
IDF-4014
2021-10-04 19:25:32 +02:00
David Čermák
3a925002a7
Merge branch 'bugfix/esp_sntp_declare_v4.3' into 'release/v4.3'
...
lw-ip: Fix sntp custom options if sntp_get_system_time used (v4.3)
See merge request espressif/esp-idf!15142
2021-10-04 04:45:08 +00:00
Jiang Jiang Jian
28b768807e
Merge branch 'bugfix/bt_legacy_paring_wrong_pin_code_err_v4.3' into 'release/v4.3'
...
bugfix/fix the crash when using legacy paring with wrong pin code (v4.3)
See merge request espressif/esp-idf!15298
2021-09-30 01:12:54 +00:00
Jiang Jiang Jian
b10888a591
Merge branch 'bugfix/fix_macro_conversion_v4.3' into 'release/v4.3'
...
Nimble: Fix logging level mismatch (v4.3)
See merge request espressif/esp-idf!15331
2021-09-30 01:09:56 +00:00
Jiang Jiang Jian
8aa9103307
Merge branch 'feature/sync_bt_lib_with_hli_v4.3' into 'release/v4.3'
...
components/bt: Sync bt lib with the high level interrupt version
See merge request espressif/esp-idf!15327
2021-09-30 01:07:45 +00:00
Li Shuai
4f71b49aa6
esp_hw_support: keep external 40 MHz xtal related analog circuit power on during sleep
2021-09-28 11:21:33 +08:00
Li Shuai
aac59ed5ec
Power Management: add XTAL power domain to control whether external 40MHz xtal is powered down during sleep
2021-09-28 11:21:31 +08:00
Li Shuai
4f4254537c
esp_hw_support: No voltage drop during light sleep to ensure stable output clock of rtc8m oscillator
2021-09-28 11:20:00 +08:00
Li Shuai
4ef6e37fcb
Power Management: add RTC8M power domain to control whether internal 8m oscillator is powered down during sleep
2021-09-28 11:19:57 +08:00
Mahavir Jain
d2fa3fd234
Merge branch 'feature/local_control_sec1_v4.3' into 'release/v4.3'
...
Added support for security1 in local control (backport v4.3)
See merge request espressif/esp-idf!15281
2021-09-24 08:51:39 +00:00
David Cermak
bb0eecee0e
lwip: Fix sntp custom options if sntp_get_system_time used
2021-09-24 14:49:15 +08:00
David Čermák
0e956b5977
Merge branch 'bugfix/eth_dm9051_not_responding_v4.3' into 'release/v4.3'
...
esp_eth: Fix dm9051 Rx interrupt processing (v4.3)
See merge request espressif/esp-idf!15284
2021-09-24 06:45:49 +00:00
Mahavir Jain
0021be424f
Merge branch 'fix/no_stub_secure_boot_v4.3' into 'release/v4.3'
...
secure_boot: Enable --no-stub if secure boot enabled (v4.3)
See merge request espressif/esp-idf!15320
2021-09-24 04:17:36 +00:00
Mahavir Jain
5ab3dd40ba
Merge branch 'feature/secure_boot_key_check_before_revoke_v4.3' into 'release/v4.3'
...
Check if the running app is signed by a valid key before revocation (v4.3)
See merge request espressif/esp-idf!15293
2021-09-24 04:03:40 +00:00
morris
b36bc02ef1
Merge branch 'bugfix/uart_driver_obj_into_sram_v4.3' into 'release/v4.3'
...
uart: put driver object into sram(v4.3)
See merge request espressif/esp-idf!14745
2021-09-24 03:12:28 +00:00
Supreet Deshpande
9abe6da406
app_update: Check if the running app is signed by a valid key before revocation
2021-09-23 21:06:44 +08:00
Rahul Tank
b49a979a51
Removed Critical debug level from menuconfig, since it internally maps
...
to level Error.
2021-09-23 18:07:25 +05:30
baohongde
0e18b8b4cb
components/bt: Sync bt lib with the high level interrupt version
2021-09-23 16:58:37 +08:00
Rahul Tank
2a359c3ee4
Nimble: Check stack status before executing stack command
2021-09-23 13:02:52 +05:30
Sachin Parekh
1f5473dd1a
secure_boot: Enable --no-stub if secure boot enabled
...
ROM code doesn't allow loader stub to be executed in case secure boot in
enabled. Providing --no-stub flag to esptool allows user to flash new
firmware, given download mode hasn't been disabled
2021-09-23 12:50:45 +05:30
jincheng
2e8f0a47ff
fix wrong clock_id in function time_now_us
...
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 10:02:12 +08:00
jincheng
e08f69aaff
bugfix/fix the crash when using legacy paring with wrong pin code
...
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-22 14:55:53 +08:00
morris
73c5a68c6f
uart: support alloc driver object in SRAM
...
If CONFIG_UART_ISR_IN_IRAM is on, which means user hope the uart
interrupt can still be serviced even when cache is diabled (e.g.
writing to flash). In that case, the driver should make sure to
put the all related objects into SRAM, avoid putting them in the PSRAM.
Closes https://github.com/espressif/esp-idf/issues/7044
Closes https://github.com/espressif/esp-idf/pull/7355
2021-09-22 11:46:42 +08:00
morris
f4ccb8e766
uart: format driver code by astyle
2021-09-22 11:46:42 +08:00
Switi Mhaiske
a30195d87b
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack for v4.3
2021-09-21 19:34:13 +05:30
Aditya Patwardhan
05bdb58297
Merge branch 'fix/esp_mbedtls_write_api_v4.3' into 'release/v4.3'
...
Fix esp_mbedtls_write API (v4.3)
See merge request espressif/esp-idf!15214
2021-09-21 12:42:43 +00:00
Mahavir Jain
b8ab11b1c7
Merge branch 'bugfix/http_client_eagain_v4.3' into 'release/v4.3'
...
esp_http_client: Fixed handling of EAGAIN return (backport v4.3)
See merge request espressif/esp-idf!15273
2021-09-21 11:51:05 +00:00
David Cermak
609f5ef9a0
esp_eth: Fix dm9051 Rx interrupt processing
...
* Disable Tx interrupts to fix race condition of missing Rx interrupt
* Check if GPIO interrupt is asserted periodically if the ISR event missed
Closes https://github.com/espressif/esp-idf/issues/6414
2021-09-21 11:10:19 +02:00
Aditya Patwardhan
c62682cd07
Fix esp_mbedtls_write API
...
Fix esp_wolfssl_write API
Closes https://github.com/espressif/esp-idf/issues/7461
2021-09-21 16:31:21 +08:00
Adam Múdry
3926b436b5
vfs/fatfs: fix failed tests by increasing timeout
...
Default 30s timeout is too low for a case when SD card formatting is triggered,
which could lead to tests failure. Timeout of tests is now set to 60s.
JIRA IDFCI-742
2021-09-21 08:53:18 +02:00
Vikram Dattu
9e00034ec7
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-21 09:21:18 +05:30
Vikram Dattu
70db0406fc
esp_http_client: Fixed handling of EAGAIN return
...
For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!
Also handled http connection EAGAIN with `errno == EAGAIN` check.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-20 17:10:44 +05:30
Shivani Tipnis
9e24590d9b
Merge branch 'bugfix/fix_nvstool_readme_v4.3' into 'release/v4.3'
...
Update Readme with supports of multiline strings and comments in the CSV file (v4.3)
See merge request espressif/esp-idf!15223
2021-09-20 10:44:30 +00:00
Mahavir Jain
4ad49c4ae7
Merge branch 'bugfix/coap_with_cxx' into 'release/v4.3'
...
coap : fix for coap implementation with cxx
See merge request espressif/esp-idf!15220
2021-09-20 09:45:21 +00:00
Roland Dobai
956f6c6e3b
Merge branch 'feature/gcov_dump_in_thread_v4.3' into 'release/v4.3'
...
backport/gcov dump in thread to v4.3
See merge request espressif/esp-idf!15205
2021-09-20 09:36:25 +00:00
Mahavir Jain
c33ac6d1a9
Merge branch 'feature/clock_glitch_enable_v4.3' into 'release/v4.3'
...
bootloader: Enable clock glitch detection (v4.3)
See merge request espressif/esp-idf!15225
2021-09-20 09:35:42 +00:00
Shivani Tipnis
4a21a9e341
nvs_tool: Update Readme with supports of multiline strings and comments in the CSV file
...
Closes https://github.com/espressif/esp-idf/issues/7175
2021-09-20 14:12:13 +08:00
Jon Maloney
57042ab56c
esp_http_client: Support client key password for HTTPS connections.
...
Closes https://github.com/espressif/esp-idf/pull/7420
Closes https://github.com/espressif/esp-idf/issues/7418
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-09-19 21:12:35 +08:00
Xie Wen Xiang
75a7abe946
Merge branch 'bugfix/btdm_ble_event_mask_default_value_v4.3' into 'release/v4.3'
...
[BLE] Fixed default LE Event Mask(backport v4.3)
See merge request espressif/esp-idf!15242
2021-09-18 08:27:23 +00:00
Li Shuai
72f87748e8
Merge branch 'bugfix/esp32s3_lightsleep_psram_leakage_current_v4.3' into 'release/v4.3'
...
backport v4.3: fix SPIRAM leakage when its CS pin has no hardware pullup
See merge request espressif/esp-idf!15224
2021-09-18 04:37:56 +00:00
Erhan Kurubas
d6ed894113
esp_ipc: fix race condition in ipc task
2021-09-17 23:19:27 +03:00
Erhan Kurubas
89a6a7fc30
ipc: enable ipc task at single core for gcov dump
2021-09-17 23:19:27 +03:00
Erhan Kurubas
bea97c8e91
gcov: add stub table size entry
2021-09-17 23:19:27 +03:00
Erhan Kurubas
f5b297a654
gcov: add gcov callback into the ipc task
2021-09-17 23:19:27 +03:00
Erhan Kurubas
93259b9508
gcov: dump in a special thread
2021-09-17 23:19:27 +03:00
Erhan Kurubas
81956c63c8
gcov: added dbg stub capabilites and magic number entry to keep backward compatible
2021-09-17 23:19:27 +03:00
xiewenxiang
371e1bb4c9
component/bt: Fixed default LE Event Mask(release v4.3)
2021-09-17 17:53:02 +08:00
morris
be1539f926
Merge branch 'bugfix/rotary_encoder_v4.3' into 'release/v4.3'
...
bugfix:rotary encoder example isr service install(backport v4.3)
See merge request espressif/esp-idf!14351
2021-09-17 08:57:05 +00:00
Li Shuai
3f17cc2ab8
light sleep: fix Flash leakage when its CS pin has no hardware pullup
2021-09-17 16:28:47 +08:00
Li Shuai
acdf49a5ac
light sleep: fix SPIRAM leakage when its CS pin has no hardware pullup
2021-09-17 16:28:47 +08:00
chenjianqiang
42039cde0a
add flash and PSRAM CS IO acquire function
2021-09-17 16:28:47 +08:00
Harshit Malpani
d43bb775a5
coap: Fix coap implentation with cxx
...
Closes https://github.com/espressif/esp-idf/issues/6804
2021-09-17 16:26:29 +08:00
Sachin Parekh
26563474d6
bootloader: Enable clock glitch detection
...
Reset the device when clock glitch detected. Clock glitch detection is
only active in bootloader
2021-09-17 13:32:34 +05:30
Yuriy Shestakov
872c42ecf7
Fixed GLITCH_RTC_RST for esp32-c3 revision 3
...
* Issue: https://github.com/espressif/esp-idf/issues/7082
Signed-off-by: Yuriy Shestakov <yshestakov@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/7082
Closes https://github.com/espressif/esp-idf/pull/7441
2021-09-17 13:32:34 +05:30
Christian Fischerauer
3bd69d296d
esp_eth: adapt ksz8041.c to changes from commit 03a6c49
...
Closes https://github.com/espressif/esp-idf/issues/7570
Merges https://github.com/espressif/esp-idf/pull/7573
2021-09-16 21:39:23 +08:00
Mahavir Jain
316674a096
Merge branch 'feature/hmac_downstream_jtag_v4.3' into 'release/v4.3'
...
hmac: Added Downstream JTAG enable mode for esp32c3 (v4.3)
See merge request espressif/esp-idf!15203
2021-09-16 04:20:14 +00:00
Jiang Jiang Jian
3908360e46
Merge branch 'feature/support_bss_in_psram_for_esp32s2_v4.3' into 'release/v4.3'
...
[system] Allow .bss segment placed in external memory for ESP32-S2 ( backport v4.3)
See merge request espressif/esp-idf!14946
2021-09-15 08:09:42 +00:00
Wu Zheng Hui
4fd6d3deae
Adjust the variable name &
...
Add mapping support for different sizes of spi ram
2021-09-15 16:09:33 +08:00
Jiang Jiang Jian
f83699a67f
Merge branch 'cherry-pick-e8360fe0-4' into 'release/v4.3'
...
wpa_supplicant: clean tls client state machine (backport v4.3)
See merge request espressif/esp-idf!15040
2021-09-15 08:06:00 +00:00
Sachin Parekh
94c9e5299a
esp32s2/hmac: Release HMAC lock in downstream mode incase of failure
2021-09-14 17:05:28 +05:30
Sachin Parekh
c215bb04f6
hmac: Added Downstream JTAG enable mode for esp32c3
...
If JTAG is disabled temporarily by burning SOFT_DIS_JTAG, it can be
re-enabled temporarily through esp_hmac_jtag_enable API
2021-09-14 17:05:01 +05:30
Konstantin Kondrashov
0d16e61d96
efuse: Fix len of SOFT_DIS_JTAG for esp32c3(v4.3)
2021-09-14 13:22:08 +08:00
Omar Chebib
6b0cbe54e6
Merge branch 'bugfix/add_critical_section_in_uart_driver_v4.3' into 'release/v4.3'
...
UART: add missing critical section wrappers around rx_buffered_len (backport v4.3)
See merge request espressif/esp-idf!14774
2021-09-13 15:18:32 +00:00
Omar Chebib
6c363a4075
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-09-13 23:18:25 +08:00
Zim Kalinowski
80cfaeb7cc
Merge branch 'bugfix/nvs_host_test_missing_struct' into 'release/v4.3'
...
[nvs] Add page host test to CI (backport 4.3)
See merge request espressif/esp-idf!15010
2021-09-13 13:11:56 +00:00
Omar Chebib
0d0bec6c31
console: fix a bug preventing us from starting a CLI on non-default UART
...
It is now possible to start a REPL CLI on another UART than the default
one.
Closes https://github.com/espressif/esp-idf/issues/6897
2021-09-13 14:10:19 +08:00
Zim Kalinowski
8bb5d87f0c
Merge branch 'bugfix/freertos_ut_suspend_v4.3' into 'release/v4.3'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v4.3)
See merge request espressif/esp-idf!14630
2021-09-13 04:14:14 +00:00
Wang Meng Yang
de48a67083
Merge branch 'bugfix/btdm_ble_connection_will_crash_durning_erase_flash_v4.3' into 'release/v4.3'
...
[BLE] Fixed ble conn will crash during erasing flash(backport v4.3)
See merge request espressif/esp-idf!14795
2021-09-13 01:50:09 +00:00
Wang Meng Yang
d5e5f44d36
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.3' into 'release/v4.3'
...
component/bt: fix some ble document description error(backport v4.3)
See merge request espressif/esp-idf!14823
2021-09-13 01:49:49 +00:00
Wang Meng Yang
2777ff73f4
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value_v4.3' into 'release/v4.3'
...
component/bt: fix bluedroid host auto update PPCP attribute value(backport v4.3)
See merge request espressif/esp-idf!14748
2021-09-13 01:49:01 +00:00
Zim Kalinowski
e0c2bf1d0a
Merge branch 'feature/regi2c_add_lock_v4.3' into 'release/v4.3'
...
regi2c: add a spinlock for accessing (reg)I2C devices (backport v4.3)
See merge request espressif/esp-idf!13690
2021-09-11 01:07:10 +00:00
Zim Kalinowski
1ab4819b74
Merge branch 'bugfix/esp_event_any_id_unregister_4.3' into 'release/v4.3'
...
ESP Event: fix unregister documentation (backport 4.3)
See merge request espressif/esp-idf!14431
2021-09-10 11:52:44 +00:00
Omar Chebib
173e001680
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-09-10 18:50:16 +08:00
Jakob Hasse
a6371d2a97
[nvs] nvs page host runs in CI, fix build failure
...
* nvs host page unit test now runs in ci
* fixed nvs host page unit test build failure
2021-09-10 13:02:51 +08:00
Zim Kalinowski
55dfd61796
Merge branch 'bugfix/uart_sw_sw_flow_error_typo_v4.3' into 'release/v4.3'
...
uart: fix typo in error message (v4.3)
See merge request espressif/esp-idf!14613
2021-09-10 04:30:37 +00:00
Zim Kalinowski
121910b939
Merge branch 'ci/change_perf_key_v4.3' into 'release/v4.3'
...
ci: update performance test key to db compatible format (v4.3)
See merge request espressif/esp-idf!14654
2021-09-10 04:23:09 +00:00
Zim Kalinowski
1f0d8585ca
Merge branch 'feature/update_efuses_for_esp32s2_v4.3' into 'release/v4.3'
...
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses (v4.3)
See merge request espressif/esp-idf!14770
2021-09-10 04:21:54 +00:00
Jakob Hasse
dfa2a980d7
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-09-10 10:12:39 +08:00
Roland Dobai
9805fc85ee
Merge branch 'feature/doc_sbv2_key_not_read_protected_v4.3' into 'release/v4.3'
...
secure_boot_v2(doc): secure_boot_v2 key/s must be readable (v4.3)
See merge request espressif/esp-idf!14671
2021-09-09 19:37:52 +00:00
Ivan Grokhotkov
746f2e2d49
Merge branch 'bugfix/newlib_dirent_decls_4.3' into 'release/v4.3'
...
newlib: add C++ guards to the platform-specific dirent.h (backport 4.3)
See merge request espressif/esp-idf!14621
2021-09-09 18:46:58 +00:00
Mahavir Jain
94667365d3
Merge branch 'esp32c3/override_assert_v4.3' into 'release/v4.3'
...
newlib: Override __assert and __assert_func (v4.3)
See merge request espressif/esp-idf!14685
2021-09-09 13:24:01 +00:00
David Čermák
51f1bc3ced
Merge branch 'bugfix/cmake_compiler_warn_write_string_v4.3' into 'release/v4.3'
...
Build: Fix CMake to pass -Wwrite-string compiler flag if enabled (v4.3)
See merge request espressif/esp-idf!14426
2021-09-09 09:49:33 +00:00
David Čermák
4c400e9311
Merge branch 'bugfix/wifi_ap_handler_docs_v4.3' into 'release/v4.3'
...
wifi/netif: Fix wifi_ap_handlers comments to relate to AP (v4.3)
See merge request espressif/esp-idf!15147
2021-09-09 09:40:32 +00:00
morris
943c9cc560
Merge branch 'bugfix/config_data_interface_early_v4.3' into 'release/v4.3'
...
initialize data interface early (v4.3)
See merge request espressif/esp-idf!15087
2021-09-09 08:45:22 +00:00
morris
eea13b76a1
Merge branch 'bugfix/mcpwm-deadtime-preset-config-backport_v4.3' into 'release/v4.3'
...
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v4.3)
See merge request espressif/esp-idf!14622
2021-09-09 07:29:11 +00:00
Mahavir Jain
9ac4c49553
Merge branch 'fixes/secure_boot_v4.3' into 'release/v4.3'
...
secure_boot/esp32(s2,c3): Disable read protecting of efuses (v4.3)
See merge request espressif/esp-idf!14960
2021-09-09 07:16:54 +00:00
Mahavir Jain
1d866dc4a0
Merge branch 'bugfix/uninitialized_tasknumber_v4.3' into 'release/v4.3'
...
fix(FreeRTOS): Initialize uxTaskNumber at task initialization (v4.3)
See merge request espressif/esp-idf!14669
2021-09-09 07:01:01 +00:00
Yuan Jian Min
2429a578ad
Merge branch 'bugfix/fix_ping_sock_return_error_v4.3' into 'release/v4.3'
...
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured(backport v4.3)
See merge request espressif/esp-idf!14847
2021-09-09 06:20:56 +00:00
David Cermak
801c3a4c60
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
2021-09-09 07:53:35 +02:00
Mahavir Jain
7fa47e87dd
Merge branch 'bugfix/fix_ws_handle_big_messages_v4.3' into 'release/v4.3'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly(backport v4.3)
See merge request espressif/esp-idf!15015
2021-09-09 04:13:02 +00:00
morris
b76369ddb6
eth: dont warn nego timeout if link is down
2021-09-08 20:52:26 +08:00
morris
b829fcff3e
emac: configure data interface early
2021-09-08 20:52:26 +08:00
Wang Meng Yang
5e7d08d083
Merge branch 'bugfix/build_warning_unused_variable' into 'release/v4.3'
...
bugfix/remove unused variable which caused to build warnings
See merge request espressif/esp-idf!15105
2021-09-08 11:56:04 +00:00
Alex Lisitsyn
3a9a208edc
Merge branch 'bugfix/freemodbus_fix_zero_based_reg_address_in_iterator_v43' into 'release/v4.3'
...
freemodbus: fix mb zero based reg address in the iterator (backport v4.3)
See merge request espressif/esp-idf!14551
2021-09-08 09:48:21 +00:00
Mahavir Jain
a6b632661c
Merge branch 'feature/update_expat_v4.3' into 'release/v4.3'
...
expat: Update library from 2.2.9 to 2.4.1(backport v4.3)
See merge request espressif/esp-idf!15071
2021-09-08 09:17:25 +00:00
Roland Dobai
9032828325
Merge branch 'bugfix/idf_size_wrong_memory_calculations_v4.3' into 'release/v4.3'
...
Tools: Fix memory calculations of idf_size.py (v4.3)
See merge request espressif/esp-idf!14933
2021-09-08 09:11:57 +00:00
Marius Vikhammer
d1ce75b018
Merge branch 'bugfix/ulp_overflow_rtc_mem_v4.3' into 'release/v4.3'
...
ulp: ULP_COPROC_RESERVE_MEM limitation (v4.3)
See merge request espressif/esp-idf!14375
2021-09-08 09:05:46 +00:00
Marius Vikhammer
e741161b2e
Merge branch 'bugfix/renable_unit_tests_v4.3' into 'release/v4.3'
...
ci: enable previously disabled unit tests (v4.3)
See merge request espressif/esp-idf!13775
2021-09-08 09:03:32 +00:00
Mahavir Jain
f5731c832f
Merge branch 'bugfix/rename_newlib_header_v4.3' into 'release/v4.3'
...
esp_rom: remove "newlib.h" header (v4.3)
See merge request espressif/esp-idf!15012
2021-09-08 09:01:30 +00:00
Marius Vikhammer
ab111b7f79
Merge branch 'bugfix/ulp_riscv_cocpu_trap_v4.3' into 'release/v4.3'
...
ulp riscv: force cocpu clock on to prevent spurious cocpu trap resets (v4.3)
See merge request espressif/esp-idf!14317
2021-09-08 08:59:42 +00:00
Marius Vikhammer
0f7dd04a83
Merge branch 'bugfix/crypto_gdma_v4.3' into 'release/v4.3'
...
aes/sha: fixed driver reseting the wrong GDMA channel (v4.3)
See merge request espressif/esp-idf!15002
2021-09-08 08:58:24 +00:00
Sachin Parekh
c2f015ace1
secure_boot/esp32(s2,c3): Disable read protecting of efuses
...
When secure boot is enabled, disable the ability to read protect
efuses that contain the digest.
2021-09-08 16:42:54 +08:00
Roland Dobai
49fcfafed3
Merge branch 'bugfix/core_dump_image_erase_with_encryption_v4.3' into 'release/v4.3'
...
Fix a bug in `core_dump_image_erase` when flash encryption is enabled (backport v4.3)
See merge request espressif/esp-idf!14618
2021-09-08 08:42:44 +00:00
Gautier Seidel
7808bccfb9
fix(FreeRTOS): Initialize uxTaskNumber at task initialization
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/4025
2021-09-08 16:42:30 +08:00
Roland Dobai
e493a4c30e
Merge branch 'bugfix/xtensa_extra_info_register_values_v4.3' into 'release/v4.3'
...
espcoredump.py: Parse EPS and EPC register values using register index (v4.3)
See merge request espressif/esp-idf!14563
2021-09-08 08:36:09 +00:00
Sachin Parekh
cc9d354ba8
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-09-08 16:32:09 +08:00
Sachin Parekh
659cfcb1f6
newlib: Override __assert and __assert_func
...
Default assert implementation calls fiprintf, which tries to acquire a
lock and fails if it is executing in critical section or ISR
2021-09-08 16:32:09 +08:00
Michael (XIAO Xufeng)
15439631a4
Merge branch 'bugfix/check_spi_master_cmd_test_fail_v4.3' into 'release/v4.3'
...
spi_master: fix cmd test ringbufferReturn issue (4.3)
See merge request espressif/esp-idf!13656
2021-09-08 08:25:56 +00:00
Mahavir Jain
77965b01ca
Merge branch 'feature/update_cjson_submodule_v4.3' into 'release/v4.3'
...
cJSON: Update submodule to v1.7.15 (v4.3)
See merge request espressif/esp-idf!14999
2021-09-08 08:19:50 +00:00
Mahavir Jain
4fe718dd0b
Merge branch 'fix/warning_in_wifi_prov_mgr_v4.3' into 'release/v4.3'
...
provisioning: fix wifi warning in wifi_prov_mgr application (v4.3)
See merge request espressif/esp-idf!14763
2021-09-08 08:19:40 +00:00
Wang Meng Yang
fbd128af6f
Merge branch 'bugfix/spp_memory_leak_v4.3' into 'release/v4.3'
...
Fix spp memory leak(v4.3)
See merge request espressif/esp-idf!14525
2021-09-08 02:47:51 +00:00
Wang Meng Yang
57c4316855
Merge branch 'component_bt/add_spp_faq_v4.3' into 'release/v4.3'
...
Component_bt/Add FAQ in SPP Demo README[backport v4.3]
See merge request espressif/esp-idf!14793
2021-09-08 02:47:28 +00:00
Wang Meng Yang
5eee25aea5
Merge branch 'bugfix/bt_spp_timer_collision_v4.3' into 'release/v4.3'
...
Fix timer collision in role switch(v4.3)
See merge request espressif/esp-idf!14815
2021-09-08 02:46:55 +00:00
Wang Meng Yang
d4a86ab4fe
Merge branch 'bugfix/a2dp_deint_crash_v4.3' into 'release/v4.3'
...
component_bt: fix a2dp deinit crash(v4.3)
See merge request espressif/esp-idf!14416
2021-09-08 02:46:24 +00:00
Wang Meng Yang
5348c30141
Merge branch 'bugfix/hf_disc_acl_no_disc_v4.3' into 'release/v4.3'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.3]
See merge request espressif/esp-idf!15056
2021-09-08 02:46:06 +00:00
Song Ruo Jing
665b221b6b
Merge branch 'docs/spi_max_transfer_sz_limit_v4.3' into 'release/v4.3'
...
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.3)
See merge request espressif/esp-idf!14249
2021-09-08 02:34:43 +00:00
jincheng
2845b70f83
remove unused variable which caused to build warning
2021-09-07 19:15:36 +08:00
Liu Han
6ad84919ad
expat: Update library from 2.2.9 to 2.4.1
2021-09-03 19:36:56 +08:00
jincheng
b7a1a53629
fix acl can not disconnect when hf_client disconnenct
2021-09-03 10:56:25 +08:00
He Yin Ling
2e74914051
versions: Update version to 4.3.1
2021-09-02 17:15:36 +08:00
simon.chupin
34ab97f081
Tools: Fix memory calculations of idf_size.py
2021-09-01 16:36:48 +02:00
Shu Chen
706a17bdf1
openthread: enable ot_cli on esp32h2
2021-09-01 16:36:47 +02:00
Michael (XIAO Xufeng)
7716134457
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-09-01 16:36:47 +02:00
XieWenxiang
508b033cc0
component/bt: fix some ble document description error
2021-09-01 20:42:44 +08:00
Kapil Gupta
c110c31957
Merge branch 'bugfix/eap_client_windows' into 'master'
...
wpa_supplicant: clean tls client state machine
Closes IDFGH-5702, IDFGH-5662, and IDFGH-119
Closes https://github.com/espressif/esp-idf/issues/7422
Closes https://github.com/espressif/esp-idf/issues/1297
See merge request espressif/esp-idf!14968
(cherry picked from commit e8360fe075
)
d3a42d78
wpa_supplicant: clean tls client state machine
2021-09-01 19:17:53 +08:00
Alberto García Hierro
68f8b999bb
Enable IO20 on ESP32
...
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.
Fixes #6016
Fixes #6837
Closes https://github.com/espressif/esp-idf/pull/6918
(cherry picked from commit 6deaefde69
)
2021-08-31 20:11:00 +08:00
yuanjm
f728202ee9
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7457
2021-08-31 14:08:42 +08:00
yuanjm
3938792732
Revert "Merge branch 'bugfix/fix_ws_handle_big_messages_error_v4.3' into 'release/v4.3'"
...
This reverts commit de8c6aaa8d
, reversing
changes made to ab452839ed
.
2021-08-31 14:07:59 +08:00
Mahavir Jain
4446e2f632
esp_rom: remove "newlib.h" header
...
We found conflict in "sizeof(time_t)" due to inclusion of this
header over toolchain specific "newlib.h".
Moreover, there are no users for this header and implementation
for API is also not available in ROM. Hence removing it.
2021-08-31 10:32:34 +05:30
Marius Vikhammer
d5d126b73e
aes/sha: fixed driver reseting the wrong GDMA channel
...
Driver was using the channel ID from tx when reseting rx.
But since rx and tx is not necessarily from the same pair this could lead
to the driver reseting the wrong DMA channel.
2021-08-30 17:06:13 +08:00
Shubham Kulkarni
7059591d92
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-08-30 13:16:55 +05:30
Jiang Jiang Jian
605c1b16f0
Merge branch 'bugfix/fix_esp32c3_auto_adjust_volt_v4.3' into 'release/v4.3'
...
fix_esp32c3_auto_adjust_volt_v4.3
See merge request espressif/esp-idf!14954
2021-08-26 10:07:57 +00:00
Jiang Jiang Jian
0c0b503f04
Merge branch 'bugfix/remove_bt_get_mac_v4.3' into 'release/v4.3'
...
bt: Remove unused function esp_bt_get_mac. (v4.3)
See merge request espressif/esp-idf!14835
2021-08-26 02:50:28 +00:00
sly
517dd5c5d5
fix_esp32c3_auto_adjust_volt
2021-08-25 21:31:07 +08:00
muhaidong
4b95b8a5c4
esp_wifi:fix airkiss and esptouch find channel crash issue(backport v4.3)
2021-08-25 15:55:07 +08:00
KonstantinKondrashov
75e099129e
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
2021-08-23 12:28:32 +05:00
Mahavir Jain
5fa8c0c088
Merge branch 'bugfix/libsodium_build_with_gnu_make_v4.3' into 'release/v4.3'
...
libsodium: fix build issues with GNU Make (v4.3)
See merge request espressif/esp-idf!14757
2021-08-20 09:34:34 +00:00
Mahavir Jain
8787f15a2d
Merge branch 'bugfix/memprot_bypass_v4.3' into 'release/v4.3'
...
System/Security: Memprot bypassing mitigation (v4.3)
See merge request espressif/esp-idf!14607
2021-08-20 09:33:47 +00:00
Jiang Jiang Jian
25ebb55908
Merge branch 'bugfix/esp32c3_check_if_allow_light_sleep_v4.3' into 'release/v4.3'
...
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used(v4.3)
See merge request espressif/esp-idf!14818
2021-08-19 03:32:45 +00:00
xiongweichao
7d0b387bea
Not initialized or in the process of de-initialization, calling API will return ERR
2021-08-19 11:10:31 +08:00
xiongweichao
a5fb684908
fix a2dp deinit crash
2021-08-19 11:10:31 +08:00
David Cermak
7f8d47203e
ci/test: Fix esp_http_client const char* correction
2021-08-18 15:28:08 +02:00
David Cermak
dd1de21216
panic/memprot: Fix minor const string correction on panic print
2021-08-18 19:29:44 +08:00
David Cermak
e7500c711d
rtc: Fix minor const char* correction issue
2021-08-18 19:29:44 +08:00
David Cermak
c805a5cff8
wpa_supplicant: Temporarily disable write-string warning
...
Since some assignment of a string literal to `char *` variables were
added and not caught by the CI.
2021-08-18 19:29:44 +08:00
Harshit Malpani
fb345ecc2e
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-18 18:30:18 +08:00
yuanjm
25a6744ff7
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
...
Closes https://github.com/espressif/esp-idf/issues/7363
2021-08-18 11:33:36 +08:00
lly
58b289a22c
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-18 10:57:33 +08:00
Chinmay Chhajed
69845456dc
bt: Remove unused function esp_bt_get_mac.
...
Closes https://github.com/espressif/esp-idf/issues/7410
2021-08-17 18:46:04 +05:30
xiongweichao
dc13a3d161
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-17 17:18:33 +08:00
jincheng
30660bd6e0
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-17 10:55:25 +08:00
liqigan
fb53ea7d22
add FAQ in SPP demo README
2021-08-16 09:18:12 +08:00
xiewenxiang
82f094669a
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 18:08:22 +08:00
KonstantinKondrashov
b7237ff0e6
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
2021-08-12 18:25:07 +05:00
Jiang Jiang Jian
48ae2309fd
Merge branch 'bugfix/bugfix/wpa_supplicant_fixes_v4.3' into 'release/v4.3'
...
Merge wpa_supplicant github PRs (V4.3)
See merge request espressif/esp-idf!14751
2021-08-12 09:02:42 +00:00
Jiang Jiang Jian
6a13a9d0c4
Merge branch 'bugfix/pmf_bcast_deauth_fix_v4.3' into 'release/v4.3'
...
Fix some PMF and FTM issues (Backport v4.3)
See merge request espressif/esp-idf!14690
2021-08-12 09:02:09 +00:00
Mahavir Jain
496f749f63
libsodium: fix source directory names to address build issues with Make
2021-08-12 08:43:35 +05:30
Axel Lin
af03dcb037
wpa_supplicant: Trivial typo fix for setting spp_sup.require
...
No functional change since both SPP_AMSDU_CAP_ENABLE and SPP_AMSDU_REQ_ENABLE
are defined as 1.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7366
2021-08-11 16:43:35 +05:30
Axel Lin
3e1b174c53
esp_supplicant: Make esp_rrm_send_neighbor_rep_request return proper error
...
Current code always return 0 even though wpas_rrm_send_neighbor_rep_request()
fails. Return proper error so the caller can know what's wrong.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7233
2021-08-11 16:43:23 +05:30
Axel Lin
c56aa5f34d
wpa_supplicant: Fix clear WLAN_FC_STYPE_ACTION bit in esp_register_action_frame
...
It should clear WLAN_FC_STYPE_ACTION bit intead of WLAN_FC_STYPE_ACTION.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7252
2021-08-11 16:41:21 +05:30
Axel Lin
30d6c8401c
wpa_supplicant: Fix memory leak in esp_issue_scan error paths
...
Fix memory leak when allocate memory for params->ssid / params->bssid fails.
Fixes: 27101f9454
("wpa_supplicant: Add initial roaming support")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7240
2021-08-11 16:40:57 +05:30
XieWenxiang
84cb47d7e0
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-11 17:49:31 +08:00
Yang Zhao
edcb5942ba
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:07:00 +08:00
Nachiket Kukade
913b31c13f
esp_wifi: Fix PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other FTM bugs
2021-08-09 18:54:07 +05:30
xiewenxiang
032f6d34d1
component/bt: add local irk to controller
2021-08-06 18:19:25 +08:00
Michael (XIAO Xufeng)
e3954297bb
spi_master: fix the crash when using interrupt mode when cache is disabled
...
Closes https://github.com/espressif/esp-idf/issues/6529
Closes https://github.com/espressif/esp-idf/issues/6781
Closes https://github.com/espressif/esp-idf/issues/7368
2021-08-06 12:20:23 +08:00
Fu Hanxi
2231d6b158
ci: update performance test key to db compatible format
2021-08-04 12:22:25 +08:00
KonstantinKondrashov
0cd1bc6753
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-08-03 12:50:15 +05:00
Li Hang Fan
7de5c312a3
Update components/hal/include/hal/mcpwm_types.h
2021-08-03 15:20:47 +08:00
SalimTerryLi
f23acef8eb
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-08-03 14:27:34 +08:00
Ivan Grokhotkov
03109eb013
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-08-03 13:53:34 +08:00
Omar Chebib
c8e5b0611a
coredump: simplify the implementation of esp_core_dump_image_erase
function
...
Closes https://github.com/espressif/esp-idf/pull/6949
2021-08-03 11:48:39 +08:00
0xFEEDC0DE64
035c1ac901
Fixed esp_core_dump_image_erase() for flash encryption with 16byte long write buffer
2021-08-03 11:48:39 +08:00
Marius Vikhammer
f550724055
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:27:10 +08:00
Martin Vychodil
b04705cfe2
system/security: Memprot bypassing mitigation
...
Check Memprot lock bit(s) during the system startup, abort/reset on any Memprot parts found locked during this phase.
There is no legal reason to disallow the Memprot configuration by the system, so it's either a critical bug in the
application or an malicious attempt to bypass the system security.
Error message is printed before digital system reset.
Closes IDF-2700
2021-08-02 12:18:46 +02:00
muhaidong
1fd8fdcf7d
bugfix fix some wifi bugs for 4.3
...
1. sync idf menuconfig nvs status to lib
2. disable ampdu+amsdu bit
3. fix 80211 tx crash issue
4. supoort config 80211 tx rate
2021-07-31 21:46:14 +08:00
Marius Vikhammer
78392f0e84
ULP: reduce max possible memory reserved for ULP coprocessor
...
Some RTC slow memory is reserved by IDF, reduce CONFIG_TARGET_ULP_COPROC_RESERVE_MEM
range to reflect this.
Closes https://github.com/espressif/esp-idf/issues/7073
2021-07-31 14:10:57 +08:00
Marius Vikhammer
ee54dbfaab
bootloader: fix verify_load_addresses wrongly reporting "bad load address range"
...
verify_load_addresses would check if load_end was in a certain member range,
but should verify (load_end - 1) which is the actual last byte.
2021-07-31 14:10:57 +08:00
Jiang Jiang Jian
135b46a078
Merge branch 'mesh/non_mesh_connections_access_v4.3' into 'release/v4.3'
...
esp_wifi_mesh: add non mesh connections access(backport_v4.3)
See merge request espressif/esp-idf!14241
2021-07-31 02:52:11 +00:00
Wang Meng Yang
1537cff293
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail_v4.3' into 'release/v4.3'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list(release v4.3)
See merge request espressif/esp-idf!14558
2021-07-30 23:58:22 +00:00
Wang Meng Yang
353f493f22
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.3' into 'release/v4.3'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13888
2021-07-30 07:39:50 +00:00
Shubham Patil
68095b46c4
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-30 15:35:02 +08:00
xiewenxiang
192aa18c31
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-07-30 15:09:00 +08:00
shenjun
217c023a44
esp_wifi_mesh: add non mesh connections access
2021-07-30 14:32:48 +08:00
Michael (XIAO Xufeng)
95c572c0d2
Merge branch 'bugfix/fix_uart_reset_issue_on_esp32c3_backport_v4.3' into 'release/v4.3'
...
bugfix(uart): reset uart0 core before uart apb reset(backport v4.3)
See merge request espressif/esp-idf!14462
2021-07-30 06:27:22 +00:00
Gustavo Henrique Nihei
de1a4f0c0d
spi: Fix wrong target register for interrupt disable
2021-07-30 13:55:08 +08:00
Ivan Grokhotkov
953e9a78e2
Merge branch 'bugfix/panic_handler_disable_wdts_early_v4.3' into 'release/v4.3'
...
esp_system: Reconfigure the WDTs at the start of the panic handler (v4.3)
See merge request espressif/esp-idf!14225
2021-07-30 03:03:09 +00:00
Ivan Grokhotkov
716efae251
Merge branch 'bugfix/esp32s2_disable_bss_extram_v4.3' into 'release/v4.3'
...
esp32s2: disable bss extram option, clean up spiram init code a bit (v4.3)
See merge request espressif/esp-idf!13733
2021-07-30 03:01:57 +00:00
Renz Bagaporo
b07276265a
esp32s2: reset systimer clk on startup
2021-07-30 10:13:46 +08:00
Renz Bagaporo
cebab7fa7f
newlib: init microseconds offset
2021-07-30 10:13:41 +08:00
Jiang Jiang Jian
d33824ac4d
Merge branch 'bugfix/fix_connect_fail_cause_by_sleep_v4.3' into 'release/v4.3'
...
Fix connection failure caused by sleep (backport v4.3)
See merge request espressif/esp-idf!14272
2021-07-29 12:38:48 +00:00
aleks
002e6b8cec
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-07-29 14:27:04 +08:00
Marius Vikhammer
00c304535f
system: enable C3 light sleep related example tests
2021-07-29 09:29:29 +08:00
Marius Vikhammer
0b8ed8d76e
ci: enable previously disabled unit tests
2021-07-29 09:29:29 +08:00
Ivan Grokhotkov
617da9f403
Merge branch 'bugfix/twai_low_speed_bit_rates_v4.3' into 'release/v4.3'
...
TWAI: Fix incorrect configuration initializers for low speed bit rates (backport v4.3)
See merge request espressif/esp-idf!14412
2021-07-28 11:23:08 +00:00
Ivan Grokhotkov
0e6f4ba2cf
Merge branch 'bugfix/uart_race_condition_v4.3' into 'release/v4.3'
...
Fix couple of UART issues (backport v4.3)
See merge request espressif/esp-idf!14207
2021-07-28 11:22:18 +00:00
Marius Vikhammer
b667770cc6
ulp riscv: force cocpu clock on to prevent spurious cocpu trap resets
...
Closes https://github.com/espressif/esp-idf/issues/7224
2021-07-28 18:15:38 +08:00
aleks
0d0f4adbf8
freemodbus: fix mb zero based reg address in the iterator
...
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-07-28 11:34:19 +02:00
Mahavir Jain
47b96db12d
Merge branch 'feature/prov_mgr_reset_state_v4.3' into 'release/v4.3'
...
wifi_provisioning: Add API to erase credentials and reset provisioning state (v4.3)
See merge request espressif/esp-idf!14531
2021-07-28 08:46:32 +00:00
Mahavir Jain
82b868a4b2
Merge branch 'bugfix/esp32c3_wrong_iram_alignment_v4.3_2' into 'release/v4.3'
...
System/memprot: ESP32C3 IRAM section alignment fix (v4.3)
See merge request espressif/esp-idf!14506
2021-07-28 03:34:08 +00:00
Shubham Kulkarni
7793f58e71
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
2021-07-27 15:11:26 +05:30
Shubham Kulkarni
f93fdda2ff
wifi_provisioning: Add API to reset state if provisioning fails
2021-07-27 15:09:51 +05:30
Jiang Jiang Jian
59af9606e6
Merge branch 'bugfix/fix_scan_timeout_mr_4.3' into 'release/v4.3'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14445
2021-07-27 07:42:37 +00:00
xiongweichao
a60a2892fb
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-07-27 14:26:22 +08:00
Andrey Starodubtsev
b5b629c584
Fix couple of UART issues
...
- there was a small race in `uart_pattern_link_free`:
`rx_pattern_pos.data` was accessed for reading outside spinlock
- `uart_flush_input` enabled
`UART_INTR_RXFIFO_FULL|UART_INTR_RXFIFO_TOUT` intr mask on exit even
if these flags weren't set when function was called
Closes https://github.com/espressif/esp-idf/pull/7023
2021-07-27 10:50:05 +08:00
Armando
96de941a6e
spi_master: fix cmd test ci failure
2021-07-27 10:28:13 +08:00
Ivan Grokhotkov
7dc2e5e545
Merge branch 'bugfix/rtos_systick_cycle_time_error_dfs_v4.3' into 'release/v4.3'
...
backport v4.3: fix RTOS SysTick cycle time error caused by DFS
See merge request espressif/esp-idf!14494
2021-07-26 21:38:16 +00:00
David Čermák
4fd1479dc6
Merge branch 'bugfix/remove_unstable_network_tests_v4.3' into 'release/v4.3'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests (v4.3)
See merge request espressif/esp-idf!14425
2021-07-26 17:02:51 +00:00
David Čermák
ebf1d15e54
Merge branch 'bugfix/esp_netif_dhcps_state_v4.3' into 'release/v4.3'
...
esp_netif: Fix dhcps state transitions (v4.3)
See merge request espressif/esp-idf!14423
2021-07-26 17:00:43 +00:00
Mahavir Jain
27e3447eea
Merge branch 'bugfix/read_ota_partition_required_output_arg_v4.3' into 'release/v4.3'
...
otatool: Fixes read_ota_partition cmd, required output arg (v4.3)
See merge request espressif/esp-idf!13672
2021-07-26 11:34:19 +00:00
Martin Vychodil
e9dc39730f
System/memprot: ESP32C3 IRAM section alignment fix (LD)
...
IRAM section didn't contain sufficient padding for possible CPU instruction prefetch,
ie instruction fetch could happen in DRAM section which is prohibited by the Memprot module.
This is fixed by adding 16B to the end of IRAM section in LD script (C3 CPU prefetch buffer depth is 4 words)
Closes IDF-3554
2021-07-25 12:39:48 +02:00
Alex Henrie
0cb48f2f2e
Fix memory leak on error path in register_select
...
And remove dead error handling code from unregister_select.
Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-25 07:42:15 +05:30
Alex Henrie
afd3fc6d16
Fix memory leak on error path in http_header_set_format
2021-07-25 07:42:14 +05:30
Alex Henrie
e634a00ef8
Fix memory leak on error path in md5_printf
2021-07-25 07:42:13 +05:30
Alex Henrie
de49ec5a46
Fix memory leak on error path in esp_ds_start_sign
2021-07-25 07:42:13 +05:30
Li Shuai
1772277e98
fix RTOS SysTick cycle time error caused by DFS
2021-07-23 19:15:28 +08:00
Krzysztof Budzynski
5ab8799f09
Merge branch 'docs/provide_link_to_pcb_layout_for_ethernet_board_v4.3' into 'release/v4.3'
...
docs: provide the link to pcb layout for ethernet board v1.2 and fix a typo in freetos/task (v4.3)
See merge request espressif/esp-idf!13966
2021-07-23 10:57:37 +00:00
Mahavir Jain
de8c6aaa8d
Merge branch 'bugfix/fix_ws_handle_big_messages_error_v4.3' into 'release/v4.3'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly(backport v4.3).
See merge request espressif/esp-idf!14344
2021-07-22 04:20:26 +00:00
Mahavir Jain
ab452839ed
Merge branch 'feature/upgrade_mbedtls_to_v4.3' into 'release/v4.3'
...
mbedtls: upgrade to release v2.16.11 (v4.3)
See merge request espressif/esp-idf!14437
2021-07-21 12:17:00 +00:00
David Cermak
de30298223
mdns: Fix crashes reported by the fuzzer
2021-07-21 11:48:27 +02:00
David Cermak
355e152082
mdns: Minor correction of the test code
2021-07-21 11:48:27 +02:00
David Cermak
0d3c3a9173
mdns: Fix fuzzer from miss-interpreting adding services as timeouts
2021-07-21 11:48:27 +02:00
Wangjialin
427fe1bcde
uart: fix esp32c3 uart output garbage value after resetting
2021-07-21 15:31:50 +08:00
Mahavir Jain
8f75f93c14
Merge branch 'bugfix/fix_truncated_headers_for_esp_http_client_v4.3' into 'release/v4.3'
...
esp_http_client: Fix header truncated when responded header length over buffer_size (backport v4.3)
See merge request espressif/esp-idf!14383
2021-07-21 05:31:26 +00:00
Mahavir Jain
3222f0a811
Merge branch 'feature/protocomm_mfg_data_v4.3' into 'release/v4.3'
...
Provisioning BLE: Add API to set manufacturer data in advertisement (scan response) packets (v4.3)
See merge request espressif/esp-idf!14366
2021-07-21 05:24:25 +00:00
Mahavir Jain
1d4eb835d0
Merge branch 'bugfix/otatool_imported_as_lib_v4.3' into 'release/v4.3'
...
otatool: Fix a crash when imported as external python lib (v4.3)
See merge request espressif/esp-idf!13666
2021-07-21 05:23:12 +00:00
Mahavir Jain
60ef790969
Merge branch 'cherry-pick-76bd33e9' into 'release/v4.3'
...
MbedTLS: Add config option for key elements and key element extension for SSL connection (backport v4.3)
See merge request espressif/esp-idf!14361
2021-07-21 05:22:05 +00:00
Yang Zhao
658aaa4f93
This is to fix the hardware bug. The device may report scan event timeout
...
when scaning.If check this error,then reset the rwble core.
2021-07-20 20:02:14 +08:00
Mahavir Jain
f817971f68
mbedtls: fix crt_bundle test to ensure proper server start event
...
This fixes occasional test failure that was observed due to
client task getting started before server was up.
2021-07-20 14:15:59 +05:30
Mahavir Jain
4333e618b5
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-20 14:15:59 +05:30
Chen Yi Qun
eb01aaacc7
fix esp32s2 fall into sleep forever when deep-sleep time is set to 0
...
(backport v4.3)
2021-07-19 21:11:04 +08:00
David Cermak
f7169ed063
mqtt: Moved weekend tests to test apps
2021-07-19 15:05:58 +02:00
David Cermak
acf5333b1e
esp_netif: Fix dhcps state transitions
...
When the DHCP server is stopped before starting the netif,
it should remain stopped -- as per compatibility with previous tcpip_adapter behavior
2021-07-19 15:00:37 +02:00
Mahavir Jain
4b47e7e643
Merge branch 'fix/esp32c3_memprot_split_line_v4.3' into 'release/v4.3'
...
esp32c3/memprot: Fix incorrect calculations and register access (v4.3)
See merge request espressif/esp-idf!14372
2021-07-19 11:28:55 +00:00
Darian Leung
e701c98e27
TWAI: Fix incorrect configuration initializers for low speed bit rates
...
This commit fixes the timing configuration initializers for the
1K, 5K, and 10K bit rates.
2021-07-19 17:13:34 +08:00
Jiang Jiang Jian
42376de238
Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff_v4.3' into 'release/v4.3'
...
Add remove sniff when peer not accepted sniff mode(v4.3)
See merge request espressif/esp-idf!14395
2021-07-19 07:31:37 +00:00
KonstantinKondrashov
c9ebba355f
otatool: Fix a crash when imported as external python lib
...
Closes: https://github.com/espressif/esp-idf/issues/6733
2021-07-19 12:41:51 +08:00
KonstantinKondrashov
6785534f63
otatool: Fixes read_ota_partition cmd, required output arg
...
Closes: https://github.com/espressif/esp-idf/issues/6559
2021-07-19 12:41:00 +08:00
Mahavir Jain
1f7172dbf9
Merge branch 'bugfix/secure_boot_sig_verify_v4.3' into 'release/v4.3'
...
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification (v4.3)
See merge request espressif/esp-idf!14390
2021-07-16 10:54:13 +00:00
xiongweichao
bc3f0c7cdd
Add remove sniff when peer not accepted sniff mode
2021-07-16 17:55:10 +08:00
Chinmay Chhajed
ee8a78025c
bt/controller: Fix for BLE ACL tx flush issue during reset.
2021-07-16 17:54:27 +08:00
Angus Gratton
07465563c5
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-16 11:03:21 +05:30
Angus Gratton
7c55633bfb
esp_common: Correctly disable ".bss segment placed in external memory" for ESP32-S2 & ESP32-S3
...
Support for this feature is still pending.
As reported by https://github.com/espressif/esp-idf/issues/6162
2021-07-16 11:39:09 +10:00
Angus Gratton
3c13a480d7
esp32s2: Simplify the code for adding spiram to heap
2021-07-15 21:22:33 +10:00
Angus Gratton
d5d20920bb
esp32s2: Remove unused option CONFIG_SPIRAM_USE_AHB_DBUS3
2021-07-15 21:22:33 +10:00
yuanjm
b7791c171d
esp_http_client: Optimize code structure
2021-07-15 16:17:51 +08:00
Clickau
d25b354cfc
esp_http_client: fix truncated headers
...
Signed-off-by: yuanjm <yuanjianmin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-15 16:17:36 +08:00
Sachin Parekh
47c728adf0
esp32c3/memprot: Correct the split line address calculation
2021-07-15 10:57:18 +05:30
Sachin Parekh
65b9f87998
esp32c3/memprot: Fix incorrect access to DRAM0 split line registers
...
memprot_ll_set_dram0_split_line_* and memprot_ll_get_dram0_split_line_* APIs were accessing
incorrect configuration register
2021-07-15 10:57:18 +05:30
Prasad Alatkar
6a9a962083
Provisioning BLE: Add API to set manufacturer data in scan response
...
- Add `wifi_prov_scheme_ble_set_mfg_data` API to set custom manufacturer data
in BLE advertisements.
- Run format.sh script on modified files.
- Fix few typos in `protocomm_nimble.c`.
- Incorporate suggestion to remove extra check on protocomm_ble_mfg_data_len
- Remove few unnecessary comments.
2021-07-14 18:22:40 +05:30
Rahul Tank
758fc73efe
system : Add defination of ESP_ERROR_CHECK_WITHOUT_ABORT under CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT flag
2021-07-14 16:02:33 +05:30
Rahul Tank
2dc4961063
Nimble: Add fix for crash in esp_timer deletion
...
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-14 16:02:32 +05:30
Mahavir Jain
dd12e9f8cd
Merge branch 'cert/skipping_keyelements_validation' into 'master'
...
MbedTLS: Add config option for key elements and key element extension for SSL connection
See merge request espressif/esp-idf!12898
(cherry picked from commit 76bd33e9a4
)
38d67725
mbedtls: Add config option key element and key element ext
2021-07-14 16:43:58 +08:00
bizhuangyang
835d1b0bac
bugfix:rotary encoder example isr service install
...
Fix the issue mentioned when using two or more encoders. Modify PCNT_CTRL_GND_IO
to avoid the affect of USB JTAG(origin pin 19 is used for USB D-). Update esp32c3.
peripherals.ld and docs for esp32s3.
Closes https://github.com/espressif/esp-idf/issues/6889
2021-07-14 10:13:21 +08:00
laokaiyao
8b2331a810
driver/timer: only re-enable alarm in callback when auto reload is true
...
closes https://github.com/espressif/esp-idf/issues/7001
2021-07-13 17:22:33 +08:00
yuanjm
1214944e78
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7202
2021-07-13 17:05:24 +08:00
xiehang
96122d6f28
Fix connection failure caused by sleep
2021-07-06 10:49:10 +08:00
Angus Gratton
1fc288556c
esp_system: Reconfigure the WDTs at the start of the panic handler
...
This is mostly important on ESP32 ECO3 with the
ESP32_ECO3_CACHE_LOCK_FIX, because when we stall the other CPU core
before we disable the TG1 WDT then the first CPU can get stuck
in WDT ISR handle_livelock_int routine waiting for the other CPU.
2021-07-06 09:59:39 +08:00
Kapil Gupta
b47e8123ca
esp_wifi: Revert default country to China
2021-07-05 12:40:47 +05:30
Michael (XIAO Xufeng)
596d17a6cc
spi_docs: Fixed the default value of max_transfer_sz.
...
(cherry picked from commit e89fabb963
)
2021-07-05 11:47:27 +08:00
Jiang Jiang Jian
4d53269a6d
Merge branch 'feature/regdomain_support_v4.3' into 'release/v4.3'
...
esp_wifi: Add support for regdomain db (backport v4.3)
See merge request espressif/esp-idf!13609
2021-07-02 17:22:09 +00:00
Jiang Jiang Jian
4b24d3d464
Merge branch 'bugfix/tls_alignment_v4.3' into 'release/v4.3'
...
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts (v4.3)
See merge request espressif/esp-idf!14233
2021-07-02 11:00:50 +00:00
Michael (XIAO Xufeng)
2ac59cc885
Merge branch 'bugfix/delete_i2c_cmd_mux_semaphore_more_cleanly_v4.3' into 'release/v4.3'
...
driver/i2c: delete i2c cmd_mux semaphore more cleanly (backport 4.3)
See merge request espressif/esp-idf!13400
2021-07-02 10:58:38 +00:00
Michael (XIAO Xufeng)
6e05a56713
Merge branch 'bugfix/i2s_apll_disable_issue_v4.3' into 'release/v4.3'
...
i2s: fix driver uninstall issue (backport v4.3)
See merge request espressif/esp-idf!13998
2021-07-02 10:56:17 +00:00
Jiang Jiang Jian
ff75da76e4
Merge branch 'feature/add-nimble-host-to-blufi_v4.3' into 'release/v4.3'
...
Add support of NimBLE host to Blufi (v4.3)
See merge request espressif/esp-idf!14198
2021-07-02 09:29:31 +00:00
Kapil Gupta
cf44123da5
esp_wifi: Add support for regdomain database
2021-07-02 14:29:45 +05:30
Ivan Grokhotkov
64057d302a
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
...
Regression from 4702feeee
. The TLS segment is located inside
.flash.rodata, so we need to get the alignment of that section, not
.flash.rodata_noload.
2021-07-02 08:37:47 +02:00
Kapil Gupta
69a48e431e
wpa_supplicant: Fix some issues in 11kv
...
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-07-02 10:28:57 +05:30
Nachiket Kukade
e280541892
esp_wifi: Update wifi lib with lock free issue fix
2021-07-01 14:14:42 +05:30
Jiang Jiang Jian
ea9dc928ee
Merge branch 'feature/optimize_wifi_log_by_linker_script_v4.3' into 'release/v4.3'
...
esp_wifi: move unused WiFi log to noload section to save binary size(backport v4.3)
See merge request espressif/esp-idf!14167
2021-07-01 08:40:11 +00:00
Zhang Jun Hao
5e600d5b31
esp_wifi: move unused WiFi log to noload section to save binary size
2021-07-01 14:11:38 +08:00
Rahul Tank
e4ada333cc
Merge branch 'release/v4.3' into 'feature/add-nimble-host-to-blufi_v4.3'
...
# Conflicts:
# components/bt/host/nimble/Kconfig.in
2021-07-01 11:47:03 +08:00
“sonalipatil”
00b9df2937
Add support of NimBLE host to Blufi
...
Merges https://github.com/espressif/esp-idf/pull/6904
2021-07-01 09:06:15 +05:30
Jiang Jiang Jian
91430c8674
Merge branch 'bugfix/add_esp_timer_helper_function_v4.3' into 'release/v4.3'
...
Add esp timer helper function (v4.3)
See merge request espressif/esp-idf!14202
2021-07-01 03:01:02 +00:00
Jiang Jiang Jian
df99c92193
Merge branch 'feature/ftm_support_stage2_v4.3' into 'release/v4.3'
...
wifi/ftm: Additional FTM features implementation (Backport v4.3)
See merge request espressif/esp-idf!14157
2021-06-30 15:20:01 +00:00
Mahavir Jain
eb78648fa6
Merge branch 'bugfix/esp_https_ota_v4.3' into 'release/v4.3'
...
esp_https_ota: Add check for HTTP error codes and documentation updates (v4.3)
See merge request espressif/esp-idf!14206
2021-06-30 14:55:36 +00:00
Nachiket Kukade
c1d5eafd16
wifi/ftm: Additional FTM features implementation
...
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:49:28 +05:30
Jiang Jiang Jian
3a0b4628ce
Merge branch 'feature/crypto_porting_v4.3' into 'release/v4.3'
...
wpa_supplicant: Rewrite Crypto APIs based on MbedTLS (backport V4.3)
See merge request espressif/esp-idf!14181
2021-06-30 11:46:03 +00:00
Shubham Kulkarni
01f05da3ae
esp_https_ota: Add check for HTTP error codes and corresponding error logs
...
Closes: https://github.com/espressif/esp-idf/issues/7058
2021-06-30 15:59:10 +05:30
Angus Gratton
82c6e0628a
Merge branch 'test/flash_perf_thr_update_by_grafana_avg_v4.3' into 'release/v4.3'
...
ci: adjust spi_flash performance value according to more test data (v4.3)
See merge request espressif/esp-idf!14116
2021-06-30 10:06:10 +00:00
Rahul Tank
f1adfaaced
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
2021-06-30 14:53:06 +05:30
Ivan Grokhotkov
c836cef1a5
Merge branch 'bugfix/add_exception_emergency_pool_again_4.3' into 'release/v4.3'
...
[esp_system]: added __cxx_eh_arena_size_get again (backport 4.3)
See merge request espressif/esp-idf!14132
2021-06-30 07:30:39 +00:00
Michael (XIAO Xufeng)
689fad7372
ci: adjust spi_flash performance value according to more test data
...
After we have the performance dashboard, we have more data and no longer depend on the threshold to ensure performance.
Set looser performance thresholds to avoid CI failure.
2021-06-30 08:52:03 +08:00
Jiang Jiang Jian
df0ed79cd5
Merge branch 'bugfix/deep_sleep_rtcwdt_rst_issue_v4.3' into 'release/v4.3'
...
backport v4.3: clear wakeup and reject int raw signal before entry sleep
See merge request espressif/esp-idf!13999
2021-06-29 14:05:06 +00:00
Jiang Jiang Jian
32e8a809f6
Merge branch 'bugfix/correct_gatt_max_macro_name_v4.3' into 'release/v4.3'
...
Bluedroid: Fixed issue of option not being set due to incorrect macro (v4.3)
See merge request espressif/esp-idf!14180
2021-06-29 09:25:12 +00:00
Kapil Gupta
073b45a8aa
wpa_supplicant: Fix crypto related bugs
...
1. Fix aes_unwrap functionality when hardware acceleration is disabled
2. Fix compilation errors when mbedTLS is disabled.
3. Disable WPA3 when mbedTLS is disabled.
2021-06-29 14:34:48 +08:00
kapil.gupta
ae35d70359
wpa_supplicant: Write Crypto API based on mbedtls
...
This commit add following crypto changes
1. Update current crypto code with upstream supplicant code
2. Add a proper porting layer to use mbedtls APIs for all the crypto
operations used by supplicant.
Internal crypto will be used when USE_MBEDLTS flag is disabled
in supplicant's menuconfig.
This commit also removes the clutter in crypto files due to partial
porting of some APIs to mbedtls, all the code from those files have
been removed and rewritten in a generic way, this is inspired from
current upstream code.
This also reduces the lib size significantly, supplicant's lib
size reduces around ~567kb after this change(NB: lib size doesn't
indicate reduction in final bin size).
2021-06-29 14:34:48 +08:00
Rahul Tank
9c8b2b92ad
Bluedroid: Fixed issue of option not being set due to incorrect macro
...
name.
2021-06-29 09:53:35 +05:30
Jiang Jiang Jian
a060ee8e9c
Merge branch 'bugfix/wifi_mac_sleep_issue_v4.3' into 'release/v4.3'
...
backport v4.3: fix wifi mac sleep bug when wifi is initialized multiple times
See merge request espressif/esp-idf!13669
2021-06-29 04:22:59 +00:00
Jiang Jiang Jian
de92d7e15f
Merge branch 'mesh/bugfix_fix_esp_mesh_send_block_issue_v4.3' into 'release/v4.3'
...
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master(backport_v4.3)
See merge request espressif/esp-idf!14085
2021-06-29 03:01:22 +00:00
Li Shuai
139afb094e
fix wifi mac sleep bug when wifi is initialized multiple times
2021-06-29 10:26:02 +08:00
liuhan
6a1938384a
tls: Modify tls optimize both mbedtls and wolfssl
2021-06-29 00:19:03 +08:00
Roland Dobai
84a0c67a8c
Merge branch 'feature/toolchain_2021r1_v4.3' into 'release/v4.3'
...
Bring 2021r1 toolchains (backport v4.3)
See merge request espressif/esp-idf!13996
2021-06-28 16:15:05 +00:00
David Čermák
f022863c35
Merge branch 'feature/update_mqtt_submodule_v4.3' into 'release/v4.3'
...
MQTT: Support for certificate bundle; Client clean-up (v4.3)
See merge request espressif/esp-idf!14159
2021-06-28 14:35:17 +00:00
Jiang Jiang Jian
7339b019f1
Merge branch 'bugfix/wps_wfa_cert_fixes_v4.3' into 'release/v4.3'
...
wpa_supplicant: Add WPS strict in config option(backport v4.3)
See merge request espressif/esp-idf!13547
2021-06-28 13:28:21 +00:00
David Čermák
b9b7750b78
Merge branch 'feature/sperate_esp_netif_component_v4.3' into 'release/v4.3'
...
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code(backport v4.3)
See merge request espressif/esp-idf!14158
2021-06-28 09:15:41 +00:00
Angus Gratton
17f30a4aec
Merge branch 'feature/parametrize_core_dump_check_v4.3' into 'release/v4.3'
...
coredump: core dump data check can now be parametrized (v4.3)
See merge request espressif/esp-idf!13773
2021-06-28 07:03:50 +00:00
shenjun
62cc976e0e
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
2021-06-28 11:57:10 +08:00
Wang Meng Yang
95ddb84df1
Merge branch 'bugfix/fix_c3_some_bugs_06_15_v4.3' into 'release/v4.3'
...
Bugfix/fix c3 some bugs 06 15 v4.3
See merge request espressif/esp-idf!14017
2021-06-28 00:00:06 +00:00
Michael (XIAO Xufeng)
c42ee1b790
Merge branch 'bugfix/spi_flash_cs_setup_v4.3' into 'release/v4.3'
...
spi_flash: fix cs line setup to make the flash driver more stable(backport v4.3)
See merge request espressif/esp-idf!13967
2021-06-27 14:37:08 +00:00
David Čermák
4cf65c3533
Merge branch 'feature/lwip_icmp_v4.3' into 'release/v4.3'
...
lw-ip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code(backport v4.3)
See merge request espressif/esp-idf!14110
2021-06-25 18:01:40 +00:00
Chen Yi Qun
d4d308d580
LEDC: fix bit error in ledc_struct.h(backport v4.3)
2021-06-25 20:43:36 +08:00
David Cermak
9de41781d5
MQTT: Support for certificate bundle; Client clean-up
...
* Closes https://github.com/espressif/esp-idf/issues/7040
* Merges https://github.com/espressif/esp-idf/pull/7041
* Update submodule: git log --oneline 9fdf7b61385633075d5c3b84803f2dd0578d7869..f10321a53b53a146ee299cfecc320b89c0cf6611
Detailed description of the changes:
* Remove unnecessary parentheses
- esp-mqtt commit: db13533904
- esp-mqtt MR: espressif/esp-mqtt!101
* outbox: Cleanup all items when connection closes
- esp-mqtt commit: 1a94efe8b9
- esp-mqtt MR: espressif/esp-mqtt!104
* Outbox: Removes unnecessary calls to outbox_set_pending
- esp-mqtt commit: 36a3990404
- esp-mqtt MR: espressif/esp-mqtt!105
* MQTT: Makes abort connection function void.
- esp-mqtt commit: 67553aba45
- esp-mqtt MR: espressif/esp-mqtt!106
* Client: Removes unused defines
- esp-mqtt commit: eec6f0e17d
- esp-mqtt MR: espressif/esp-mqtt!100
- Closes https://github.com/espressif/esp-mqtt/issues/194
* Config: Added support for certificate bundle
- esp-mqtt commit: 06157be118
- esp-mqtt MR: espressif/esp-mqtt!98
- Closes https://github.com/espressif/esp-mqtt/issues/190
* Config: Adds missing field at config struct (path field)
- esp-mqtt commit: 5b27d1896e
- esp-mqtt MR: espressif/esp-mqtt!96
* Client: Add support for partial transport writes
- esp-mqtt commit: d8c9c7a9e7
- esp-mqtt MR: espressif/esp-mqtt!99
- Partially addresses https://github.com/espressif/esp-idf/issues/6940
* Client: Add support for Retain flag in messages posted by events
- esp-mqtt commit: a00a3134c6
- esp-mqtt MR: espressif/esp-mqtt!99
- Closes https://github.com/espressif/esp-mqtt/issues/193
* esp-mqtt: Added nullchecks for public APIs
- esp-mqtt commit: 2f57985c0b
- esp-mqtt MR: espressif/esp-mqtt!94
- Closes https://github.com/espressif/esp-mqtt/issues/185
* esp-mqtt: Reduce the includes used in all files
- esp-mqtt commit: 87fcce72c9
- esp-mqtt MR: espressif/esp-mqtt!93
* mqtt_outbox: Use STAILQ_FOREACH for outbox_delete_single_expired
- esp-mqtt commit: ff8e64839a
- esp-mqtt MR: espressif/esp-mqtt!97
- Merges https://github.com/espressif/esp-mqtt/pull/187
* Client: Add optimize for depend on ssl
- esp-mqtt commit: 8f3cac8c36
- esp-mqtt MR: espressif/esp-mqtt!95
2021-06-25 14:15:49 +02:00
yuanjm
bde386ab94
esp_netif: Correct spelling mistakes
2021-06-25 19:40:22 +08:00
yuanjm
c1fe7fe230
slip: Fix the definition of cplusplus in the code
2021-06-25 19:40:08 +08:00
yuanjm
00d84a3bb2
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code
2021-06-25 19:39:53 +08:00
Wang Meng Yang
3844f6bb84
Merge branch 'bugfix/ble_start_scan_crash_issue_mr_4.3' into 'release/v4.3'
...
ble start scan crash issue
See merge request espressif/esp-idf!14081
2021-06-25 11:25:36 +00:00
liuhan
8767aa7a4f
lwip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code
2021-06-25 16:36:11 +08:00
zwj
4d3715c836
support hw recorrect
2021-06-25 15:32:50 +08:00
zwj
dc209757b1
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:32:28 +08:00
Anton Maklakov
99115d7e52
ci: fix test_build_system* fails
2021-06-25 11:48:26 +07:00
Anton Maklakov
12e882632b
make build system: fix build for undefined _lock_* funcs
2021-06-25 11:48:25 +07:00
Anton Maklakov
29b8f3b719
newlib: Add ESP_ROM_HAS_RETARGETABLE_LOCKING capability for C3 and S3 chips
2021-06-25 11:48:25 +07:00
Anton Maklakov
e7b70a2f44
hal: fix ee.get_gpio_in command for esp32-s3
2021-06-25 11:47:59 +07:00
David Čermák
3a588d7d19
Merge branch 'bugfix/mdns_one_shot_multicast_v4.3' into 'release/v4.3'
...
mdns: Support for One-Shot mDNS queries (v4.3)
See merge request espressif/esp-idf!14130
2021-06-24 18:47:46 +00:00
liuhan
424203e411
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
2021-06-24 23:20:17 +08:00
Jiang Jiang Jian
460fc7f546
Merge branch 'feature/optimize_firmware_code_size_v4.3' into 'release/v4.3'
...
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size(Backport v4.3)
See merge request espressif/esp-idf!13265
2021-06-24 12:16:17 +00:00
Jiang Jiang Jian
5ab41b6c5d
Merge branch 'bugfix/phy_calib_data_to_nvs_for_c3_s3_v4.3' into 'release/v4.3'
...
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3(V4.3)
See merge request espressif/esp-idf!13625
2021-06-24 09:50:18 +00:00
Kapil Gupta
2a09b9d91f
wpa_supplicant: Add WPS strict in config option
...
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.
Also add changes to declare esp device as single band mobile device since
WFA sniffer was not able to identify it in the certification setup.
2021-06-24 16:15:40 +08:00
Wang Meng Yang
cd4c444af9
Merge branch 'bugfix/spp_connect_20_fail_v4.3' into 'release/v4.3'
...
component_bt: fix spp acceptor deadlock
See merge request espressif/esp-idf!14105
2021-06-24 06:53:05 +00:00
David Čermák
4d08c344bd
Merge branch 'bugfix/mdns_interface_del_crash_v4.3' into 'release/v4.3'
...
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets(Backport v4.3)
See merge request espressif/esp-idf!13857
2021-06-24 05:47:36 +00:00
Wang Meng Yang
951c6cb719
Merge branch 'bugfix/bt_sleep_state_check_assert_failed_for_v4.3' into 'release/v4.3'
...
Bluetooth: fixed the assertion failure in checking hardware sleep state during wake-up(backport v4.3)
See merge request espressif/esp-idf!14128
2021-06-24 05:23:35 +00:00
David Cermak
0e078d9481
mdns: Support for One-Shot mDNS queries
2021-06-24 06:58:53 +02:00
David Čermák
5abe2b059e
Merge branch 'bugfix/lwip_config_dhcp_client_id_v4.3' into 'release/v4.3'
...
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue (v4.3)
See merge request espressif/esp-idf!13515
2021-06-24 04:21:38 +00:00
Jakob Hasse
58583f187e
[esp_system]: added __cxx_eh_arena_size_get again
...
* This function has been accidentally removed.
It is necessary to provide the emergency
exception memory pool size for C++ code.
Since our libstdc++ always has exceptions
enabled, this function must exist here even if
-fno-exception is set for user code.
2021-06-24 12:19:34 +08:00
chenjianxing
3423cc2937
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3
2021-06-24 11:33:19 +08:00
Zhang Jun Hao
306b035a51
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
2021-06-24 10:11:09 +08:00
wangmengyang
ffe43f2c45
component/bt: fixed the assert in checking hardware sleep state during wake-up
...
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 08:28:24 +08:00
Wang Meng Yang
ecc86b3f22
Merge branch 'bugfix/rx_irq_flooding_during_scan_v4.3' into 'release/v4.3'
...
Bluetooth: fixed interrupt flooding during scan
See merge request espressif/esp-idf!14104
2021-06-24 00:12:59 +00:00
David Čermák
6ff1d8c828
Merge branch 'bugfix/eth_w5500_io_intr_missed_v4.3' into 'release/v4.3'
...
esp_eth: w5500: Improve GPIO interrupt processing (v4.3)
See merge request espressif/esp-idf!13863
2021-06-23 17:54:30 +00:00
Mahavir Jain
0da3b397f2
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots_v4.3' into 'release/v4.3'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd (v4.3)
See merge request espressif/esp-idf!13366
2021-06-23 15:37:40 +00:00
David Čermák
70912cb4b2
Merge branch 'feature/optimize_mqtt_option_v4.3' into 'release/v4.3'
...
transport: Add CONFI_WS_TRANSPORT for optimize the code size(backport v4.3)
See merge request espressif/esp-idf!14109
2021-06-23 15:00:47 +00:00
Krzysztof Budzynski
d42499a5db
Merge branch 'docs/programming_guide_c3_update_twai_v4.3' into 'release/v4.3'
...
Update TWAI driver docs and registers for esp32c3 (backport v4.3)
See merge request espressif/esp-idf!13289
2021-06-23 14:41:07 +00:00
Jiang Jiang Jian
46144f7093
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v4.3' into 'release/v4.3'
...
esp_wifi: fix amsdu & fragment vulnerabilities(v4.3)
See merge request espressif/esp-idf!13799
2021-06-23 13:38:27 +00:00
Angus Gratton
b2d728075d
Merge branch 'bugfix/esp_partition_get_sha256_v4.3' into 'release/v4.3'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on (v4.3)
See merge request espressif/esp-idf!13665
2021-06-23 12:45:55 +00:00
KonstantinKondrashov
1d23b83d3b
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-06-23 19:28:40 +08:00
Darian Leung
9b014138bf
Update TWAI driver docs and registers for esp32c3
...
This commit updates the documentation and register struct
of the TWAI driver for the ESP32-C3. Note that the register
fields for ESP32-S3 have also been updated.
2021-06-23 19:26:16 +08:00
wangmengyang
4657069afd
components/bt: Disable CS-RXDONEMSK to avoid RX interrupt flooding during scan event in Wi-Fi coexistence scenario
2021-06-23 19:14:41 +08:00
Ivan Grokhotkov
b67e388281
Merge branch 'feature/prevent_unwind_code_linking_4.3' into 'release/v4.3'
...
[C++]: prevent unwind code linking (backport 4.3)
See merge request espressif/esp-idf!13800
2021-06-23 08:32:17 +00:00
Omar Chebib
5186a968be
coredump: core dump data check can now be parametrized
...
Core dump integrity check can now be parametrized through menuconfig.
It can be performed on boot or ignored. When core dump is activated
in the menuconfig, the user can still check the core dump at any time
with the function `esp_core_dump_image_check()`.
Fix a bug where `esp_core_dump_image_get()` was not accessible
when core dump was disabled.
Closes https://github.com/espressif/esp-idf/issues/6620
2021-06-23 16:17:15 +08:00
0xFEEDC0DE64
418fed12df
espcoredump erase review comments
2021-06-23 16:17:15 +08:00
0xFEEDC0DE64
5d4e084669
coredump: Implemented esp_core_dump_image_erase() and esp_core_dump_image_get() now returns ESP_ERR_NOT_FOUND when partition is blank
...
Closes https://github.com/espressif/esp-idf/pull/6631
2021-06-23 16:17:12 +08:00
David Cermak
c93298c31d
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-06-23 12:52:18 +08:00
Suren Gabrielyan
2ee5178667
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
...
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-23 12:50:11 +08:00
David Cermak
d09f6cac24
esp_eth: Improve GPIO interrupt processing in w5500 driver
...
Increase the interrupt reassert level timing so the chances of missing
two consecutive events are minimal.
Enable only SIR_RECV interrupt event, so the SEND events are not used
for GPIO signal.
2021-06-23 12:41:45 +08:00
David Cermak
1f2af24118
esp_eth: Recover the w5500 driver from missed io interrupt
...
If the GPIO interrupt is re-asserted too quickly it could be missed. If this happens the driver goes silent and never receives any data. Recover by periodic checks of the IO signal level
2021-06-23 12:41:45 +08:00
Mahavir Jain
b007024c62
Merge branch 'bugfix/heap_tracing_build_issue_for_c3_v4.3' into 'release/v4.3'
...
heap: fix build issue with HEAP_TRACING config for C3 (v4.3)
See merge request espressif/esp-idf!14075
2021-06-23 03:45:39 +00:00
liuhan
63e489255f
transport: Add CONFI_WS_TRANSPORT for optimize the code size
2021-06-23 11:26:56 +08:00
David Čermák
1d05bb7c01
Merge branch 'bugfix/esp_netif_ppp_set_auth_fail_v4.3' into 'release/v4.3'
...
esp_netif: Fix failing ppp_set_auth() due to wrong arg check (v4.3)
See merge request espressif/esp-idf!13864
2021-06-22 19:32:40 +00:00
David Čermák
4e120e36eb
Merge branch 'bugfix/eth_w5500_4byte_corruption_v4.3' into 'release/v4.3'
...
esp_eth: Fix w5500 read register operations (v4.3)
See merge request espressif/esp-idf!13862
2021-06-22 19:07:40 +00:00
David Čermák
2c9d8ac64e
Merge branch 'feature/sperate_slip_component_v4.3' into 'release/v4.3'
...
esp_netif: Add CONFIG_LWIP_SLIP_SUPPORT to sperate slip component (backport v4.3)
See merge request espressif/esp-idf!13633
2021-06-22 16:23:04 +00:00
David Čermák
a59eccdd9e
Merge branch 'bugfix/fix_disable_ipv6_build_fail_v4.3' into 'release/v4.3'
...
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail(backport v4.3)
See merge request espressif/esp-idf!13835
2021-06-22 15:39:41 +00:00
Island
7406312f11
Merge branch 'bugfix/start_enc_proc_mic_err_fix_release_4p3' into 'release/v4.3'
...
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller (release/v4.3)
See merge request espressif/esp-idf!14057
2021-06-22 12:54:38 +00:00
xiongweichao
15dcd2eca1
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 20:37:51 +08:00
Wang Meng Yang
3b88d9231b
Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.3' into 'release/v4.3'
...
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.3]
See merge request espressif/esp-idf!14010
2021-06-22 12:28:03 +00:00
David Cermak
2fb93e6a54
esp_eth: Fix w5500 to break from potentially infinite tx loop
...
The issue typically happens for link-down during Tx. Added two retry levels, one before checking the sanity of the w5500 phy register and another for the Tx done itself (if the device is in the sane state)
Closes https://github.com/espressif/esp-idf/issues/6233
2021-06-22 17:23:07 +08:00
David Cermak
8534799d66
esp_eth: Fix w5500 to correctly read registers on -Os
...
Reading SPI data may come in 4-byte units and thus result in unwanted
overwrites if smaller size registers read, especially if multiple placed
one after another. Fixed by using direct reads to `trans` structure for
sizes smaller or equal to 4.
Closes https://github.com/espressif/esp-idf/issues/6579
2021-06-22 17:23:07 +08:00
sushant.chougule
e6115da7e9
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
2021-06-22 17:17:29 +08:00
Angus Gratton
97f007c08c
Merge branch 'bugfix/add-MAXNAMLEN-definition' into 'release/v4.3'
...
newlib: add the definition of MAXNAMLEN in sys/dirent.h (backport v4.3)
See merge request espressif/esp-idf!13757
2021-06-22 07:12:56 +00:00
Wang Meng Yang
976594b853
Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro_v4.3' into 'release/v4.3'
...
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
See merge request espressif/esp-idf!14037
2021-06-22 04:53:19 +00:00
Angus Gratton
efb4784d78
Merge branch 'bugfix/link_gcov_rtio_backport_v4.3' into 'release/v4.3'
...
Bugfix/link gcov rtio backport v4.3
See merge request espressif/esp-idf!13833
2021-06-22 03:14:41 +00:00
Angus Gratton
6ee42ba036
Merge branch 'feature/update_libsodium_submodule_v4.3' into 'release/v4.3'
...
libsodium: Update library to v1.0.18 (v4.3)
See merge request espressif/esp-idf!13081
2021-06-22 02:38:03 +00:00
yuanjm
83e9c1d28d
esp_netif: Add CONFIG_LWIP_SLIP_SUPPORT to sperate slip component
2021-06-22 10:12:53 +08:00
KonstantinKondrashov
6a50197246
bootloader: Fix a wrong offset in image_load after refactoring
2021-06-22 08:30:43 +08:00
KonstantinKondrashov
54ae758b77
bootloader_support: Used esp_image_get_metadata() instead of esp_image_verify()
...
- bootloader_common_get_sha256_of_partition will not do any unnecessery verifies.
- Used esp_image_get_metadata() instead of esp_image_verify().
2021-06-22 08:30:43 +08:00
KonstantinKondrashov
99af5e9a71
bootloader: Fixed a case when signed OTA updates fail when debugger is attached due to the wrong image_len.
...
And it fixed another case for bootloader_common_get_sha256_of_partition() when CHECK_SIGNATURE is on
- If RSA signature check is on in Kconfig then sha256 was 0xFFFFF...
because image_load gave image_len which pointed to the end of sign blocks.
And image_digest was filled from a wrong position.
Closes https://github.com/espressif/esp-idf/issues/6873
2021-06-22 08:30:41 +08:00
Angus Gratton
362c9234dc
Merge branch 'bugfix/fix_ld_relinking_on_modification_v4.3' into 'release/v4.3'
...
build: fix linker scripts edition not triggering a rebuild (backport v4.3)
See merge request espressif/esp-idf!13450
2021-06-22 00:29:11 +00:00
Angus Gratton
9f6e09d0d3
Merge branch 'bugfix/flash_rodata_any_alignement_v4.3' into 'release/v4.3'
...
build: Fix cache issue and add dedicated section for (Custom) App version info (backport v4.3)
See merge request espressif/esp-idf!13448
2021-06-22 00:23:49 +00:00
“YangZhao”
fe9ecf2f7a
If the scan window set as 4 slots and the scan interval set as 5 slots
...
,then the device will crash when starting scanning.This commit is to fix
this bug.
2021-06-21 21:56:03 +08:00
liqigan
a6b1fda209
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:05:41 +08:00
yuanjm
b2dfa2ed85
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
...
Closes https://github.com/espressif/esp-idf/issues/6935
2021-06-21 17:23:58 +08:00
Mahavir Jain
dd73ba9601
heap: use hal specific API to get cpu cycles count
...
This fixes compilation issue of heap tracing feature for RISC-V
architecture.
2021-06-21 14:40:07 +05:30
wangjialiang
6203a22e2c
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-21 11:19:31 +08:00
wangjialiang
c250bbc3fb
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-21 11:19:01 +08:00
Island
8c909d3319
Merge branch 'bugfix/AuthValue_leak_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth... (v4.3)
See merge request espressif/esp-idf!14024
2021-06-21 03:08:55 +00:00
liaowenhao
2060f63130
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
...
Closes https://jira.espressif.com:8443/browse/IDFGH-5399
2021-06-21 10:55:34 +08:00
laokaiyao
5f184c6556
driver/i2c: add notes to i2c deleteing function v4.3
2021-06-21 10:07:40 +08:00
Melissa LeBlanc-Williams
b6826d8878
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly v4.3
...
Merges https://github.com/espressif/esp-idf/pull/6846
2021-06-21 10:07:40 +08:00
Wang Meng Yang
51aaf310fd
Merge branch 'bugfix/active_ext_scan_performance_in_coex_v4.3' into 'release/v4.3'
...
bugfix/active_ext_scan_performance_in_coex_v4.3
See merge request espressif/esp-idf!13544
2021-06-19 02:28:13 +00:00
Aditya Patwardhan
694f7e349f
libsodium: Update library to v1.0.18
2021-06-18 16:57:37 +08:00
Angus Gratton
e9fd883f50
Merge branch 'bugfix/esp32_u4wdh_quad_io_v4.3' into 'release/v4.3'
...
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip (v4.3)
See merge request espressif/esp-idf!13876
2021-06-18 07:16:50 +00:00
wangjialiang
36cb29280a
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-18 14:16:07 +08:00
Mahavir Jain
f819a4fffa
Merge branch 'feature/update_esp_cryptoauthlib_v4.3' into 'release/v4.3'
...
secure_element: Update esp-cryptoauthlib submodule latest version. (v4.3)
See merge request espressif/esp-idf!13836
2021-06-18 06:15:36 +00:00
Island
cf3445db01
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v4.3)
See merge request espressif/esp-idf!13922
2021-06-18 03:33:15 +00:00
wangmengyang
ef6910467c
components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP
2021-06-17 19:34:03 +08:00
David Čermák
777907f8ef
Merge branch 'bugfix/start_emac_after_phy_reset_v4.3' into 'release/v4.3'
...
esp_eth: restart negotiation in esp_eth_start (v4.3)
See merge request espressif/esp-idf!13698
2021-06-17 07:13:31 +00:00
Aditya Patwardhan
92a5c34a61
secure_element: Update esp-cryptoauthlib submodule latest version.
...
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-06-17 13:52:03 +08:00
morris
5c3d5faeff
i2s: fix driver uninstall issue
2021-06-17 12:57:58 +08:00
Michael (XIAO Xufeng)
9249f05fc9
spi_flash: reverted unwilling cs_setup argument
...
Partially reverted 08f1bbe0c7
.
The host should have this flexibility, which is consistent to the cs_hold argument.
However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-17 12:26:11 +08:00
ChenJianxing
f2676b8e59
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-17 10:44:06 +08:00
Li Shuai
21b3068b77
deep sleep: clear wakeup and reject int raw signal before entry sleep
2021-06-17 10:41:22 +08:00
Angus Gratton
b5256118ff
Merge branch 'bugfix/riscv_stack_alignment_v4.3' into 'release/v4.3'
...
core: fix cases where riscv SP were not 16 byte aligned (v4.3)
See merge request espressif/esp-idf!13653
2021-06-17 02:09:34 +00:00
Angus Gratton
9d50e27aff
Merge branch 'bugfix/cmake_ulp_reserved_size_v4.3' into 'release/v4.3'
...
ulp: Fix bug where ULP linker script not regenerated for new config (v4.3)
See merge request espressif/esp-idf!13628
2021-06-17 00:06:30 +00:00
Mahavir Jain
a213b289be
Merge branch 'feature/extmem_alloc_for_s2_v4.3' into 'release/v4.3'
...
External memory allocation policy support for ESP32-S2 (GitHub PR) (v4.3)
See merge request espressif/esp-idf!13619
2021-06-16 16:34:13 +00:00
wangjialiang
6300f7791a
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-16 21:26:38 +08:00
David Čermák
3e28c250d7
Merge branch 'bugfix/tcp_transport_tls_no_mem_v4.3' into 'release/v4.3'
...
tcp_transport: Fix error handling of esp_tls_init() (v4.3)
See merge request espressif/esp-idf!13676
2021-06-16 09:50:10 +00:00
Wang Meng Yang
0c3173874e
Merge branch 'bugfix/bt_impersonation_passkey_fix_v4.3' into 'release/v4.3'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v4.3)
See merge request espressif/esp-idf!13758
2021-06-16 08:59:13 +00:00
Wang Meng Yang
b3d17474d6
Merge branch 'bugfix/invalid_feat_page_exec_v4.3' into 'release/v4.3'
...
bt controller: Fixed handling for invalid feature page. (v4.3)
See merge request espressif/esp-idf!13566
2021-06-16 08:57:36 +00:00
Angus Gratton
c0c0497de3
ulp: Fix bug where ULP linker script not regenerated for new config
...
ULP linker script relies on value of CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM,
when this value changes in config then it should be regenerated.
2021-06-16 16:54:03 +08:00
Angus Gratton
94f447f599
Merge branch 'bugfix/partition_table_integrity_check_v4.3' into 'release/v4.3'
...
paritition_table: Verify the partition table md5sum when loading in the app (v4.3)
See merge request espressif/esp-idf!13582
2021-06-16 08:49:55 +00:00
David Cermak
054770407e
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
...
Closes https://github.com/espressif/esp-idf/issues/7047
2021-06-16 13:59:35 +08:00
Jiang Jiang Jian
7e8afda8b2
Merge branch 'bugfix/fix_crash_when_csi_enable_v4.3' into 'release/v4.3'
...
esp_wifi: fix crash when csi enable(v4.3)
See merge request espressif/esp-idf!13925
2021-06-16 04:38:41 +00:00
Angus Gratton
a45fa929c2
Merge branch 'bugfix/ulp_riscv_unintended_wake_v4.3' into 'release/v4.3'
...
ulp: unintended wakeup in ulp_riscv (v4.3)
See merge request espressif/esp-idf!13630
2021-06-16 04:25:29 +00:00
Angus Gratton
2baf0e626a
Merge branch 'bugfix/fix_mbedtls_cmake_warning_v4.3' into 'release/v4.3'
...
mbedtls: fixed CMake build warning (v4.3)
See merge request espressif/esp-idf!13590
2021-06-16 04:20:46 +00:00
Angus Gratton
c0e07f8975
Merge branch 'bugfix/pthread_join_debug_log_v4.3' into 'release/v4.3'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level (v4.3)
See merge request espressif/esp-idf!13776
2021-06-16 04:19:56 +00:00
Mahavir Jain
0b2f0a3213
bt: use generic SPIRAM config option for memory alloc policy
2021-06-16 11:11:55 +08:00
Marcel Kottmann
4c8ae4fd56
mbedtls: Allow external mem alloc for ESP32-S2
...
Closes https://github.com/espressif/esp-idf/pull/6998
Closes IDFGH-5226
2021-06-16 11:11:55 +08:00
Krzysztof Budzynski
21dfe81a68
Merge branch 'bugfix/doc_freertos_task_stack_bytes_v4.3' into 'release/v4.3'
...
freertos docs: Specify that uxTaskGetStackHighWaterMark() returns bytes not words (v4.3)
See merge request espressif/esp-idf!13627
2021-06-16 02:54:35 +00:00
Krzysztof Budzynski
ce9f195abe
Merge branch 'doc/nvs_get_used_entry_count__clarify_4.3' into 'release/v4.3'
...
[doc]: NVS documentation updates (backport 4.3)
See merge request espressif/esp-idf!13821
2021-06-16 02:52:15 +00:00
Cao Sen Miao
9c7d2c7595
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-15 15:27:51 +08:00
Wang Fang
1903d8587a
docs: provide the link to pcb layout for ethernet board v1.2 and fix a typo in freetos/task
2021-06-15 15:26:10 +08:00
Zhang Jun Hao
e86ca4edc2
esp_wifi: fix crash when csi enable
2021-06-10 16:00:01 +08:00
xiewenxiang
84b157e2ea
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:33:06 +08:00
Angus Gratton
22a02656b7
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
...
Closes https://github.com/espressif/esp-idf/issues/6191
2021-06-07 14:53:43 +10:00
David Cermak
c7de165ccb
tcp_transport: Fix error handling of esp_tls_init()
2021-06-03 13:47:41 +00:00
Alexey Gerenkov
e900224343
gcov: Fixes not linked gcov rtio functions
2021-06-02 22:05:15 +03:00
Marius Vikhammer
57442c38bd
core: fix cases where riscv SP were not 16 byte aligned
...
RISC-V stack pointer should always be 16 byte aligned, but for some cases where
we were doing manual SP manipulation this was not always the case.
2021-06-02 16:02:10 +08:00
liaowenhao
7e4f7867f0
bugfix/fix crash when lmp flooding
2021-06-02 15:31:33 +08:00
Jakob Hasse
5395f451a2
[doc]: NVS documentation updates
...
* Move nvs flash README to common doc directory
* correct markup of functions and types in text
from old README
* Better comment of nvs_get_used_entry_count()
* Mention C++ example in API reference
* Used target instead of hard code ESP32
* Note that strings can only span one page
* Reflect that item types have been moved
* Some clarification about nvs_commit()
* Improved reference to the ESP Partition API
* fixed little mistake in documenting-code.rst
* Change of nvs_open_from_part() to
nvs_open_from_partition() reflected in docs
* Corrected documentation of
NVSHandle::get_string(), NVSHandle::get_blob()
and NVSHandle::get_item_size().
* Closes DOC-165
* Closes IDF-1563
* Closes IDF-859
* Closes https://github.com/espressif/esp-idf/issues/6123
2021-06-02 13:34:35 +08:00
baohongde
f0679fe175
components/bt: Delete BLE ADV priority high
2021-06-01 16:19:24 +00:00
Chinmay Chhajed
b7ab286edf
bt controller: Fixed handling for invalid feature page.
2021-06-01 16:19:24 +00:00
Renz Bagaporo
0e904b3f7e
ulp: clear rtc int at initialization
...
Closes https://github.com/espressif/esp-idf/issues/6654
2021-06-01 21:41:12 +08:00
Angus Gratton
1967e53f4a
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
...
Regression in 83bf2e1ac1
, this memory region was shifted from fast to slow RTC
memory (no change on ESP32-C3 as no RTC fast memory on this chip.)
2021-06-01 19:05:09 +10:00
Jakob Hasse
d376c161aa
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-06-01 13:46:50 +08:00
zhiweijian
9e2ce84a9a
Fixed ANON_ADV address error
2021-06-01 11:49:21 +08:00
Angus Gratton
9596f0d966
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-05-31 13:49:59 +10:00
Angus Gratton
a3856c5438
esp_rom: Allow passing any type of data pointer to md5, remove unchecked size on digest pointer
2021-05-30 23:21:14 +00:00
Angus Gratton
58a3e08895
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-05-30 23:21:14 +00:00
Chinmay Chhajed
24035f698d
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-28 19:24:27 +05:30
WangQixiang
ac362cc662
change MAXNAMLEN to 255
2021-05-28 20:41:25 +08:00
WangQixiang
a29fe72cc9
add the definition of MAXNAMLEN in sys/dirent.h
2021-05-28 20:41:10 +08:00
Jiang Jiang Jian
4de9ba152a
Merge branch 'bugfix/ble_fix_reconnect_failed_when_using_rpa_public_address_v4.3' into 'release/v4.3'
...
Fixed BLE reconnect failed when using rpa public address (backport v4.3)
See merge request espressif/esp-idf!13743
2021-05-28 08:31:18 +00:00
morris
03a6c4975c
esp_eth: restart negotiation in esp_eth_start
2021-05-28 08:22:56 +00:00
Angus Gratton
0cca9e860d
freertos docs: Specify that uxTaskGetStackHighWaterMark() returns bytes not words
...
As reported https://esp32.com/viewtopic.php?f=13&t=20043&p=73732
2021-05-28 05:13:40 +00:00
Omar Chebib
a573cfe58a
espcoredump: Fix bugs related to (fake) stacks
...
Add support to tasks stacks in RTC DRAM. Before this fix, any stack
in RTC DRAM would have been considered as corrupted, whichi is not
the case.
Fix a bug related to wrong parameters passed to esp_core_dump_get_stack.
Fix a bug reading fake stack memory, triggering a memory violation.
* Closes https://github.com/espressif/esp-idf/issues/6751
* Merges https://github.com/espressif/esp-idf/pull/6750
2021-05-28 01:58:09 +00:00
zwj
7d1fe0b553
Fixed BLE reconnect failed when using rpa public address
2021-05-27 08:17:18 +00:00
Marius Vikhammer
8efb2bb1ed
ci: run Example_GENERIC for C3
...
Add support for running example_GENERIC tests for C3 on label.
Fix examples that fail.
2021-05-20 14:32:47 +10:00
KonstantinKondrashov
c270a9f0b9
esp32c3: Updates a description in Kconfig about Universal MAC Address strategy
2021-05-20 04:30:31 +00:00
Marius Vikhammer
390bdf2f78
mbedtls: fixed CMake build warning
...
Building mbedtls with CMake would warn that:
"A private source from a directory other than that of target "mbedcrypto
has a relative path"
This happened due to some of the CMake variables listing sources could be empty.
Changed to only use target_sources in the code-path where we set the sources,
so we only call target_sources will non-empty variables.
Closes https://github.com/espressif/esp-idf/issues/6767
2021-05-19 11:11:04 +08:00
Nachiket Kukade
aa33c43644
esp_wifi: Update wifi lib
...
Update wifi library with below fixes -
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-14 11:14:03 +08:00
Angus Gratton
de0063164d
Merge branch 'bugfix/place_xt_int_fns_into_iram_4.3' into 'release/v4.3'
...
[system]: put xtensa_intr_asm into IRAM (backport 4.3)
See merge request espressif/esp-idf!13402
2021-05-14 01:48:11 +00:00
Angus Gratton
93aee41c29
Merge branch 'bugfix/setjmp_longjmp_4.3' into 'release/v4.3'
...
[system]: Made longjmp save for context switch (backport 4.3)
See merge request espressif/esp-idf!13489
2021-05-14 01:40:17 +00:00
Jiang Jiang Jian
4db80bcc78
Merge branch 'nimble/workaound_ble_conn_err_v4.3' into 'release/v4.3'
...
NimBLE: Add NimBLE host support to reattempt GAP connection and address MITM vulnerability (CVE-2020-26558) (release/v4.3)
See merge request espressif/esp-idf!13549
2021-05-13 16:25:54 +00:00
Jiang Jiang Jian
2647288d32
Merge branch 'bugfix/ag_use_dynamic_memory_error_v4.3' into 'release/v4.3'
...
Fix ag use dynamic memory error
See merge request espressif/esp-idf!13542
2021-05-13 16:20:38 +00:00
Jiang Jiang Jian
a75a988c98
Merge branch 'bugfix/wifi_modem_sleep_percentage_optimize_v4.3' into 'release/v4.3'
...
backport v4.3: optimize wifi station modem sleep percentage
See merge request espressif/esp-idf!13541
2021-05-13 16:19:08 +00:00
Michael (XIAO Xufeng)
c7a10f9293
Merge branch 'bugfix/timer_spinlock_iram_v4.3' into 'release/v4.3'
...
timer: add IRAM_ATTR to spinlock give/take API (v4.3)
See merge request espressif/esp-idf!13511
2021-05-13 11:36:48 +00:00
Prasad Alatkar
7095159a4c
NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
...
* Add workaround to overcome connection establishment failure error.
* Fix vulnerability during public key exchange in secure connection
2021-05-13 16:44:17 +05:30
xiongweichao
2644f793bd
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-13 16:09:47 +08:00
xiongweichao
848f931e06
fix ag use dynamic memory error
2021-05-13 16:09:40 +08:00
Jiang Jiang Jian
e6f96717ff
Merge branch 'bugfix/remove_uart2_c3_v4.3' into 'release/v4.3'
...
uart: remove misleading ld files and soc defs for UART2 (v4.3)
See merge request espressif/esp-idf!13394
2021-05-13 04:11:32 +00:00
Jiang Jiang Jian
ed76cc4dd4
Merge branch 'feature/support_adjust_voltage_storingInEfuse_open_glitch_rst_v4.3' into 'release/v4.3'
...
ESP32c3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3 (backport v4.3)
See merge request espressif/esp-idf!13388
2021-05-13 04:08:56 +00:00
Li Shuai
d51ed40487
modem sleep: optimize wifi station modem sleep percentage
2021-05-13 11:57:12 +08:00
Jiang Jiang Jian
31b142cf93
Merge branch 'bugfix/concurrent_mode_sae_crash_fix_v4.3' into 'release/v4.3'
...
esp_wifi: Add station based check for auth frame formation (backport v4.3)
See merge request espressif/esp-idf!13526
2021-05-13 03:27:54 +00:00
Michael (XIAO Xufeng)
cdec9f3659
Merge branch 'bugfix/fix_touch_sensor_power_source_v4.3' into 'release/v4.3'
...
touch_sensor: fix esp32s2&esp32s3 touch sensor default power source (Backport v4.3)
See merge request espressif/esp-idf!13484
2021-05-13 03:06:01 +00:00
Michael (XIAO Xufeng)
02e742271d
Merge branch 'feature/merge_c3_caps_v4.3' into 'release/v4.3'
...
soc: merge C3 caps into a single soc_caps.h (v4.3)
See merge request espressif/esp-idf!13518
2021-05-13 02:55:26 +00:00
Jakob Hasse
f16ec53183
[system]: put xtensa_intr_asm into IRAM
2021-05-12 16:44:52 +08:00
Jiang Jiang Jian
3299a19c2f
Merge branch 'bugfix/lwip_debug_define' into 'release/v4.3'
...
lw-ip: Fix LWIP_DEBUG define which is always defined(backport v4.3)
See merge request espressif/esp-idf!13118
2021-05-12 06:28:54 +00:00
Jiang Jiang Jian
a3ae9ae482
Merge branch 'bugfix/generate_value_0_when_prov_auth_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v4.3)
See merge request espressif/esp-idf!13480
2021-05-12 06:22:04 +00:00
Kapil Gupta
deeb517b72
esp_wifi: Add station based check for auth frame formation
2021-05-11 18:20:45 +05:30
Marius Vikhammer
874b470379
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-05-11 15:31:59 +08:00
Marius Vikhammer
38aa99d63d
soc: merge C3 caps into a single soc_caps.h
2021-05-11 15:20:54 +08:00
Jakob Hasse
a37c20b417
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-05-11 12:04:27 +08:00
zwj
1957025f4a
fix C3/S3 ble multi-connection failed when device acts as master and slave
2021-05-10 13:12:01 +00:00
chaijie
6d2bdfc5f5
1. open glitch reset for c3 ECO3;
...
2. set digital & rtc voltage to about 1.15v which storing in efuse.
2021-05-08 17:38:24 +08:00
Kang Zuoling
d651e4e073
touch_sensor: fix esp32s2 touch sensor default power source
2021-05-08 13:54:59 +08:00
wangjialiang
5fc3c0ca91
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 11:58:04 +08:00
fuzhibo
f6d96f33bb
bugfix: add .rodata section for riscv ulp for esp32s2
2021-05-07 10:56:33 +10:00
Angus Gratton
228f875ada
esp32s2 riscv ulp: Make re-linking depend on linker script file
2021-05-07 10:54:55 +10:00
Angus Gratton
997c07c2ee
esp32s2 riscv ulp: Ensure reset vector is always at offset 0x0
...
Previous linker script relied on nothing else using the .text section
As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
2021-05-07 10:54:55 +10:00
Omar Chebib
831d470a75
build: fix linker scripts edition not triggering a rebuild
...
Fix the dependencies in CMakeLists files for triggering a relink
when linker script file is modified.
2021-05-06 12:19:01 +08:00
Ivan Grokhotkov
b7707c54ce
freertos: fix TLS run-time address calculation
...
Since dd849ffc
, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.
Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.
Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc
was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-05-06 11:42:14 +08:00
Omar Chebib
375f969d43
build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
...
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.
Closes https://github.com/espressif/esp-idf/issues/6719
2021-05-06 11:40:57 +08:00
Omar Chebib
c29dbda5fd
build: fix cache issue when .flash.text section alignment is uncommon
...
rodata dummy section has now the same alignment as flash text section,
and at least the same size. For these reasons, the cache will map
correctly the following rodata section.
2021-05-06 11:40:47 +08:00
Angus Gratton
d30ec8c94e
freertos: Add addition overflow check for stream buffer
...
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 18:30:49 +10:00
Angus Gratton
658a0acdbe
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:30:49 +10:00
Angus Gratton
467c7af33e
Merge branch 'doc/general_notes_v4.3' into 'release/v4.3'
...
doc: Update docs about startup sequence and memory types (v4.3)
See merge request espressif/esp-idf!13316
2021-05-03 06:48:07 +00:00
Mahavir Jain
4c113a0c0c
Merge branch 'bugfix/fix_mbedtls_send_alert_crash_v4.3' into 'release/v4.3'
...
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL[backport v4.3]
See merge request espressif/esp-idf!13300
2021-04-30 07:08:19 +00:00
Mahavir Jain
ad759ee5a7
Merge branch 'newlib/no_atomic_support_v4.3' into 'release/v4.3'
...
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n (backport v4.3)
See merge request espressif/esp-idf!13361
2021-04-30 07:07:37 +00:00
Mahavir Jain
24af403dac
Merge branch 'bugfix/esp_http_client_read_v4.3' into 'release/v4.3'
...
Fix esp_http_client_read for file size aligned to 289 bytes (v4.3)
See merge request espressif/esp-idf!13305
2021-04-30 07:06:33 +00:00
Jiang Jiang Jian
469bb082d7
Merge branch 'bugfix/fix_nolightsleep_after_wifi_init_v4.3' into 'release/v4.3'
...
esp_wif: fix nolightsleep after wifi init v4.3
See merge request espressif/esp-idf!13403
2021-04-30 05:52:09 +00:00
Jiang Jiang Jian
80e381e511
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.3' into 'release/v4.3'
...
[system]: Remove redundant othercore cache disable (backport v4.3)
See merge request espressif/esp-idf!13356
2021-04-30 05:51:43 +00:00
Jiang Jiang Jian
847273d0fb
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.3' into 'release/v4.3'
...
backport v4.3: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13391
2021-04-30 02:50:04 +00:00
yuanjm
6d32eec165
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-30 02:01:51 +00:00
ninh
6dc067dda7
esp_wifi: fix nolightsleep after wifi init (backport to v4.3)
2021-04-29 22:01:55 +08:00
ninh
0ddf00c6e1
esp_pm: allow dfs to swith down alltime if no lightsleep (backport to v4.3)
2021-04-29 22:00:37 +08:00
Jiang Jiang Jian
8c6705ded5
Merge branch 'bugfix/interrupt_watchdog_on_reset_v4.3' into 'release/v4.3'
...
Bugfix/interrupt watchdog on reset v4.3
See merge request espressif/esp-idf!13386
2021-04-29 13:33:07 +00:00
shenjun
2f603a56a7
esp_wifi_mesh: update wifi mesh libs
...
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
4. Forward Mgmt frames with skipping CCMP headers to fix parsing issues in Application for ESP32C3
2021-04-29 15:05:07 +08:00
Michael (XIAO Xufeng)
2bffeb7265
uart: fix misleading files for UART2
...
Includes: header files, ld files and clk.c
ESP32-C3 only have UART0 and UART1.
2021-04-29 14:23:13 +08:00
wangmengyang
9c872b1851
components/bt: fixed bugs in Bluetooth Controller and Baseband
...
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set
2: Update libbtbb.a for ESP32-C3 to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-29 03:58:29 +00:00
wangmengyang
b2c18de9b3
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-29 03:58:29 +00:00
Li Shuai
f684bd10f5
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 10:14:30 +08:00
Michael (XIAO Xufeng)
9da031e0c3
Merge branch 'bugfix/twai_caps_naming_and_tidy_up_v4.3' into 'release/v4.3'
...
Fix TWAI caps (backport v4.3)
See merge request espressif/esp-idf!13304
2021-04-28 17:47:35 +00:00
Michael (XIAO Xufeng)
64de7ee38c
Merge branch 'feature/spi_slave_hd_segment_example_v4.3' into 'release/v4.3'
...
spi_slave_hd: add an spi slave hd segment example (4.3)
See merge request espressif/esp-idf!13312
2021-04-28 17:39:25 +00:00
Michael (XIAO Xufeng)
52d9d466fb
Merge branch 'ci/enable_i2c_test_v4.3' into 'release/v4.3'
...
I2C: enable all unit test for i2c on esp32c3 (backport 4.3)
See merge request espressif/esp-idf!13061
2021-04-28 15:00:20 +00:00
Jiang Jiang Jian
a4a7e7b3e9
Merge branch 'bugfix/update_esp32c3_phy_init_data_v4.3' into 'release/v4.3'
...
esp_wifi: update esp32c3 phy init data(v4.3)
See merge request espressif/esp-idf!13338
2021-04-28 12:45:36 +00:00
Armando
a87f5c6c02
spi_slave_hd: add polling api to read/write buf to essl_spi
2021-04-28 08:20:55 +00:00
Armando
20993109e8
spi_slave_hd: add callback after data is loaded to the DMA for segment mode
2021-04-28 08:20:55 +00:00
Michael (XIAO Xufeng)
6c38cc736a
Merge branch 'bugfix/twai_esp32_errata_workarounds_backport_v4.3' into 'release/v4.3'
...
TWAI: Add FIFO overrun handling and ESP32 hardware errata workarounds (backport v4.3)
See merge request espressif/esp-idf!12984
2021-04-28 08:12:06 +00:00
chenjianxing
193b60afcf
esp_wifi: update esp32c3 phy init data
2021-04-28 08:04:28 +00:00
Shubham Kulkarni
e4ebaca693
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-28 05:00:58 +00:00
Michael (XIAO Xufeng)
3f358236f0
Merge branch 'feat/c3_driver_api_cleanup_gpio_v4.3' into 'release/v4.3'
...
gpio, rtcio: removed unsupported features on different targets (v4.3)
See merge request espressif/esp-idf!13120
2021-04-27 09:37:15 +00:00
Cao Sen Miao
ba1ce2ebd0
I2C: enable all unit test for i2c on esp32c3
2021-04-27 17:13:47 +08:00
Sachin Parekh
aad1f7abde
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
...
These APIs are used when the architecture doesn't have atomic
instruction support
Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-27 13:34:54 +05:30
wuzhenghui
29ad86ed5b
remove othercore cache disable
2021-04-27 14:40:52 +08:00
Jiang Jiang Jian
dede31cd83
Merge branch 'bugfix/gtk_reinstallation_fix_1_4.3' into 'release/v4.3'
...
wpa_supplicant: Clean gtk after disconnect (backport v4.3)
See merge request espressif/esp-idf!13286
2021-04-27 03:32:46 +00:00
Darian Leung
07291fdd27
TWAI: FIFO overrun handling and errata workarounds
...
This commit adds handling for FIFO overruns and
adds workarounds for HW errats on the ESP32.
Closes https://github.com/espressif/esp-idf/issues/2519
Closes https://github.com/espressif/esp-idf/issues/4276
2021-04-26 19:35:13 +08:00
Darian Leung
00801c8044
TWAI: Simply caps and remove unused caps
2021-04-26 19:34:30 +08:00
Darian Leung
b8e31efcac
TWAI: Fix incorrect CAP name
...
Fixes a bug where SOC_TWAI_BRP_DIV_SUPPORTED was mistyped preventing
slower bit rates from being enabled on ESP32 revision 2 and 3 chips
2021-04-26 19:34:30 +08:00
Jiang Jiang Jian
ae72870d43
Merge branch 'bugfix/fix_c3_ble_disconnect_due_to_con_param_update_v4.3' into 'release/v4.3'
...
Fix c3 ble disconnect due to con param update v4.3
See merge request espressif/esp-idf!13325
2021-04-26 06:00:15 +00:00
Jiang Jiang Jian
4d1aaed682
Merge branch 'refactor/bt_lib_submodules_v4.3' into 'release/v4.3'
...
Refactor/bt lib submodules(backports v4.3)
See merge request espressif/esp-idf!13275
2021-04-25 06:24:46 +00:00
Michael (XIAO Xufeng)
6059ef26fb
gpio, rtcio: removed unsupported features on different targets
2021-04-24 15:55:13 +00:00
liuhan
38db3d9507
lw-ip: Fix LWIP_DEBUG define which is always defined
2021-04-23 18:25:17 +00:00
Shu Chen
42ae0166d7
esp32c3: fix typos of c3 path
2021-04-23 21:09:06 +08:00
Michael (XIAO Xufeng)
eff7fd9052
Merge branch 'feature/update_adc_programming_guide_on_c3_v4.3' into 'release/v4.3'
...
adc: add adc programming guide on c3 (4.3)
See merge request espressif/esp-idf!13281
2021-04-23 12:53:04 +00:00
Angus Gratton
275743ab1c
doc: Add notes that vTaskStartScheduler() is called during startup
...
Closes https://github.com/espressif/esp-idf/issues/1457
2021-04-23 22:48:47 +10:00
Angus Gratton
8a39b5237d
doc: update the memory types and startup docs
2021-04-23 22:48:47 +10:00
zwj
5e9aa539ea
fix c3 ble disconnect due to connection parameters update
2021-04-23 20:39:40 +08:00
Angus Gratton
d0e0f80bd0
esp_system: Mark the startup array as 'const' to save RAM
2021-04-23 19:12:06 +10:00
Angus Gratton
1b82e9604c
Merge branch 'bugfix/esp32c3_eco3_efuse_programming_v4.3' into 'release/v4.3'
...
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3 (v4.3)
See merge request espressif/esp-idf!13297
2021-04-23 09:08:24 +00:00
Mahavir Jain
26139daaf5
Merge branch 'feature/adds_ota_example_test_check_sign_on_update_v4.3' into 'release/v4.3'
...
simple_ota_example: Adds config to test on_update_no_secure_boot option (v4.3)
See merge request espressif/esp-idf!13222
2021-04-23 08:57:46 +00:00
Mahavir Jain
f9831301ce
Merge branch 'bugfix/bootloader_min_revision_c3_v4.3' into 'release/v4.3'
...
Fix bootloader minimum revision check and print for ESP32-C3 (v4.3)
See merge request espressif/esp-idf!13263
2021-04-23 08:56:24 +00:00
Mahavir Jain
cfb84d3381
Merge branch 'feature/mbedtls_md5_update_v4.3' into 'release/v4.3'
...
mbedtls: Add CONFIG_MBEDTLS_ROM_MD to enable ROM MD acceleration(back port v4.3)
See merge request espressif/esp-idf!13133
2021-04-23 08:56:08 +00:00
Kapil Gupta
952e47d45d
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:45:13 +05:30
Michael (XIAO Xufeng)
c6ca4e3e88
Merge branch 'bugfix/fix_flash_ci_v4.3' into 'release/v4.3'
...
esp_flash: fix host number for passing ci(backport v4.3)
See merge request espressif/esp-idf!13264
2021-04-23 06:43:18 +00:00
Angus Gratton
999f648a35
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
...
Without this timing change, efuse programming occasionally appears to fail
(although the efuse is programmed correctly).
2021-04-23 10:33:43 +10:00
liuhan
9bf4d44235
mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS
2021-04-22 12:34:00 +00:00
KonstantinKondrashov
1166bc5680
bootloader: Suppress a Cmake warning - variables were not used by the project
...
Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY
2021-04-22 07:27:08 +00:00
KonstantinKondrashov
02170d815e
bootloader: Fix error in Make build system when signature options is on
2021-04-22 07:27:08 +00:00
Armando
3fb1165e4e
adc: add adc programming guide on c3
2021-04-22 06:28:37 +00:00
wangmengyang
cdcb85fd70
component/bt: add another bt-lib submodule and refactor the directories
...
# Conflicts:
# .gitmodules
# components/bt/component.mk
2021-04-22 07:46:55 +08:00
Jiang Jiang Jian
a67793e9fc
Merge branch 'bugfix/gtk_reinstallation_fix_v4.3' into 'release/v4.3'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.3)
See merge request espressif/esp-idf!13181
2021-04-21 15:17:35 +00:00
Jiang Jiang Jian
182c2eda48
Merge branch 'bugfix/fix_bootloader_time_too_long_bug_v4.3' into 'release/v4.3'
...
esp32s2/esp32c3: decrease boot up and cpu start up time (backport v4.3)
See merge request espressif/esp-idf!12728
2021-04-21 14:20:28 +00:00
Jiang Jiang Jian
1d218485ec
Merge branch 'nimble/add_c3_config_max_conn_v4.3' into 'release/v4.3'
...
NimBLE: Add max connection config option for C3 (v4.3)
See merge request espressif/esp-idf!12999
2021-04-21 13:07:48 +00:00
wangmengyang
257047c073
remove original esp32-bt-lib submodule
2021-04-21 20:40:35 +08:00
Jiang Jiang Jian
83358061df
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.3)
See merge request espressif/esp-idf!13254
2021-04-21 12:35:51 +00:00
Kapil Gupta
47e4386953
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-04-21 11:41:34 +00:00
chaijie
e8282fb5c5
esp32s2/esp32s3/esp32c3: Decrease boot up time by delete useless slow clock calibration
2021-04-21 11:38:26 +00:00
Jiang Jiang Jian
5a5327e77e
Merge branch 'bugfix/fix_esp32c3_macaddr_default_v4.3' into 'release/v4.3'
...
fix esp32c3 default mac addr count(v4.3)
See merge request espressif/esp-idf!13209
2021-04-21 11:35:43 +00:00
Wang Meng Yang
5580d578bd
Merge branch 'nimble/add_error_prints_acl_buf_v4.3' into 'release/v4.3'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.3)
See merge request espressif/esp-idf!12968
2021-04-21 10:26:31 +00:00
Wang Meng Yang
949a3cd61a
Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.3' into 'release/v4.3'
...
Fix the controller do not report the disconnect event to host
See merge request espressif/esp-idf!13262
2021-04-21 09:55:38 +00:00
Prasad Alatkar
ac9bd8bcc4
NimBLE: Add max connection config option for ESP32C3
2021-04-21 08:52:32 +00:00
“YangZhao”
e45ce5c058
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 15:02:40 +08:00
Cao Sen Miao
44b81cb280
esp_flash: fix host number for passing ci
2021-04-21 13:54:26 +08:00
Mahavir Jain
d41781099a
bootloader_support: fix min. revision error print for < C3-ECO3 revisions
2021-04-21 10:16:46 +05:30
Mahavir Jain
6403a229eb
bootloader: fix print related to min. chip revision
...
Closes https://github.com/espressif/esp-idf/issues/6890
Closes IDFGH-5106
2021-04-21 10:16:46 +05:30