Commit Graph

3617 Commits

Author SHA1 Message Date
Adam Múdry
e5cff100b7 fatfs: add new ESP32 targets to external flash example 2022-05-12 18:57:10 +00:00
Tomas Rezucha
4dde197cca examples: Use components from idf-extra-components repository 2022-05-12 08:37:44 +00:00
Ondrej Kosta
1a20b10fd3 Examples: common source for GPIO range in Kconfigs defined 2022-05-12 09:33:40 +02:00
Mahavir Jain
af1f342ee8 Merge branch 'fix/make_esp_tls_t_private' into 'master'
Make esp_tls_t as private structure

Closes IDF-2812

See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
morris
47e4fe83ba ci: enable build pytest ut and examples on esp32c2 2022-05-12 05:18:57 +00:00
morris
6d288575dc test: fix broken host test of idf_as_lib 2022-05-12 05:18:57 +00:00
morris
aaa2eca57d blink: support ESP8684-DevKitM board 2022-05-12 05:18:57 +00:00
Mahavir Jain
42aac8d1d7 Merge branch 'contrib/github_pr_8816' into 'master'
Don't ignore return value of `httpd_stop` (GitHub PR)

Closes IDFGH-7222

See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Ivan Grokhotkov
27e1490bfc
examples: sd_card: fix example test not getting the expected name
SD card example prints the line which looks like:

   Name: 00000

If only part of the line is received, the regular expression in the
test still matches, and partial name is obtained. Later the example
test expects to see the same name in the file read from the SD card.
This check fails, because only partial name was received earlier.

Fix by adding a CR to the regular expression so that the entire name
is matched.
2022-05-11 21:50:11 +02:00
Ivan Grokhotkov
2e506bd93e Merge branch 'bugfix/iperf_output_regex' into 'master'
ci: iperf: recognize report results from newer iperf versions

Closes IDFCI-1226 and IDFCI-1229

See merge request espressif/esp-idf!18055
2022-05-12 03:26:34 +08:00
Ondrej Kosta
a213f7baf7 iperf: added sequential numberring of Tx'ed datagrams 2022-05-11 13:32:16 +02:00
Harshit Malpani
2c56c6cad8 Updated coding style and added error logs 2022-05-11 08:58:01 +00:00
Nathan Phillips
e8e63a06e8 Don't ignore return value of httpd_stop 2022-05-11 08:58:01 +00:00
Aditya Patwardhan
26a15058d3 Add sdkconfig.h to protocol/https* examples 2022-05-11 07:09:34 +00:00
Aditya Patwardhan
788c9ddf8d esp_tls: Added getter function for esp_tls ssl ctx. 2022-05-11 07:09:34 +00:00
Martin Valik
be452efd4a msc example made hot plugable
Closes https://github.com/espressif/esp-idf/issues/8386
2022-05-10 18:48:37 +02:00
morris
df5872b3a4 Merge branch 'feature/support_i2c_on_esp32h2' into 'master'
i2c: support i2c on esp32h2

Closes IDF-4155

See merge request espressif/esp-idf!17798
2022-05-10 22:48:05 +08:00
morris
722fde218d uart: add default source clock for all targets 2022-05-09 11:26:30 +08:00
morris
f472551910 example: added dshot esc example based on new rmt driver 2022-05-07 10:34:50 +00:00
morris
0e19bc1463 example: update stepper motor example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
b3c1480d9c example: update musical buzzer example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
d537da5bfb example: update led strip example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
977a2830dd example: update ir nec example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
5bfe873725 driver: deprecate legacy rmt driver
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
Roland Dobai
efc3357f1a Merge branch 'feature/semihosting_call_number_change' into 'master'
Semihosting V2

Closes IDF-4893

See merge request espressif/esp-idf!17412
2022-05-07 00:28:48 +08:00
morris
1f922f2124 Merge branch 'contrib/github_pr_8900' into 'master'
hello_world_main : fix incorrect printf format (GitHub PR)

Closes IDFGH-7312

See merge request espressif/esp-idf!17998
2022-05-06 21:22:51 +08:00
huardti
a01820c583 hello_world: fix incorrect printf format
spi_flash_get_chip_size return a size_t to printf this type it's better to use %u than %d.

We didn't use %zu because it will be ignored by "nano" printf (i.e. when
CONFIG_NEWLIB_NANO_FORMAT is on).

Closes https://github.com/espressif/esp-idf/pull/8900
2022-05-06 10:38:49 +00:00
morris
3a5fdfe35a temp_sensor: added enable/disable functions
The previous start/stop functions have been rename to enable/disable.
2022-05-06 18:18:39 +08:00
morris
d67888b92b pcnt: added enable/disable functions 2022-05-06 18:18:39 +08:00
morris
e7295c3577 gptimer: added enable/disable functions 2022-05-06 18:18:39 +08:00
Jiang Jiang Jian
34211f898c Merge branch 'docs/update_esp_hid_device' into 'master'
[docs] fix documents for Bluetooth HID Device API reference and example

See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Erhan Kurubas
ad078c5153 semihosting: drop absolute path support 2022-05-05 09:12:42 +00:00
Kapil Gupta
805b5c9115 Merge branch 'feature/11r_changes' into 'master'
esp_wifi: Add support for FT psk

Closes WIFI-2160

See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
Ivan Grokhotkov
dad4ac5251
examples: console: add a readme with an overview of examples 2022-05-04 11:34:07 +02:00
Ivan Grokhotkov
3390d2a2d1
examples: support USB_CDC and USB_SERIAL_JTAG in basic console example
Related to https://github.com/espressif/esp-idf/issues/8738
Related to https://github.com/espressif/esp-idf/issues/8879

Doesn’t implement USB_CDC (over USB_OTG peripheral) for ESP32-S3 yet;
this only works on ESP32-S2 for now. On ESP32-S3 it is now possible to
use USB_SERIAL_JTAG console.
2022-05-04 11:34:06 +02:00
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
Anton Maklakov
68e5d9d585 Remove IRAM_ATTR from any function declarations
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +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
Ondrej Kosta
97ddccafd3 Added bandwidth limitaion option to iperf test scripts 2022-03-22 07:17:40 +00:00
Ondrej Kosta
c8b08b9a4b iperf: added Tx bandwidth limit option 2022-03-22 07:17:40 +00:00
Tomas Rezucha
7c2cf30109 usb_host: Update MSC test for fatfs 0.14b 2022-03-21 18:34:25 +01:00
Tomas Rezucha
3abeee00d0 usb_host: Pin test task to core 0
When we try to uninstall usb_host library on multi-core SoC (ESP32S3)
the USB interrupt can be triggered even after it was disabled on one CPU
2022-03-21 18:34:25 +01:00
Tomas Rezucha
9049230e4a usb_host: Rename symbols that conflict with TinyUSB 2022-03-21 18:34:25 +01:00
Tomas Rezucha
e3ba980d11 usb_host: Use USB_Host library calls for desc printing 2022-03-21 18:34:25 +01:00
Tomas Rezucha
3074981dcb usb_host: Update MSC tests for running in CI 2022-03-21 18:34:25 +01:00
Tomas Rezucha
6206302787 ci: Add USB Host CDC and MSC pytests to pipeline 2022-03-21 18:34:24 +01:00
Tomas Rezucha
7d950a63cc usb_host: Add Mock device to CDC tests 2022-03-21 18:34:24 +01:00
Tomas Rezucha
913d53384f usb_host: Update CDC tests for latest USB Host 2022-03-21 18:34:24 +01:00
Marius Vikhammer
0cd07d907e CI: disable S3 sleep related example tests 2022-03-21 11:56:01 +08:00
Tomas Rezucha
f5f865df07 Merge branch 'fix/usb_host/cdc_build' into 'master'
usb_host: Don't build CDC host driver for unsupported targets

See merge request espressif/esp-idf!17517
2022-03-18 16:37:38 +08: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
Tomas Rezucha
c8fc4d226a usb_host: Don't build CDC host driver for unsupported targets 2022-03-17 13:10:29 +01:00
Ivan Grokhotkov
2f9d47c708 Merge branch 'feature/gdbstub_rt_multicore' into 'master'
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)

See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Anton Maklakov
6200d2328d Merge branch 'bugfix/printf-placeholder-for-time_t' into 'master'
components: correct printf() placeholder for time_t

See merge request espressif/esp-idf!17439
2022-03-17 16:08:08 +08:00
Marius Vikhammer
263771a744 Merge branch 'bugfix/adjust_deepsleep_example_limit' into 'master'
ci: increase acceptence limits for deep sleep example test

See merge request espressif/esp-idf!17501
2022-03-16 16:48:10 +08:00
Michael (XIAO Xufeng)
5a2f672d5a Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup' into 'master'
example/deep_sleep: add example of EXT0 and using internal pullups

Closes IDF-4657 and IDFGH-6711

See merge request espressif/esp-idf!17099
2022-03-16 16:27:07 +08:00
Marius Vikhammer
a9a82b8b5e ci: increase acceptence limits for deep sleep example test 2022-03-16 11:23:32 +08:00
Marius Vikhammer
453516fbbe Merge branch 'bugfix/replace_deprecated_options' into 'master'
kconfig: replace deprecated options with new values

See merge request espressif/esp-idf!17494
2022-03-16 09:32:55 +08:00
Michael (XIAO Xufeng)
fcd396a37e example/deep_sleep: add example of EXT0 and using internal pullups 2022-03-15 22:34:34 +08:00
Marius Vikhammer
ca3c056ac9 kconfig: replace deprecated options with new values 2022-03-15 16:28:53 +08:00
Jiang Jiang Jian
10f3aba770 Merge branch 'feature/final_h2' into 'master'
Add support in Nimble for ESP32H2

See merge request espressif/esp-idf!16329
2022-03-15 16:03:24 +08:00
Xue Yun Fei
b049ff915c Merge branch 'optimization/example_for_wifi_station' into 'master'
wi-fi:optimization example of wifi station

See merge request espressif/esp-idf!15457
2022-03-15 14:31:51 +08:00
Marius Vikhammer
8a9ab63ecb Merge branch 'feature/system_tests_pytest_embedded' into 'master'
CI: migrated system example tests to pytest-embedded framework

Closes IDFCI-1134

See merge request espressif/esp-idf!17401
2022-03-15 09:08:31 +08:00
morris
ca1e2af1d6 Merge branch 'feature/i2s1_lcd_mode_esp32' into 'master'
LCD driver various improvements

Closes IDF-3781, IDFGH-6753, IDFGH-6632, and IDFGH-6569

See merge request espressif/esp-idf!17323
2022-03-14 18:30:24 +08:00
Mahavir Jain
c5d982b235 Merge branch 'bugfix/esp_https_ota_breaking_changes' into 'master'
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images

See merge request espressif/esp-idf!17312
2022-03-14 18:15:52 +08:00
Marius Vikhammer
9918bbeb63 CI: migrated system example tests to pytest-embedded framework 2022-03-14 16:32:44 +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
Rahul Tank
f376bb5d05 Add support in Nimble for ESP32H2 2022-03-14 11:57:53 +05:30
morris
f06a13ad82 lcd: workaround auto next frame hardware bug
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
Mahavir Jain
b57fc93585 Merge branch 'bugfix/use_decrypt_user_ctx' into 'master'
example: use decrypt_user_ctx in decryption callback

See merge request espressif/esp-idf!17460
2022-03-14 13:39:23 +08:00
morris
5963de1caf Merge branch 'ci/fix_duplicated_test_names' into 'master'
CI: rename some tests to avoid duplicated test names

See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
Harshit Malpani
c813de50ec example: use decrypt_user_ctx in decryption callback 2022-03-11 18:05:40 +05:30
Harshit Malpani
de2f915092 esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images 2022-03-11 16:52:08 +05:30
Chen Yudong
4dc74c9c42 CI: rename some tests to avoid duplicated test names 2022-03-11 18:38:41 +08:00
Martin Gaňo
fea2b5b64e fatfsgen.py: enabled long names support
Closes https://github.com/espressif/esp-idf/issues/8171
2022-03-11 11:20:31 +01:00
Mahavir Jain
61c68b7f4d Merge branch 'contrib/github_pr_8544' into 'master'
esp_https_ota: add user_ctx to decrypt_cb (GitHub PR)

Closes IDFGH-6924

See merge request espressif/esp-idf!17456
2022-03-11 15:43:38 +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
David Čermák
4196c3f591 Merge branch 'update/discontinue_tcpip_adapter' into 'master'
esp_netif: Remove tcpip_adapter compatibility layer

Closes IDF-4457

See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
MacDue
e47419374c esp_https_ota: add user_ctx to decrypt_cb
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
morris
c6aeb86485 Merge branch 'bugfix/esp_modem_cxx-version-ref' into 'master'
examples: fix esp_modem_cxx component version number reference

See merge request espressif/esp-idf!17437
2022-03-10 17:46:03 +08:00
David Cermak
c941e29cf6 examples: Fix implicit includes after legacy code removal 2022-03-10 10:36:38 +01: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
xueyunfei
6fe39e5dc8 wifi example:optimization example of wifi station 2022-03-10 15:20:39 +08:00
David Cermak
79d1865d62 examples: Fix IP mesh implicit includes 2022-03-10 08:19:43 +01:00
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
Mahavir Jain
4cdf2459f0 Merge branch 'contrib/github_pr_8535' into 'master'
Upgrade esp_encrypted_img version in pre-encrypted OTA example (GitHub PR)

Closes IDFGH-6915

See merge request espressif/esp-idf!17432
2022-03-10 14:46:37 +08:00
Anton Maklakov
47de9e37f3 examples: fix esp_modem_cxx version number reference
see https://devhints.io/semver for syntax
2022-03-10 11:51:44 +07:00
Jiang Jiang Jian
7c7e8a83b9 Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
Remove legacy system event framework.

Closes IDF-3608

See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
MacDue
f17a3491e5 examples/pre_encrypted_ota: update to esp_encrypted_img 2.x.x 2022-03-09 16:30:22 +00:00
MacDue
615e44f430 examples/pre_encrypted_ota: readme tweaks and link to component manager 2022-03-09 16:29:39 +00: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
Sagar Bijwe
6501eff7f5 Remove legacy system event framework. 2022-03-09 15:53:45 +05:30
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