Commit Graph

13365 Commits

Author SHA1 Message Date
David Cermak
2f6c60573e esp_netif: Extend PPP netif API to control connection failure 2021-09-07 09:03:15 +02:00
David Cermak
213727c4f2 lwip: IPv6: Add support for DHCPv6 stateless config
Closes https://github.com/espressif/esp-idf/issues/5245
2021-09-07 14:48:21 +08:00
Cao Sen Miao
6c0aebe279 esp_flash: add opi flash support in esp_flash chip driver, for MXIC 2021-09-07 14:44:40 +08:00
Sudeep Mohanty
1a19014d3d Merge branch 'feature/move-esp-macros-from-freetos-upstream-files' into 'master'
freertos: remove xSemaphoreAltTake/Give macros from semphr.h

Closes IDF-3814

See merge request espressif/esp-idf!15088
2021-09-07 04:45:18 +00:00
Zim Kalinowski
092b903320 Merge branch 'feature/freertos-upgrade-to-10.4.3-missing-layout-changes' into 'master'
freertos: upgrade to 10.4.3 - missing code layout changes

See merge request espressif/esp-idf!15098
2021-09-07 04:07:26 +00:00
Mahavir Jain
0c027cf4d2 Merge branch 'feature/hmac_downstream_jtag' into 'master'
hmac: Added Downstream JTAG enable mode for esp32c3 and esp32s3

Closes IDF-3664

See merge request espressif/esp-idf!15034
2021-09-07 03:34:22 +00:00
Marius Vikhammer
3c9f94d739 Merge branch 'feature/publish_s3_docs' into 'master'
docs: enable publishing of S3 docs

Closes IDF-3385 and IDF-3285

See merge request espressif/esp-idf!15074
2021-09-07 03:30:36 +00:00
Darian Leung
14fe6dcaaf HAL: Fix Force U32 macros for C++ typeof()
When using the Force U32 macros in C++, the peripheral structs will not
have copy constructors due to them being volatile. Thus, doing temp_reg = reg
via typeof() will not work and cause a "ambiguous overload of operator=" error.

This commit fixes the macros by reading the reg into a uint32_t value first.
2021-09-07 11:23:06 +08:00
Zim Kalinowski
8f06bf6e44 freertos: upgrade to 10.4.3 - missing code layout changes
(cherry picked from commit 46477d85bb43aafac688747ad0c4090030410e3a)
2021-09-07 10:31:26 +08:00
Shu Chen
1e0219f16f Merge branch 'feature/add_openthread_iperf' into 'master'
openthread: add iperf example for ot-network test

See merge request espressif/esp-idf!14635
2021-09-07 02:07:44 +00:00
morris
6cec256a34 fast_gpio: driver support on esp32c3 2021-09-06 19:39:09 +08:00
Sudeep Mohanty
46d54990d8 freertos: remove xSemaphoreAltTake/Give macros from upstream files
xSemaphoreAltTake and xSemaphoreAltGive are Espressif defined macros and
are not being used. The respective definitions, xQueueAltGenericReceive
and xQueueAltGenericSend are also not part of current FreeRTOS source
(v10.4.3). Hence, removed xSemaphoreAltTake and xSemaphoreAltGive
definitions to align with upstream code.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-06 15:55:23 +05:30
Mahavir Jain
bc3c9d27f6 Merge branch 'feature/esp-mqtt_esp32s3_support' into 'master'
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature

Closes IDF-3859

See merge request espressif/esp-idf!15065
2021-09-06 09:52:29 +00:00
Guo Jia Cheng
8d51f554db Merge branch 'feature/otbr-discovery-delegate' into 'master'
openthread: support discovery delegate in border router

See merge request espressif/esp-idf!15041
2021-09-06 09:29:09 +00:00
zhangwenxu
2be77287b3 openthread: add iperf example for ot-network test 2021-09-06 15:32:38 +08:00
Zim Kalinowski
ef75b5a188 Merge branch 'feature/zim-freertos-upgrade-missing-files-etc' into 'master'
freertos: upgrade to 10.4.3 - missing files from upstream

See merge request espressif/esp-idf!15061
2021-09-06 06:40:04 +00:00
Zim Kalinowski
3f2f6d0cf5 freertos: upgrade to 10.4.3 - missing files from upstream 2021-09-06 14:39:48 +08:00
Zim Kalinowski
cbb087ae9c Merge branch 'zim-marking-vtasksuspendall' into 'master'
freertos: clearly marking vTaskSuspendAll and a few other small cleanups

See merge request espressif/esp-idf!15048
2021-09-06 06:01:28 +00:00
Sachin Parekh
0e6b03f343 esp32s2/hmac: Release HMAC lock in downstream mode incase of failure 2021-09-06 11:21:39 +05:30
Sachin Billore
667017d517 ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Sachin Parekh
fd5a7df404 esp32h2: Replicated HMAC JTAG downstream enable mode implementation 2021-09-06 11:06:50 +05:30
Sachin Parekh
fa2707f1f3 hmac: Added Downstream JTAG enable mode for esp32c3 and esp32s3
If JTAG is disabled temporarily by burning SOFT_DIS_JTAG, it can be
re-enabled temporarily through esp_hmac_jtag_enable API
2021-09-06 11:06:50 +05:30
Zim Kalinowski
17140be432 Merge branch 'zim-indexed-notifications-from-older-base' into 'master'
freertos: upgrade - indexed notifications

See merge request espressif/esp-idf!14910
2021-09-06 04:46:23 +00:00
Zim Kalinowski
61ac7c3368 freertos: upgrade - indexed notifications 2021-09-06 12:46:14 +08:00
Jiang Jiang Jian
316988bd2d Merge branch 'feature/support_esp32s3_cpu_tagmem_retention' into 'master'
support esp32s3 cpu + tagmem retention

See merge request espressif/esp-idf!14579
2021-09-06 03:47:44 +00:00
Kevin (Lao Kaiyao)
2991eea97d Merge branch 'refactor/i2s_driver' into 'master'
driver/i2s: bugfix and refactor for i2s

Closes IDF-3656 and IDF-3738

See merge request espressif/esp-idf!14704
2021-09-06 02:07:40 +00:00
Marius Vikhammer
1cf61c849f docs: enable publishing of S3 docs 2021-09-06 09:11:17 +08:00
Cao Sen Miao
559c1ac3f9 esp_flash: add support mxic as a main flash under spi mode 2021-09-05 00:33:28 +08:00
Jiacheng Guo
51372704bf openthread: support discovery delegate in border router 2021-09-03 19:07:59 +08:00
laokaiyao
c5afd7ce34 i2s: fix write failure on ESP32 in 32bit slave mode 2021-09-03 17:36:44 +08:00
Sachin Billore
81391fb18c Merge branch 'feature/esp_ds_s3' into 'master'
[esp_hw_support]: Digital Signature support for S3

Closes IDF-1791

See merge request espressif/esp-idf!14955
2021-09-03 07:57:26 +00:00
Wei Tian Hua
00dfe84c58 Merge branch 'bugfix/hf_disc_acl_no_disc' into 'master'
bugfix/acl can't disconnect when hfp_client disconnect

See merge request espressif/esp-idf!12819
2021-09-03 06:01:50 +00:00
Mahavir Jain
bce9d7c0d1 Merge branch 'feature/esp_system_common_ld_settings' into 'master'
esp_system: create ld template to abstract few common settings

Closes IDF-3624

See merge request espressif/esp-idf!14700
2021-09-03 04:24:16 +00:00
Shu Chen
0f00a17e17 Merge branch 'featue/enable_openthread_ping_sender_module' into 'master'
openthread: enable ping sender module

See merge request espressif/esp-idf!14984
2021-09-03 02:34:26 +00:00
Wang Meng Yang
e09818bd33 Merge branch 'bugfix/btdm_fix_some_Document_Description_Error' into 'master'
component/bt: fix some ble document description error

See merge request espressif/esp-idf!14816
2021-09-03 01:40:15 +00:00
Darian
c8aab00fdb Merge branch 'feature/usb_host_docs' into 'master'
Add USB Host Library API docs

See merge request espressif/esp-idf!15013
2021-09-02 14:05:08 +00:00
Martin Vychodil
3d29b01a02 Merge branch 'bugfix/fix_SD_card_tests_timeout' into 'master'
vfs/fatfs: fix failed tests by increasing timeout

See merge request espressif/esp-idf!14905
2021-09-02 12:16:15 +00:00
Darian Leung
963836f491 Add USB Host Library API docs
- This commit adds the API documentation for the USB Host Library.
- Warnings about the beta API are also added.
- usb_host_misc.h renamed to usb_helpers.h
2021-09-02 18:40:24 +08:00
Zim Kalinowski
b7dbd3ffc1 Merge branch 'zim-xtaskdelayuntil-and-a-few-minor' into 'master'
freertos: upgrade to 10.4.3 - xTaskDelayUntil change and a few minor changes

See merge request espressif/esp-idf!15011
2021-09-02 10:01:16 +00:00
Zim Kalinowski
704a092550 freertos: upgrade to 10.4.3 - xTaskDelayUntil change and a few minor changes 2021-09-02 18:01:08 +08:00
Mahavir Jain
e0d29d4ada esp_system: create ld template to abstract few common settings
PMS aware chips require prefetch padding size for instruction fetch, or
some memory alignment considerations. These settings are now exposed
through kconfig options (hidden) and used through common ld template.
This shall help to add and manage future chips support easily for
these considerations.

Closes IDF-3624
2021-09-02 16:13:17 +08:00
Zim Kalinowski
07bd686471 marking vTaskSuspendAll and a few other small cleanups
(cherry picked from commit dc61510249fe441189ea1ca557deb9f003bbd374)
2021-09-02 15:20:19 +08:00
Sachin Parekh
bf1dde7233 bootloader: Enable clock glitch detection
Reset the device when clock glitch detected. Clock glitch detection is
only active in bootloader
2021-09-02 12:25:12 +05:30
Yuriy Shestakov
87b958c814 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-02 12:25:12 +05:30
laokaiyao
0ff3dd9778 i2s: fix mono support issue 2021-09-02 14:33:36 +08:00
laokaiyao
b26da6f115 driver/i2s: refactor for i2s driver layer 2021-09-02 14:33:36 +08:00
Sachin Billore
f80d6f8c21 Digital Signature support for S3
Closes IDF-1791
2021-09-02 11:59:24 +05:30
boarchuz
c098dce1e5 check_sizes.py: Fix bootloader size message in build log
Closes https://github.com/espressif/esp-idf/pull/7506
2021-09-02 10:28:34 +05:00
Zim Kalinowski
701c4fb2e3 upgrade freertos version and history 2021-09-02 11:02:34 +08:00
Marius Vikhammer
88e7b5f7be Merge branch 'feature/s3_cache_bringup' into 'master'
soc: S3 cache bringup

Closes IDF-2952

See merge request espressif/esp-idf!12887
2021-09-02 02:51:10 +00:00
Marius Vikhammer
bdf3a8ff29 Merge branch 'feature/xtwdt' into 'master'
WDT: Add support for XTAL32K Watchdog timer

Closes IDF-2575

See merge request espressif/esp-idf!15000
2021-09-02 02:44:47 +00:00
Kevin (Lao Kaiyao)
61299f879e Merge branch 'bugfix/iperf_tcp_performance_become_bad' into 'master'
emac: optimise performance regression introduced in hal refactor

Closes IDF-3527 and IDFCI-795

See merge request espressif/esp-idf!14282
2021-09-02 02:36:20 +00:00
Omar Chebib
19e0663edd Merge branch 'bugfix/task_snapshot_kconfig' into 'master'
freertos: add kconfig options for task snapshot functions

See merge request espressif/esp-idf!14871
2021-09-02 02:27:12 +00:00
Marius Vikhammer
4869b3cd4a WDT: Add support for XTAL32K Watchdog timer 2021-09-02 09:09:00 +08:00
wanglei
c3abbe3866 cache: Update cache.h and autoload api 2021-09-02 02:27:40 +08:00
gaoxiaojie
191a494e08 support dcache 64Byte and 16k 2021-09-02 02:27:40 +08:00
jiangguangming
f7137254e9 flash_mmap: register flash2spiram info to ROM 2021-09-02 02:27:40 +08:00
Mahavir Jain
e93cee4605 Merge branch 'bugfix/encrypted-flash-dependency' into 'master'
Missing dependency for idf.py 'encrypted-flash' target

Closes IDFGH-5766

See merge request espressif/esp-idf!15036
2021-09-01 15:02:17 +00:00
XieWenxiang
461f2bd186 component/bt: fix some ble document description error 2021-09-01 20:39:13 +08:00
laokaiyao
04970fe487 iperfUtility: add udp rx bandwidth scan 2021-09-01 19:11:28 +08:00
laokaiyao
8d18a9c614 emac: optimise iperf performane 2021-09-01 19:11:28 +08:00
Li Hang Fan
b1f851b8f8 Merge branch 'refactor/remove_usage_of_logging_in_hal' into 'master'
hal: remove usages of esp_log in HAL

Closes IDF-2159

See merge request espressif/esp-idf!15017
2021-09-01 10:53:38 +00:00
morris
8f3dadf46a Merge branch 'refactor/rom_tjpgd_unify' into 'master'
refactor/rom: unify tjpgd library

Closes IDF-3615

See merge request espressif/esp-idf!14977
2021-09-01 10:05:11 +00:00
Omar Chebib
92cf321677 freertos: add kconfig options for task snapshot functions
Task snapshots is required by other modules that don't use gdbstub
or core dump. Add a Kconfig option to manage these possibilities.
2021-09-01 15:13:48 +08:00
SalimTerryLi
23e23b697c
rom/tjpgd: unify library & add rom patch
remove external tjpgd library inside example

enable tjpgd decoding on all chips
2021-09-01 14:42:17 +08:00
SalimTerryLi
6af8d2edee
hal: remove usages of esp_log in HAL 2021-09-01 13:58:47 +08:00
Armando (Dou Yiwen)
5f38b766a8 Merge branch 'feature/support_120mhz_quad_psram_quad_flash' into 'master'
mspi: support 120MHz clock freq on QSPI flash/psram on ESP32-S3

Closes IDF-3711

See merge request espressif/esp-idf!14849
2021-09-01 02:46:05 +00:00
Kapil Gupta
e8360fe075 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
2021-08-31 19:06:35 +00:00
Armando
a3dc625da6 mspi: support 120MHz Quad Flash and PSRAM on ESP32S3 2021-08-31 16:06:44 +08:00
Mahavir Jain
b9ce1ed06d Merge branch 'feature/update_libcoap_to_v4_3_0' into 'master'
libcoap_430: Update code for use with libcoap 4.3.0

Closes IDFGH-5355

See merge request espressif/esp-idf!13937
2021-08-31 06:57:26 +00:00
Mahavir Jain
148794f208 Merge branch 'bugfix/fix_ws_handle_big_messages' into 'master'
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.

Closes IDFGH-5740

See merge request espressif/esp-idf!14978
2021-08-31 05:24:52 +00:00
Marius Vikhammer
ba3b34583a Merge branch 'bugfix/himem_error_checks' into 'master'
himem: reverse error check logic in himem

Closes IDFCI-857 and IDFCI-859

See merge request espressif/esp-idf!15009
2021-08-31 04:05:45 +00:00
Jon Shallow
ed3d440428 libcoap_430: Update code for use with libcoap 4.3.0
Remove no longer needed code from coap_server/coap_client.

Add in multicast support for coap_server/coap_client.

Update libcoap logging to use esp-idf logging

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-08-31 12:05:30 +08:00
Zim Kalinowski
268eace13a Merge branch 'zim-some-esp-platform-markers' into 'master'
freertos: several ESP specific things clearly marked

See merge request espressif/esp-idf!14995
2021-08-31 02:33:00 +00:00
Zim Kalinowski
4bad316700 freertos: several ESP specific things clearly marked 2021-08-31 10:32:54 +08:00
Michael (XIAO Xufeng)
f1cbf746b7 Merge branch 'bugfix/crypto_gdma' into 'master'
aes/sha: fixed driver reseting the wrong GDMA channel

Closes FCS-701

See merge request espressif/esp-idf!14989
2021-08-31 01:36:45 +00:00
Marius Vikhammer
2e0cab6f94 himem: reverse error check logic in himem 2021-08-31 08:46:27 +08:00
Zim Kalinowski
9c666875dc Merge branch 'zim-pre-to-endcode-remaining' into 'master'
freertos:remaining <pre> to @code changes

See merge request espressif/esp-idf!14997
2021-08-30 13:17:42 +00:00
morris
2e0ffbd543 Merge branch 'bugfix/fix-driver-8_16bit-reg-access' into 'master'
bugfix/driver: fix and cleanup soc/ll stuffs

Closes IDF-3722

See merge request espressif/esp-idf!14829
2021-08-30 10:27:05 +00:00
Michael (XIAO Xufeng)
d910d42a8d Merge branch 'bugfix/soc_interrupt_source' into 'master'
soc: remove outdated description of interrupts on RISCV CPUs

See merge request espressif/esp-idf!14974
2021-08-30 09:38:24 +00:00
Michael (XIAO Xufeng)
59cedcb748 soc: remove outdated description of interrupts on RISCV CPUs 2021-08-30 17:38:16 +08:00
Darian
8af7292496 Merge branch 'feature/new_usb_host_driver' into 'master'
(5) USB: Add public USB Host Driver

Closes IDF-3121, IDF-3509, and IDF-3557

See merge request espressif/esp-idf!13145
2021-08-30 09:28:43 +00:00
David Čermák
82eccf434e Merge branch 'bugfix/wifi_ap_handler_docs' into 'master'
wifi/netif: Fix wifi_ap_handlers comments to relate to AP

Closes DOC-1929

See merge request espressif/esp-idf!14903
2021-08-30 07:31:37 +00:00
Zim Kalinowski
29ae014fd6 remaining <pre> to @code changes 2021-08-30 15:13:27 +08:00
Li Hang Fan
9625f0618f Merge branch 'refactor/update-esp_check-for-himem-rtcio' into 'master'
rtc_io, esp_himem: replace XXX_CHECK with ESP_RETURN_ON_FALSE

Closes IDF-3669 and IDF-3035

See merge request espressif/esp-idf!14992
2021-08-30 07:10:31 +00:00
yuanjm
5db3853c2c esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
Closes https://github.com/espressif/esp-idf/issues/7457
2021-08-30 14:50:19 +08:00
yuanjm
5bdbfd1d05 Revert "Merge branch 'bugfix/fix_ws_handle_big_messages_error' into 'master'"
This reverts commit d838a11d78, reversing
changes made to 70fd8529e9.
2021-08-30 14:50:19 +08:00
Zim Kalinowski
39046c5e3e Merge branch 'zim-reduce-esp-specific-code' into 'master'
freertos: Reduce ESP specific code

See merge request espressif/esp-idf!14969
2021-08-30 06:45:36 +00:00
Zim Kalinowski
5f2a66a8a5 freertos: Reduce ESP specific code 2021-08-30 14:45:31 +08:00
SalimTerryLi
892f5e7df3
timer_group: fix wrongly generated reg header that introduced in 443845fd54 2021-08-30 13:51:25 +08:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
update all struct headers to be more "standardized":

- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199

added helper macros to force peripheral registers being accessed in 32 bitwidth

added a check script into ci
2021-08-30 13:50:58 +08:00
Zim Kalinowski
b843eb61a7 Merge branch 'zim-cherrypicked-coroutine' into 'master'
freertos: upgrade to 10.4.3 - vCoRoutineSchedule fix

See merge request espressif/esp-idf!14942
2021-08-30 04:46:28 +00:00
Zim Kalinowski
0583bda9c7 Merge branch 'zim-fix-defines-in-doc' into 'master'
freertos: fix defines in documentation

See merge request espressif/esp-idf!14987
2021-08-30 03:36:20 +00:00
SalimTerryLi
55a5c444b5
rtc_io, esp_himem: replace XXX_CHECK with ESP_RETURN_ON_FALSE 2021-08-30 11:18:34 +08:00
Marius Vikhammer
63280dfec0 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 10:37:03 +08:00
Zim Kalinowski
41c0e44185 freertos: Upgrade to 10.4.3 - timers
(cherry picked from commit c22a4c355603318a16adb3b898943744d9b826a5)
2021-08-30 10:10:29 +08:00
Shu Chen
ec31f2338b Merge branch 'bugfix/fix_esp32h2_apb_frequency_temp_fix' into 'master'
[bugfix] esp32h2: fix apb freq err temporarily

See merge request espressif/esp-idf!14982
2021-08-30 00:16:45 +00:00
Zim Kalinowski
13360ab126 fix defines in doc 2021-08-29 21:02:33 +08:00
Mahavir Jain
b63ec47238 Merge branch 'feature/update_cjson_submodule' into 'master'
cJSON: Update submodule to v1.7.15

Closes IDFGH-5595

See merge request espressif/esp-idf!14958
2021-08-27 17:14:34 +00:00
Mahavir Jain
286c035064 Merge branch 'bugfix/rename_newlib_header' into 'master'
esp_rom: remove "newlib.h" header

See merge request espressif/esp-idf!14975
2021-08-27 14:57:03 +00:00
zhangwenxu
489033d8e3 openthread: enable ping sender module 2021-08-27 21:23:33 +08:00
morris
22dddb46d8 Merge branch 'bugfix/check_nego_timeout_when_link_up' into 'master'
eth_phy: dont warn nego timeout if link is down

Closes IDFGH-5415

See merge request espressif/esp-idf!13997
2021-08-27 13:09:17 +00:00
wuzhenghui
32abe5ce42 fix apb freq err temporarily 2021-08-27 19:59:33 +08:00
Mahavir Jain
f7d2f283b3 Merge branch 'bugfix/bugfix/esp32s2_memprot_no_logging_2' into 'master'
System/Security: ESP32S2 Memprot uses no abort() calls neither does logging

Closes IDF-3634

See merge request espressif/esp-idf!14852
2021-08-27 11:17:31 +00:00
Shu Chen
89b316b6e0 Merge branch 'bugfix/border-agent-mesh-local-prefix' into 'master'
openthread: fix mesh local prefix missing in border agent example

See merge request espressif/esp-idf!14920
2021-08-27 09:10:08 +00:00
Mahavir Jain
d9fdb9dc3f 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-27 14:33:05 +05:30
Mahavir Jain
3850eba152 Merge branch 'feature/local_control_sec1' into 'master'
Added support for security1 in local control

See merge request espressif/esp-idf!13684
2021-08-27 08:31:33 +00:00
Michael (XIAO Xufeng)
64581b36f7 Merge branch 'refactor/dac_apply_generic_check' into 'master'
apply generic check macro

Closes IDF-3658

See merge request espressif/esp-idf!14944
2021-08-27 07:49:53 +00:00
morris
ab0c5fed25 eth: dont warn nego timeout if link is down 2021-08-27 15:30:46 +08:00
Jiacheng Guo
2213a35156 openthread: fix mesh local prefix missing in border agent example 2021-08-27 14:21:47 +08:00
Cao Sen Miao
c47ad5d22f Merge branch 'bugfix/gpio_cant_hold' into 'master'
GPIO: fix issue that gpio cannot hold during deep-sleep on c3

Closes IDFGH-5738 and IDF-3526

See merge request espressif/esp-idf!14939
2021-08-27 06:16:45 +00:00
Ondrej Kosta
300618e5be Merge branch 'feature/dual_eth' into 'master'
esp_eth: add support for multiple Ethernets modules at a time

Closes IDFGH-5596

See merge request espressif/esp-idf!14640
2021-08-27 06:11:48 +00:00
Shubham Kulkarni
b975bc9d38 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-27 12:04:38 +08:00
morris
ba3168d1d5 Merge branch 'zim-missing-semicolon' into 'master'
missing semicolon

See merge request espressif/esp-idf!14965
2021-08-27 03:15:01 +00:00
Li Shuai
ccf1a9a1fc light sleep: add i/d-cache tagmem retention support for esp32s3 2021-08-27 11:11:09 +08:00
Li Shuai
03746de96f light sleep: add cpu power down support for esp32s3 2021-08-27 11:11:06 +08:00
Marius Vikhammer
2206c5315e Merge branch 'bugfix/aes_unaligned_access' into 'master'
aes: fix unaligned access

Closes IDFGH-5506

See merge request espressif/esp-idf!14659
2021-08-27 01:33:44 +00:00
Kapil Gupta
d3a42d787d wpa_supplicant: clean tls client state machine 2021-08-27 00:19:32 +08:00
Shu Chen
ab0d0b7dd2 Merge branch 'festure/add_ot_rcp_base_master' into 'master'
add ot-rcp

See merge request espressif/esp-idf!14609
2021-08-26 11:44:28 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
91a40044f5 [freertos] Silence sign-conversion warning 2021-08-26 12:36:46 +02:00
morris
2deeba9d1a Merge branch 'feature/mcpwm-IRAM_ISR-kconfig' into 'master'
mcpwm: ISR can be placed to IRAM by menuconfig

Closes IDFGH-5732

See merge request espressif/esp-idf!14947
2021-08-26 10:08:16 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
6672862db8 Missing dependency for idf.py 'encrypted-flash' target 2021-08-26 12:00:00 +02:00
Vikram Dattu
5691c9a8e8 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-08-26 17:35:09 +08:00
Zim Kalinowski
dbdcada2e5 missing semicolon 2021-08-26 16:55:53 +08:00
Michael (XIAO Xufeng)
375145ecdb Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
mcpwm: bldc hall example

Closes IDF-3648

See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
Shu Chen
e770817dc7 openthread: refine ot_rcp example documentation and APIs 2021-08-26 16:10:16 +08:00
SalimTerryLi
e67bcda6d1
mcpwm: ISR can be placed to IRAM by menuconfig
resolves https://github.com/espressif/esp-idf/issues/7449
2021-08-26 15:58:46 +08:00
Martin Vychodil
58aed7df98 ESP32S2: No assert()/abort() in Memprot API, use esp_err_t instead
JIRA IDF-3634
2021-08-26 09:20:00 +02:00
wangmengyang
c053ef0541 examples: added support of ESP32-S3 chip in controller_hci_uart example 2021-08-26 14:24:32 +08:00
morris
c2d5af17a2 dac: apply generic check macro 2021-08-26 14:01:24 +08:00
Shu Chen
f8f9e545e8 Merge branch 'feature/support_esp32h2_hw_support' into 'master'
Feature/support esp32h2 hw support

Closes IDF-3378 and IDF-3396

See merge request espressif/esp-idf!14545
2021-08-26 06:00:27 +00:00
Zim Kalinowski
21c05e1b93 Merge branch 'zim-freertos-upgrade-codelayout' into 'master'
freertos: cherrypicked code layout changes from freertos upgrade branch

See merge request espressif/esp-idf!14936
2021-08-26 05:46:04 +00:00
Zim Kalinowski
a8c7db62be freertos: cherrypicked code layout changes from freertos upgrade branch 2021-08-26 13:45:51 +08:00
Aditya Patwardhan
6fea8340d2 Merge branch 'feature/esp_http_client_client_key_password' into 'master'
esp_http_client: Support client key password for HTTPS connections.

Closes IDFGH-5700 and IDFGH-5698

See merge request espressif/esp-idf!14932
2021-08-26 03:28:20 +00:00
sly
11dfd802e0 esp32h2: add rtc clock support 2021-08-26 11:25:39 +08:00
morris
a861575d05 Merge branch 'bugfix/fix_esp32c3_auto_adjust_volt' into 'master'
system: fix esp32c3 auto adjust voltage bug

See merge request espressif/esp-idf!14725
2021-08-26 02:53:22 +00:00
Jon Maloney
c8b7f7a5d3 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-08-25 18:27:31 +05:30
muhaidong
5eee64bd16 esp_wifi: fix airkiss and esptouch find channel crash issue 2021-08-25 20:34:27 +08:00
Zim Kalinowski
b8733421ac Merge branch 'feature/twai_rx_data_alert' into 'master'
Feature/twai rx data alert

Closes IDFGH-5664 and IDFGH-5652

See merge request espressif/esp-idf!14711
2021-08-25 11:57:21 +00:00
Darian
72ba1866fb twai: TWAI_ALERT_RX_DATA indicates that frames were received
Signed-off-by: Darian Leung <darian@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/7386
Closes https://github.com/espressif/esp-idf/issues/7374
2021-08-25 19:57:10 +08:00
morris
f2f41c3f92 Merge branch 'bugfix/const_buffer_in_tinyusb_cdcacm_write_queue' into 'master'
tinyusb: const in_buf of tinyusb_cdcacm_write_queue

See merge request espressif/esp-idf!14938
2021-08-25 11:46:11 +00:00
Adam Múdry
4a6cc1d2a4 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-08-25 19:04:34 +08:00
zhangwenxu
4175aa0892 openthread: add ot_rcp example 2021-08-25 18:04:45 +08:00
sly
b342b49823 fix esp32c3 auto adjust voltage bug 2021-08-25 17:08:26 +08:00
Jiang Jiang Jian
cec0f5edfb Merge branch 'optimization/config_option_LWIP_TCPIP_CORE_LOCKING' into 'master'
optimization config option LWIP_TCPIP_CORE_LOCKING

Closes IDF-2478

See merge request espressif/esp-idf!11809
2021-08-25 08:52:43 +00:00
David Čermák
2417b9361f Merge branch 'feature/lwip_sntp_max_servers' into 'master'
lw-ip: Add config option for sntp max servers (GitHub PR)

Closes IDFGH-5616

See merge request espressif/esp-idf!14590
2021-08-25 08:10:21 +00:00
Wu Zheng Hui
b287e01f38 Merge branch 'feature/support_bss_in_psram_for_esp32s2' into 'master'
[system] Allow .bss segment placed in external memory for ESP32-S2

Closes IDFGH-4320

See merge request espressif/esp-idf!13841
2021-08-25 08:06:37 +00:00
Wu Zheng Hui
3128a2544b Adjust the variable name &
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Zim Kalinowski
12bf160f3d vCoRoutineScheduleFix
(cherry picked from commit 1edbd44db107225b7bc6342a7da5680cc12ad22f)
2021-08-25 15:59:00 +08:00
Dmitry Yakovlev
4740e3e017 Merge branch 'bugfix/gdbstub_uart_at_runtime' into 'master'
Bugfix enable console RX UART for gdbstub for runtime mode only.

See merge request espressif/esp-idf!14927
2021-08-25 07:31:13 +00:00
Song Ruo Jing
fe5c87cb3c Merge branch 'bugfix/enable_gpio_20' into 'master'
gpio: Enable IO20 on ESP32

Closes IDFGH-5140

See merge request espressif/esp-idf!14881
2021-08-25 07:25:37 +00:00
Cao Sen Miao
c860b3ead6 gpio: fix issue that gpio cannot hold during deep-sleep on c3, Closes https://github.com/espressif/esp-idf/issues/7455 2021-08-25 15:16:08 +08:00
morris
be36c9ae36 tinyusb: const in_buf of tinyusb_cdcacm_write_queue 2021-08-25 14:43:46 +08:00
Guo Jia Cheng
e5766eb3d3 Merge branch 'feature/mdns-async-callback' into 'master'
mdns: add notification callback for async APIs

See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
wuzhenghui
6ab495b4dc esp32h2: chip env support
brownout init fixed
2021-08-25 11:02:47 +08:00
Marius Vikhammer
3907634d20 aes: fix potential unaligned access of buffers
https://github.com/espressif/esp-idf/issues/7236
2021-08-25 10:48:26 +08:00
David Cermak
e54523708d Merge branch 'master' into feature/lwip_sntp_max_servers 2021-08-24 18:16:07 +02:00
Darian Leung
accbaee57c Add USB Host Library
This commit adds the preliminary version of the USB Host Library. This commit contains:

- USBH (USB Host Driver)
- Hub Driver that only supports a single device and device enumeration
- USB Host Library (asychronous API)
- Test cases for USB Host Library asychronous API

The following changes were made to the existing HCD:
- Removed HCD_PIPE_STATE_INVALID. Pipes are no longer invalidated
- Changed pipe commands to halt, flush, and clear. Pipes need to be manually
  halted, flush, and cleared.
- Halting and flushing a pipe will execute the pipe callback if it causes a
  HCD_PIPE_EVENT_URB_DONE event
2021-08-24 23:28:00 +08:00
Ondrej Kosta
ef30384902 esp_eth: add support for multiple Ethernets modules at a time
Ethernet driver events properly bounded with ESP NETIF actions to support multiple Ethernet modules used at a time.

Components using Ethernet updated to conform with new API.

Closes https://github.com/espressif/esp-idf/issues/7318
2021-08-24 17:10:36 +02:00
Dmitry
fdb9edd8c6 Bugfix enable console RX UART for gdbstub for runtime mode only. 2021-08-24 12:19:21 +03:00
Cao Sen Miao
da12db2904 Merge branch 'bugfix/c3_i2c_timeout' into 'master'
I2C: Fix i2c write randomly timeout and WDT triggered

See merge request espressif/esp-idf!14722
2021-08-24 08:59:22 +00:00
morris
0dbe872542 mcpwm: bldc hall example 2021-08-24 15:38:46 +08:00
morris
3bfd8f5d5f mcpwm: update register file according to TRM 2021-08-24 15:38:46 +08:00
Konstantin Kondrashov
fb7b40b2c2 Merge branch 'bugfix/update_espefuse_fixes_execute_scripts' into 'master'
esptool/espefuse: Fixes execute_scripts, it should call BURN once at the end

See merge request espressif/esp-idf!14904
2021-08-24 07:33:59 +00:00
Li Shuai
15fc449793 light sleep: separate sleep retention function 2021-08-24 11:54:47 +08:00
liaowenhao
124169a7dd bugfix acl doesn't disconnect when hfp_client disconnect 2021-08-24 10:53:25 +08:00
Marius Vikhammer
f38875cbd1 Merge branch 'bugfix/race_condition_in_ipc_task' into 'master'
bugfix/race condition in ipc task

See merge request espressif/esp-idf!14914
2021-08-24 00:14:47 +00:00
Ivan Grokhotkov
9a3f99949f Merge branch 'bugfix/strict_data_partition_alignment' into 'master'
partition_table: warn if data partition offset is not 4kB aligned

Closes IDFGH-5572 and IDFGH-5630

See merge request espressif/esp-idf!14902
2021-08-23 17:31:57 +00:00
David Čermák
756cc4f8dc Merge branch 'bugfix/esp_sntp_declare' into 'master'
lw-ip: Fix sntp custom options if sntp_get_system_time used

Closes FCS-710

See merge request espressif/esp-idf!14556
2021-08-23 15:11:26 +00:00
Erhan Kurubas
b3c3791152 esp_ipc: fix race condition in ipc task 2021-08-23 17:17:19 +03:00
David Cermak
457d837b40 lwip: Fix sntp custom options if sntp_get_system_time used 2021-08-23 11:47:44 +02:00
Guo Jia Cheng
139bf4af64 Merge branch 'feature/add-mdns-result-attributes' into 'master'
mdns: add more mdns result attributes

See merge request espressif/esp-idf!14674
2021-08-23 09:28:19 +00:00
Ivan Grokhotkov
6cf25ce43f Merge branch 'doc/size_opt_vfs' into 'master'
docs: describe code size optimizations possible in VFS component

See merge request espressif/esp-idf!14783
2021-08-23 07:32:14 +00:00
David Cermak
3c6efbe5a5 wifi/netif: Fix wifi_ap_handlers comments to relate to AP 2021-08-23 09:20:12 +02:00
KonstantinKondrashov
03baf4f8be espefuse: Fixes execute_scripts, it should call BURN once at the end 2021-08-23 12:19:32 +05:00
Mahavir Jain
b2c1f6c719 Merge branch 'bugfix/fix_disable_https_client_build_error' into 'master'
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error

Closes IDFGH-5640

See merge request espressif/esp-idf!14833
2021-08-23 06:30:46 +00:00
Ivan Grokhotkov
b56c9aafe4 partition_table: warn if data partition offset is not 4kB aligned
If a partition offset is not aligned to 4 kB, erase operations will
fail, even if they are aligned to 4 kB relative to the partition
start. This is because the underlying esp_flash_erase_range function
only works when the address is aligned to 4 kB.

Not making this an error for now, since applications might be using
read-only non-4kB aligned partitions, which still work fine.
Will change this behavior in IDF 5.0, requiring 4 kB alignment for all
partitions.

Closes https://github.com/espressif/esp-idf/issues/7295
Closes https://github.com/espressif/esp-idf/issues/7350
2021-08-23 08:09:28 +02:00
Ivan Grokhotkov
54595887f6 partition_table: gen_esp32part.py --secure applies to app partitions
...only. Previously this check was done for both app and data
partitions. While checking that data partition size is aligned is
a _good thing_, the check would only occur when secure boot was on.
2021-08-23 08:04:53 +02:00
Ivan Grokhotkov
2e83ac5a99 partition_table: don't print warnings to stdout 2021-08-23 08:01:41 +02:00
Ivan Grokhotkov
b7a4df9031 vfs: list IO functions which can be used with VFS_SUPPORT_IO disabled 2021-08-23 07:02:19 +02:00
Ivan Grokhotkov
a005e9bfbc docs: move VFS documentation into the component directory
These files were added into the component directory back when we
didn't have the documentation directory, and weren't moved once the
documentation directory was created.
2021-08-23 07:02:19 +02:00
morris
0c41837b06 Merge branch 'refactor/timer_group-reg_file-update' into 'master'
refactor/timer_group update reg headers for c3 and s2

Closes IDF-3690

See merge request espressif/esp-idf!14761
2021-08-23 04:30:59 +00:00
Li Shuai
90a0a83c0f light sleep: separate sleep wifi/bt mac bb function 2021-08-23 10:25:04 +08:00
Li Shuai
b0757dfcfa light sleep: separate sleep gpio function 2021-08-23 10:22:12 +08:00
David Čermák
ab077df865 Merge branch 'feature/lwip_fstat' into 'master'
lw-ip: Add partial fstat vfs support to set st_mode

Closes IDFGH-5459

See merge request espressif/esp-idf!14854
2021-08-20 13:41:09 +00:00
Roland Dobai
98a6538877 Merge branch 'feature/gcov_dump_in_thread' into 'master'
gcov dump in a special thread

Closes OCD-216 and IDF-1034

See merge request espressif/esp-idf!13328
2021-08-20 10:22:58 +00:00
Shubham Kulkarni
13acc2a440 Merge branch 'bugfix/esp_https_ota_log' into 'master'
Fix log level in esp_https_ota (GitHub PR)

Closes IDFGH-5653

See merge request espressif/esp-idf!14860
2021-08-20 10:02:38 +00:00
Armando (Dou Yiwen)
3e172289b0 Merge branch 'feature/support_octal_flash_120m_str_mode_on_esp32s3' into 'master'
mspi: support octal flash 120MHz STR mode on esp32s3

Closes IDF-3146

See merge request espressif/esp-idf!14668
2021-08-20 08:40:02 +00:00
Erhan Kurubas
8fe5cdf646 ipc: enable ipc task at single core for gcov dump 2021-08-20 15:00:55 +08:00
Erhan Kurubas
2a5d0a041e gcov: add stub table size entry 2021-08-20 15:00:55 +08:00
Erhan Kurubas
ca88b269ed gcov: add gcov callback into the ipc task 2021-08-20 15:00:55 +08:00
Erhan Kurubas
984d1b401e gcov: dump in a special thread 2021-08-20 15:00:55 +08:00
Erhan Kurubas
bbf919709f gcov: added dbg stub capabilites and magic number entry to keep backward compatible 2021-08-20 15:00:55 +08:00
Mahavir Jain
85e1258178 Merge branch 'esp32s3/secure_boot' into 'master'
bootloader: Enable Secure boot V2 for ESP32-S3

Closes IDF-1787

See merge request espressif/esp-idf!14873
2021-08-20 06:44:19 +00:00
Alberto García Hierro
6deaefde69 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
2021-08-20 14:05:38 +08:00
morris
bb87fd8f08 Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
pcnt: soc update and hal refactor

See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
hiproz
69eb190310 esp_https_ota: change logs
1. add paired log for line393; 2. change log level to debug

Closes https://github.com/espressif/esp-idf/pull/7375

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-08-20 09:35:40 +05:30
David Cermak
07612b0854 vfs: Add initial lwip vfs test
to test fstat() implementation
2021-08-19 17:29:34 +02:00
David Cermak
d55ed5c11b lwip: Add partial fstat vfs support to set st_mode
Closes https://github.com/espressif/esp-idf/issues/7198
2021-08-19 17:29:29 +02:00
Konstantin Kondrashov
c480afa70a Merge branch 'bugfix/select_boot_app' into 'master'
partition_table: Fix case when a few similar to otadata partitions in the table

Closes IDFGH-5282

See merge request espressif/esp-idf!13953
2021-08-19 14:33:48 +00:00
Michael (XIAO Xufeng)
e5e36c899d Merge branch 'bugfix/spi_flash_rom_corruption_execute_flash_cmd' into 'master'
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command

See merge request espressif/esp-idf!14855
2021-08-19 13:48:10 +00:00
morris
29e7456f37 Merge branch 'feature/spi_master_support_8-line_mode' into 'master'
spi_master: support 8-line mode

Closes IDF-3354 and IDFGH-4553

See merge request espressif/esp-idf!14397
2021-08-19 13:19:34 +00:00
SalimTerryLi
443845fd54
timer_group: update reg headers for c3&s2&h2 and fix direct 8/16bit reg access 2021-08-19 18:56:32 +08:00
Michael (XIAO Xufeng)
7649db9712 draft: another patch.. 2021-08-19 17:02:58 +08:00
morris
71d475149d lcd: update doc unit test and example to support 8-line spi 2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041 spi_master:support octal mode for esp32s2 and esp32s3
Add support for 8-line spi for lcd on esp32s2 and esp32s3

Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
Sachin Parekh
2d82560ed5 bootloader: Enable Secure boot V2 for ESP32-S3 2021-08-19 14:08:12 +05:30
ivmarkov
ee531c748a lwip: Fix ICMP Ping on specific iface
Fix broken parentheses in setsockopt call

Merges https://github.com/espressif/esp-idf/pull/7397
2021-08-19 09:55:26 +02:00
Jakob Hasse
c81d45280e Merge branch 'feature/change_spi_flash_mock_impl' into 'master'
Added spi_flash mocks

See merge request espressif/esp-idf!14235
2021-08-19 07:06:38 +00:00
Zim Kalinowski
dcff1baab5 Merge branch 'bugfix/fix_esp32s2_deep_sleep_timer_wake_up_fail' into 'master'
rtc: fix esp32s2 fall into sleep forever when deep-sleep time is set to 0

Closes IDF-2712

See merge request espressif/esp-idf!12438
2021-08-19 03:20:15 +00:00
Armando
d325f4d557 mspi: support octal flash 120M STR mode on esp32s3 2021-08-19 10:44:30 +08:00
Wang Meng Yang
29754cf8c0 Merge branch 'bugfix/esp32c3_check_if_allow_light_sleep' into 'master'
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used

Closes BT-1877

See merge request espressif/esp-idf!14723
2021-08-19 00:18:53 +00:00
Wang Meng Yang
7df2a22faa Merge branch 'bugfix/spp_memory_leak' into 'master'
Fix spp memory leak

Closes IDFGH-5508

See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
Michael (XIAO Xufeng)
8dcfa1b384 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-08-18 23:55:39 +08:00
xueyunfei
0d07569fff optimization config option LWIP_TCPIP_CORE_LOCKING 2021-08-18 21:32:13 +08:00
morris
f40bbb01f2 Merge branch 'feature/i80_lcd_support_esp32s2' into 'master'
esp_lcd: lcd driver for esp32/esp32s2/esp32s3

Closes IDF-3144, IDF-3314, IDF-3315, and IDF-3316

See merge request espressif/esp-idf!13679
2021-08-18 07:55:06 +00:00
KonstantinKondrashov
9b654db032 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-08-18 09:23:17 +05:00
Jakob Hasse
46e59e7194 [mocks]: moved already added spi_flash mocks
[nvs]: page test works with new overriden mock

[spi_flash]: Removed mocking code from CMake

* Renamed nvs test to be consistent with other
  host test
2021-08-18 11:05:51 +08:00
liulinyan
f5a12f4900 Merge branch 'bugfix/ble_mesh_cve_recommendation' into 'master'
ble_mesh: Update the SIG recommendations for CVE issues

See merge request espressif/esp-idf!14832
2021-08-18 02:46:38 +00:00
David Čermák
d2fe8bfd15 Merge branch 'experimental/mdns_with_sockets' into 'master'
mdns: Add optional networking layer on BSD socket

Closes IDF-1849

See merge request espressif/esp-idf!9857
2021-08-17 14:12:30 +00:00
David Čermák
ca03e1f71a Merge branch 'bugfix/esp_netif_set_default_lwip_handle' into 'master'
esp_netif: Set default netif with lwip_netif

Closes IDFGH-5517

See merge request espressif/esp-idf!14511
2021-08-17 13:23:30 +00:00
yuanjm
fc8668a739 esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
Closes https://github.com/espressif/esp-idf/issues/7361
2021-08-17 19:53:47 +08:00
lly
f6c3b51b13 ble_mesh: Update the SIG recommendations for CVE issues 2021-08-17 19:43:47 +08:00
David Cermak
9f17f586f4 esp_netif: Set default netif with lwip_netif
Make use of lwip_netif pointer for setting the default interface in lwip,
since the  is a generic pointer used in I/O functions wheras the former is always the  type.
More importantly the netif_handle could be set to another context ptr
used in I/O functions, as as for the SLIP netif.

This change fixes the issue of incorrect settings of a default interface
if any SLIP netif is involved.

Closes https://github.com/espressif/esp-idf/issues/7246
2021-08-17 19:10:49 +08:00
David Cermak
fc7e2d9e90 mdns: Add host test using linux target 2021-08-17 18:39:40 +08:00
David Cermak
09f10f326a esp_netif: Add support for linux target as header only library 2021-08-17 18:39:40 +08:00
David Cermak
73dfe84bf2 mdns: Implement mdns_networking using BSD sockets
And use only if configured. By default we still use lwip raw (low-level) API
2021-08-17 18:39:40 +08:00
Chinmay Chhajed
f167a2a3d1 bt: Remove unused function esp_bt_get_mac.
Closes https://github.com/espressif/esp-idf/issues/7410
2021-08-17 15:07:51 +05:30
Ondrej Kosta
c0032dc9a6 Merge branch 'feature/LAN87xx_registers' into 'master'
phy_lan87xx: Extended Vendor Specific Registers definition

Closes IDFGH-5544

See merge request espressif/esp-idf!14679
2021-08-17 09:01:31 +00:00
David Čermák
367c7bc307 Merge branch 'bugfix/fix_ping_sock_return_error' into 'master'
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured

Closes IDFGH-5642

See merge request espressif/esp-idf!14664
2021-08-17 08:55:11 +00:00
Jiacheng Guo
986603cf07 mdns: add notification callback for async APIs 2021-08-17 16:53:37 +08:00
Jakob Hasse
b3271a51af Merge branch 'bugfix/common_components_linux' into 'master'
[build system]: Fixed common requirement for Linux target

Closes IDF-3638

See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Zim Kalinowski
ff56848a0e revert dependency
integrating changes from upstream
2021-08-17 16:10:45 +08:00
Mahavir Jain
012c9e26a4 Merge branch 'fixes/secure_boot' into 'master'
secure_boot/esp32(s2,c3): Disable read protecting of efuses

See merge request espressif/esp-idf!14769
2021-08-17 05:05:00 +00:00
Jiang Jiang Jian
75a1942d5c Merge branch 'bugfix/dual_core_pm_lock_issue' into 'master'
fix pm lock issue in dual core mode

Closes WIFI-3905

See merge request espressif/esp-idf!14552
2021-08-17 05:00:52 +00:00
Guo Jia Cheng
9b3b89017f Merge branch 'bugfix/select-close-return' into 'master'
vfs: fix select return value when non-permanent fd closed

Closes IDFCI-612

See merge request espressif/esp-idf!14684
2021-08-17 02:58:20 +00:00
Wang Meng Yang
a77aaf296a Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
Fix timer collision in role switch

Closes IDFGH-5464

See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
Omar Chebib
32067f9b6b Merge branch 'feature/freertos_snapshot_extraction' into 'master'
freertos: take tasks snapshot out of tasks.c source code

Closes IDF-3334

See merge request espressif/esp-idf!14675
2021-08-16 11:04:51 +00:00
xiongweichao
ba7252d2ea Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used 2021-08-16 16:51:54 +08:00
Wang Meng Yang
bdd4b45f6a Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value' into 'master'
component/bt: fix bluedroid host auto update PPCP attribute value

See merge request espressif/esp-idf!14746
2021-08-16 07:25:50 +00:00
Wang Meng Yang
3e4f147c26 Merge branch 'bugfix/btdm_ble_connection_will_crash_durning_erase_flash' into 'master'
component/bt: Fixed ble conn will crash durning erase flash

See merge request espressif/esp-idf!14794
2021-08-16 07:00:50 +00:00
Jiacheng Guo
f20fb57871 vfs: fix select return value when non-permanent fd closed 2021-08-16 10:49:31 +08:00
Omar Chebib
83c9e1b223 freertos: take tasks snapshot out of tasks.c source code 2021-08-16 10:29:36 +08:00
jincheng
a523dd3ede fix timer collision in role switch
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
Michael (XIAO Xufeng)
a0d2efe1be Merge branch 'bugfix/xmc_overerase' into 'master'
bootloader: add xmc spi_flash startup flow to improve reliability

See merge request espressif/esp-idf!13895
2021-08-13 15:27:48 +00:00
Alex Lisitsyn
5944433424 Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously' into 'master'
freemodbus: fix issues when modbus master and slave work simultaneously

fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master (https://github.com/espressif/esp-idf/issues/4699)

Closes IDF-3012 and IDFGH-2619

See merge request espressif/esp-idf!12961
2021-08-13 14:46:17 +00:00
Alex Lisitsyn
9693ef4918 freemodbus: fix issues when modbus master and slave work simultaneously
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master
fix master and slave use the same timer group index (https://github.com/espressif/esp-idf/issues/4699)
2021-08-13 22:46:09 +08:00
xiewenxiang
2e5f44afa3 component/bt: Fixed ble conn will crash durning erase flash 2021-08-13 17:57:33 +08:00
wuzhenghui
f913a10a22 update reset reason for c3/s3/h2 2021-08-13 17:45:53 +08:00
Jakob Hasse
7029f0537e [build system]: Fixed common requirement for Linux 2021-08-13 16:50:29 +08:00