Laukik Hase
88c33b52bf
http2_request: Disable build in CI
...
- Tracked by IDF-4916
2022-04-20 12:18:26 +05:30
Laukik Hase
728a686b8a
protocols: Updated examples to use correct API
...
- `http_request` and `https_x509_bundle`
2022-04-20 12:18:26 +05:30
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Mahavir Jain
ca9f285782
Merge branch 'bugfix/smtp_client' into 'master'
...
smtp_client: Fix heap leakage
Closes IDFGH-7167
See merge request espressif/esp-idf!17777
2022-04-14 20:53:13 +08:00
Laukik Hase
44214a3028
smtp_client: Fixed garbage characters being printed
...
- The R/W buffers were not cleared before reading/writing
anything new
2022-04-14 13:35:02 +05:30
Laukik Hase
4e9bf05091
smtp_client: Fix heap leakage
...
- Freed all allocated resources by Mbed TLS at the end of routine
2022-04-14 12:14:41 +05:30
Mahavir Jain
bc1ec37f92
Merge branch 'fix/use_crt_bundle_in_http2_request_example' into 'master'
...
http2_request_example: Use esp_crt_bundle instead of hardcoded root
Closes IDCCI-1190, IDFCI-1195, and IDFCI-1197
See merge request espressif/esp-idf!17755
2022-04-13 19:17:17 +08:00
Aditya Patwardhan
3b1f1febc8
http2_request_example: Use esp_crt_bundle instead of hardcoded root
...
certificate in order to avoid frequent failure of the example due to
shift in CA chain
2022-04-13 10:34:34 +05:30
Ondrej Kosta
fcdb0306d0
examples: added ESP-NETIF L2 TAP example
2022-04-12 12:33:57 +00:00
Mahavir Jain
467e9c07d6
lwip: fix build with CONFIG_LWIP_DHCPS disabled
...
Also added example build configuration for this option.
2022-04-11 12:31:17 +00:00
Mahavir Jain
021f545f0d
examples: add dependency on cert bundle configuration
...
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-04-06 05:10:43 +00:00
Laukik Hase
8f77caa637
https_server: Fix example test failure
...
- Closed the client connection gracefully for the https server
callback check to pass in test
- Made some functions static in the example
2022-03-30 20:45:48 +05:30
Laukik Hase
1d71fbae92
https_server: Add provision for callback at session close
...
Closes https://github.com/espressif/esp-idf/issues/8288
2022-03-30 11:25:11 +05:30
Laukik Hase
d7090b4d52
https_server: Add config option to min. cert. auth mode
...
- Added a config option to set the minimum Certificate Verification
mode to Optional
- When this option is enabled, the peer (the client) certificate
is checked by the server, however the handshake continues even if
verification failed.
- By default, the peer certificate is not checked and ignored by the server.
Closes https://github.com/espressif/esp-idf/issues/8664
2022-03-29 08:57:36 +00:00
Alex Lisitsyn
e653ce82b2
Merge branch 'feature/modbus_master_fix_check_uart_set_pin' into 'master'
...
example/modbus_master: fix the erro check for uart_set_pin
Closes IDFGH-6988
See merge request espressif/esp-idf!17534
2022-03-27 04:20:17 +08:00
David Cermak
965b8f0e62
examples/sntp: Document that SNTP-over-DHCP resets other NTP servers
...
Closes https://github.com/espressif/esp-lwip/issues/42
2022-03-22 15:01:02 +00:00
Elbert van de Put
980fd32f69
example/modbus_master: fix the assert for uart_set_pin
...
Signed-off-by: aleks <aleks@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/8607
2022-03-22 09:45:06 +00:00
Anton Maklakov
6d13c8b3a6
Merge branch 'bugfix/managed-components-version-refs' into 'master'
...
managed components: fix version references to allow implicit updates
See merge request espressif/esp-idf!17438
2022-03-18 14:52:15 +08:00
Anton Maklakov
e27f1331e4
components: correct printf() placeholder for time_t
...
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Anton Maklakov
4c865baae4
managed components: fix version references to allow implicit updates according to semver
...
Syntax details: https://devhints.io/semver
2022-03-11 13:49:26 +07:00
Mahavir Jain
99e7059cbe
Merge branch 'bugfix/kconfig_defaults' into 'master'
...
kconfig: Changed default values of `bool` configs
Closes IDF-4747
See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
...
- Some bool configs were using default values true and false,
instead of y and n.
2022-03-10 14:26:37 +05:30
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
David Čermák
0b58f987cd
Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
...
mdns: Add support for dynamic network interfaces
Closes IDF-939
See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
morris
b841332aa5
Merge branch 'component/esp_websocket_migration' into 'master'
...
websocket: Remove internal component, examples and test
Closes IDF-4076
See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
David Cermak
42ba8a8338
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98
mdns: Add API to control custom network interfaces
2022-03-09 07:33:23 +01:00
David Cermak
dd3cd52fd6
CI/mdns: Reworked example test to be run repeatably
2022-03-09 07:33:16 +01:00
David Cermak
d1b809e6a1
CI/mdns: Extend example test for sockets, netifs
2022-03-08 13:46:57 +01:00
David Cermak
bec42ff85d
mdns: Add support for registering custom netif
2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b
mdns: Use predefined interfaces to prepare for custom netifs
2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8
mdns: Prepare for dynamic esp-netif support
2022-03-08 13:39:53 +01:00
Mahavir Jain
55fd823001
Merge branch 'contrib/github_pr_8523' into 'master'
...
Removed unnecessary #include statement (GitHub PR)
Closes IDFGH-6903
See merge request espressif/esp-idf!17390
2022-03-08 16:13:08 +08:00
lukedukeus
469be7cc54
Removed unnecessary #include statement
2022-03-07 16:30:37 -05:00
gabsuren
f3c7215565
websocket: Remove internal component, examples and test
2022-03-07 11:07:40 +04:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Ivan Grokhotkov
c8b43ee0c1
Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4641
See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
Ivan Grokhotkov
c8d1737d57
examples: file_serving: add support for ESP32-S3, refactoring
...
* Move filesystem mounting code into a separate file to simplify the
main source file.
* Clean up SDMMC and SDSPI related code. Move pin configuration into
Kconfig.
* Use same base_path ('/data') for either SPIFFS or SD. Remove the
check in file_server.c about the base path.
* Update README according to the changes above.
2022-03-03 21:43:37 +01:00
Jiang Jiang Jian
1068c7720b
Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
...
Always connect Station in PMF mode if possible
Closes WIFI-4320
See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Alex Lisitsyn
dcaac79380
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues' into 'master'
...
modbus: fix tcp slave destroy issues
Closes IDFGH-6568
See merge request espressif/esp-idf!16856
2022-03-03 16:34:33 +08:00
Alex Lisitsyn
224901fed3
modbus: fix tcp slave destroy issues
2022-03-03 16:34:33 +08:00
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
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
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +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
Shubham Kulkarni
8199f711a2
examples/esp_http_client: Use dl.espressif.com URL for performing request with Range header
...
esp_http_client_test.py: Add check for range request log
2022-02-25 10:29:17 +05:30
David Cermak
afe7ab3b2c
ci/mdsn: Fix example test on ethernet runners
...
* Ethernet kit uses GPIO0 for ref-clock, so the test button hits
constantly
* Add a freeRTOS delay when checking result on assync queries
2022-02-24 11:01:26 +01:00