Commit Graph

3834 Commits

Author SHA1 Message Date
Tomas Rezucha
5bd6696557 Merge branch 'feature/usb_device/hid' into 'master'
usb: Add HID device example

Closes IDFGH-7637, IDFGH-5054, IDF-581, and IDFGH-6013

See merge request espressif/esp-idf!19177
2022-07-27 21:18:50 +08:00
morris
96c29841bb Merge branch 'feature/mcpwm_new_driver' into 'master'
 MCPWM Driver-NG

Closes IDF-2471, IDF-2895, IDF-20, and IDF-3945

See merge request espressif/esp-idf!11480
2022-07-27 19:25:06 +08:00
Isha Pardikar
97b1211b71 Merge branch 'bugfix/nimble_l2cap_coc_cmake' into 'master'
NimBLE : Fixed nimble L2CAP COC example CMakeLists.txt
2022-07-27 13:03:14 +05:30
morris
169a43b8eb example: update MCPWM sync example with new driver API 2022-07-27 15:22:24 +08:00
morris
1557a533fe example: update servo example with new driver API 2022-07-27 15:22:24 +08:00
morris
6751b229f1 example: update capture example with new driver API 2022-07-27 15:22:24 +08:00
morris
b77446b5c8 example: update bldc example with new driver API 2022-07-27 15:22:24 +08:00
morris
938b3d717f example: update bdc speed control example with new driver API 2022-07-27 15:22:24 +08:00
Tomas Rezucha
45e8115dc6 usb: Add HID device example
Closes https://github.com/espressif/esp-idf/issues/6839
Closes https://github.com/espressif/esp-idf/issues/7700
2022-07-27 05:31:09 +00:00
Martin Gaňo
2ddcda29b3 fatfsparse.py: Add support for WL 2022-07-26 14:50:07 +02:00
Martin Vychodil
85f21a02d8 Merge branch 'feature/storage_migrate_to_pytest' into 'master'
examples/storage: Tests migrated to pytest

Closes IDFCI-1139 and IDFCI-1353

See merge request espressif/esp-idf!18453
2022-07-26 05:20:42 +08:00
Isha Pardikar
d46a2af0bf Merge branch 'feature/nimble_l2cap_coc' into 'master'
NimBLE: Add example framework for  L2CAP COC

See merge request espressif/esp-idf!18483
2022-07-25 12:28:38 +08:00
Darian
c8ee369a7c Merge branch 'feature/deprecate-old-cpu-api' into 'master'
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API

Closes IDF-4919 and IDF-5032

See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
Jiang Jiang Jian
88f2f5fdd7 Merge branch 'bugfix/default_config_sae_pwe_value' into 'master'
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe

See merge request espressif/esp-idf!19015
2022-07-22 20:30:58 +08:00
radek.tandler
3271088428 storage examples migrated to pytest 2022-07-22 10:23:53 +02:00
Island
37bc05c84d Merge branch 'bugfix/vendor_model_send_message_no_memory' into 'master'
ble_mesh:example: free the memory of malloc

See merge request espressif/esp-idf!19135
2022-07-22 15:18:38 +08:00
Yuan Hong Hui
33d6c07d6e ble_mesh:example: free the memory of malloc 2022-07-22 15:18:37 +08:00
Shreyas Sheth
341a92aaa5 esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe 2022-07-22 12:23:13 +05:30
Isha Pardikar
eeea118ca5 Merge branch 'feature/nimble_l2cap_coc' into 'master'
NimBLE : BLE example for L2CAP connection oriented channels

See merge request !18483
2022-07-22 11:43:16 +05:30
Armando (Dou Yiwen)
1fc4d2b598 Merge branch 'bugfix/remove_psram_dependency_in_idf_as_lib_example' into 'master'
idf_as_lib: remove dependency to esp_psram

Closes IDF-5238

See merge request espressif/esp-idf!18992
2022-07-22 13:17:08 +08:00
Jiang Jiang Jian
621dac0e49 Merge branch 'feature/option_to_advertise_random_addr' into 'master'
NimBLE: Feature/option to advertise random addr

See merge request espressif/esp-idf!18896
2022-07-22 11:56:15 +08:00
morris
a56f68acd9 Merge branch 'bugfix/coverity_driver_issue_clean' into 'master'
fix driver issue found by coverity

See merge request espressif/esp-idf!19145
2022-07-22 09:25:40 +08:00
Marius Vikhammer
2179439798 Merge branch 'ci/blink_pytest' into 'master'
CI: migrate blink example test to pytest

Closes IDFCI-1141

See merge request espressif/esp-idf!19155
2022-07-22 09:24:48 +08:00
morris
9a921ada7f rmt: const callback event data 2022-07-22 00:12:36 +00:00
morris
741b031e83 soc: added SOC_TOUCH_SENSE_SUPPORTED macro 2022-07-22 00:12:36 +00:00
Guillaume Souchere
6005cc9163 hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Darian Leung
781d06af73 esp_hw_support: Remove compare_set.h API
This function removes the following legacy atomic CAS functions:

From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()

From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()

Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.

Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +08:00
David Čermák
36f49f361c Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
esp-netif/lw-ip: Make dependencies one-directional

Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287

See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
laokaiyao
edee3ee3cd i2s: add slot sequence table
Closes: https://github.com/espressif/esp-idf/issues/9208

When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
92ea22fe81 i2s: support esp32h2 2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb i2s: add basic examples for STD/TDM/PDM mode 2022-07-21 15:52:39 +08:00
Rahul Tank
24741cc0de NimBLE: Added option to advertise random address 2022-07-21 07:11:47 +00:00
Jiang Jiang Jian
92b4e134bb Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
Remove unused bluetooth init api

See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
Chen Yu Dong
db7df70331 Merge branch 'ci/update_sniffer_case' into 'master'
CI: update example sniffer test case

See merge request espressif/esp-idf!19134
2022-07-21 14:03:46 +08:00
Marius Vikhammer
e828026eb5 CI: migrate blink example test to pytest 2022-07-21 11:24:50 +08:00
Abhik Roy
757a171e39 Merge branch 'example/icmpv6_ping' into 'master'
icmpv6_ping example code formatting.

See merge request espressif/esp-idf!19136
2022-07-21 03:32:02 +08:00
wangyuanze
20afcc96a8 example: add onewire_ds18b20 example 2022-07-20 14:12:43 +00:00
morris
8944479bcd Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
 SDM Driver-NG (Sigma-Delta channel allocator)

Closes IDF-5261 and IDF-2877

See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
David Cermak
e85f45b539 examples/cxx: Remove esp_modem examples
Examples are maintained and supported in esp-protocols
2022-07-20 14:59:33 +02:00
David Cermak
5c383d7b73 esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
David Čermák
e7ccaaf9ca Merge branch 'feature/update_mqtt_client' into 'master'
[MQTT] - Updates esp_mqtt configuration struct

See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Mahavir Jain
d921199c59 Merge branch 'bugfix/cbor_newlib_nano_case' into 'master'
examples/cbor: fix parsing with newlib nano config

Closes IDFCI-1375

See merge request espressif/esp-idf!19107
2022-07-20 16:30:22 +08:00
morris
edb5600348 sdm: refactor example with new driver 2022-07-20 14:59:50 +08:00
morris
9e532696f4 pcnt: add const qualifier to event data 2022-07-20 14:59:50 +08:00
Abhik Roy
8ab028c85e icmpv6_ping example code formatting. 2022-07-20 12:14:59 +05:30
Chen Yudong
8c01bdd4c3 CI: update example sniffer test case 2022-07-20 13:02:55 +08:00
Mahavir Jain
075e0729de Merge branch 'bugfix/mbedtls_dep_on_driver' into 'master'
mbedtls: remove dependency on driver component

Closes IDF-1265

See merge request espressif/esp-idf!19081
2022-07-20 12:04:34 +08:00
morris
6cab124d7c Merge branch 'bugfix/corrected_typo_in_example_peripherals_usb_device' into 'master'
example: peripherals/usb/device: fix typo naming of local variables

See merge request espressif/esp-idf!19080
2022-07-20 11:56:04 +08:00
GengYuchao
f34b3912b0 Fix blufi crash caused by the break change 2022-07-20 11:44:00 +08:00
GengYuchao
6db79c3950 Fix missing blufi sdkconfig.defaults for esp32c2 2022-07-20 11:44:00 +08:00
GengYuchao
fd055d3ba6 Fix example after removing API esp_nimble_hci_and_controller_init 2022-07-20 11:44:00 +08:00
Marius Vikhammer
1315f85e01 docs: fixed misc broken links 2022-07-20 09:43:52 +08:00
jiangguangming
e0d9220a6e example: peripherals/usb: fix typo naming of local variables 2022-07-20 09:36:24 +08:00
Marius Vikhammer
3c2c9206dd Merge branch 'bugfix/lightsleep_example_test_flaky' into 'master'
ci: fixed flakey light sleep example test

Closes IDFCI-1373

See merge request espressif/esp-idf!19102
2022-07-20 09:16:21 +08:00
Armando (Dou Yiwen)
9f6f61345b Merge branch 'feature/adc_driver_ng' into 'master'
ADC Driver NG

Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979

See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Chen Jian Xing
4808f9b725 Merge branch 'bugfix/fix_write_to_null_pointer_if_malloc_failed_issue' into 'master'
Bugfix/fix write to null pointer if malloc failed issue

Closes IDFGH-7836

See merge request espressif/esp-idf!19087
2022-07-19 16:32:44 +08:00
Mahavir Jain
0c09406173
examples/cbor: keep newlib nano disabled in the example
CBOR parsing fails with newlib nano configuration, observed on ESP32-C2.

Closes IDFCI-1375
2022-07-19 13:27:51 +05:30
Marius Vikhammer
12dcb95644 Merge branch 'ci/remove_temp_deepsleep_tag' into 'master'
ci: remove temp deepsleep tag runner

Closes IDF-5213

See merge request espressif/esp-idf!18654
2022-07-19 14:58:33 +08:00
Chen Yu Dong
2e9a620659 Merge branch 'ci/fix_advanced_ota_sdkconfig' into 'master'
CI: fix sdkconfig in advanced https ota example

Closes IDFCI-1369 and IDFCI-1370

See merge request espressif/esp-idf!19078
2022-07-19 12:28:00 +08:00
Marius Vikhammer
e4cbaa6f2b ci: remove temp deepsleep tag runner 2022-07-19 12:12:46 +08:00
Shu Chen
6ebdeb3e1c Merge branch 'feature/ot-cli-extension-component' into 'master'
openthread: use managed component for extension commands

See merge request espressif/esp-idf!19025
2022-07-19 11:57:07 +08:00
Marius Vikhammer
a9ed589501 ci: fixed flakey light sleep example test
A wake-up from timer would trigger before the gpio wakeup in certain cases,
failing the test.

Change the regex to only expect the GPIO wakeup, so that even if there is an extra
timer wakeup it wont fail the test.
2022-07-19 11:03:16 +08:00
David Čermák
d1dc30fd70 Merge branch 'example/icmpv6_ping' into 'master'
examples: Add ICMPv6 Echo Request/Reply example.

See merge request espressif/esp-idf!18731
2022-07-19 05:04:02 +08:00
Mahavir Jain
a94c74c26b
mbedtls: remove dependency on driver component
- keep `esp_pm` dependency conditional in mbedtls
- refactor `bt` cmakelist to keep dependencies as private

Related: IDF-1265
2022-07-18 21:10:51 +05:30
Hassan DRAGA
5d27d66ddd QA: Check driver installation status
When you have a large project, uart_driver_install() may fail. For QA we should always check the status of the driver first.
2022-07-18 09:25:22 +00:00
Jiacheng Guo
558ce70f40 openthread: use managed component for extension commands 2022-07-18 16:39:30 +08:00
Abhik Roy
25c310b3da examples: Add ICMPv6 Echo Request/Reply example.
Added example to create a raw ICMPv6 socket and sends an ICMPv6 Echo-Request
to the destination ipv6 address and wait for Echo-Reply for esp32 and Linux target.
2022-07-18 12:13:23 +05:30
Chen Yudong
15f779b647 CI: fix sdkconfig in advanced https ota example 2022-07-17 20:15:48 +08:00
Oleg Savchenko
656d6dac15 fix possible memory leak if report level not set 2022-07-17 11:24:12 +03:00
Ivan Grokhotkov
1b1068ce22 Merge branch 'feature/console_log_level_command' into 'master'
console: add log_level command to the example

See merge request espressif/esp-idf!18614
2022-07-16 16:53:51 +08:00
Oleg Savchenko
a70a1d299a fix write to null pointer if malloc failed 2022-07-15 23:55:59 +03:00
Euripedes Rocha
ff1c405ed1 [MQTT] - Updates esp_mqtt configuration struct
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Chen Yu Dong
309440c687 Merge branch 'bugfix/update_get_ip_for_multiple_interfaces' into 'master'
ci: Fix wifi and ethernet test cases

See merge request espressif/esp-idf!18733
2022-07-15 22:07:48 +08:00
Ivan Grokhotkov
ef9e89062a
console: add log_level command to the example
This allows calling esp_log_level_set function from the console.
Together with CONFIG_LOG_MAXIMUM_LEVEL option, this allows enabling
logs from different tags at run time.
2022-07-15 14:51:05 +02:00
Ivan Grokhotkov
0abf886284
console: support ESP32-C2 in the 'version' command 2022-07-15 14:51:04 +02:00
Armando
5b523a3313 esp_adc: new esp_adc component and adc drivers 2022-07-15 18:31:00 +08:00
Chen Yudong
d54e1e8379 CI: make sure that reading of the ipv4 address has finished 2022-07-15 14:21:39 +08:00
Chen Yudong
2f75733ad7 CI: Improve common test methods
also fix ota test cases
2022-07-15 14:21:34 +08:00
Wang Yuan Ze
b666bdb01e Merge branch 'example/fix_ir_nec_transceiver_issue' into 'master'
example: Fix rmt callback memory issue in ir_nec_transceiver

See merge request espressif/esp-idf!19040
2022-07-15 11:39:36 +08:00
Chen Yudong
692fbc169c CI: use ssid password from stdin for pytest cases 2022-07-15 01:16:36 +08:00
Chen Yudong
4313ff4655 CI: input ssid password depends on sdkconfig 2022-07-15 01:16:36 +08:00
Chen Yudong
472ac26712 CI: update test cases to use different environment variables
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Chen Yudong
4d9393fc53 example: use example common componments in esp_local_ctrl 2022-07-15 01:16:35 +08:00
Chen Yudong
9575f03b8d CI: fix ip address checker and trace log 2022-07-15 01:16:35 +08:00
Chen Yudong
bf0e4943be common_components: add wifi connect console commands 2022-07-15 01:16:27 +08:00
Ondrej Kosta
c0312e3242 Merge branch 'feature/improve_spi_ethernet_init' into 'master'
esp_eth: SPI Ethernet modules initialization simplification

Closes IDF-3902

See merge request espressif/esp-idf!18663
2022-07-15 00:02:23 +08:00
Fu Hanxi
7b5a3af407 Merge branch 'feat/reorg_examples' into 'master'
feat: new find_build_apps rules with centralized manifest file

Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361

See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
wangyuanze
61f19094b0 example: fix rmt callback memory issue in ir_nec_transceiver 2022-07-14 18:59:38 +08:00
Ondrej Kosta
bb6c6aff36 esp_eth: SPI Ethernet modules initialization simplification 2022-07-14 08:46:22 +02:00
morris
28c512b34c rgb_lcd: update example to support double buffer and bounce buffer 2022-07-14 14:05:47 +08:00
Mahavir Jain
3069759486 Merge branch 'fix/esp_local_ctrl_example_test' into 'master'
esp_local_ctrl/scripts: Update the script to use async methods

Closes IDFCI-1336

See merge request espressif/esp-idf!18766
2022-07-14 13:13:09 +08:00
Fu Hanxi
c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Fu Hanxi
f4a1f56c08 ci: remove unsupported test markers 2022-07-14 08:26:01 +08:00
Laukik Hase
aa30b2ddbe
esp_local_ctrl/scripts: Removed python2 compatibility 2022-07-13 17:58:40 +05:30
Aditya Patwardhan
1e90632639
esp_local_ctrl/scripts: Update the script to use async methods 2022-07-13 17:30:06 +05:30
Yuan Hong Hui
5b9c2eb5fc ble_mesh:change the location of print ready 2022-07-13 17:57:06 +08:00
Jiang Jiang Jian
8ae9cadf9b Merge branch 'bugfix/reenable_provisioning_example_for_c2' into 'master'
Re-enable provisioning example for target esp32c2

See merge request espressif/esp-idf!18689
2022-07-13 15:51:23 +08:00
Jiang Jiang Jian
ceb58a6c41 Merge branch 'ci/optimize_binary_size_for_ota_examples' into 'master'
ci: Optimize binary size for OTA examples

See merge request espressif/esp-idf!18914
2022-07-13 15:44:06 +08:00
Ivan Grokhotkov
b0191ef292
examples: import_lib: add example test 2022-07-12 15:04:28 +02:00