Commit Graph

3082 Commits

Author SHA1 Message Date
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
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
Darian
68df7d2ddf Merge branch 'bugfix/gpio_example_typo' into 'master'
Fix typo in gpio_example_main.c (GitHub PR #7823)

Closes IDFGH-6145

See merge request espressif/esp-idf!15974
2021-11-24 20:13:55 +00:00
Darian
fab2bfbb90 Merge branch 'bugfix/console_example_chip_model_github_pr_7717' into 'master'
Console example should print correct model name (GitHub PR #7717)

Closes IDFGH-6031

See merge request espressif/esp-idf!15979
2021-11-24 19:39:35 +00:00
Min Seok Kim
020f20e45e gpio: Fixed typo in generic_gpio example
Closes https://github.com/espressif/esp-idf/pull/7823

[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 00:05:23 +08:00
david zuhn
0742790408 console: Console example prints the correct chip model
This commit updates the console example's components so that
the correct chip model name is printed instead of "Unknown"

Closes https://github.com/espressif/esp-idf/pull/7717

[darian@espressif.com: Update chip names, used const char, updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 00:04:56 +08:00
cvvletter
dee4424a45 docs: fix double spelling error in bt_spp_initiator
when checking the idf.py menuconfig, we see that this path is incorrectly spelled
2021-11-25 00:03:54 +08:00
isha pardikar
d35a9a09dc Merge branch 'nimble_spp' of ssh://gitlab.espressif.cn:27227/espressif/esp-idf into nimble_spp
Nimble: Added BLE SPP Service

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

See merge request espressif/esp-idf!14998
2021-11-24 16:04:27 +05:30
radim.karnis
5d55d34481 docs: Update references to esptool docs 2021-11-24 10:28:39 +01:00
laokaiyao
fa4e77eb44 i2s: deprecate confusing names 2021-11-24 13:21:13 +08:00
Harshit Malpani
b93d63b067 Fix 'address already in use' exception in OTA tests
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2021-11-24 11:32:15 +08:00
zhangwenxu
0fe32adb58 iperf: handle NO_MEM error in OpenThread iperf
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Emil Muratov
696acf5e3f Examples/lwip: sntp example - updated ntp over dhcp code/comments
Apply suggestions from code review
Co-authored-by: david-cermak <38914379+david-cermak@users.noreply.github.com>

Merges https://github.com/espressif/esp-idf/pull/7824
2021-11-23 12:59:58 +01:00
Aditya Patwardhan
5d61eea847 efuse_example_test: Fix the example test ( broken due to latest change
in info message)

*Unify the log messages when UART ROM Download mode is kept enabled
2021-11-23 15:21:32 +05:30
Hrudaynath Dhabe
75f32ffdcf Merge branch 'feature/support_eap_fast' into 'master'
esp_wifi: Add support for EAP-FAST authentication method.

Closes WIFI-2820 and WIFI-4198

See merge request espressif/esp-idf!14232
2021-11-23 06:22:22 +00:00
Mahavir Jain
780879dc93 Merge branch 'feature/enable_cert_expiry_check' into 'master'
feature: checking certificate expiry

Closes IDF-2572

See merge request espressif/esp-idf!15378
2021-11-23 05:50:22 +00:00
Hrudaynath Dhabe
4cad64babf esp_wifi: Add example code for EAP-FAST. 2021-11-22 17:33:36 +05:30
Pedro Minatel
a18cb70905 Merge branch 'example/nimble_readme_cleanup' into 'master'
docs/examples Changes on README files on Bluetooth Examples

Closes DO-76

See merge request espressif/esp-idf!13579
2021-11-22 11:12:40 +00:00
Island
704994785a Merge branch 'docs/examples_bluedroid_ble50' into 'master'
Readme for the bluedroid ble50 example with tutorial of walkthrough example

See merge request espressif/esp-idf!15606
2021-11-22 06:29:56 +00:00
Mahavir Jain
7207a3c4d5 Merge branch 'bugfix/improve_ota_test_success_rate' into 'master'
OTA examples: Reduce example test failure rate

See merge request espressif/esp-idf!15953
2021-11-22 04:49:46 +00:00
Jakob Hasse
a052b37ab1 Merge branch 'bugfix/cxx_gpio_explicit_constructor' into 'master'
bugfix (cxx)!: added missing explicit for some strong value types

Closes IDF-4234

See merge request espressif/esp-idf!16015
2021-11-22 02:57:12 +00:00
Shubham Kulkarni
d959a35e28 advanced_https_ota: Move example tests on ethernet runners
Move BT tests to nightly run
2021-11-19 15:07:31 +05:30
Shubham Kulkarni
91ccac08f8 native_ota_example: Move all example tests to ethernet based runners 2021-11-19 15:07:31 +05:30
Shubham Kulkarni
40a72ef3cf simple_ota_example: Move redundant and failing example_tests to nightly run 2021-11-19 15:07:31 +05:30
Jakob Hasse
ce7cdeffb4 bugfix (cxx)!: added missing explicit for some strong value types
BREAKING CHANGE: Users who have been using the GPIO and SPI classes
                 may need to revisit their code as it's now not allowed
                 anymore to pass raw numbers for classes like MOSI
                 or GPIONum.
2021-11-19 16:07:32 +08:00
satish.solanke
b523256c49 Readme for the bluedroid ble50 example with tutorial of walkthrough example. 2021-11-19 12:04:47 +05:30
Harshit Malpani
cfa896ec54 feature: Checking Certificate Expiry 2021-11-19 09:43:27 +05:30
Anton Maklakov
a7347cdf1a Merge branch 'feat/add_track_startup_time_to_startup_time_example' into 'master'
feat: Added tracking startup_time example startup times

Closes IDFCI-823

See merge request espressif/esp-idf!14976
2021-11-19 03:08:52 +00:00
Darian
098dfe8a08 Merge branch 'bugfix/doc_for_ipc_isr' into 'master'
doc: Update esp_ipc documentation

See merge request espressif/esp-idf!15661
2021-11-18 17:01:35 +00:00
KonstantinKondrashov
209702d055 esp_ipc: Update documentation and API descriptions
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-11-18 21:34:50 +08:00
Jakob Hasse
de6bc33f3c refactor (cxx): C++ I2C example now uses MPU9250 instead of MCP9808
Also fixes the documentation of I2CTransfer::sync_transfer().
2021-11-18 19:07:44 +08:00
Ondrej Kosta
6d4ff2c05e Merge branch 'feature/eth_ioctl_speed_duplex' into 'master'
esp_eth:  esp_eth_ioctl update

Closes IDF-1240 and IDF-4060

See merge request espressif/esp-idf!15607
2021-11-16 11:56:18 +00:00
pedro.minatel
cb646ff068 docs: Rebase and typos fixed for the bluetooth README files 2021-11-16 16:56:47 +08:00
Ondrej Kosta
d1f2a3dfcc esp_eth: added ioctl options to set Ethernet speed and duplex mode
esp_eth_ioctl third argument always acts as untyped pointer to memory now
2021-11-16 08:34:07 +01:00
morris
2e008825a9 Merge branch 'feat/rm_makefiles' into 'master'
Build & config: Remove leftover files from the unsupported make build system

Closes IDF-4273 and IDF-2827

See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
Mahavir Jain
1e6d07d80c examples: esp_timer: disable secondary console for S3/C3 that can affect test timing 2021-11-12 17:27:07 +05:30
Roland Dobai
337d9e68a4 Storage: Remove makefile reference from spiffsgen README 2021-11-11 15:32:36 +01:00
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
likunqiao
a9146920b9 Zigbee: Add light example
* provide light example for acting as zigbee coordinator, router and end-device
* remove unused componenent for example usage
* remove unused variable
* clean up unused header include for example
* update the license header
* update copyright
* Add readme for instruction adding esp-zboss-lib component
* esp-idf:update copy_right_check ignore file
* CI: fix the ci check error from pipeline
* sdkconfig: default set change for better user use
* use Button (BOOT) as switch input
* update the statemachine for debouncing
* esp-zboss-lib: support lib 0.0.2
* fix warning issue from example
2021-11-11 19:03:01 +08:00
Roland Dobai
016198f68f Merge branch 'feat/remove_make' into 'master'
Build & config: Remove the "make" build system

Closes IDF-4272

See merge request espressif/esp-idf!15818
2021-11-10 14:13:25 +00:00
Roland Dobai
9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Andy Carle
3e9cdbdedf enc28j60: allow multicast packets in default enc28j60 configuration 2021-11-09 01:34:15 -08:00
Wang Meng Yang
f5a2fc578d Merge branch 'bugfix/hfp_demo_audio_not_sine' into 'master'
bugfix/fix hfp demo audio not sine

Closes IDFGH-6114

See merge request espressif/esp-idf!15745
2021-11-09 03:01:40 +00:00
Alex Lisitsyn
0586be45d2 modbus: update to support other targets 2021-11-08 16:28:55 +00:00
Omar Chebib
c49d9e152c Merge branch 'bugfix/fix_eventfd_example' into 'master'
Example: Fix eventfd example test and add a diagram for explaining it

Closes IDFCI-934

See merge request espressif/esp-idf!15800
2021-11-08 11:12:38 +00:00
Kevin (Lao Kaiyao)
3399255c34 Merge branch 'feature/github-7661' into 'master'
mck pin not defined in i2s examples

Closes IDFGH-5973 and IDFGH-5974

See merge request espressif/esp-idf!15452
2021-11-08 09:32:14 +00:00
Omar Chebib
0a3cdd4e4f Example: Fix eventfd example test and added a diagram to explain printed values 2021-11-08 14:16:04 +08:00
morris
16677b0d3c global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00