Commit Graph

20592 Commits

Author SHA1 Message Date
David Cermak
d823106aa6 asio: Use internal ssl context and engine impl
Implement asio-ssl layer with three classes in asio::ssl::mbedtls:
* context -- replaces SSL_CTX, used mainly as a container to options,
certs, keys
* engine -- replaces SSL, implements the actual mbedtls operations
* bio -- implements openssl BIO specifically tailered to mbedtls and
its asio usage

Further updates:
* asio: Used shared_ptr<> for bio pairs
* asio: Add error checks to mbedtls-bio
* asio: Address potential ssl-context ownership issue
* asio: Address potential bio-engine ownership issue
2021-12-03 09:32:42 +01:00
David Čermák
d7f2e30b24 Merge branch 'feature/update_option_len_default_value' into 'master'
lw-ip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled

Closes IDFGH-6064 and IDFGH-6059

See merge request espressif/esp-idf!15623
2021-12-02 05:55:59 +00:00
morris
815203f401 Merge branch 'bugfix/i2s_hal_remove_dup_code_fifo_mod' into 'master'
hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default

See merge request espressif/esp-idf!16208
2021-12-02 03:37:08 +00:00
Roland Dobai
f4d1bb017a Merge branch 'feature/add-wl-support-fatfs' into 'master'
Add wear levelling support for fatfs partition generator

Closes IDF-4043 and IDF-2053

See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Mahavir Jain
b9b55bc32b Merge branch 'contrib/github_pr_7971' into 'master'
bugfix: Conflicting declaration error when include<rom/secure_boot.h>

Closes IDFGH-6308

See merge request espressif/esp-idf!16202
2021-12-01 11:59:20 +00:00
Roland Dobai
73ee08c09b Merge branch 'feature/carve_out_cmp' into 'master'
Remove cbor, jsmn and libsodium

Closes IDF-2169

See merge request espressif/esp-idf!16025
2021-12-01 11:32:05 +00:00
morris
0cec107c01 Merge branch 'bugfix/lcd_rgb_pclk_default_to_low' into 'master'
lcd: set rgb pclk idle level default to low

See merge request espressif/esp-idf!16193
2021-12-01 07:59:25 +00:00
yuanjm
9c1520d1f9 lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-01 07:19:18 +00:00
Michael (XIAO Xufeng)
14213d883b hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default 2021-12-01 05:47:36 +00:00
Wang Meng Yang
fe289ec670 Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr' into 'master'
fix can not find mac addr error

Closes BT-2032

See merge request espressif/esp-idf!16143
2021-12-01 02:53:34 +00:00
Tomas Rezucha
ebaca79557 other: Move cbor, jsmn and libsodium to idf-component-manager
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components.
They are distributed via idf-component-manager, see
https://components.espressif.com.
2021-11-30 21:44:48 +01:00
Andrii Filippov
6a11f6fb20 Merge branch 'bugfix/replace_PING_CHECK_macro' into 'master'
Replace PING_CHECK macro by ESP_GOTO_ON_FALSE

Closes IDF-4241

See merge request espressif/esp-idf!15930
2021-11-30 17:20:51 +00:00
Mahavir Jain
f667b1039b Fix copyright headers for few include files 2021-11-30 22:25:33 +05:30
Anton Maklakov
65e38f903c Merge branch 'feature/cmake_linux_arm64' into 'master'
tools: updates for linux-arm64 (aarch64) platform

See merge request espressif/esp-idf!16176
2021-11-30 14:29:52 +00:00
Ivan Grokhotkov
11547ca56e tools: don't install binutils-esp32ulp on aarch64
Once new binutils-esp32ulp is made and aarch64 artifacts are added,
will add these tools back.

Related to https://github.com/espressif/esp-idf/issues/6432
2021-11-30 14:00:25 +01:00
Mahavir Jain
42cce06704 Merge branch 'contrib/github_pr_7796' into 'master'
docs: Spelling error

See merge request espressif/esp-idf!16140
2021-11-30 12:42:30 +00:00
Wang Fang
7b5232f687 Merge branch 'docs/add_an_example_list_for_esp32-wrover-kit' into 'master'
docs: add an example list for esp-wrover-kit

Closes DOC-2264

See merge request espressif/esp-idf!16141
2021-11-30 11:44:24 +00:00
Roland Dobai
5dc3cdbd50 Merge branch 'bugfix/avoid-exception-messages-while-export' into 'master'
Avoid exception messages while autocomplete initialization in export.sh

See merge request espressif/esp-idf!16157
2021-11-30 11:32:45 +00:00
Wang Fang
a27dfe3874 docs: add an example list for esp-wrover-kit 2021-11-30 18:49:09 +08:00
Fu Hanxi
02ff0bcee4 Merge branch 'ci/test_pytest_embedded' into 'master'
CI: use pytest-embedded

See merge request espressif/esp-idf!15984
2021-11-30 09:50:29 +00:00
Omar Chebib
32f2f7db5e Merge branch 'bugfix/force_cmake_flags' into 'master'
Build: Force CMake variables to be set, regardless of the cache status

Closes IDFGH-5799

See merge request espressif/esp-idf!15382
2021-11-30 09:14:59 +00:00
AndriiFilippov
f42d1f48c6 unified replace PING_CHECK by ESP_GOTO_ON_FALSE
unified replace PING_CHECK by ESP_GOTO_ON_FALSE

replace PING_CHECK macro by ESP_GOTO_ON_FALSE

Include header

grammar fix
2021-11-30 10:12:09 +01:00
lovyan03
cb91b51c52 bugfix: Conflicting declaration error with include<esp_efuse.h>, and Unified secure_boot.h include guard to "pragma once". 2021-11-30 15:46:49 +09:00
Yang Zhao
4b7a71673e Add the feature that switch random address to origin mac addr in the ADV
report data.
2021-11-30 14:14:42 +08:00
morris
89e37837d0 lcd: rgb pclk idle default to low 2021-11-30 13:44:06 +08:00
Ivan Grokhotkov
4675dc428f Merge branch 'bugfix/vfs-select-lock-latency' into 'master'
vfs: reduce lock in vfs_select

Closes WIFI-4063 and WIFI-4207

See merge request espressif/esp-idf!16161
2021-11-30 03:55:44 +00:00
morris
43fd499547 Merge branch 'bugfix/reduce_bootup_time_when_using_usb-serial-jtag' into 'master'
rtc_clk: reduce bootup time when using usb-serial-jtag

Closes IDF-4319

See merge request espressif/esp-idf!16173
2021-11-30 03:32:55 +00:00
Fu Hanxi
94578f4658 ci: add pytest-embedded CI jobs 2021-11-30 09:42:12 +08:00
Fu Hanxi
ef685456ab example: use pytest-embedded to replace examples/system/console test scripts 2021-11-30 09:42:12 +08:00
Fu Hanxi
3222b5c720 fix(find_apps): won't check supported targets if "recursive" is unflagged 2021-11-30 09:04:10 +08:00
Fu Hanxi
d9a354505d style: add ini editorconfig
also remove redundant ones
2021-11-30 09:04:10 +08:00
Martin Gaňo
9a5d699969 Avoid exception messages while autocomplete initialization in export.sh 2021-11-29 18:39:49 +01:00
Martin Gano
7460deeae8 support for wear levelling in fatfs partition generator
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Ondrej Kosta
fcd634faec Merge branch 'contrib/github_pr_7958' into 'master'
fix: missing initializer waring in esp_eth

Closes IDFGH-6293

See merge request espressif/esp-idf!16178
2021-11-29 13:24:58 +00:00
Mahavir Jain
92b1ea2199 Merge branch 'bugfix/hardware_mpi_fallback_issue' into 'master'
mbedtls: fix hardware MPI (bignum) related regression

See merge request espressif/esp-idf!15854
2021-11-29 11:19:51 +00:00
Ivan Grokhotkov
b3f5d3b685 tools: add CMake for linux-arm64 (aarch64) platform
Allows installing cmake on aarch64 linux platforms. Also necessary
when building IDF docker image on macOS aarch64.

Part of https://github.com/espressif/esp-idf/issues/6432
2021-11-29 11:31:29 +01:00
Omar Chebib
0baf2c43cc Build: CMake compiler flags will be set, regardless of the cache status
Defining CMake variables from the command-line or from another CMake project,
such as `-DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS=`, caused a link failure as ESP
CMake was unable to set its proper compilation flags.
Additional CMake compiler flags can now be provided by another project.

* Closes https://github.com/espressif/esp-idf/issues/7507
2021-11-29 09:48:13 +00:00
jingli
0ea1825f64 reduce bootup time when using usb-serial-jtag 2021-11-29 17:21:11 +08:00
Shu Chen
961407ca42 Merge branch 'feature/add_mtd_for_openthread' into 'master'
openthread : support MTD

See merge request espressif/esp-idf!16006
2021-11-29 08:27:46 +00:00
Jiang Jiang Jian
7878255f17 Merge branch 'bugfix/repeated_ftm_failures_issue' into 'master'
Fix FTM failures after repeated operations

Closes IDFGH-6015

See merge request espressif/esp-idf!15689
2021-11-29 07:39:22 +00:00
Simon
e9f3f56ba1 Merge branch 'refactor/delete_clk_header' into 'master'
cleanups: Delete some deprecated headers to make idf cleaner(clk.h esp_cache_err.h)

Closes IDF-4294

See merge request espressif/esp-idf!16012
2021-11-29 07:31:55 +00:00
Mahavir Jain
12fee76695 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-11-29 15:13:05 +08:00
Mahavir Jain
5d9392d999 mbedtls: update mbedtls submodule pointer for MPI API change 2021-11-29 15:13:05 +08:00
Mahavir Jain
c097e6bcab 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-11-29 15:13:05 +08:00
Mahavir Jain
1a390f4518 mbedtls: update kconfig help to correct on supported MPI bits 2021-11-29 15:13:02 +08:00
Darian
567f626ef7 Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision' into 'master'
Freertos: Fix loss of precision in pdTICKS_TO_MS (GitHub PR #7856)

Closes IDFGH-6179

See merge request espressif/esp-idf!16133
2021-11-29 06:36:00 +00:00
Jiacheng Guo
b00d6d0a95 vfs: reduce lock in vfs_select 2021-11-29 14:09:07 +08:00
zhangwenxu
f3fc4deade openthread : support MTD 2021-11-29 13:17:49 +08:00
Ivan Grokhotkov
68cf4ef2be Merge branch 'feature/remove_component_manager_tests' into 'master'
ci: Remove component manager test from build system tests

Closes IDFCI-809 and IDFCI-929

See merge request espressif/esp-idf!16104
2021-11-26 16:39:56 +00:00
Vladimir Chistyakov
2b944ca056 fix: missing initializer warning in esp_eth
remove auto_nego_en member from esp_eth_config_t as it is not used
 anywhere
2021-11-26 17:42:38 +07:00