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
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
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
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +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
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
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
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
wuzhenghui
1a4d4b9cd6
remove esp32h2 rev1/2 unsupported efuse field
2022-02-28 19:37:43 +08:00
wuzhenghui
95418fd22e
remove esp32c3 unsupported efuse field
2022-02-28 19:37:38 +08:00
Mahavir Jain
15ab3466fa
Merge branch 'contrib/github_pr_8467' into 'master'
...
Fix typos. (GitHub PR)
Closes IDFGH-6843
See merge request espressif/esp-idf!17289
2022-02-28 16:50:33 +08:00
Mahavir Jain
47fb454baa
esp_system: Fix copyright header
2022-02-28 11:41:02 +05:30
Kevin (Lao Kaiyao)
cc1d89ebba
Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
...
i2c: support i2c on esp32c2 and esp32h2
Closes IDF-3918
See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
Konstantin Kondrashov
44e5ac2c59
Merge branch 'feature/efuse_hal' into 'master'
...
hal: Adds efuse hal layer
See merge request espressif/esp-idf!16354
2022-02-28 13:38:43 +08:00
Eva Dengler
9fd621c7ad
Fix typos.
...
alignement -> alignment
2022-02-25 19:32:15 +01:00
morris
b85eeb3224
Merge branch 'feature/lcd_isr_in_iram' into 'master'
...
refactor LCD unit tests into test apps
Closes IDF-4666
See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
Jing Li
0a64094a60
Merge branch 'bugfix/a_small_fix_for_multi_heap' into 'master'
...
Heap: fix wrong arg passed to assert_valid_block
See merge request espressif/esp-idf!17274
2022-02-25 05:09:13 +00:00
David Čermák
2a91e4c895
Merge branch 'bugfix/mdsn_fuzzer_extend' into 'master'
...
mdns: Extend fuzzing and Fix various petty issues
Closes IDFGH-6675
See merge request espressif/esp-idf!17006
2022-02-24 23:03:50 +00:00
Ivan Grokhotkov
4a553510b7
Merge branch 'bugfix/interrupted_thread_gdb_bt' into 'master'
...
riscv: Fixes GDB backtrace of interrupted threads
See merge request espressif/esp-idf!16939
2022-02-24 20:21:17 +00:00
KonstantinKondrashov
9605f3eb1a
soc: Adds efuse hal
...
Replaced eFuse ROM funcs with hal layer
2022-02-24 22:20:09 +08:00
David Cermak
b5149e3ee7
mdns: Update to drop our own packet if bounced back
2022-02-24 11:01:26 +01:00
David Cermak
51a5de2525
mdns: Fix potential read behind parsed packet
2022-02-24 11:01:26 +01:00
David Cermak
9cbdb8767b
mdns: Fix memleak when adding delegated host
2022-02-24 11:01:26 +01:00
David Cermak
a57be7b7d1
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
2022-02-24 11:01:13 +01:00
David Cermak
2c1007156e
mdns: Update fuzzer test (add delegation, check memory)
...
* Add new config with no services
* Add new test packets and more queries
* Allocate packet to check for mem issues
2022-02-24 09:41:56 +00:00
David Čermák
ca7e5b3ef5
Merge branch 'bugfix/mdns_missing_includes' into 'master'
...
mdns: Added missing includes; Removed deprecated event API
See merge request espressif/esp-idf!17190
2022-02-24 09:39:30 +00:00
Alexey Gerenkov
dea45a9d72
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
72822dfc8f
riscv: Adds support for returning from exception handler
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
088e940528
riscv: Fixes GDB backtrace end function to point to prvTaskExitError
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
54569fb001
riscv: Fixes GDB backtrace of interrupted threads
...
Save missed SP value on stack
2022-02-24 08:55:40 +00:00
morris
8c91ef7599
Merge branch 'contrib/github_pr_8430' into 'master'
...
ADC Fix compiling when included from C++ (GitHub PR)
Closes IDFGH-6804
See merge request espressif/esp-idf!17216
2022-02-24 08:42:06 +00:00
jingli
6c25dd4ec1
fix param passed to assert_valid_block, should be block not ptr
2022-02-24 13:50:16 +08:00
Darian
c2efc1781f
Merge branch 'bugfix/twai_workarounds_default_enable' into 'master'
...
TWAI: Enable ESP32 errata workarounds by default
See merge request espressif/esp-idf!17205
2022-02-24 05:12:50 +00:00
Mahavir Jain
4861ca0179
Merge branch 'update/remove_openssl' into 'master'
...
openssl: Remove deprecated component
Closes IDF-3925 and IDFCI-1102
See merge request espressif/esp-idf!17200
2022-02-24 03:46:01 +00:00
Darian Leung
2f2df82bc5
twai: Enable ESP32 errata workarounds by default
2022-02-23 20:22:02 +08:00
David Cermak
0630834bc3
openssl: Remove deprecated component
2022-02-23 13:08:12 +01:00
Harshit Malpani
1cb9ba5076
Push out coap
to idf-extra-component repository
2022-02-23 15:08:36 +05:30
laokaiyao
cf353c505a
i2c: support esp32h2
2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae
i2c: support esp32c2
2022-02-23 15:19:37 +08:00