Aditya Patwardhan
98194f7ee6
Update allowed licenses for asio component
2022-03-03 01:37:10 +05:30
Laukik Hase
f5feb7813e
mbedtls: Fix build errors related to TLS 1.3
...
- Kconfig: Enabled MBEDTLS_HKDF_C by default when TLS 1.3 support is enabled
- esp-tls (mbedtls): Forced client to use TLS 1.3 when TLS 1.3 support is enabled
2022-03-03 01:37:10 +05:30
Laukik Hase
0868513ddd
ci: Fix unit test failures
...
- protocomm: Fix leakage due to ECDH context not being
initialised and freed properly
- mbedtls (RSA): Added mandatory RNG parameter wherever required
Disabled `test performance RSA key operations` UT
- mbedtls (AES_GCM): Added mbedtls_gcm_update_ad() wherever required
for updating associated data
- unit_test_app: Fix build issue when heap tracing is enabled
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8cbfb18037
mbedtls-3.x: Update Kconfig macros
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8111286668
Add entropy_poll.h in port directory
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
09ad7148eb
CI: Fix copyright ignore list file
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
1dc63850e3
mbedtls-3.X: Update the esp-cryptoauthlib submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
03ccb1a0b5
mbedtls-3.X: Updated the openthread submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
740f1afe20
Update nimble submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
a52144da04
Update mbedtls submodule to 3.1
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
39dcbb2136
Ci: fix build test failure.
...
The build prints a line (Generating error.c) which is considered as error in the pipeline
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
66a9243d3b
mbedtls 3.X update:
...
*MBEDTLS_ECDH_LEGACY_CONTEXT is now disabled by default.
*Fixed MBEDTLS_ECDH_LEGACY_CONTEXT issue for protocomm component.
*Removed all code under MBEDTLS_DEPRECATED_REMOVED
2022-03-03 01:37:10 +05:30
Laukik Hase
d61c51058d
docs: Added migration guide for mbedTLS-3.1.0
...
- Removed references to deprecated options
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
60b167f2d6
mbedtls-3.1 update: Removed the MBEDTLS_PRIVATE
from multiple files
...
after they have been again made public in mbedtls-3.1
*Added `MBEDTLS_ALLOW_PRIVATE_ACCESS` in some files.
2022-03-03 01:37:10 +05:30
Kapil Gupta
6a164cc5bc
Fix issues in wpa2 enterprise with mbedTLS 3.0
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
0483bfbbfe
Initial Changes for updating mbedtls to v3.0
2022-03-03 01:37:09 +05:30
Kapil Gupta
84f9aa13c9
Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
...
esp_example: Enable MbedTLS for DPP enrollee by default
Closes WIFI-4275
See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
Omar Chebib
2b3b192375
Merge branch 'refactor/remove_g0_driver_dependency' into 'master'
...
G0: target component (components/esp32*) doesn't depend on driver anymore
See merge request espressif/esp-idf!16991
2022-03-02 21:07:20 +08:00
Sudeep Mohanty
853194a924
Merge branch 'docs/cn_trans_for_ulp_docs' into 'docs/ulp_documentation_updates'
...
Docs: update cn trans for ULP documentation
See merge request espressif/esp-idf!17296
2022-03-02 20:43:36 +08:00
intern
6151cc8b68
docs: update cn trans for upl docs
2022-03-02 19:03:20 +08:00
KonstantinKondrashov
6d11c57b2a
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
...
Closes https://github.com/espressif/esp-idf/issues/8357
2022-03-02 18:48:42 +08:00
Marius Vikhammer
8aacdb184a
kconfig: fixed non-visible deprecated configs missing from sdkconfig.h
...
Non-visible configs would previously not appear in the deprecated section of the sdkconfig.h,
but non-visable configs are used in IDF (and user code) and should therefor be present.
2022-03-02 18:01:08 +08:00
Shang Zhou
4d9db3382e
docs: add note for MALLOC_CAP_DMA for ESP32-S2 according to customer feedback
2022-03-02 16:57:21 +08:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
laokaiyao
db3a1c707e
i2s: add mclk_div underflow check
...
Closes https://github.com/espressif/esp-idf/issues/8344
2022-03-02 04:17:36 +00:00
Stephan Hadinger
2f0e7e9b6c
Fix for mclk/bclk divisors #8326
...
Merges https://github.com/espressif/esp-idf/pull/8327
2022-03-02 04:17:36 +00:00
xiongweichao
3fe222d17b
Fix crash when host exit sniff mode
2022-03-02 03:56:52 +00:00
laokaiyao
b336a838b6
i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
2022-03-02 03:34:25 +00:00
songruojing
24a60c12c6
uart: Provide support for esp32c2 and esp32h2
...
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
Shubham Kulkarni
6e0308d352
Merge branch 'bugfix/http_client_body' into 'master'
...
esp_http_client: Fix data corruption in http_on_body callback
Closes IDF-4597
See merge request espressif/esp-idf!17219
2022-03-02 05:45:09 +08:00
David Čermák
8363f88cd5
Merge branch 'example/asio_socks4_client' into 'master'
...
EXAMPLES/ASIO: Adds a SOCKS4 example
See merge request espressif/esp-idf!16461
2022-03-02 04:12:09 +08:00
Ivan Grokhotkov
d8f56d4042
github: fix pre-commit failure for PRs from forks
2022-03-01 20:07:35 +01:00
Michael (XIAO Xufeng)
78165c541e
Merge branch 'bugfix/bootloader_uart_custom_gpio' into 'master'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect
Closes IDF-4606
See merge request espressif/esp-idf!16910
2022-03-02 02:35:14 +08:00
Roland Dobai
f1f0bd34b9
Tools/idf_size.py: Support .noinit sections
...
Closes https://github.com/espressif/esp-idf/issues/8428
2022-03-01 18:58:20 +01:00
Roland Dobai
ad59ef3893
tools/idf_size.py: Identify objects without extension in MAP files
2022-03-01 18:11:36 +01:00
Shubham Kulkarni
18fa343161
esp_http_client: Cache received data in http_on_body callback.
...
This change fixes issue with data loss when multiple body chunks are
received after calling esp_http_client_fetch_headers.
2022-03-01 15:41:36 +00:00
Euripedes Rocha
f7b842bbc7
EXAMPLES/ASIO: Adds a SOCKS4 example
...
Creates an example on how to connect using Socks4 based proxy.
2022-03-01 13:50:47 +00:00
jincheng
216a57b767
correct the rate of data-producing
...
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-01 21:49:44 +08:00
Ivan Grokhotkov
3be8ed7c3b
Merge branch 'bugfix/efuse_ll_get_chip_ver_rev2' into 'master'
...
soc: Fix efuse_hal_get_chip_revision for esp32
See merge request espressif/esp-idf!17302
2022-03-01 21:00:36 +08:00
songruojing
b6887416d4
uart: fixed reset logic on ESP32-S3
2022-03-01 18:21:31 +08:00
songruojing
d4334cc109
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-01 18:21:27 +08:00
Michael (XIAO Xufeng)
395cd494f8
bootloader: fixed the issue custom_uart_gpio doesn't take effect
2022-03-01 17:54:34 +08:00
KonstantinKondrashov
7d097511fa
soc: Fix efuse_hal_get_chip_revision for esp32
2022-03-01 16:55:43 +08:00
Wu Zheng Hui
9373bdfe2f
Merge branch 'bugfix/remove_c_series_chips_unsupported_efuse_field' into 'master'
...
efuse: free c3/h2 unused efuse field
See merge request espressif/esp-idf!16854
2022-03-01 13:52:45 +08:00
Island
f1a4057877
Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt' into 'master'
...
ble mesh:example:correct repl config prompt in ble mesh console
See merge request espressif/esp-idf!16986
2022-03-01 13:50:24 +08:00
Sudeep Mohanty
4067bc40fc
docs: Updated ULP documentation
...
This commit updates documentation for ULP.
2022-03-01 09:02:41 +05:30