Commit Graph

2838 Commits

Author SHA1 Message Date
SalimTerryLi
e3ac4d806e
example/spi_master: bring back lcd example and clean up
partially revert ac069bfca1
2021-09-09 10:51:12 +08:00
David Čermák
df1b524d07 Merge branch 'bugfix/iperf_counter_size' into 'master'
Update the formula for calculating the average bandwidth

Closes IDF-3705

See merge request espressif/esp-idf!14915
2021-09-08 17:26:18 +00:00
Wang Meng Yang
80c3aaab7c Merge branch 'feature/add_bt_hid_host_support_dev' into 'master'
Feature/add bt hid host btc layer

Closes IDFGH-3329, IDFGH-1104, IDFGH-3724, IDFGH-4383, and IDFGH-5428

See merge request espressif/esp-idf!12016
2021-09-08 11:54:19 +00:00
Ondrej Kosta
35454b2bf7 Eth_examples: added support of ESP32-S3 chip
Defined SPI modules default GPIO values for ESP32-S3

SPI bus needs to be initialized with SPI_DMA_CH_AUTO option
2021-09-08 13:11:39 +02:00
AndriiFilippov
677ebc276c iperf: Update the formula for calculating the average bandwidth
The ethernet\iperf example has a bug, once bandwidth is more than 80 Mbits/s the average counter shows wrong total transmitted data value. Issue occur due to overflow of the uint32_t total_len variable.
* created new average formula to avoid the overflow
* updated interval formula according to new variables
* renamed variable according to its purpose
2021-09-08 11:20:47 +02:00
David Cermak
64419f7247 Examples/esp_modem: Fix broken links, add details on using the example 2021-09-08 09:58:19 +02:00
David Cermak
f0ecd70fd7 Examples/PPPoS: Warn about not supporting in v5.0 2021-09-08 09:58:14 +02:00
Roland Dobai
02b6436644 Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'

See merge request espressif/esp-idf!15054
2021-09-08 07:34:24 +00:00
liqigan
2078dfe293 1. update esp_hid component to use esp HID API
2. add esp_hidh_config_t::callback_arg
2021-09-08 14:08:34 +08:00
Wang Meng Yang
a885c42cda Merge branch 'example/controller_hci_uart_for_esp32s3' into 'master'
examples: added support of ESP32-S3 chip in controller_hci_uart example

Closes BT-1906

See merge request espressif/esp-idf!14935
2021-09-08 06:02:18 +00:00
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
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