Commit Graph

3402 Commits

Author SHA1 Message Date
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
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
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
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
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
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