Commit Graph

3528 Commits

Author SHA1 Message Date
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
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
Zim Kalinowski
0440aca4e3 Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories

See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
morris
4aa81975d1 Merge branch 'bugfix/i2c_fix_typo_of_slave_macro' into 'master'
i2c: fix typo in SOC_I2C_SUPPORT_SALVE

Closes IDFGH-6893

See merge request espressif/esp-idf!17373
2022-03-07 23:38:13 +08:00
Ivan Grokhotkov
5f1c6ac605 Merge branch 'contrib/github_pr_8500' into 'master'
Fix compiler error in mbedtls (GitHub PR)

Closes IDFGH-6879 and IDFGH-6881

See merge request espressif/esp-idf!17380
2022-03-07 22:17:30 +08:00
Simon
4bf4a020a6 Merge branch 'refactor/abstract_temperature_sensor' into 'master'
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3

Closes IDF-3665, IDF-3367, and IDF-1793

See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Fu Hanxi
6ddd6e6d29 Merge branch 'docs/pytest_in_idf' into 'master'
docs: add README about pytest in IDF

See merge request espressif/esp-idf!17250
2022-03-07 15:34:28 +08:00
gabsuren
f3c7215565 websocket: Remove internal component, examples and test 2022-03-07 11:07:40 +04:00
laokaiyao
9ebfd7832d i2c: update legacy name ESP8684 to ESP32C2 2022-03-07 14:59:56 +08:00
Mahavir Jain
9ba1b333f9 examples/wifi: add test coverage for CONFIG_WPA_DEBUG_PRINT 2022-03-07 12:17:04 +05:30
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
Jin Cheng
19ddb8bde1 Merge branch 'bugfix/crash_when_reconnect_to_sink' into 'master'
bugfix/fix the failure of reconnect to sink

See merge request espressif/esp-idf!17281
2022-03-04 19:20:05 +08:00
Ivan Grokhotkov
3df2be5904 Merge branch 'bugfix/sdmmc_example_esp32s3' into 'master'
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins

Closes IDF-4642

See merge request espressif/esp-idf!17352
2022-03-04 18:47:59 +08:00
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
morris
a0283234cd Merge branch 'feature/support_esp32h2_gpio' into 'master'
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix

Closes IDF-4232 and IDF-3439

See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb Temperature_sensor: Create new temperature sensor API 2022-03-04 18:13:35 +08:00
morris
52fcdbacc3 Merge branch 'feature/pcnt_driver_ng' into 'master'
 Driver-NG: Introduce a brand new driver for PCNT

Closes IDF-2196 and IDF-2896

See merge request espressif/esp-idf!10507
2022-03-04 12:25:35 +08:00
jincheng
d2361dcb9e fix the failure of reconnect to sink 2022-03-04 04:14:04 +00:00
songruojing
c8c137f2b7 esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Ivan Grokhotkov
e9ed46d7ce
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins 2022-03-03 23:37:42 +01:00
Mahavir Jain
8878d91b47 Merge branch 'bugfix/tcp_iperf_example_issue' into 'master'
wifi:bugfix for iperf issue

Closes WIFI-4348

See merge request espressif/esp-idf!17319
2022-03-04 04:50:21 +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
Ivan Grokhotkov
eefb0442c9
examples: sdspi: use default DMA channel 2022-03-03 21:40:05 +01:00
Ivan Grokhotkov
dc2f4483bf
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins 2022-03-03 21:40:03 +01:00
morris
d234f2f769 example: migrate to use pulse_cnt driver 2022-03-03 22:38:32 +08:00
morris
04b3f8b210 pcnt: deprecated as legacy driver 2022-03-03 22:38:32 +08: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
Fu Hanxi
5ccb5eeebd docs: add README about pytest in IDF 2022-03-03 14:36:50 +08:00
xueyunfei
dc06c31a58 examples/common_components: iperf: fix closing of client socket in TCP server mode
Details of the problem : After iperf ended, the socket was not closed, resulting in the WIFI buffer not being released.
2022-03-03 14:04:01 +08:00
Marius Vikhammer
f6cfe1a549 Merge branch 'bugfix/ulp_gpio_example_build' into 'master'
ulp: add driver dependecy for ULP riscv gpio interrupt example

See merge request espressif/esp-idf!17332
2022-03-03 12:36:36 +08:00
Song Ruo Jing
b665dcbe68 Merge branch 'feature/esp32c2h2_support_uart' into 'master'
UART: Provide support for esp32c2 and esp32h2

Closes IDF-3823, IDF-4154, and IDF-4221

See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0 Merge branch 'feature/mbedtls-3.1' into 'master'
Update to mbedtls-3.1

Closes IDF-3723

See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Marius Vikhammer
8901941064 ulp: add driver dependecy for ULP riscv gpio interrupt example 2022-03-03 11:17:34 +08:00
Wang Meng Yang
94a62a1b50 Merge branch 'bugfix/hfp_disc_audio_err' into 'master'
bugfix/fix_err_when_ag_disc_audio

Closes IDFGH-6239

See merge request espressif/esp-idf!16920
2022-03-03 11:07:40 +08:00
Marius Vikhammer
706a14884f Merge branch 'feature/riscv_ulp_gpio_intr' into 'master'
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor

Closes IDFGH-6589

See merge request espressif/esp-idf!17288
2022-03-03 09:40:03 +08:00
Aditya Patwardhan
1dc63850e3 mbedtls-3.X: Update the esp-cryptoauthlib submodule 2022-03-03 01:37:10 +05:30
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
Aditya Patwardhan
0483bfbbfe Initial Changes for updating mbedtls to v3.0 2022-03-03 01:37:09 +05:30
Kapil Gupta
84f9aa13c9 Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
esp_example: Enable MbedTLS for DPP enrollee by default

Closes WIFI-4275

See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
Omar Chebib
2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
songruojing
24a60c12c6 uart: Provide support for esp32c2 and esp32h2
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Dmitry
a8c3fe56c8 This commit add to GDBstup:
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03: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
jincheng
216a57b767 correct the rate of data-producing
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-01 21:49:44 +08:00
Island
f1a4057877 Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt' into 'master'
ble mesh:example:correct repl config prompt in ble mesh console

See merge request espressif/esp-idf!16986
2022-03-01 13:50:24 +08:00
Marius Vikhammer
c974a000d7 ULP: Add example of using GPIO to wakeup the ULP-RISCV processor 2022-02-28 14:15:25 +08:00
Kevin (Lao Kaiyao)
cc1d89ebba Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
i2c: support i2c on esp32c2 and esp32h2

Closes IDF-3918

See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
Mahavir Jain
229ed08484 Merge branch 'bugfix/http_client_ci' into 'master'
esp_http_client example: Use dl.espressif.com URL for performing request with Range header

Closes IDFCI-1113

See merge request espressif/esp-idf!17256
2022-02-25 08:33:10 +00:00
morris
b85eeb3224 Merge branch 'feature/lcd_isr_in_iram' into 'master'
refactor LCD unit tests into test apps

Closes IDF-4666

See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +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
David Cermak
51a5de2525 mdns: Fix potential read behind parsed packet 2022-02-24 11:01:26 +01:00
Mahavir Jain
66593bf140 Merge branch 'feature/coap_to_component_manager' into 'master'
Push out `coap` to idf-extra-component repository

Closes IDF-4626

See merge request espressif/esp-idf!17241
2022-02-23 19:43:02 +00:00
Harshit Malpani
1cb9ba5076 Push out coap to idf-extra-component repository 2022-02-23 15:08:36 +05:30
Mahavir Jain
38d4250c15 examples/spiffs: increase test timeout
This is to address frequent CI test failure where test most likely
timeouts during SPIFFS formatting operation.
2022-02-23 14:33:10 +05:30
laokaiyao
cf353c505a i2c: support esp32h2 2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae i2c: support esp32c2 2022-02-23 15:19:37 +08:00
Sudeep Mohanty
f163ab26a9 Merge branch 'feature/ulp_fsm_support_on_esp32s3' into 'master'
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2

See merge request espressif/esp-idf!17197
2022-02-23 02:20:39 +00:00
Sudeep Mohanty
4d8a0cce29 ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-02-22 12:25:57 +05:30
Adam Múdry
bb8587a139 fatfs: Update to version 0.14b
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
Nachiket Kukade
7ed8fdac59 esp_wifi: Always connect Station in PMF mode if possible
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Mahavir Jain
fbc9c729b2 esp_https_ota: rename config option for more clarity 2022-02-17 10:54:06 +05:30
Harshit Malpani
5a6dbaa487 feature: Pre Encrypted Binary for OTA updates
This feature enables using encrypted binaries for OTA updates

Closes https://github.com/espressif/esp-idf/issues/6172
2022-02-17 10:48:41 +05:30
Yuan Hong Hui
1ff2b724f4 ble mesh:example:correct the output log level 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
18567bb108 ble mesh:example:delete unused tag 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
22c0248284 ble mesh:example:response for checking restart in auto_test 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
1b4d9c8b3f ble mesh:example:correct repl config prompt 2022-02-16 14:47:07 +08:00
Jiang Jiang Jian
1604891b27 Merge branch 'bugfix/enterprise_certs_weak_md' into 'master'
esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example.

Closes WIFI-4284

See merge request espressif/esp-idf!16978
2022-02-16 03:55:04 +00:00
Mahavir Jain
71e29053cf Merge branch 'refactor/esp_https_server_api_cleanup' into 'master'
esp_https_server: API cleanup

Closes IDFGH-6540

See merge request espressif/esp-idf!17136
2022-02-15 16:11:09 +00:00
David Čermák
412fb564ca Merge branch 'bugfix/emac_config_dma_burst_len' into 'master'
esp_eth: Make EMAC DMA burst size configurable (GitHub PR)

Closes IDFGH-6199 and IDFGH-5658

See merge request espressif/esp-idf!16412
2022-02-15 10:36:51 +00:00
David Cermak
8da2e4088c esp_eth: Update esp32's EMAC API to decouple driver and vendor config 2022-02-14 16:17:29 +00:00
David Cermak
2553fb5845 esp_eth: Make EMAC DMA burst size configurable
Merges https://github.com/espressif/esp-idf/pull/7874
Closes  https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Harshit Malpani
94056fd4a5 esp_https_server: API cleanup 2022-02-14 16:25:54 +05:30
morris
dbfde65515 lcd: refactor ut into test app 2022-02-14 18:43:50 +08:00
morris
f8dc675318 lcd: support model NT35510 in example 2022-02-14 18:42:14 +08:00
morris
e5afb4f933 lvgl: upgrade to 8.2.0 in examples 2022-02-14 18:42:14 +08:00
Mahavir Jain
8400ff8607 examples/simple_ota: use certificate bundle in default configuration
- This allows to easily test example with different public servers
- Flash footprint impact is limited due to selection of only most common
certs from bundle.
2022-02-14 12:43:42 +05:30
Mahavir Jain
fbe4457a71
examples/ota: fix README for instructions on hosting image on github.com server
Ref: https://esp32.com/viewtopic.php?f=13&t=26076
2022-02-14 12:43:27 +05:30
Marius Vikhammer
5ef585b1b9 Merge branch 'feature/remove_frc2_timer' into 'master'
esp_timer: remove legacy ESP32 FRC timer implementation

Closes IDF-3805

See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Jiang Jiang Jian
f807b711c4 Merge branch 'test/modify_example_advanced_ota_checker' into 'master'
modify advanced ota checker line for nimble and bluedroid

Closes IDFCI-852

See merge request espressif/esp-idf!17082
2022-02-11 03:18:11 +00:00
Marius Vikhammer
edb76f14d6 esp_timer: remove legacy ESP32 FRC timer implementation. 2022-02-10 15:17:49 +08:00
Mahavir Jain
ba348f11b8 Merge branch 'bugfix/fix_esp_http_client_example' into 'master'
esp_http_client: Fix memory leak in esp_http_client_example

Closes IDFGH-6717

See merge request espressif/esp-idf!17051
2022-02-10 05:19:51 +00:00
Darian
61639fe1ec Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
FreeRTOS: Remove usage of legacy data types

Closes IDF-4566

See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Jiang Jiang Jian
cca2234619 Merge branch 'feature/pmf_support_for_softAP' into 'master'
esp_wifi: Add pmf support for softAP.

Closes WIFI-1353

See merge request espressif/esp-idf!14906
2022-02-10 04:17:00 +00:00
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
aditi_lonkar
c3a661c0fd esp_wifi: Add pmf support for softAP. 2022-02-09 18:58:37 +05:30
morris
5810ed1d04 Merge branch 'refactor/remove_ets_sys_from_public_header' into 'master'
esp_rom: remove ets_sys.h dependency from public header files

See merge request espressif/esp-idf!16919
2022-02-09 12:27:06 +00:00
Wang Meng Yang
e640060e2d Merge branch 'bugfix/controller_hci_uart_esp32c3_readme' into 'master'
Added support for ESP32-S3 chip in controller_hci_uart_esp32c3_and_esp32s3's README

Closes BT-1906

See merge request espressif/esp-idf!16583
2022-02-09 11:17:28 +00:00
Lu Ai Jun
75abbcdcdd modify advanced ota checker line for nimble and bluedroid 2022-02-09 18:40:03 +08:00
yuanjm
a3105a950b esp_http_client: Fix memory leak in esp_http_client_example
Closes https://github.com/espressif/esp-idf/issues/8346
2022-02-09 17:35:02 +08:00
morris
ef00bd59dc esp_rom: extract int matrix route and cpu ticks getter 2022-02-09 13:52:20 +08:00
Wang Meng Yang
e6c0d1e481 Merge branch 'bugfix/nimble_spp' into 'master'
NimBLE :  SPP example fails to build on Windows

See merge request espressif/esp-idf!16992
2022-02-07 02:33:41 +00:00
Mahavir Jain
4c6d72ba90 Merge branch 'bugfix/esp32c3_sysview_examples_build_error' into 'master'
riscv: fix portSTACK_GROWTH redefinition error

See merge request espressif/esp-idf!17011
2022-02-05 05:43:05 +00:00
Michael (XIAO Xufeng)
c1b30491dd Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
UART: add uart wakeup event for esp32c3 and esp32s3

Closes IDF-3416

See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
Erhan Kurubas
e40cd91065 heap: use HEAP_TRACING_STACK_DEPTH default value for riscv 2022-02-03 14:55:49 +01:00
Erhan Kurubas
88889e2f88 esp32c3: fix portSTACK_GROWTH redefinition error 2022-02-03 14:55:49 +01:00
Suren Gabrielyan
cbc767b6d7 Merge branch 'bugfix/websocket_example_echo_server' into 'master'
websocket: Updated Kconfig to use 'echo.websocket.events' echo server

Closes IDFGH-6619

See merge request espressif/esp-idf!16965
2022-02-03 08:40:53 +00:00
Aditya Patwardhan
b284016bfd configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
Closes https://github.com/espressif/esp-idf/issues/8285
2022-01-31 14:13:25 +05:30
Wei Tian Hua
2467aa7f6c Merge branch 'demo/opt_a2dp_demo_doc' into 'master'
demo/optimize a2dp demo documents

Closes BT-2135

See merge request espressif/esp-idf!16527
2022-01-29 05:02:19 +00:00
Shu Chen
095fb1afc1 Merge branch 'feature/ot-multicast-routing' into 'master'
openthread: enable 1.2 multicast routing

See merge request espressif/esp-idf!16943
2022-01-28 15:43:04 +00:00
Anton Maklakov
7cdd151612 Merge branch 'bugfix/nocommon' into 'master'
enable and fix warnings on common symbols

Closes IDFGH-3055 and IDF-3013

See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
Isha Pardikar
8846dc83db Merge branch 'bugfix/nimble_spp' into 'master'
NimBLE : Fixed BLE SPP build fail on Windows

Closes : https://github.com/espressif/esp-idf/issues/8305
2022-01-28 18:43:09 +05:30
Sudeep Mohanty
1c393a32c4 Merge branch 'refactor/refactor_ulp_component' into 'master'
ulp: refactor ulp component

Closes IDF-4520

See merge request espressif/esp-idf!16886
2022-01-28 10:23:56 +00:00
Mahavir Jain
9150034b6d Merge branch 'provisioning/update_readme' into 'master'
provisioning: Remove legacy examples reference

Closes IDF-4614

See merge request espressif/esp-idf!16977
2022-01-28 09:32:08 +00:00
Kapil Gupta
f57ccaabee esp_example: Enable MbedTLS for DPP enrollee by default 2022-01-28 13:53:39 +08:00
Laukik Hase
07f1e49566 provisioning: Remove legacy examples section from README 2022-01-28 09:58:43 +05:30
morris
9f893130ad Merge branch 'feature/lcd_i2c_oled_example' into 'master'
lcd: add i2c oled example

See merge request espressif/esp-idf!16506
2022-01-28 04:07:34 +00:00
dizcza
23598dfcec websocket: Updated Kconfig to use 'echo.websocket.events' echo server
Updated README to show how to run websocket echo server using Flask

Merges https://github.com/espressif/esp-idf/pull/8262
2022-01-27 17:10:15 +04:00
aditi_lonkar
9fb605a9be esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example. 2022-01-27 17:17:45 +05:30
Martin Valik
68ff1b8c07 Bugfix: omit MSC reset during initialization 2022-01-27 10:03:40 +01:00
Mahavir Jain
d587a1ce6d Merge branch 'refactor/provisioning_examples' into 'master'
provisioning: Remove legacy examples

Closes IDF-4558

See merge request espressif/esp-idf!16776
2022-01-27 07:28:52 +00:00
Jiacheng Guo
a271753a6a openthread: enable 1.2 multicast routing
This MR enables Thread 1.2 Backbone Border Router(BBR) feature and
multicast routing.
2022-01-27 15:22:27 +08:00
Sudeep Mohanty
2fc9bd61bf ulp: refactor ulp component
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.

This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Anton Maklakov
4085443a17 examples: esp_ble_mesh: move ble_mesh_node_prestore_params symbol to source file 2022-01-27 11:01:23 +07:00
Ivan Grokhotkov
acfdf9f6e1 examples: esp_ble_mesh: move cfg_cli definition to source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
3a57dfe905 examples: wifi/ftm: make global variables static
Prevents conflict between g_ftm_report_num_entries defined in the
example and in the Wi-Fi library.
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
7dac0abdff examples: advanced_https_ota: make some globals static 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
9d3e618bc5 examples: esp_ble_mesh: move definition of globals into source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
b92f8b0a95 examples/bluetooth: mark auto_tb and sync_obj as extern 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
92e18ba78e bluedroid: make hf_peer_addr as extern 2022-01-27 11:00:09 +07:00
Song Ruo Jing
3821a09f83 Merge branch 'bugfix/ledc_consecutive_fade' into 'master'
ledc: Bugfixes for issues related to fade protection on ESP32

Closes IDFGH-4918 and IDFGH-5565

See merge request espressif/esp-idf!14568
2022-01-26 06:00:59 +00:00
David Čermák
41761fc762 Merge branch 'ci/enable_s3_ethernet_examples_build' into 'master'
Re-enable ESP32-S3 build for an ethernet examples

Closes IDFCI-1058

See merge request espressif/esp-idf!16875
2022-01-25 16:16:00 +00:00
AndriiFilippov
88604b0c60 CI: Remove supported targets from ethernet examples README.md 2022-01-25 15:11:19 +01:00
laokaiyao
c4cfb654d2 uart: support light sleep on esp32s3 2022-01-25 17:43:02 +08:00
Chen Wu
35941de800 debug: esp32c3 uart1 wakeup 2022-01-25 17:43:02 +08:00
Chen Yi Qun
29229ce32f simple test for uart wakeup 2022-01-25 17:43:02 +08:00
songruojing
68e12f7092 ledc: Add ledc_fade_stop API to support stopping the fade operation.
Note that ESP32 cannot support this new feature.
2022-01-25 11:19:20 +08:00
morris
cf9a7d8509 Merge branch 'example/pytest_for_component_ut' into 'master'
Example/pytest for component ut

See merge request espressif/esp-idf!16234
2022-01-25 02:34:34 +00:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
Fu Hanxi
90f8d27985 ci: use pytest-embedded 0.5.1 2022-01-24 15:55:00 +08:00
Fu Hanxi
ea4673a3a2 ci(pytest): support special markers "supported_targets", "preview_targets", "all_targets" 2022-01-24 15:55:00 +08:00
Island
ce4a4be37f Merge branch 'feature/pro_recv_hb' into 'master'
provisioner receive heartbeat message

See merge request espressif/esp-idf!14680
2022-01-24 07:54:30 +00:00
Yuan Hong Hui
154d82c6bc provisioner receive heartbeat message 2022-01-24 07:54:28 +00:00
Island
e50f250b16 Merge branch 'bugfix/filter_repeated_packages' into 'master'
filter repeated packages but not send response

See merge request espressif/esp-idf!15906
2022-01-24 07:51:02 +00:00
Armando (Dou Yiwen)
7967a317d6 Merge branch 'feature/add_flash_suspend_example' into 'master'
system: add an example showing how to run non-iram ISR when operating Flash

Closes IDF-4501

See merge request espressif/esp-idf!16658
2022-01-24 07:40:00 +00:00
jincheng
0e8f7d7fe4 optimize a2dp demo documents 2022-01-24 14:22:04 +08:00
Armando
a36e5188e9 system: add an example showing how to run non-iram ISR when operating Flash 2022-01-21 15:20:37 +08:00
Alex Lisitsyn
2cad565781 Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict' into 'master'
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)

See merge request espressif/esp-idf!12162
2022-01-21 05:18:01 +00:00
Alex Lisitsyn
e9cdb3e0d3 freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) 2022-01-21 05:18:00 +00:00
morris
24e6fdf3c6 lcd: add i2c oled example with lvgl port 2022-01-21 11:21:38 +08:00
morris
dcee019311 Merge branch 'feature/rgb_panel_example' into 'master'
lcd: add rgb panel example

Closes IDF-4429

See merge request espressif/esp-idf!16459
2022-01-21 03:06:04 +00:00
Marius Vikhammer
cbe23087fc Merge branch 'feature/ulp_stop' into 'master'
ULP: add functions for stopping/restarting the ulp-riscv

Closes IDFGH-6588

See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
morris
821634b24e lcd: add rgb panel example 2022-01-20 22:09:23 +08:00
Marius Vikhammer
ff6f927b5f ULP: add functions for stopping/restarting the ulp-riscv
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
David Čermák
1c94345737 Merge branch 'bugfix/protocols_test_on_eth' into 'master'
ci/mqtt: Move protocol tests to eth runners

Closes IDFCI-653

See merge request espressif/esp-idf!16752
2022-01-19 14:44:00 +00:00
Laukik Hase
e284eb070f provisioning: Removed legacy examples 2022-01-19 11:02:52 +05:30
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Zim Kalinowski
6e00f10fd4 Merge branch 'feature/adds_tips_to_run_ci_example_tests' into 'master'
examples: Adds a note on how to meet requirements to run the example_test.py

See merge request espressif/esp-idf!16834
2022-01-19 02:55:44 +00:00
Shu Chen
6ac4d031ce Merge branch 'feature/zigbee_example_update' into 'master'
Zigbee: Zigbee example update

See merge request espressif/esp-idf!16812
2022-01-18 13:03:16 +00:00
likunqiao
2c7f950084 Zigbee: Zigbee example update
* minor update for the zigbee example
2022-01-18 17:07:10 +08:00
Yuan Hong Hui
0e0d8fb433 filter repeated packages then send response 2022-01-18 16:38:42 +08:00
KonstantinKondrashov
041ba0c297 examples: Adds a note on how to meet requirements to run the example_test.py
export PYTHONPATH="$IDF_PATH/tools:$IDF_PATH/tools/ci/python_packages"
python -m pip install -r $IDF_PATH/tools/ci/python_packages/ttfw_idf/requirements.txt

It helps to fix the ModuleNotFoundError issue with ttfw_idf and tiny_test_fw modules.

Closes https://github.com/espressif/esp-idf/issues/7815
2022-01-18 15:55:30 +08:00
Sudeep Mohanty
2ed15d8b1e ulp: Added ULP RISC-V support for esp32s3
This commit adds support for ULP RISC-V for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Mahavir Jain
b149ff8dda Merge branch 'bugfix/http_auto_redirect' into 'master'
esp_http_client: Added event for HTTP redirection

Closes IDFGH-6371

See merge request espressif/esp-idf!16753
2022-01-16 05:59:21 +00:00
Martin Vychodil
f76d695aba Merge branch 'feature/vfs_semihosting_c3' into 'master'
vfs: add support for semihosting on ESP32-C3

Closes IDF-2287

See merge request espressif/esp-idf!11890
2022-01-14 20:20:26 +00:00
David Cermak
323622be64 ws_client: Optimize example test payloads and timeouts
Important update: NO_DATA_TIMEOUT_SEC=5, as some ws-servers typically send pings in 30s or 10s intervals, so we might never fire shutdown test
2022-01-14 18:11:59 +01:00
Ivan Grokhotkov
876f4d6a1c vfs: add support for semihosting on ESP32-C3 2022-01-14 17:29:03 +01:00
David Cermak
2649413ae8 ci/websockets: Run ws-client example test on ethernet runners 2022-01-14 14:35:06 +01:00
David Cermak
96616b6056 ci/mdns: Run mdns test on ethernet runners 2022-01-14 14:35:06 +01:00
David Cermak
51e222e71f ci/mqtt: Move mqtt example tests to ethernet runners 2022-01-14 14:35:02 +01:00
morris
6050388f51 Merge branch 'feature/i80_lcd_psram_s3' into 'master'
lcd: i80 lcd can transfer framebuffer in PSRAM

Closes IDFGH-6426

See merge request espressif/esp-idf!16548
2022-01-14 06:36:08 +00:00
Mahavir Jain
833f8bf6fb Merge branch 'bugfix/check_chip_id_at_start_ota' into 'master'
esp_https_ota: fix for checking chip id at start of OTA

Closes IDF-1724

See merge request espressif/esp-idf!16739
2022-01-14 04:14:01 +00:00
morris
a611b39254 lcd: update i80 lcd example to work with PSRAM 2022-01-14 11:35:34 +08:00
Harshit Malpani
c0b796532b esp_https_ota: fix for checking chip id at start of OTA 2022-01-13 15:20:26 +05:30
Jiacheng Guo
0a46c6a3ee openthread: update README 2022-01-13 12:25:15 +08:00
zhangwenxu
3262d74513 openthread: ot extension command refactor 2022-01-13 12:25:15 +08:00
Mahavir Jain
dae8bdb60b Merge branch 'ci/enable_s3_examples_build' into 'master'
ci: re-enable s3 build for few examples

Closes IDFCI-1058

See merge request espressif/esp-idf!16770
2022-01-13 03:51:34 +00:00
Harshit Malpani
1095ab0697 ci: re-enable s3 build for few examples 2022-01-12 17:46:42 +05:30
Armando (Dou Yiwen)
342c830d9b Merge branch 'feature/support_spi_on_8684' into 'master'
spi: support spi on 8684

Closes IDF-4470 and IDF-4024

See merge request espressif/esp-idf!16475
2022-01-12 09:10:21 +00:00
Laukik Hase
ca84d2d6c9 esp_http_client: Added event for HTTP redirect
- Allows users to manually intercept and process the HTTP redirection
 when disable_auto_redirect (from the esp_http_client handle) is set to true

Closes https://github.com/espressif/esp-idf/issues/8029
2022-01-12 11:40:32 +05:30
Armando
6a74cb695d spi: support spi on 8684 2022-01-12 11:30:29 +08:00
Ivan Grokhotkov
bbe8aabca0 Merge branch 'bugfix/perfmon_s3' into 'master'
perfmon: re-enable example for ESP32-S3, remove warning from the docs

Closes IDF-3309

See merge request espressif/esp-idf!16744
2022-01-11 17:23:35 +00:00
Ivan Grokhotkov
3edc4bbf4a perfmon: re-enable example for ESP32-S3, remove warning from the docs
Includes minor fix for formatting of code blocks in the example readme
2022-01-11 08:28:51 +01:00
Mahavir Jain
d90bd94788 examples: add sh2lib dependency on http2_request through component manager 2022-01-11 10:26:25 +05:30
Mahavir Jain
0da44db394 sh2lib: Remove component and move to idf-extra-components
This component will be used through ESP-IDF component manager
2022-01-11 10:26:25 +05:30
xiongweichao
8dc3392b3f Rename controller_hci_uart_esp32c3 to controller_hci_uart_esp32c3_and_esp32s3 2022-01-10 11:46:23 +08:00
xiongweichao
b08c3a022a Added support for ESP32-S3 chip in controller_hci_uart_esp32c3's README 2022-01-10 11:19:53 +08:00
xiongweichao
6b576212d9 add nvs initialize 2022-01-10 11:19:53 +08:00
Omar Chebib
c60ff26ec2 Merge branch 'staging/add_idf_as_lib_to_ci' into 'master'
CI: idf_as_lib is now run on all suported targets

See merge request espressif/esp-idf!16672
2022-01-10 02:23:54 +00:00
morris
6bf3af7c8e examples: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
morris
02f6b83f47 app_trace: support gptimer as timestamp source 2022-01-07 14:59:09 +08:00
morris
25490dd45f gptimer: add example with various use cases 2022-01-07 14:44:50 +08:00
Omar Chebib
598246d287 CI: idf_as_lib is now run on all suported targets 2022-01-07 12:10:35 +08:00
Wang Meng Yang
5f28c0c36b Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
bugfix/handle_3_esp_hid_PRs

Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586

See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
morris
869bed1bb5 soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
Darian
d95b15c557 Merge branch 'feature/usb_host_cleanup' into 'master'
USB: Host stack cleanup and QOL update

Closes IDFGH-6120, IDF-2747, IDFGH-4592, and IDFGH-6402

See merge request espressif/esp-idf!16349
2022-01-06 12:18:47 +00:00
Darian Leung
630a6b54c2 usb: Add USB Host Library Example
The commit adds a basic example for the USB Host Library
2022-01-06 15:15:15 +08:00
Darian Leung
b6dfadb168 usb: Update USB Host Library
This commit updates the USB Host Library as follows:

- usb_helpers.h
    - Removed dependency on USB Host Library API
    - Added function to print string descriptors
- usbh
    - Fixed bug where an interface/endpoint could be claimed/allocated multiple times
    - Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-01-06 15:14:10 +08:00
Darian Leung
1aad12468a usb: Hub Driver Update and Refactor
Hub Driver is refactored as follows:

This commit update and refactors the Hub Driver as follows:

- Refactored enumeration state machine and stage functions
    - Enumeration stage is now incremented
    - Combined transfer stages of enumeration into common functions
- Comments updated
- Fixed usbh_hal_disable_debounce_lock() that would cause root_port_handle_events()
    to fail the HCD_PORT_CMD_RESET call because the previous port connection interrupt
    was not cleared.

The following features were added to the Hub Driver

- Enumeration config descriptor is now fetched in two separate stages
    - Header is fetched first to determine the wTotalLength of the descriptor
    - Fetching the full descriptor will request exactly wTotalLength bytes
    - This works around some non-compliant devices that will babble/return zero
        when requesting a length > wTotalLength
    - Closes https://github.com/espressif/esp-idf/issues/7799
- Enumeration now stores string descriptors
    - The Manufacturer, Product, and Serial Number string descriptors are
        now read and stored during enumeration
    - String descriptors are now part of usb_device_info_t
- Added unit test to test enumeration
2022-01-06 15:11:13 +08:00
Darian Leung
854127a57c usb: USB Host stack uses USB PHY driver
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.

- The hcd_install() now expects the USB PHY and OTG Contorller to be
    already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
    the user wants to setup their own USB PHY (e.g., in the case of using
    and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY

Closes https://github.com/espressif/esp-idf/issues/8061
2022-01-06 15:09:39 +08:00
Aditya Patwardhan
6f20ca93ad Merge branch 'fix/http2_request_example' into 'master'
http2_request_example: Change the target http2 server to http2.github.io

See merge request espressif/esp-idf!16655
2022-01-06 03:26:50 +00:00
Zim Kalinowski
779de561f4 Merge branch 'bugfix/fix_idf_as_lib_build' into 'master'
Build: fix idf_as_lib example not building

Closes IDFGH-6453

See merge request espressif/esp-idf!16514
2022-01-06 03:17:30 +00:00
Omar Chebib
cb90544a04 Build: fix idf_as_lib example not building 2022-01-06 03:17:29 +00:00
Tomas Rezucha
6330d5d312 usb: Extend CDC device with second CDC channel
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Guo Jia Cheng
fa8364a544 Merge branch 'bugfix/openthread-socket-multicast' into 'master'
openthread: sync lwip multicast groups to Thread stack

See merge request espressif/esp-idf!16490
2022-01-05 07:04:30 +00:00
Mahavir Jain
6e1f534cab Merge branch 'feature/esp_tls_api_cleanup' into 'master'
esp-tls: mark esp_tls_conn_delete API as deprecated

See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
Aditya Patwardhan
2b026ea1fa http2_request_example: Change the target http2 server to http2.github.io and
perform only a `GET` request.
2022-01-05 12:26:39 +05:30
Murray Fordyce
00a23ec544 Fixed left right key confusion in comments.
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
Li Kun Qiao
b05b70c7f3 Merge branch 'feature/Add_zigbee_rcp_gateway' into 'master'
Zigbee example: rcp and gateway

See merge request espressif/esp-idf!16205
2022-01-05 03:28:03 +00:00
Jiacheng Guo
d610282742 openthread: sync lwip multicast groups to Thread stack
This MR synchornizes the lwIP multicast groups to the Thread stack. This
will fix sockets failing to receive messages sent to multicast groups
issue.
2022-01-04 20:08:15 +08:00
Jiang Jiang Jian
69757842aa Merge branch 'bugfix/ftm_misc_issues' into 'master'
Miscellaneous FTM bugfixes

Closes WIFI-4126

See merge request espressif/esp-idf!16525
2022-01-04 10:39:42 +00:00
Mahavir Jain
c26500cd5a esp-tls: mark esp_tls_conn_delete API as deprecated
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
likunqiao
8c577cd208 Zigbee example: add rcp and gateway
* provide Zigbee rcp and Zigbee gateway example
 * minor comment fix for light example
2022-01-04 17:46:09 +08:00
Yuan Jian Min
0c73f20afd docs: Add user-friendly guide about how to use ws_server_example_test.py
Closes https://github.com/espressif/esp-idf/issues/8060
2022-01-02 11:27:05 +00:00
Song Ruo Jing
2906fbfb9e Merge branch 'feature/support_esp8684_gpio' into 'master'
ESP8684: Support ESP8684 gpio

Closes IDF-4019 and IDF-3841

See merge request espressif/esp-idf!15667
2021-12-30 09:16:23 +00:00
Nachiket Kukade
f38144a689 esp_wifi: Miscellaneous FTM bugfixes
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example

Closes https://github.com/espressif/esp-idf/issues/8127
2021-12-30 12:22:42 +05:30
songruojing
e0bc3a923c esp8684: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example and GPIO unit test on esp8684 are both supported as well.
2021-12-29 22:01:45 +08:00
liqigan
9c5aecda38 optimize SPP documents 2021-12-29 16:18:16 +08:00
Wang Meng Yang
bc1a679052 Merge branch 'doc/update_document_of_demo_bt_discovery' into 'master'
Doc/update document of demo bt discovery

Closes BT-2133

See merge request espressif/esp-idf!16265
2021-12-29 06:07:19 +00:00
Mahavir Jain
5968bf6b0c Merge branch 'wifi_prov_mgr/service_key_check' into 'master'
wifi_prov_mgr: Added check for passphrase length in softAP scheme

Closes IDFGH-6404

See merge request espressif/esp-idf!16545
2021-12-27 09:34:24 +00:00
Laukik Hase
5261d7adf1 wifi_prov_mgr: Added check for passphrase length in softAP scheme
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-27 10:57:50 +05:30
Island
ab90076df9 Merge branch 'bugfix/update_ble_mesh_example_license' into 'master'
ble_mesh: example: Update example license

See merge request espressif/esp-idf!16501
2021-12-27 03:43:03 +00:00
zhangwenxu
91f54c673d openthread: add a manual mode in Thread border router example 2021-12-24 11:09:51 +08:00
lly
8fd34d4741 ble_mesh: example: Update example license 2021-12-24 09:08:45 +08:00
morris
f2d3a18f43 timer: example migrate to pytest 2021-12-23 11:39:32 +08:00
Shu Chen
ef7b2f5c70 Merge branch 'bugfix/otbr-example-panid' into 'master'
openthread: fix wrong panid range in border router example

See merge request espressif/esp-idf!16448
2021-12-22 04:12:30 +00:00
Martin Válik
4f7c36d859 Merge branch 'feature/usb-msc' into 'master'
USB MSC class

Closes IDFGH-4584

See merge request espressif/esp-idf!14573
2021-12-21 10:22:54 +00:00
baohongde
c6b7afccad components/bt: modify name of file 2021-12-21 10:55:06 +08:00
baohongde
d4aeef6ced components/bt: Update the document of demo bt discovery 2021-12-21 10:54:54 +08:00
Jiang Jiang Jian
2a8ef2103f Merge branch 'mesh/bugfix_fix_no_ip_issue' into 'master'
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted

See merge request espressif/esp-idf!16334
2021-12-20 12:24:24 +00:00
Martin Valik
73dce765d5 USB: added MSC Host Driver with VFS support
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Jiacheng Guo
85ea4947dc openthread: fix wrong panid range in border router example 2021-12-20 16:56:42 +08:00
Wei Tian Hua
7f06350400 Merge branch 'doc/optimize_hfp_doc' into 'master'
doc/: Optimize HFP Documents

Closes BT-2131

See merge request espressif/esp-idf!16258
2021-12-20 06:37:12 +00:00
Marius Vikhammer
c2d00810a6 Merge branch 'feature/esp8684_doc_build' into 'master'
docs: update docs to be able to build with esp8684

Closes IDF-4313

See merge request espressif/esp-idf!15849
2021-12-20 03:32:28 +00:00
Marius Vikhammer
82325f6037 docs: update docs to be able to build with esp8684 2021-12-20 10:32:49 +08:00
Rocha Euripedes
279c8aeb8a Merge branch 'example/asio_async_http_request' into 'master'
Examples/Asio:  Async http request

See merge request espressif/esp-idf!15285
2021-12-17 13:08:37 +00:00
Jakob Hasse
7572f75d6b refactor (cxx)!: I2C C++ classes use strong value types now
Added host-based I2C C++ unit tests

BREAKING CHANGE: I2C C++ interface changes, raw values for
    arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00
David Čermák
e8a4c4b440 Merge branch 'bugfix/mdns_add_result_count_async' into 'master'
mdns: Added results count to async API (GitHub PR)

Closes IDFGH-6340

See merge request espressif/esp-idf!16362
2021-12-16 12:48:39 +00:00
shenjun
f646e7759d esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted 2021-12-16 17:18:47 +08:00
Ondrej Kosta
81cd70cf7f Merge branch 'contrib/github_pr_7966' into 'master'
Changed argument pointer to correct data (GitHub PR)

Closes IDFGH-6303

See merge request espressif/esp-idf!16351
2021-12-16 08:03:19 +00:00
Armando
4dc0d6b2fe adc: support adc dma driver on all chips 2021-12-16 00:19:15 +00:00
Euripedes Rocha
2433816b14 EXAMPLE/ASIO Async HTTP request
Introduces a new example on ASIO to ilustrates on how to compose
async operation to build network related protocols.
2021-12-15 19:54:24 +08:00
Mahavir Jain
b208d832a3 Merge branch 'contrib/github_pr_8041' into 'master'
print Firmware Upgrade URL to help user debug (GitHub PR)

Closes IDFGH-6382

See merge request espressif/esp-idf!16387
2021-12-14 14:59:23 +00:00
Simon
1c82e6eac7 Merge branch 'ci/8684_build_ci' into 'master'
CI: Enable ESP8684 build (2nd stage) CI on master (except example build)

Closes IDF-4388

See merge request espressif/esp-idf!16197
2021-12-14 11:12:10 +00:00
Mahavir Jain
0054732991 Fix debug print to handle URL in internal testing scenarios as well 2021-12-14 14:29:02 +05:30
morris
d87b6ec7e2 Merge branch 'feature/gc9a01_driver_pr' into 'master'
lcd: added gc9a01 driver (PR + Example)

Closes IDFGH-6232

See merge request espressif/esp-idf!15985
2021-12-14 05:26:05 +00:00
František Nečas
7277e61672 example: Synchronize includes in BLE walkthrough
Previously, the includes in the initial walkthrough section were
different from the actual ones used includes in the code example.
Moreover, if one was following the walkthrough and only taking
inspiration from there rather than the code itself, with these includes,
the code wouldn't compile. Synchronize the source code file with the
walkthrough in this regard.

Signed-off-by: František Nečas <frantisek.necas@protonmail.com>
2021-12-14 00:42:10 +01:00
Mahavir Jain
1d0ae38c11 Merge branch 'bugfix/advanced_ota_redirect_url_failure' into 'master'
Fix for advanced_ota_redirect_url example failure in CI

See merge request espressif/esp-idf!16330
2021-12-13 13:13:40 +00:00
Cao Sen Miao
e81841318f CI: Enable ESP8684 build stage CI on master 2021-12-13 19:18:47 +08:00
Harshit Malpani
66a8615c18 Fix for advanced_ota_redirect_url example failure in CI 2021-12-13 10:50:43 +05:30
weitianhua
731a29c256 Fix Typos 2021-12-13 11:06:06 +08:00
Ondrej Kosta
774a26515a Fixed pcap summary print of 802.11 frame
802.11 Packet Type and Packet Subtype is now correctly decoded
2021-12-10 14:13:41 +01:00
David Cermak
c297301ecc mdns: Minor fix of API description and API usage 2021-12-10 13:25:03 +01:00
Armando
9896b65972 spi_slave_hd: fix stack variable bug in seg_slave example
Closes https://github.com/espressif/esp-idf/issues/7163
2021-12-10 17:54:29 +08:00
Tomas Rezucha
dd1b698075 usb: Add USB host CDC-ACM class driver 2021-12-09 10:28:46 +01:00
Eric Fontaine
53b0263342
print Firmware Upgrade URL to help user debug 2021-12-08 12:09:42 -05:00
baohongde
bcb5c7a759 components/bt: Modify demo bt_discovery 2021-12-08 14:55:13 +08:00
Bao Hong De
23b5e16e93 Merge branch 'bugfix/update_licenses' into 'master'
components/bt: Update licenses

Closes BT-2150

See merge request espressif/esp-idf!16273
2021-12-08 06:47:26 +00:00
Michael (XIAO Xufeng)
ae13597f39 Merge branch 'bugfix/ir_protocol_channel_number' into 'master'
rmt: update ir example to work with esp32s3 out of box

See merge request espressif/esp-idf!16198
2021-12-08 06:46:04 +00:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
Kevin (Lao Kaiyao)
9bc274b47b Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
i2s: deprecate confusing names

Closes IDF-4368

See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
Aditya Patwardhan
c66c18596c Merge branch 'fix/https_request_example_test' into 'master'
https_request_example: Update the example test to use local python server

See merge request espressif/esp-idf!15931
2021-12-07 11:14:34 +00:00
David Čermák
eacaa9823d Merge branch 'feature/remove_pppos' into 'master'
PPPoS/Examples: Remove internal component, examples and test

Closes IDF-4078

See merge request espressif/esp-idf!16251
2021-12-07 08:21:07 +00:00
Sudeep Mohanty
4143a3f572 Merge branch 'feature/update-freertos-module-handles-to-struct-type' into 'master'
freertos: update module handles to struct type

Closes IDF-3768, IDF-3769, and IDF-3770

See merge request espressif/esp-idf!15766
2021-12-07 04:40:29 +00:00
David Cermak
5a41e6afa9 Examples: Remove pppos_client example 2021-12-06 12:42:17 +01:00
Ondrej Kosta
914eafe2db Merge branch 'feature/ksz80xx_support_extension' into 'master'
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs

Closes IDFGH-6203 and IDF-3522

See merge request espressif/esp-idf!16024
2021-12-06 08:54:33 +00:00
David Čermák
13978c9556 Merge branch 'feature/asio_ssl_esp' into 'master'
asio: Use internal ssl context and engine impl

Closes IDF-3432

See merge request espressif/esp-idf!15523
2021-12-06 05:54:14 +00:00
Sudeep Mohanty
40c1f3e06e freertos: update module handles to struct type
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Aditya Patwardhan
36bb817b80 https_request_example:
Use local python server to test client session tickets
Update example test to test the client session tickets
Check for minimum heap info in the example test.
2021-12-05 02:54:52 +08:00
weitianhua
de47bf87d1 Optimize HFP Documents 2021-12-03 20:13:36 +08:00
David Cermak
d823106aa6 asio: Use internal ssl context and engine impl
Implement asio-ssl layer with three classes in asio::ssl::mbedtls:
* context -- replaces SSL_CTX, used mainly as a container to options,
certs, keys
* engine -- replaces SSL, implements the actual mbedtls operations
* bio -- implements openssl BIO specifically tailered to mbedtls and
its asio usage

Further updates:
* asio: Used shared_ptr<> for bio pairs
* asio: Add error checks to mbedtls-bio
* asio: Address potential ssl-context ownership issue
* asio: Address potential bio-engine ownership issue
2021-12-03 09:32:42 +01:00
Island
71c66abcb7 Merge branch 'ci/upload_build_example_for_release_test' into 'master'
ci: preserve artifacts for local test apps

See merge request espressif/esp-idf!15990
2021-12-02 11:25:44 +00:00
Fischerauer Christian
3fb83f2866 esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
* add support for KSZ8001, KSZ8021, KSZ8031, KSZ8051 and KSZ8061
* remove duplicate code
* simplify architecture to make the code base extensible (for future work)
2021-12-02 11:56:08 +01:00
morris
ed1fe1d5ba rmt: update ir example to work with esp32s3 out of box 2021-12-02 13:55:03 +08:00
Fu Hanxi
5c3bc247cb test: use pytest for examples/custom_bootloader 2021-12-02 10:55:24 +08:00
morris
c043c43247 lcd: gc9a01 meter example
We take the GC9A01 as an example to illustrate how to implement user's
own panel driver in their project folder, without making the esp-idf
dirty.
2021-12-01 22:22:19 +08:00
Roland Dobai
f4d1bb017a Merge branch 'feature/add-wl-support-fatfs' into 'master'
Add wear levelling support for fatfs partition generator

Closes IDF-4043 and IDF-2053

See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Chen Yudong
8fe7d74453 example: build ble_mesh_console example on c3 and s3 as well 2021-12-01 12:03:34 +08:00
Tomas Rezucha
ebaca79557 other: Move cbor, jsmn and libsodium to idf-component-manager
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components.
They are distributed via idf-component-manager, see
https://components.espressif.com.
2021-11-30 21:44:48 +01:00
Fu Hanxi
ef685456ab example: use pytest-embedded to replace examples/system/console test scripts 2021-11-30 09:42:12 +08:00
Martin Gano
7460deeae8 support for wear levelling in fatfs partition generator
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Jiang Jiang Jian
7878255f17 Merge branch 'bugfix/repeated_ftm_failures_issue' into 'master'
Fix FTM failures after repeated operations

Closes IDFGH-6015

See merge request espressif/esp-idf!15689
2021-11-29 07:39:22 +00:00
Mahavir Jain
59974b447c Merge branch 'feature/update_esp_cryptoauthlib_submodule' into 'master'
atecc608a_example: Update esp-cryptoauthlib submodule pointer

See merge request espressif/esp-idf!16077
2021-11-26 07:17:34 +00:00
Wang Meng Yang
28d5d5787b Merge branch 'nimble_spp' into 'master'
NimBLE: BLE example for SPP service

See merge request espressif/esp-idf!14998
2021-11-26 06:02:27 +00:00
Wang Meng Yang
2269a962c5 Merge branch 'nimble/add_throughput_example' into 'master'
NimBLE: Add NimBLE throughput demo examples

Closes BT-532

See merge request espressif/esp-idf!9476
2021-11-26 06:01:04 +00:00
Prasad Alatkar
bdf96f8621 NimBLE: Add NimBLE throughput demo examples 2021-11-26 06:01:01 +00:00
Aditya Patwardhan
6a44accdbb atecc608a_example: Update esp-cryptoauthlib submodule pointer
*Provide configuratble option to I2C address of the secure element.
2021-11-26 12:38:32 +08:00
David Čermák
07f502410a Merge branch 'bugfix/sntp_example_docs' into 'master'
sntp example - updated ntp over dhcp code/comments (GitHub PR)

Closes IDFGH-6147

See merge request espressif/esp-idf!15897
2021-11-25 11:37:34 +00:00
Nachiket Kukade
c3d971c52e esp_wifi: Update wifi lib
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
   unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
   while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
   avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
   timeout issue in ASAP mode

Closes https://github.com/espressif/esp-idf/issues/7702

Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
Christoph Rackwitz
4af1da0f21 esp_wifi: Reset event bits in ftm example to avoid repeated failures
Closes https://github.com/espressif/esp-idf/pull/7773
2021-11-25 15:48:34 +05:30
Tomáš Bravenec
25934167bd Changed argument pointer to correct data 2021-11-25 09:55:25 +01:00
David Cermak
020047b0f9 Examples/lwip: sntp example - Make SNTP server configurable
Also updates NTP example test to allow more attempts
2021-11-25 08:50:29 +01:00
Shu Chen
87d19d7ef9 Merge branch 'feature/Add_zigbee_light_example' into 'master'
zigbee: add light example

See merge request espressif/esp-idf!15458
2021-11-25 02:14:53 +00:00
Shu Chen
a08d2732d5 Merge branch 'bugfix/esp32h2_iperf_udp_WTD_trigger' into 'master'
fix watch dog trigger when iperf udp is running

See merge request espressif/esp-idf!15625
2021-11-25 01:56:26 +00:00