Commit Graph

2930 Commits

Author SHA1 Message Date
David Čermák
25e14bd8d9 Merge branch 'feature/esp_netif_ppp_params' into 'master'
Examples: Add esp_modem example to experimental cxx components

Closes IDF-1923, IDFGH-217, IDFGH-2608, IDFGH-4838, IDFGH-1229, IDFGH-3848, and IDFGH-3809

See merge request espressif/esp-idf!13161
2021-09-07 18:16:13 +00:00
Shu Chen
dc71fa895d Merge branch 'bugfix/skip_threadnetwork_config' into 'master'
ot_br_example: skip network configuration if dataset is active

See merge request espressif/esp-idf!15051
2021-09-07 12:48:53 +00:00
David Cermak
6cc07ecd58 examples: Add experimental modem example
* esp_modem cxx example to use esp_event_cxx (using only sync event)
* Use 0.1.9 version of the esp_modem to support CMake 3.5
* Add supported targets ESP32 and ESP32s2

Closes https://github.com/espressif/esp-idf/issues/1847
Closes https://github.com/espressif/esp-idf/issues/4688
Closes https://github.com/espressif/esp-idf/issues/6637
Closes https://github.com/espressif/esp-idf/issues/5754
Closes https://github.com/espressif/esp-idf/issues/5722
2021-09-07 13:27:50 +02:00
David Čermák
803c0bc380 Merge branch 'feature/esp_mqtt_cxx' into 'master'
Adds a C++ Mqtt client wrapper over mqtt_client

See merge request espressif/esp-idf!11634
2021-09-07 09:00:31 +00:00
liqigan
1c15c9207c 1. transparent HID device
2. add esp API for HID
3. add PM config for HID
4. add HID device demo

Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
WangQixiang
321f301e3e ot_br: skip network configuration if dataset is active 2021-09-07 16:18:48 +08:00
Shu Chen
1e0219f16f Merge branch 'feature/add_openthread_iperf' into 'master'
openthread: add iperf example for ot-network test

See merge request espressif/esp-idf!14635
2021-09-07 02:07:44 +00:00
Roland Dobai
e37e877374 CI: Check the number of detected cores of apptrace 2021-09-06 21:52:27 +03:00
Rahul Tank
351653f6b3 Blufi [Nimble] Add fix to crash while running blufi on ESP32C3
A race condition is occuring while creating task on ESP32C3. Task is
getting created, but the function returns with a delay. Since task was
created, events start getting posted, but existing application
initializes certain threads / callbacks after stack initialization.

The same application works in different ways for bluedroid and nimble.
Hence modified the order during initialization accordingly.
2021-09-06 23:01:51 +08:00
Mahavir Jain
bc3c9d27f6 Merge branch 'feature/esp-mqtt_esp32s3_support' into 'master'
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature

Closes IDF-3859

See merge request espressif/esp-idf!15065
2021-09-06 09:52:29 +00:00
Guo Jia Cheng
8d51f554db Merge branch 'feature/otbr-discovery-delegate' into 'master'
openthread: support discovery delegate in border router

See merge request espressif/esp-idf!15041
2021-09-06 09:29:09 +00:00
zhangwenxu
2be77287b3 openthread: add iperf example for ot-network test 2021-09-06 15:32:38 +08:00
Sachin Billore
667017d517 ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Jiacheng Guo
51372704bf openthread: support discovery delegate in border router 2021-09-03 19:07:59 +08:00
Mahavir Jain
d5f58ab135 Merge branch 'feature/captive_portal' into 'master'
Captive Portal Example

Closes IDFGH-5347, IDFGH-1868, and IDF-1123

See merge request espressif/esp-idf!14726
2021-09-03 09:04:18 +00:00
Wang Meng Yang
e09818bd33 Merge branch 'bugfix/btdm_fix_some_Document_Description_Error' into 'master'
component/bt: fix some ble document description error

See merge request espressif/esp-idf!14816
2021-09-03 01:40:15 +00:00
Euripedes Rocha Filho
d53f0e074c experimental/mqtt_cxx: Adds a C++ Mqtt client wrapper
- Base class with separated event handlers for each Mqtt client event.
- Topic matcher added to support data events.
- Filter class to allow only mqtt valid topic filters.
- Initial code for unit test on the host.
2021-09-02 11:41:04 -03:00
Michael (XIAO Xufeng)
db33e957b8 Merge branch 'bugfix/gpio_example_config_struct_zero_init' into 'master'
example: fixed the issue that config struct is not properly initialized

See merge request espressif/esp-idf!15007
2021-09-02 12:59:55 +00:00
XieWenxiang
461f2bd186 component/bt: fix some ble document description error 2021-09-01 20:39:13 +08:00
laokaiyao
04970fe487 iperfUtility: add udp rx bandwidth scan 2021-09-01 19:11:28 +08:00
laokaiyao
8d18a9c614 emac: optimise iperf performane 2021-09-01 19:11:28 +08:00
Ivan Grokhotkov
05d0298656 Merge branch 'feature/add_component_manager_python_dependency' into 'master'
Build System: Add idf-component-manager python dependency

Closes PACMAN-172 and DOC-1623

See merge request espressif/esp-idf!13432
2021-09-01 11:03:33 +00:00
morris
8f3dadf46a Merge branch 'refactor/rom_tjpgd_unify' into 'master'
refactor/rom: unify tjpgd library

Closes IDF-3615

See merge request espressif/esp-idf!14977
2021-09-01 10:05:11 +00:00
SalimTerryLi
23e23b697c
rom/tjpgd: unify library & add rom patch
remove external tjpgd library inside example

enable tjpgd decoding on all chips
2021-09-01 14:42:17 +08:00
Suren Gabrielyan
a06357ab62 examples: Asio tests consolidation to use loopback interface
Closes IDF-3072
2021-08-31 23:39:18 +04:00
Jon Shallow
ed3d440428 libcoap_430: Update code for use with libcoap 4.3.0
Remove no longer needed code from coap_server/coap_client.

Add in multicast support for coap_server/coap_client.

Update libcoap logging to use esp-idf logging

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-08-31 12:05:30 +08:00
Michael (XIAO Xufeng)
b910724ea9 example: fixed the issue that config struct is not properly initialized 2021-08-30 22:59:36 +08:00
Sergei Silnov
7fc28f7883 examples: Add the component manager example 2021-08-30 13:23:23 +02:00
Shu Chen
342d1e5ee4 esp32h2: enable blink example 2021-08-30 13:10:57 +08:00
Martin Vychodil
0bcde21c72 Merge branch 'bugfix/sdcard_example_format_timeout_v4.4' into 'master'
CI: [Examples/Storage] provide sufficient timeout for SD card formatting (v4.4)

Closes IDF-3741

See merge request espressif/esp-idf!14886
2021-08-27 11:56:59 +00:00
Shu Chen
89b316b6e0 Merge branch 'bugfix/border-agent-mesh-local-prefix' into 'master'
openthread: fix mesh local prefix missing in border agent example

See merge request espressif/esp-idf!14920
2021-08-27 09:10:08 +00:00
Mahavir Jain
3850eba152 Merge branch 'feature/local_control_sec1' into 'master'
Added support for security1 in local control

See merge request espressif/esp-idf!13684
2021-08-27 08:31:33 +00:00
Jiacheng Guo
2213a35156 openthread: fix mesh local prefix missing in border agent example 2021-08-27 14:21:47 +08:00
Ondrej Kosta
300618e5be Merge branch 'feature/dual_eth' into 'master'
esp_eth: add support for multiple Ethernets modules at a time

Closes IDFGH-5596

See merge request espressif/esp-idf!14640
2021-08-27 06:11:48 +00:00
Shu Chen
ab0d0b7dd2 Merge branch 'festure/add_ot_rcp_base_master' into 'master'
add ot-rcp

See merge request espressif/esp-idf!14609
2021-08-26 11:44:28 +00:00
Vikram Dattu
5691c9a8e8 Added support for security1 in local control
1. Added config options to chose from protocom security.
    It can be chosen 0/1 or custom.
    Possible to set POP as well

2. Added support in `esp_local_ctrl.py` test script for sec_ver selection

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Michael (XIAO Xufeng)
375145ecdb Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
mcpwm: bldc hall example

Closes IDF-3648

See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
Shu Chen
e770817dc7 openthread: refine ot_rcp example documentation and APIs 2021-08-26 16:10:16 +08:00
wangmengyang
c053ef0541 examples: added support of ESP32-S3 chip in controller_hci_uart example 2021-08-26 14:24:32 +08:00
morris
8bb36a432d Merge branch 'bugfix/mcpwm-capture-hcsr04-example' into 'master'
Bugfix/mcpwm hc-sr04 capture example

Closes IDFGH-5699

See merge request espressif/esp-idf!14941
2021-08-25 13:21:42 +00:00
morris
aafb628683 Merge branch 'examples/network_folder' into 'master'
examples: Created a new folder structure for generic network examples

Closes IDF-3311

See merge request espressif/esp-idf!14513
2021-08-25 11:45:21 +00:00
zhangwenxu
4175aa0892 openthread: add ot_rcp example 2021-08-25 18:04:45 +08:00
SalimTerryLi
6c272d6515
bugfix: hc-sr04 example: init queue before setup ISR
Closes https://github.com/espressif/esp-idf/issues/7419
2021-08-25 16:35:08 +08:00
David Čermák
2417b9361f Merge branch 'feature/lwip_sntp_max_servers' into 'master'
lw-ip: Add config option for sntp max servers (GitHub PR)

Closes IDFGH-5616

See merge request espressif/esp-idf!14590
2021-08-25 08:10:21 +00:00
Guo Jia Cheng
e5766eb3d3 Merge branch 'feature/mdns-async-callback' into 'master'
mdns: add notification callback for async APIs

See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
David Cermak
e54523708d Merge branch 'master' into feature/lwip_sntp_max_servers 2021-08-24 18:16:07 +02:00
Ondrej Kosta
ef30384902 esp_eth: add support for multiple Ethernets modules at a time
Ethernet driver events properly bounded with ESP NETIF actions to support multiple Ethernet modules used at a time.

Components using Ethernet updated to conform with new API.

Closes https://github.com/espressif/esp-idf/issues/7318
2021-08-24 17:10:36 +02:00
morris
0dbe872542 mcpwm: bldc hall example 2021-08-24 15:38:46 +08:00
Laukik Hase
dd3d27a03c Added Feature: Example for Captive Portal system.
Feature note: Sets up a simple DNS server that answers all questions with the ESP softAP's IP as well as a HTTP server which redirects all requests to a captive portal welcoming page.
Triggers captive portal detection (log-in screen popup) for iOS, Android and Windows.
Includes example test for testing DNS redirect and HTTP redirect.

Closes https://github.com/espressif/esp-idf/issues/7099
Closes https://github.com/espressif/esp-idf/issues/4075
2021-08-24 10:47:14 +05:30
Guo Jia Cheng
139bf4af64 Merge branch 'feature/add-mdns-result-attributes' into 'master'
mdns: add more mdns result attributes

See merge request espressif/esp-idf!14674
2021-08-23 09:28:19 +00:00
Martin Vychodil
a866779070 Examples/Storage: sufficient timeout for SD formatting
Too short timeouts often cause useless failures on large-capacity SDs (16GB+)
Fixed by adding 60 sec timeout on new "Filesystem mounted" checkpoint

JIRA IDF-3741
2021-08-23 06:13:41 +02:00
Roland Dobai
98a6538877 Merge branch 'feature/gcov_dump_in_thread' into 'master'
gcov dump in a special thread

Closes OCD-216 and IDF-1034

See merge request espressif/esp-idf!13328
2021-08-20 10:22:58 +00:00
Erhan Kurubas
56176b69dd gcov: enable single core tests 2021-08-20 15:00:55 +08:00
Erhan Kurubas
f6f7ab2e7f gcov: readme update for ESP32-S2 2021-08-20 15:00:55 +08:00
Shubham Kulkarni
5eb1570a01 advanced_https_ota_example: Enable debug logs for partial HTTP download test 2021-08-20 09:35:40 +05:30
morris
71d475149d lcd: update doc unit test and example to support 8-line spi 2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041 spi_master:support octal mode for esp32s2 and esp32s3
Add support for 8-line spi for lcd on esp32s2 and esp32s3

Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
morris
aa434de6dd Merge branch 'bugfix/examples_connect_openeth' into 'master'
examples/protocols: fix compilation when CONFIG_EXAMPLE_USE_OPENETH=y

See merge request espressif/esp-idf!14792
2021-08-19 03:05:07 +00:00
Jiacheng Guo
986603cf07 mdns: add notification callback for async APIs 2021-08-17 16:53:37 +08:00
Jakob Hasse
b3271a51af Merge branch 'bugfix/common_components_linux' into 'master'
[build system]: Fixed common requirement for Linux target

Closes IDF-3638

See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Marius Vikhammer
342da3f86b Merge branch 'bugfix/readme_links_precheck' into 'master'
ci: always run check_readme_links

See merge request espressif/esp-idf!14796
2021-08-17 04:35:35 +00:00
wangmengyang
ef2a871e2c controller_hci_uart: rename the example with suffix "_esp32" to differentiate with that of ESP32-C3 2021-08-17 09:49:15 +08:00
wangmengyang
5eb098393b controller_hci_uart: fixed the deprecated Kconfig options in the example 2021-08-17 09:49:15 +08:00
Cao Sen Miao
f6b1e68675 Merge branch 'example/bringup_s3_blink' into 'master'
example: update GPIO num for blink example

See merge request espressif/esp-idf!14801
2021-08-16 08:55:40 +00:00
Zim Kalinowski
1c690aa5d2 Merge branch 'feature/bootloader_components_kconfig_in_menuconfig' into 'master'
bootloader: Kconfig files in bootloader_components is now part of menuconfig

Closes IDF-3696

See merge request espressif/esp-idf!14740
2021-08-16 06:01:50 +00:00
Cao Sen Miao
63d58cb47e example: update GPIO num for blink example 2021-08-16 12:11:55 +08:00
Marius Vikhammer
6fc8c484ea ci: always run check_readme_links 2021-08-16 10:29:20 +08:00
Ivan Grokhotkov
ece73a3e55 examples/protocols: fix compilation when CONFIG_EXAMPLE_USE_OPENETH=y
The code checked CONFIG_ETH_USE_SPI_ETHERNET (which is usually set),
but CONFIG_EXAMPLE_ETH_SPI_xxx_GPIO options are only defined if
CONFIG_EXAMPLE_USE_SPI_ETHERNET is set. Fix the ifdef accordingly.
Regression from aea901f0.
2021-08-15 21:58:42 +05:00
Jakob Hasse
7029f0537e [build system]: Fixed common requirement for Linux 2021-08-13 16:50:29 +08:00
Jakob Hasse
ca12c92877 [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
morris
49acb81a87 Merge branch 'feature/pid_speed_control_of_brushed_DC' into 'master'
MCPWM example: DC motor speed control

Closes IDF-3142

See merge request espressif/esp-idf!13392
2021-08-13 04:23:48 +00:00
Omar Chebib
339454ff19 bootloader: Kconfig files in bootloader_components is now part of menuconfig
It is now possible to configure the options (Kconfig) of bootloader components
directly from the menuconfig
2021-08-12 10:43:00 +08:00
Nachiket Kukade
09ab053ea1 esp_wifi: Fix some PMF and FTM issues
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
   with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Jiacheng Guo
76ec76c12c mdns: add more mdns result attributes 2021-08-11 19:02:05 +08:00
Zim Kalinowski
32ee0bdb29 Merge branch 'refactor/move_mocks_to_tools' into 'master'
[mocks]: move mocks dir to tools/

Closes IDF-3675

See merge request espressif/esp-idf!14719
2021-08-11 06:27:19 +00:00
morris
f0fab687ad pid_ctrl: abstract into example common component 2021-08-10 15:32:06 +08:00
pedro.minatel
50adfe8eab Added support for the ESP32-S3 in the blink example 2021-08-10 15:32:02 +08:00
laokaiyao
b6c5a6ee8b mcpwm: DC motor PID control example 2021-08-10 15:31:45 +08:00
Jakob Hasse
88eb4fa6a6 [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
morris
768af636a6 mcpwm: updated brushed dc example 2021-08-10 10:42:12 +08:00
Jakob Hasse
69ea35ffac Merge branch 'feature/freertos_mock' into 'master'
[freertos] Freertos mock

See merge request espressif/esp-idf!14493
2021-08-09 02:52:55 +00:00
Jiang Jiang Jian
6e1f8a68b9 Merge branch 'feature/support_esp32s3_wifi_lightsleep' into 'master'
support esp32s3 wifi lightsleep

Closes IDF-1781

See merge request espressif/esp-idf!14569
2021-08-06 12:51:46 +00:00
Jakob Hasse
c9984faaef [mocks]: freertos mock
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Wang Meng Yang
8fc30ece07 Merge branch 'component_bt/add_spp_faq' into 'master'
Component_bt/Add FAQ in SPP Demo README

Closes FCS-611

See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
Michael (XIAO Xufeng)
947980ecac Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
uart: uart_set_pin function will now use IOMUX whenever possible

Closes IDF-3183

See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Shu Chen
ee6b1736c6 Merge branch 'feature/add-openthread-docs' into 'master'
docs: add OpenThread docs

See merge request espressif/esp-idf!14488
2021-08-05 03:56:43 +00:00
Li Shuai
4ae9428cb7 light sleep: add wifi power save example for esp32s3 2021-08-04 21:31:45 +08:00
liqigan
d8023ba09c add FAQ in SPP demo README 2021-08-04 20:49:51 +08:00
Kevin (Lao Kaiyao)
8131d6f46d Merge branch 'feature/esp32s3_i2s_support' into 'master'
Feature(I2S): Support esp32s3 & esp32c3 I2S driver

Closes IDF-1769, IDF-2098, IDF-3271, IDF-2337, and IDF-3463

See merge request espressif/esp-idf!10655
2021-08-04 06:08:09 +00:00
Jeff Kent
02bc5df476
Typo fix in cmd_nvs.c 2021-08-03 23:51:55 -05:00
Omar Chebib
779e7400b0 uart: uart_set_pin function will now use IOMUX whenever possible
By using IOMUX instead of GPIO Matrix for UART, it is now possible
on ESP32 boards to use the UART as a wake up source even if it is
not used as a console.
For other boards where this issue was not present, using IOMUX has
the advantage to be faster than using GPIO matrix, so a highest
baudrate can be used
2021-08-04 12:48:30 +08:00
laokaiyao
f7f8c9c11f driver/i2s: support i2s on c3 and s3
1. Support i2s on esp32c3 and esp32s3
    2. Refactor i2s_config_t to avoid breaking change
    2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
    4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
houwenxiang
2f1247e1c4 driver: support I2S on ESP32-S3 & ESP32-C3
1. refactor I2S driver.
  2. support TDM mode for esp2s3 & esp32c3.
2021-08-04 10:20:03 +08:00
Jakob Hasse
06956d46c1 [cxx]: GPIO CXX wrappers, experiemental CI rule
* Wrapper class for simple GPIO interaction
  like read/write without ISRs.
* Added rule to provoke builds after changes in
  the experimental C++ component.
2021-08-03 19:51:21 +08:00
Konstantin Kondrashov
4972605b16 esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt 2021-08-03 14:35:29 +08:00
Jiacheng Guo
ba5b7ddded docs: add OpenThread docs 2021-08-02 17:17:38 +08:00
Emil Muratov
34be62665c lwip: menuconfig option to enable ntp servers option request via DHCP
This could be toggled on/off, off is the default.
SNTP debug option. Example update for ntp via DHCP

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-08-02 01:21:35 +03:00
Michael (XIAO Xufeng)
f26006a3bc Merge branch 'feature/ledc_fade_callback' into 'master'
ledc: Add a callback for LEDC fade end

Closes IDF-2475 and IDF-3222

See merge request espressif/esp-idf!14302
2021-07-31 08:52:00 +00:00
shenjun
42a1be10db esp_wifi_mesh: add non mesh connections access 2021-07-30 22:17:30 +08:00
Armando (Dou Yiwen)
f5266c1066 Merge branch 'feature/support_spi_example_on_s3' into 'master'
spi: support spi example on s3

See merge request espressif/esp-idf!14517
2021-07-30 03:51:26 +00:00
Armando
6aef940cde spi: support spi example on s3 2021-07-30 10:14:16 +08:00
Marius Vikhammer
172ce2881e docs: update readme link to not use parentheses
CI script for checking links failed to parse link to due to parentheses.
Bypass issue by encoding the symbol instead.
2021-07-30 09:19:04 +08:00
morris
f907009056 Merge branch 'refactor/cleanup_mcpwm_examples' into 'master'
mcpwm: more clean up (example + LL + doc)

Closes IDF-3295

See merge request espressif/esp-idf!12798
2021-07-29 10:41:07 +00:00
songruojing
9d098cc9bd ledc: Add a callback for LEDC fade end
This commit adds a feature where users can register a callback that is
called when an LEDC fade completes.
2021-07-29 17:56:22 +08:00
Armando (Dou Yiwen)
3c3e802048 Merge branch 'feature/essp_spi_driver' into 'master'
spi: essl spi driver and spi_slv_hd append mode example

Closes IDF-1698, IDF-2279, and IDF-2932

See merge request espressif/esp-idf!12104
2021-07-29 09:53:10 +00:00
Michael (XIAO Xufeng)
5569dedd7f Merge branch 'bugfix/i2c_example_esp32s3' into 'master'
i2c: bringup on ESP32-S3

Closes IDF-3232 and IDF-3292

See merge request espressif/esp-idf!13985
2021-07-29 07:01:38 +00:00
Ondrej Kosta
bf7b1689de Merge branch 'feature/lan87xx_support' into 'master'
Feature/lan87xx support

Closes IDFGH-5345

See merge request espressif/esp-idf!14142
2021-07-28 16:27:58 +00:00
Yuan Jian Min
3d86a9fd2e Merge branch 'bugfix/fix_eth2ap_example_crash' into 'master'
eth2ap: Fix eth2ap example crash issue

See merge request espressif/esp-idf!14495
2021-07-28 11:55:17 +00:00
Ondrej Kosta
4e77430107 examples: Update Ethernet examples to use new PHY LAN87xx init function
Ethernet examples device usage and Kconfig options synchronized
2021-07-28 19:34:05 +08:00
Armando
b320945908 spi_slave_hd: add append mode example 2021-07-28 18:36:13 +08:00
Marius Vikhammer
49eb42928a docs: fix broken link in usb example readme 2021-07-28 12:44:40 +08:00
He Yin Ling
2849f3bf44 Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
Test: add ethernet iperf example test case

Closes TCI-463

See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d test: add ethernet iperf example test case 2021-07-28 09:39:02 +08:00
yuanjm
c2bb7bf9a2 eth2ap: Fix eth2ap example crash issue
Closes https://github.com/espressif/esp-idf/issues/7260
2021-07-27 20:00:39 +08:00
David Čermák
b35ff492cf Merge branch 'bugfix/pppos_client_dce_handle_response_static' into 'master'
Examples: esp_modem_dce_service: Make esp_modem_dce_handle_* functions static (GitHub PR)

Closes IDFGH-5542

See merge request espressif/esp-idf!14512
2021-07-27 08:03:39 +00:00
Michael (XIAO Xufeng)
18bee2380a Merge branch 'refactor/usb_device_driver' into 'master'
tiny_usb: support on esp32-s3

Closes IDF-3234

See merge request espressif/esp-idf!14293
2021-07-26 16:21:55 +00:00
suda-morris
039cb93787 mcpwm: update bldc example 2021-07-26 22:32:45 +08:00
morris
251afb4a79 mcpwm: update servo control example 2021-07-26 22:32:45 +08:00
Martina
1e5a2f92c3 feature/update_cmake: Update of outdated CMake version 3.16.4->3.20.3 and CCache version 3.7->4.3 in tools.json
Closes https://github.com/espressif/esp-idf/issues/7083
2021-07-26 21:30:59 +08:00
Ondrej Kosta
47c4e5d63e Merge branch 'bugfix/enc28j60' into 'master'
enc28j60: fix stability of the ENC28J60 Ethernet driver example

Closes IDFGH-5412, IDFGH-5368, and IDFGH-2673

See merge request espressif/esp-idf!14475
2021-07-26 11:50:59 +00:00
Ondrej Kosta
4ac24549ad examples: create a new folder structure for generic network examples
simple_sniffer was moved from /wifi folder to /network folder

network_tests was moved from /system to /network folder

README's were updated accordingly to reflect new structure
2021-07-26 12:25:19 +02:00
Axel Lin
d6248eaf9b Examples: esp_modem_dce_service: Make esp_modem_dce_handle_* functions static
These functions are unlikely to be reused, make them static.
Take esp_modem_dce_handle_cbc as an example, it's internal implementation
of esp_modem_dce_get_battery_status, expose esp_modem_dce_get_battery_status
function is enough.

Signed-off-by: Axel Lin <axel.lin@gmail.com>

Merges https://github.com/espressif/esp-idf/pull/7266
2021-07-26 11:48:15 +02:00
Ondrej Kosta
ae2da1e235 enc28j60: fix stability of the ENC28J60 Ethernet driver example
Resolved possible race conditions when accessing registers in different banks.

Added Tx ready semaphore when requesting packet to transmit (ENC is slow => access to it needs to be controlled).

Added setting of CS hold time based on Data sheet.

Added option to set the ENC28J60 to Full Duplex mode.

Addressed several ENC28J60 Erratas.

Restructured ENC28J60 example folder structure so the driver could be easily linked from different projects.

Extended the README to guide users of how to properly use the ENC28J60 chip.

Extended iperf example to include ENC28J60.

Closes https://github.com/espressif/esp-idf/issues/4747
Closes https://github.com/espressif/esp-idf/issues/7117
Closes https://github.com/espressif/esp-idf/issues/7156
2021-07-26 09:57:18 +02:00
Hrishikesh Dhayagude
ab970ac0cf Merge branch 'bugfix/bluedriod_esp32c3' into 'master'
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack

See merge request espressif/esp-idf!14124
2021-07-23 08:33:22 +00:00
Wang Meng Yang
dcefc4d6f7 Merge branch 'bugfix/typo_in_hci_uart_example_for_esp32c3' into 'master'
example/controller_hci_uart_esp32c3: fixed the incorrect GPIO pin bit mask for input PINs of UART1

See merge request espressif/esp-idf!14458
2021-07-23 08:30:55 +00:00
Switi Mhaiske
99cce49299 ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack 2021-07-22 15:37:46 +08:00
Marius Vikhammer
a29a6ceef0 uart: update register headers and examples for S3 2021-07-22 12:05:49 +08:00
morris
81448dcae8 tiny_usb: rename Kconfig name
1. Renamed Kconfig file of tinyusb (distinguish tinyusb stack from usb
   peripheral)
2. bugfix/typofix/doc update of tinyusb
2021-07-22 10:43:10 +08:00
Alexey Gerenkov
a9db7831b0 Merge branch 'bugfix/sysview_timestamp' into 'master'
sysview: fix tiemrgroup as sv timestamp

See merge request espressif/esp-idf!14374
2021-07-21 19:15:45 +00:00
Marius Vikhammer
b691001cc1 Merge branch 'docs/fix_readme_links' into 'master'
docs: fixed two dead readme links

See merge request espressif/esp-idf!14461
2021-07-21 10:53:49 +00:00
David Čermák
dbbf219d85 Merge branch 'feature/add_dns_config' into 'master'
example: Add DNS configure and test for static ip example

Closes IDFGH-5523

See merge request espressif/esp-idf!14324
2021-07-21 10:30:31 +00:00
Shu Chen
80f03f4820 Merge branch 'feature/otbr-1.3' into 'master'
openthread: support 1.3 border routing features

See merge request espressif/esp-idf!14407
2021-07-21 08:01:26 +00:00
He Yin Ling
bf65e3c679 Merge branch 'test/update_ble_mesh_console_files' into 'master'
test: fix ble mesh send problem

See merge request espressif/esp-idf!11053
2021-07-21 07:51:44 +00:00
Marius Vikhammer
11ea7c9072 docs: fixed two dead readme links 2021-07-21 15:20:57 +08:00
Mahavir Jain
417427965e Merge branch 'fix/coap_client_example' into 'master'
Update the coap client example URL and README

Closes IDFGH-5485

See merge request espressif/esp-idf!14411
2021-07-21 07:05:59 +00:00
yuanjm
1b68ad93ad example: Add DNS configure and test for static ip example
Closes https://github.com/espressif/esp-idf/issues/7251
2021-07-21 14:46:59 +08:00
Aditya Patwardhan
9b5747c370 Update the coap client example URL and README
Closes https://github.com/espressif/esp-idf/issues/7219
2021-07-21 12:58:24 +08:00
Omar Chebib
b8c6c5334f i2c: modify examples to work out of the box on ESP32S3
On ESP32S3, the default I2C pins of the examples are already used by USB.
This commit changes the default pins.
2021-07-21 11:04:16 +08:00
wangmengyang
c01ef27ae5 example/controller_hci_uart_esp32c3: fixed the GPIO pin mask for input PINs of UART1 2021-07-21 10:54:25 +08:00
Jiacheng Guo
a74bbde9c5 openthread: support 1.3 border routing features
- Support ICMPv6 auto config
- Support SRP service delegation
- Publish _meshcop._mdns service
2021-07-21 10:44:10 +08:00
SalimTerryLi
9302b28b73 bugfix by disabling IRAM attr on ISR 2021-07-20 19:39:27 +08:00
Shu Chen
bb23ca2006 Merge branch 'feature/simplify_ot_cli_config' into 'master'
openthread: simplify ot_cli example configuration

See merge request espressif/esp-idf!14410
2021-07-20 04:19:40 +00:00
Shu Chen
50b6b674cf openthread: simplify ot_cli example configuration
Use single ESP_EXTENSION_IN_OPENTHREAD_CLI config option to enable/disable
extended features. It will be pure ot_cli example if it's disabled.
2021-07-19 19:37:49 +08:00
Jakob Hasse
e5b556a938 Merge branch 'bugfix/i2c_cxx_timeout' into 'master'
[cxx]: fixed I2C master timeout

See merge request espressif/esp-idf!14277
2021-07-19 10:28:37 +00:00
Marius Vikhammer
201d6da0b0 Merge branch 'feature/simple_i2c_ex' into 'master'
i2c: add simple example

See merge request espressif/esp-idf!8487
2021-07-19 03:48:10 +00:00
morris
0c7b43c3b0 sysview: fix tiemrgroup as sv timestamp 2021-07-18 16:13:32 +08:00
SalimTerryLi
1abf5c861d
examples: unify iperf component 2021-07-16 11:59:52 +08:00
Jiacheng Guo
71fd44f6ab openthread: enable lwip multicast ping in examples
Multicast ping reply is required for OpenThread certification.
2021-07-15 17:28:28 +08:00
Jakob Hasse
77909446f5 [cxx]: fixed I2C master timeout 2021-07-15 16:44:08 +08:00
Zim Kalinowski
f29d873c54 Merge branch 'feature/linenoise_improvement' into 'master'
console: re-use the available REPL console API and improve linenoise

Closes IDFGH-5296

See merge request espressif/esp-idf!13897
2021-07-15 03:37:19 +00:00
Omar Chebib
0fd74a43c8 console: re-use the available REPL console API and improve linenoise
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.

Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
Shu Chen
8e56ecc656 openthread: enable ot_cli on esp32h2 2021-07-14 19:15:24 +08:00
Anton Maklakov
4b83f35076 Merge branch 'bugfix/update_ota_cert' into 'master'
OTA examples: Update server certificate

See merge request espressif/esp-idf!14331
2021-07-13 08:52:14 +00:00
Marius Vikhammer
eee4cd18f8 i2c: add a simple i2c sensor communication example 2021-07-13 16:31:38 +08:00
Aditya Patwardhan
6a7e15d019 Disable the example test for http2 request example.
As the certificate for http2.golang.org has expired.
It will be enabled once the cert is updated or an alternative has been
found.
2021-07-13 13:21:08 +08:00
Shubham Kulkarni
3398ee2687 OTA examples: Updated server certificate 2021-07-13 13:14:32 +08:00
morris
8887897f54 Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
driver/timer: fixed auto reload problem in default isr callback

Closes IDFGH-5229

See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Angus Gratton
c2c0e4de3b Merge branch 'feature/s3_wdt_bringup' into 'master'
TIMG and WDT bringup for S3

Closes IDF-1881, IDF-3229, IDF-3301, and IDF-3274

See merge request espressif/esp-idf!13957
2021-07-09 04:43:41 +00:00
Omar Chebib
9340cb4c1a Merge branch 'feature/override_bootloader' into 'master'
bootloader: override the 2nd stage bootloader

Closes IDF-2946 and IDFGH-5279

See merge request espressif/esp-idf!13178
2021-07-09 02:25:24 +00:00
Shu Chen
d93887f9f0 Merge branch 'feature/openthread-lib' into 'master'
openthread: provide prebuilt libopenthread libraries

See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
morris
3037581745 Merge branch 'refactor/simplify_lcd_example' into 'master'
lcd: simplify lcd example

Closes IDF-3009 and IDF-354

See merge request espressif/esp-idf!13823
2021-07-08 08:50:34 +00:00
morris
3b821b8ac3 Merge branch 'bugfix/rotary_encoder_example_main' into 'master'
bugfix: rotary encoder example isr service install

Closes IDFGH-5105

See merge request espressif/esp-idf!14114
2021-07-08 04:25:30 +00:00
David Čermák
cd47ba03bc Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
mdns: Clean the main mdns module from lwip dependencies

See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
bizhuangyang
ac069bfca1 lcd: simplify lcd example
Move the lcd example files out of the folder spi_master, and refactor
the codes with esp_lcd driver. Add image rotation function to the
example.
2021-07-07 17:14:09 +08:00
Jiacheng Guo
0050248918 openthread: provide prebuilt libopenthread libraries 2021-07-07 15:27:47 +08:00
morris
5ad0dc5041 Merge branch 'bugfix/MCPWM_input_capture_example' into 'master'
MCPWM basic example: fix bugs in MCPWM basic example

Closes IDFGH-5148

See merge request espressif/esp-idf!13329
2021-07-07 02:32:38 +00:00
Marius Vikhammer
71c1da8952 timer group: add timer group and WDT support for ESP32S3
Regenerate timer group header files and update LL, check examples
and update docs.
2021-07-06 16:21:43 +08:00
chenjianxing
564068d5af esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue 2021-07-06 11:38:40 +08:00
Michael (XIAO Xufeng)
c6716dcb39 Merge branch 'feature/esp32c3_usbjtag_console_blocking' into 'master'
USB_serial_jtag controller:  Add driver for supporting VFS on esp32c3(blocking implementation)

Closes IDF-3066 and IDF-3019

See merge request espressif/esp-idf!13414
2021-07-05 07:57:19 +00:00
Cao Sen Miao
3aa9ac2469 usb_serial_jtag: Add blocking driver to support vfs. 2021-07-05 11:22:38 +08:00
Omar Chebib
a79acb413e bootloader: override the 2nd stage bootloader
Add the possibility to have user bootloader components. This is performed
from an application/project, by creating bootloader components. To do so,
it is required to create a `bootloader_component` directory containing
the custom modules to be compiled with the bootloader.

Thanks to this, two solutions are available to override the bootloader now:
- Using hooks within a user bootloader component
- Using a user defined `main` bootloader component to totally override the
  old implementation

Please check the two new examples in `examples/custom_bootloader`

* Closes https://github.com/espressif/esp-idf/issues/7043
2021-07-05 10:25:32 +08:00
Michael (XIAO Xufeng)
7e3957f34f Merge branch 'feature/add_support_gd_32Mflash' into 'master'
spi_flash: Add support for GD 32-bits address flash

Closes IDF-3237 and ESPCS-628

See merge request espressif/esp-idf!13655
2021-07-02 13:53:02 +00:00
Michael (XIAO Xufeng)
3a285635bc Merge branch 'refactor/twai_example_default_gpio_change' into 'master'
twai:modify default gpios in twai examples for esp32s3

See merge request espressif/esp-idf!14066
2021-07-02 10:54:50 +00:00
Cao Sen Miao
fecf27e54c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
David Cermak
042fa1831e CI: mdns example test: start responder after valid IP
to clean up the test and not to pollute the network unnecessarily.
Also keeps sending the delegated query until a response found
2021-07-01 15:45:17 +02:00
David Čermák
6661d01a64 Merge branch 'feature/mdns_query_async' into 'master'
mdns: Add asynchronous query API

See merge request espressif/esp-idf!13988
2021-07-01 12:28:54 +00:00
David Cermak
d81482d699 mdns: Add asynchronous query API
Closes https://github.com/espressif/esp-idf/issues/7090
2021-06-30 17:20:30 +04:00
Nachiket Kukade
eb49ee75b8 wifi/ftm: Additional FTM features implementation
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:52:07 +05:30
bizhuangyang
1829783886 bugfix:rotary encoder example isr service install
Fix the issue mentioned when using two or more encoders. Modify PCNT_CTRL_GND_IO
to avoid the affect of USB JTAG(origin pin 19 is used for USB D-). Update esp32c3.
peripherals.ld and docs for esp32s3.

Closes https://github.com/espressif/esp-idf/issues/6889
2021-06-30 18:44:02 +08:00
luchangjie
0c193626e0 fix ble mesh send problem 2021-06-30 14:01:07 +08:00
Jiang Jiang Jian
59b49d2783 Merge branch 'feature/add-nimble-host-to-blufi' into 'master'
Add support of NimBLE host to Blufi

See merge request espressif/esp-idf!13734
2021-06-29 12:54:01 +00:00
“sonalipatil”
5175672050 Add support of NimBLE host to Blufi
Merges https://github.com/espressif/esp-idf/pull/6904
2021-06-28 19:53:33 +05:30
Ivan Grokhotkov
d7928bf1db Merge branch 'feature/esp32c3_apptrace' into 'master'
apptrace: refactoring & esp32c3 support

See merge request espressif/esp-idf!11702
2021-06-28 06:00:24 +00:00
Angus Gratton
a041faec77 Merge branch 'feature/ulp_riscv_delay' into 'master'
riscv-ulp: Add DS18B20 1wire RISCV-ULP example

Closes IDF-1746 and IDF-3456

See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
Wang Meng Yang
0b42c8fc73 Merge branch 'bugfix/fix_c3_s3_some_bugs_06_15' into 'master'
Bugfix/fix c3 s3 some bugs 06 15

See merge request espressif/esp-idf!14018
2021-06-27 23:45:22 +00:00
David Cermak
07de534191 examples: Move non-block socket examples to a single app
To simplify the examples, reused the boiler plate and statics and mainly
for testing on localhost interface with no physical network.
2021-06-25 20:46:49 +08:00
suren.gabrielyan
e8bbe2f94f examples: Added non blocking sockets example tests
Closes https://github.com/espressif/esp-idf/issues/6675
2021-06-25 20:46:49 +08:00
laokaiyao
1138be502e driver/timer: only re-enable alarm in callback when auto reload is true
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-25 15:44:23 +08:00
zwj
2ee9140e94 hid examples support esp32c3/s3 2021-06-25 15:09:13 +08:00
laokaiyao
6df89fa042 example/mcpwm_basic_config: fix bugs in MCPWM basic example
Closes https://github.com/espressif/esp-idf/issues/6926
2021-06-25 12:25:52 +08:00
Marius Vikhammer
386739595f RISCV-ULP: Add DS18B20 1wire RISCV-ULP example 2021-06-25 11:26:39 +08:00
Alexey Gerenkov
821869d98d apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
David Čermák
8d476269d6 Merge branch 'bugfix/ci_move_udp_socket_tests_to_eth_runners' into 'master'
CI: Adjust UDP socket tests to be more reliable

Closes IDFCI-528

See merge request espressif/esp-idf!14080
2021-06-24 05:53:48 +00:00
David Čermák
3452c5f194 Merge branch 'feature/mdns-value-len' into 'master'
mdns: allow explicit txt value length

See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
Ivan Grokhotkov
768fe3a10c Merge branch 'test/wifi_connect_with_full_scan_in_examples' into 'master'
example: set example wifi scan method to all channel

Closes IDFCI-528 and IDFCI-685

See merge request espressif/esp-idf!13911
2021-06-23 10:20:43 +00:00
David Cermak
bc3adaded3 CI/socket examples: Add UDP operation retries, wait until server is up 2021-06-23 07:36:27 +02:00
Mahavir Jain
456c52055c Merge branch 'fix/mbedtls_remove_invalid_menuconfig_options' into 'master'
Fix/mbedtls remove invalid menuconfig options

Closes IDF-950

See merge request espressif/esp-idf!13955
2021-06-22 10:02:25 +00:00
Aditya Patwardhan
02820a90f7 Add sdkconfig which disables all menuconfig options in mbedtls. 2021-06-21 17:53:22 +05:30
Shu Chen
30524406f0 Merge branch 'feature/otbr-example' into 'master'
openthread: add platform UDP and border router example

See merge request espressif/esp-idf!13885
2021-06-21 08:33:15 +00:00