Commit Graph

3608 Commits

Author SHA1 Message Date
Tomas Rezucha
5d202aa401 usb: Clean-up TinyUSB unnecessary code 2022-06-09 10:56:39 +02:00
David Cermak
343cf2696e esp_eth: Reduce internal deps onto netif-glue 2022-06-09 07:55:40 +00:00
David Cermak
5e19b9c951 esp-netif: Make dependency on esp-eth optional
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
Rahul Tank
92ff76cd2c docs: Added a subsection for FAQ regarding paring pop up during provisioning 2022-06-09 09:47:15 +05:30
Marius Vikhammer
99b6f2731e Merge branch 'bugfix/enable_s3_bootloader_example_test' into 'master'
CI: enable custom bootloader tests on S3

See merge request espressif/esp-idf!18339
2022-06-09 10:35:27 +08:00
Marius Vikhammer
6e79cc69f9 re-enable riscv ulp gpio support and examples
Closes https://github.com/espressif/esp-idf/issues/8691
Closes https://github.com/espressif/esp-idf/issues/9094
2022-06-08 17:59:28 +08:00
yuanjm
16cf6d7bf3 ci: Add PING test for ci 2022-06-08 16:30:51 +08:00
yuanjm
b9b1a7aba8 fix(websocket): Support handler deal with PING and CLOSE frame
Closes https://github.com/espressif/esp-idf/issues/8803
2022-06-08 16:16:57 +08:00
dreamcmi
2024ae9434
Fix the PARALLEL_LINES size of the tjpgd example to ensure that esp32c2 can also be used normally 2022-06-08 08:45:32 +08:00
Jiang Jiang Jian
dc510bc271 Merge branch 'feature/add_custom_nvs_part_enc_support' into 'master'
examples/security: add support for custom NVS partition init with encryption

See merge request espressif/esp-idf!18360
2022-06-07 11:10:25 +08:00
Mahavir Jain
34fb03b049 Merge branch 'feature/http_example_pytest_migration' into 'master'
http example pytest migration

See merge request espressif/esp-idf!18053
2022-06-06 20:13:01 +08:00
Harshit Malpani
83ace52a36 http examples pytest migration 2022-06-03 16:00:52 +05:30
Harshit Malpani
e83f801462 Update examples README to include esp32c2 as supported device. 2022-06-03 15:31:05 +05:30
morris
aa3ddbc3c6 Merge branch 'test/enable_c2_target_tests' into 'master'
ci: enable target tests for ESP32-C2

Closes IDF-4989

See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
David Čermák
46e599c56d Merge branch 'feature/lwip_rework_patches' into 'master'
lw-IP: Reworked patches

Closes IDFGH-6197

See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Mahavir Jain
3a104b011d
examples/security: update test script to handle custom NVS partition init 2022-06-03 10:16:29 +05:30
Mahavir Jain
beca401fbc
examples/security: add support for initializing custom NVS partition with encryption 2022-06-02 18:13:43 +05:30
Michael (XIAO Xufeng)
4e231f9dac ci: partially enable pytest for esp32c2 2022-06-02 15:07:53 +08:00
morris
3247335770 mcpwm: don't support disable carrier first pulse
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.

Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
Michael (XIAO Xufeng)
f7be540222 ci: partially enable example build for esp32c2 2022-06-02 14:17:31 +08:00
morris
17a688749a timer: disable nano printf for gptimer examples
because we need to use %llu to print the timer count value, but nano
printf doesn't known that format
2022-06-02 11:08:59 +08:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Marius Vikhammer
740c8d30d6 CI: enable custom bootloader tests on S3 2022-06-01 11:39:09 +08:00
Mahavir Jain
8e9bb00781 Merge branch 'bugfix/mark_ota_test_as_flaky' into 'master'
ota_example: Mark tests as flaky

See merge request espressif/esp-idf!18311
2022-05-31 13:15:11 +08:00
Jakob Hasse
97c149f73d Merge branch 'refactor/nvs_iterator_api' into 'master'
NVS: New interface for iterator functions

Closes IDFGH-6149

See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Island
74b7a3fc83 Merge branch 'feature/final_h2_bluedroid_skc_common' into 'master'
Feature/final h2 bluedroid skc common

See merge request espressif/esp-idf!17710
2022-05-30 21:20:52 +08:00
Anton Maklakov
3c8a1390a0 Merge branch 'bugfix/esp-system-warnings' into 'master'
system: minor fixes of warnings

See merge request espressif/esp-idf!18310
2022-05-30 19:33:01 +08:00
Jiang Jiang Jian
2bc5d58807 Merge branch 'feature/support_sleep_for_esp32c2' into 'master'
esp32c2: support power management

Closes IDF-4440 and IDF-4617

See merge request espressif/esp-idf!18174
2022-05-30 17:57:18 +08:00
satish.solanke
3a42007680 Bluedroid porting changes for esp32h2
created common Kconfig for common flag of nimbble and Bluedroid

fix compile error

created common cfg file for controller

fix the compilation error on tip of master

added common controller flags and fixed compilation error

sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Anton Maklakov
1f5bb083b9 examples, timer: use llabs() 64-bit argument 2022-05-30 14:48:12 +07:00
Harshit Malpani
48bbfaeeba ota_example: Mark tests as flaky 2022-05-30 11:13:05 +05:30
Mahavir Jain
7640971f14 Merge branch 'feature/https_example_pytest_migration' into 'master'
https example pytest migration

See merge request espressif/esp-idf!18054
2022-05-30 10:45:12 +08:00
Jiang Jiang Jian
fb7994ba06 Merge branch 'feature/remove_disable_gcc8_warns' into 'master'
build: remove COMPILER_DISABLE_GCC8_WARNINGS option

See merge request espressif/esp-idf!16941
2022-05-30 09:42:17 +08:00
Jakob Hasse
ad184e979a refactor (nvs)!: New interface for iterator functions
Closes https://github.com/espressif/esp-idf/issues/7826

* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
  return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
  parameters, instead of returning an new iterator.

Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Jiang Jiang Jian
6a27983fc9 Merge branch 'feature/nimble_spp_multiple_profile_conn' into 'master'
NimBLE SPP multiple profile connection

Closes IDFGH-7001

See merge request espressif/esp-idf!17660
2022-05-29 19:24:08 +08:00
Jiang Jiang Jian
4ed2e6130a Merge branch 'feature/add_l2cap_ertm_api' into 'master'
Component_bt:Add l2cap and sdp api

Closes IDF-4487

See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
component_bt: add avdtp delay reporting

Closes BT-2308

See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Jiang Jiang Jian
368cb04194 Merge branch 'contrib/github_pr_8076' into 'master'
example: Synchronize includes in BLE walkthrough (GitHub PR)

Closes IDFGH-6417

See merge request espressif/esp-idf!17458
2022-05-29 14:31:09 +08:00
Isha Pardikar
4ab6aafecc Merge branch 'feature/nimble_spp_multiple_profile_conn' into 'master'
Added support for multiple profile connection in NimBLE SPP example.

Closes IDFGH-7001
2022-05-29 06:10:18 +00:00
Jiang Jiang Jian
6798494a05 Merge branch 'contrib/github_pr_8972' into 'master'
Fix Typo in bluedroid spp client readme (GitHub PR)

Closes IDFGH-7392

See merge request espressif/esp-idf!18200
2022-05-29 11:43:21 +08:00
xiongweichao
7624d5dd93 add l2cap client demo 2022-05-28 23:34:21 +00:00
xiongweichao
52656ad582 add l2cap server demo 2022-05-28 23:34:21 +00:00
xiongweichao
f321d62696 Modify a2dp demo 2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b add sink send delay reporting 2022-05-28 23:31:45 +00:00
jingli
efd5376fc0 fix power_save demo 2022-05-27 18:37:11 +08:00
Harshit Malpani
5a51af523c https examples pytest migration 2022-05-27 10:27:00 +05:30
Anton Maklakov
b9a549c80b build: remove COMPILER_DISABLE_GCC8_WARNINGS, no longer relevant 2022-05-27 11:40:40 +07:00
Zim Kalinowski
2c9cd8e307 Merge branch 'feature/remove_target_cmake' into 'master'
build-system: remove target component

Closes IDF-3091 and IDF-3581

See merge request espressif/esp-idf!18131
2022-05-27 06:55:25 +08:00
radim.karnis
3e08f355b6 tools: Use esptool v4 2022-05-26 13:59:50 +00:00
Rahul Tank
b45723b92e Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
NimBLE: Enabled ESP Timer support for esp32h2

See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Mahavir Jain
5607018f28 Merge branch 'feature/ota_examples_pytest_migration' into 'master'
Migrate OTA example test to pytest framework

Closes IDFCI-1146

See merge request espressif/esp-idf!17767
2022-05-24 14:28:15 +08:00
Marius Vikhammer
cf1b222cac build system: removed target component
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Marius Vikhammer
425c9e5b0f Merge branch 'feature/target_kconfig_movement_3' into 'master'
kconfig: move remaining kconfig options out of target component

Closes IDF-3579

See merge request espressif/esp-idf!18046
2022-05-24 08:45:01 +08:00
Mahavir Jain
5d88df658d Merge branch 'feature/esp-tls_optimize_memory' into 'master'
esp-tls: add api to free client session

Closes AEG-57

See merge request espressif/esp-idf!18103
2022-05-24 02:53:59 +08:00
Marius Vikhammer
0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Mahavir Jain
b54fc7ecd5 Merge branch 'feature/esp_local_ctrl_example_pytest_migration' into 'master'
esp local ctrl example pytest migration

See merge request espressif/esp-idf!18051
2022-05-23 17:06:21 +08:00
Mahavir Jain
b8e02c689d Merge branch 'bugfix/https_mbedtls_tls1_3' into 'master'
https_mbedtls: Prefer TLS 1.3 connection when enabled over TLS 1.2

Closes IDFGH-7380

See merge request espressif/esp-idf!18133
2022-05-23 16:29:25 +08:00
Li Jingyi
9b766b851a example: https_request update free client session api 2022-05-23 16:28:40 +08:00
Harshit Malpani
448b98d3bc Update relative link for example test in README.md 2022-05-23 13:11:22 +05:30
Harshit Malpani
25f02efaa1 Migrate OTA example test to pytest framework 2022-05-23 13:11:21 +05:30
morris
3b2f8dfc0d Merge branch 'contrib/github_pr_8997' into 'master'
Clean up botched merge (GitHub PR)

Closes IDFGH-7419

See merge request espressif/esp-idf!18199
2022-05-23 14:41:26 +08:00
Laukik Hase
6ad25f991d
https_mbedtls: Prefer TLS 1.3 connection when enabled over TLS 1.2
Closes https://github.com/espressif/esp-idf/issues/8960
2022-05-23 09:51:57 +05:30
Fu Hanxi
5c046631f4 Merge branch 'ci/add_qemu_hello_world_example' into 'master'
CI: add qemu hello world example

Closes IDFCI-1187

See merge request espressif/esp-idf!18151
2022-05-22 10:49:34 +08:00
Kaushik Ghose
34369cd709
Clean up botched merge 2022-05-20 16:04:41 -04:00
Fu Hanxi
4746a71028 ci: add qemu example 2022-05-21 00:11:59 +08:00
Li Jingyi
0cdee37630 https_server: add mbedtls dynamic buffer function test 2022-05-20 11:21:48 +00:00
Shu Chen
7e71c0cff2 Merge branch 'otbr-rcp-update' into 'master'
openthread: support automatic RCP update upon boot in border router

See merge request espressif/esp-idf!17322
2022-05-20 17:58:26 +08:00
David Čermák
8153695192 Merge branch 'contrib/github_pr_8962' into 'master'
Update echo_example_main.c (GitHub PR)

Closes IDFGH-7382

See merge request espressif/esp-idf!18126
2022-05-20 04:14:48 +08:00
morris
819beb4a32 example: use console repl in ble mesh coex example 2022-05-19 11:31:53 +08:00
David Cermak
b0e4ae4a5e examples: Minor fixes in udp_nulticast socket examples
Make sure that IPv6 mapped IPv4 addresses are not used when using
vanilla lwip
2022-05-18 17:10:42 +02:00
Martin Vychodil
b682527c60 Merge branch 'feature/ext_flash_fatfs_update' into 'master'
fatfs: add new ESP32 targets to external flash example

Closes IDF-3621

See merge request espressif/esp-idf!17371
2022-05-18 16:43:52 +08:00
EcotechBrad
286bc45cdc
Fix Typo in bluedroid spp client readme
`uart_wrire_bytes`  to `uart_write_bytes`
2022-05-17 10:42:34 -04:00
Harshit Malpani
63b1b1bd44 esp_local_ctrl example pytest migration 2022-05-17 15:23:22 +05:30
Mahavir Jain
361b40c994 Merge branch 'feature/cbor_example_pytest_migration' into 'master'
cbor example pytest migration

See merge request espressif/esp-idf!18052
2022-05-17 16:56:01 +08:00
Rahul Tank
95db4bbf05 NimBLE: Enabled ESP Timer support for esp32h2 2022-05-17 12:49:40 +05:30
Darian
4d751b9d6b Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog

Closes IDF-3340

See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Jiacheng Guo
ebcd922d53 fix review comments 2022-05-17 12:56:22 +08:00
Kapil Gupta
ba1daac5f0 Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
esp_wifi: Add APIs to check for BTM, RRM support of connected AP

See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
David McCurley
58db82c764
Update echo_example_main.c
Fixed compile error in example.  `error: designator order for field 'esp_ping_callbacks_t::cb_args' does not match declaration order in 'esp_ping_callbacks_t'`. Moved `.cb_args` in example to match declaration.
2022-05-16 11:30:55 -05:00
Tomas Rezucha
0a511e576e Merge branch 'feature/remove_extra_components' into 'master'
examples: Use components from idf-extra-components repository

See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Kapil Gupta
ee33c6ae05 esp_wifi: Add APIs to check BTM and RRM support of connected AP 2022-05-16 15:57:59 +05:30
Anton Maklakov
cc2010682d Merge branch 'bugfix/bluedroid_warnings' into 'master'
bluedroid: fix warnings

Closes GCC-242

See merge request espressif/esp-idf!17872
2022-05-16 13:36:36 +08:00
Fu Hanxi
38345d9cd8 Merge branch 'ci/improve_build_scripts_for_multi_targets' into 'master'
CI: improve build scripts for multi targets

See merge request espressif/esp-idf!17895
2022-05-16 11:18:11 +08:00
Darian Leung
7c02bde904 esp_system: Update task watchdog unit tests and example
This commit does the following:

- Update existing unit tests that use the TWDT to call the new
  esp_task_wdt_init() API
- Add a set of dedicate TWDT unit tests
- Updates the TWDT example
2022-05-13 18:01:28 +08:00
Anton Maklakov
c89974b7cf examples/bluetooth: suppress -Waddress-of-packed-member warning 2022-05-13 15:24:17 +07:00
Kapil Gupta
72e53d116a Merge branch 'feature/internal_tls_code_update' into 'master'
wpa_supplicant: sync eap code with upstream

See merge request espressif/esp-idf!16962
2022-05-13 12:57:48 +08:00
Kapil Gupta
c2429f1cf9 wpa_supplicant: sync eap code with upstream 2022-05-13 12:57:47 +08:00
Harshit Malpani
57e2e7a27c Migrate cbor example to pytest framework 2022-05-13 04:41:00 +00:00
Fu Hanxi
52b5a8348e test: add pytest_wifi_getting_started script 2022-05-13 11:56:59 +08:00
Fu Hanxi
4a7315b1b0 ci: improve import path 2022-05-13 11:54:42 +08:00
Jakob Hasse
847f3813a0 Merge branch 'bugfix/sdcard_example_test' into 'master'
examples: sd_card: fix example test not getting the expected name

Closes IDFCI-1249

See merge request espressif/esp-idf!18070
2022-05-13 10:01:46 +08:00
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