Commit Graph

3481 Commits

Author SHA1 Message Date
Ivan Grokhotkov
11c67d175f
examples: console: move duplicated cmd_wifi files into a new component 2022-05-04 11:34:06 +02:00
Ivan Grokhotkov
32360cc1a3
examples: move console_usb example to console directory 2022-05-04 11:34:06 +02:00
Jiang Jiang Jian
e4eeff87f2 Merge branch 'bugfix/enterprise_certs_ca_expired' into 'master'
esp_wifi: Fix issue of ca certificate expired

Closes WIFI-4354

See merge request espressif/esp-idf!17786
2022-05-03 15:09:45 +08:00
Mahavir Jain
eef5e73842 Merge branch 'contrib/github_pr_8851' into 'master'
Fixed the commented out coap_new_optlist() in the coap_client example. (GitHub PR)

Closes IDFGH-7262

See merge request espressif/esp-idf!17969
2022-05-02 14:53:53 +08:00
kapil.gupta
3d5ca7ee6e wpa_supplicant: Add support for FT psk 2022-05-01 16:16:51 +05:30
Aditya Patwardhan
4dec4b87e7 flash_encryption_example_test: Add support for erasing the flash for the
target.
2022-04-30 00:28:35 +00:00
Jiang Jiang Jian
96ff900d7d Merge branch 'Optimize/udp_example_receive_data_with_recvmsg_interface' into 'master'
udp example:Optimization udp example with recv_msg

Closes IDFGH-5400

See merge request espressif/esp-idf!17949
2022-04-29 15:03:22 +08:00
Aditya Patwardhan
b6a5ace34d Merge branch 'ci/reenable_http2_req_test' into 'master'
ci: Re-enable HTTP/2 request example test

Closes IDF-4916

See merge request espressif/esp-idf!17911
2022-04-29 14:39:00 +08:00
Laukik Hase
ba4e318e4c
ci: Re-enable HTTP/2 request example test 2022-04-29 09:55:09 +05:30
Laukik Hase
1a7eac2d69
docs: Add section for server verification (esp_https_ota)
- Updated OTA example README
2022-04-29 09:50:06 +05:30
nosuz
6127da32e4 Fixed the commented out coap_new_optlist() example in the coap_client example.
coap_new_optlist() requires 3 arguments but the example had 2 arguments.
2022-04-28 18:49:55 +09:00
xueyunfei
231ef90fc5 udp example:Optimization udp example with recv_msg 2022-04-28 07:55:28 +00:00
Simon
e4d85807ea Merge branch 'feature/spi_flash_esp8684_support' into 'master'
spi_flash: refactor spi_flash clock configuration logic and support esp32c2

Closes IDF-4474, IDF-4025, and IDF-4066

See merge request espressif/esp-idf!16602
2022-04-27 11:05:45 +08:00
Ivan Grokhotkov
3175e472ba Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
esp_timer: remove from freertos public requirements

See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
Cao Sen Miao
4418a855ba spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2 2022-04-26 15:22:37 +08:00
David Čermák
b85c44403a Merge branch 'bugfix/asio_example_config' into 'master'
[EXAMPLES/ASIO] Renames Kconfig parameter and clarify

See merge request espressif/esp-idf!17769
2022-04-26 13:24:17 +08:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
517c0b54d8 Merge branch 'contrib/github_pr_8827' into 'master'
led_strip component : fix timing by adding the reset signal (GitHub PR)

Closes IDFGH-7233

See merge request espressif/esp-idf!17891
2022-04-25 18:33:31 +08:00
morris
a385df8ea3 test: remove makefiles in unit-test-app 2022-04-25 17:12:34 +08:00
Mahavir Jain
7e1b3f401f Merge branch 'bugfix/esp_http_client_example' into 'master'
esp_http_client example: Add cert for redirect to HTTPS example

See merge request espressif/esp-idf!17879
2022-04-25 12:08:14 +08:00
Jacques Supcik
c7fe38926a fix timing by adding the reset signal 2022-04-25 00:07:35 +02:00
Aditya Patwardhan
b1856a60b1 Merge branch 'feature/update_security_examples_test_with_pytest' into 'master'
Update flash_encryption example test to use pytest framework

See merge request espressif/esp-idf!17771
2022-04-24 22:00:35 +08:00
Tomas Rezucha
9663a282b3 Merge branch 'feature/usb_host/cdc_custom_commands' into 'master'
usb_host: Add Virtual COM Port example

Closes IDF-4816, IDFGH-7027, and IDFGH-7159

See merge request espressif/esp-idf!17560
2022-04-24 20:41:51 +08:00
Marius Vikhammer
45c1d1cba2 Merge branch 'feature/move_target_kconfig_2' into 'master'
system: move kconfig options out of target component

See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
laokaiyao
5b3468ebb3 i2c: support i2c on esp32h2 2022-04-23 07:38:25 +00:00
Shubham Kulkarni
7059ea0895 esp_http_client example: Add cert for redirect to HTTPS example
esp_http_client_test.py: Add checks for missing example logs
2022-04-22 17:39:12 +05:30
Tomas Rezucha
7fc0c14f4d usb_host: Add Virtual COM Port CDC example
This example implements usual UART/USB convertor driver.
Closes https://github.com/espressif/esp-idf/issues/8645
2022-04-22 09:50:46 +02:00
Tomas Rezucha
880b5a4bef usb_host: Unify CDC event callbacks
And return error code from C++ close method.
2022-04-22 09:50:46 +02:00
Tomas Rezucha
0428efa4ad usb_host: Propagate new device connection to user
Closes https://github.com/espressif/esp-idf/issues/8762
2022-04-22 09:50:39 +02:00
Tomas Rezucha
0ab17ec695 usb_host: Enable custom CDC commands
This new API allows further extension for vendor specific commands
2022-04-22 09:50:38 +02:00
Laukik Hase
f9da23edb9 http_client: Added explicit conversion for esp_tls_error_handle_t
- in protocols/esp_http_client example

Closes https://github.com/espressif/esp-idf/issues/8795
2022-04-22 03:42:49 +00:00
morris
de433105a2 lcd: don't turn on disp in init
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
Aditya Patwardhan
600272bc5d flash_encryption_example: Update example test to use pytest framework 2022-04-21 13:26:57 +05:30
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
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
Ivan Grokhotkov
fe904085fb Merge branch 'feature/modbus_remove_component' into 'master'
freemodbus: remove component files from esp-idf

See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
morris
373d9b3dbc Merge branch 'feature/default_clk_for_gptimer' into 'master'
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)

Closes IDF-4894

See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b freemodbus: remove component files from esp-idf (fix examples) 2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771 Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
Move adding prefix/postfix of DPP key to example

Closes IDFGH-7116

See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Kapil Gupta
86013e918a Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
wpa_supplicant: Add CA certification bundle support

See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
aditi_lonkar
72cc487aff esp_wifi: Fix issue of ca certificate expired 2022-04-18 06:24:29 +00:00
Konstantin Kondrashov
04bcc17dcc Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday

See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Michael (XIAO Xufeng)
7c668770ee Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
ledc: Provide support for esp32c2 and esp32h2

Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648

See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08: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
Nachiket Kukade
282d3c6188 wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
1. Move adding of prefix/postfix to the private key to example code.
   This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
songruojing
534346f4bb ledc: Provide support for esp32c2 and esp32h2
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00: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
KonstantinKondrashov
1e0eef52d3 esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
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
Euripedes Rocha
232b0eda5f [EXAMPLES/ASIO] Renames Kconfig parameter and clarify
On ip::tcp::resolver ASIO uses service to identify the type of
connection and get the port number. LWIP can't resolve this way.
2022-04-13 11:22:34 -03:00
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
Ondrej Kosta
90829e64d5 Merge branch 'feature/create_l2tap_example' into 'master'
Feature/create l2tap example

Closes IDF-4096

See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
Martin Vychodil
3b3bfc1971 Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
vfs: renamed FATFS convenience mounting functions

Closes IDF-4370

See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +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
morris
cb5507f11c Merge branch 'feature/clk_tree_defs' into 'master'
clk_tree: prework of introducing clock subsystem control

Closes IDF-4892

See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
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
Matus Fabo
24268d47a2 change: renamed FATFS convenience mounting functions
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
60bb5c913d clk_tree: prework of introducing clk subsystem control
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
   upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
   Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
wangmengyang
bed86d8a27 examples/Bluetooth/bt_hid_mouse_device: improved the exmaple README 2022-04-11 02:50:50 +00:00
wangmengyang
f7d942c42a examples/bluetooth/bt_hid_mouse_device: fixed code format, added more comments to improve code readability 2022-04-11 02:50:50 +00:00
Adam Múdry
36db6a6681 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Martin Gano
d76de32f74 fatfsgen.py: enabled date and time for fatfs 2022-04-07 15:01:28 +02:00
Wang Meng Yang
0c23d45918 Merge branch 'bugfix/fix_blecent_compilation_issue' into 'master'
Nimble: Add default config options for esp32h2 for blecent app

See merge request espressif/esp-idf!17648
2022-04-07 09:59:03 +08:00
Rahul Tank
c6eb49082a Nimble: Add default config options for esp32h2 to fix blecent
compilation issues
2022-04-06 17:14:31 +05:30
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
Ivan Grokhotkov
ff6ccfff8e
examples: build system: add link-time registration plugin example
Closes https://github.com/espressif/esp-idf/issues/7682
2022-04-05 18:51:47 +02:00
Kapil Gupta
62eb06e386 wpa_supplicant: Add CA certification bundle support
Add support for CA certificate bundle support for server
certificate validation
2022-04-05 10:57:09 +05:30
morris
1459a09978 Merge branch 'bugfix/cxx_gcc11_warnings' into 'master'
C++: fix several gcc11 warnings

Closes GCC-229

See merge request espressif/esp-idf!17658
2022-04-01 15:12:55 +08:00
Wei Tian Hua
dbe4606eab Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
components/bt: support for vendor specific battery level and docker status...

See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
Anton Maklakov
9386014201 examples/cxx: add missing header 2022-03-31 15:02:34 +07:00
Anton Maklakov
40d189137e examples/cxx: add explicit-declared copy constructor 2022-03-31 15:02:27 +07: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
Armando (Dou Yiwen)
ee034d5b6a Merge branch 'feature/support_spi_on_h2' into 'master'
spi: support spi on h2

Closes IDF-3796 and IDF-4226

See merge request espressif/esp-idf!17191
2022-03-30 19:59:31 +08:00
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
morris
6f538b1c95 Merge branch 'refactor/move_periph_ctrl_hw_support' into 'master'
hw_support: move periph_ctrl from driver to hw_support

Closes IDF-4796

See merge request espressif/esp-idf!17583
2022-03-30 04:54:07 +08:00
morris
204432191d Merge branch 'bugfix/spi_master_rx_bug' into 'master'
examples/spi_master: Fixed SPI read (keeping CS active) in SPI master example

Closes IDFGH-7034

See merge request espressif/esp-idf!17606
2022-03-29 22:51:24 +08:00
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
Vilem Zavodny
29792561ca examples/spi_master: Fixed SPI read (keeping CS active) in SPI master example
Closes https://github.com/espressif/esp-idf/issues/8652
2022-03-29 08:43:16 +02:00
Armando
fe9c6cde4f spi: support spi on h2 2022-03-29 11:54:08 +08:00
morris
bf677182a6 sigmadelta: change gpio number from u8 to int
Fix the issue that macro compares unsigned to 0
2022-03-29 11:53:31 +08:00
baohongde
418b546a7c components/bt: support for vendor specific battery level and docker status indication over HFP profile 2022-03-29 11:38:09 +08:00
Shubham Kulkarni
779bcc8614 native_ota_example: Rename example_test.py to pytest_native_ota.py
Add type annotations
2022-03-28 03:51:21 +00:00
Shubham Kulkarni
68c246990c native_ota_example: Change example_test to use pytest framework 2022-03-28 03:51:21 +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
morris
6be28e832b Merge branch 'bugfix/coverity_scan_fix_driver' into 'master'
fix some driver "bugs" found by Coverity Scan

Closes IDF-4776

See merge request espressif/esp-idf!17566
2022-03-25 12:32:25 +08:00
Ondrej Kosta
8ce997f02c Merge branch 'bugfix/eth_iperf_performance_iram' into 'master'
Eth iperf default sdkconfig: Enable lwIP IRAM optimization

See merge request espressif/esp-idf!17556
2022-03-24 23:16:35 +08:00
morris
fe13b2ed50 lcd: add rgb isr iram safe callback test 2022-03-24 21:23:01 +08:00
Ondrej Kosta
ab2bc59501 Eth iperf default sdkconfig: Enable lwIP IRAM optimization 2022-03-24 09:49:34 +01:00
Shubham Kulkarni
3e3cde2f9f advanced_https_ota/example_test.py: Update redirect URL test to include two redirects 2022-03-24 06:23:17 +00:00
Mahavir Jain
97fb98a91b Merge branch 'feature/pytest_wifi_prov' into 'master'
wifi_prov_mgr: Upgraded CI example test to pytest framework

Closes IDFCI-1140

See merge request espressif/esp-idf!17547
2022-03-24 12:52:04 +08:00
morris
08a4cff6d5 Merge branch 'bugfix/disable_touch_sleep_s3' into 'master'
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3

Closes IDF-4810

See merge request espressif/esp-idf!17562
2022-03-24 10:22:31 +08:00
Michael (XIAO Xufeng)
a84faa3cef touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
This is not supported yet.
2022-03-24 03:00:47 +08:00
Laukik Hase
c8c13c58c4
wifi_prov_mgr: Upgraded CI example test to pytest framework 2022-03-23 18:12:25 +05:30
Mahavir Jain
4f04d55f0b Merge branch 'feature/check_fw_version_at_start_of_ota' into 'master'
Check FW version at start of ota with pre-encrypted binary

Closes IDF-4682

See merge request espressif/esp-idf!17479
2022-03-23 16:54:21 +08:00
Harshit Malpani
cca208f71a Check FW version at start of ota for encrypted binary 2022-03-23 11:09:48 +05:30
Anton Maklakov
118d39c8fe Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
Remove IRAM_ATTR from any function declarations

Closes GCC-223

See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +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