Commit Graph

3813 Commits

Author SHA1 Message Date
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
Ivan Grokhotkov
94230777d9
examples: import_lib: simplify with fatfs partition generator
Instead of embedding the file and copying it to the FAT partition at
run time, generate the FAT partition with the file in it.
2022-07-12 15:04:28 +02:00
Ivan Grokhotkov
faa349b93f
global: remove tinyxml2 submodule 2022-07-12 15:04:28 +02:00
Ivan Grokhotkov
b2e129fe4f
examples: import_lib: demonstrate ExternalProject_Add
Many of the more complicated CMake projects can't be added to the IDF
build system simply by calling add_subdirectory.
"add_subdirectory" also cannot be used with projects which use build
systems other than CMake (for example GNU Make or cargo).
This commit changes the example to use ExternalProject_Add, instead,
which is a more general way of adding subprojects.
As part of this change, tinyxml2 is now downloaded from the Internet,
which allows removing one submodule.
2022-07-12 15:00:10 +02:00
Jiang Jiang Jian
76e77b90ed Merge branch 'ci/add_nightly_run_rules_for_jobs' into 'master'
CI: add specific job rules

Closes IDF-5474

See merge request espressif/esp-idf!18950
2022-07-12 11:01:56 +08:00
Jiang Jiang Jian
c7d4e3420b Merge branch 'support/readme_esp32s3_bluedroid_examples' into 'master'
Added ESP32-S3 in README Bluedroid examples

See merge request espressif/esp-idf!18960
2022-07-12 11:01:22 +08:00
Armando
c863a79a6d idf_as_lib: remove dependency to esp_psram
Previously this dependency is introduced by mistake. As idf_as_lib
example doesn't need esp_psram, remove this dependency.
2022-07-11 21:20:59 +08:00
Harshit Malpani
aee57fc895 ci: Optimize binary size for OTA examples 2022-07-11 15:28:48 +05:30
Jiang Jiang Jian
86deb8c0f5 Merge branch 'bugfix/remove_ulp_tsens' into 'master'
ulp: remove ESP32 ULP TSENS references

Closes IDF-1485

See merge request espressif/esp-idf!18883
2022-07-11 16:31:43 +08:00
Chen Yudong
69e15827c9 CI: add specific job rules 2022-07-11 12:32:30 +08:00
Marius Vikhammer
6cc871d793 Merge branch 'feature/ulp_riscv_adc' into 'master'
ulp-riscv: add support for using ADC as well as an example show-casing it.

Closes IDFGH-7564 and IDF-1714

See merge request espressif/esp-idf!18767
2022-07-11 12:30:31 +08:00
satish.solanke
8e27170ba8 Added ESP32-S3 in README Bluedroid examples 2022-07-11 09:49:09 +05:30
Marius Vikhammer
e8b5096f52 ulp-riscv: add support for using ADC as well as an example show-casing it. 2022-07-11 09:31:22 +08:00
Jiang Jiang Jian
21a5f9713d Merge branch 'bugfix/fix_pytest_esp_timer_with_freertos_smp' into 'master'
freertos-smp: fix pytest_esp_timer test with FreeRTOS SMP enabled

Closes IDF-5373

See merge request espressif/esp-idf!18700
2022-07-10 15:52:46 +08:00
Island
55d8a34add Merge branch 'fix/esp32c2_bluedroid_example_default_sdk' into 'master'
Support of bluedroid example for esp32c2 and esp32h2

See merge request espressif/esp-idf!18397
2022-07-09 06:55:26 +08:00
Wei Tian Hua
8699a10929 Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
component_bt: Change HF AG API

See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
morris
35f755438b Merge branch 'contrib/github_pr_9311' into 'master'
Expand lcd/i80_controller example to support ILI9341 display (GitHub PR)

Closes IDFGH-7775

See merge request espressif/esp-idf!18937
2022-07-08 15:40:33 +08:00
satish.solanke
6d86cde293 sdkconfig default for the esp32c2 2022-07-08 04:52:47 +00:00
Phillip Burgess
148ce09d97 Define EXAMPLE_LCD_H_RES & V_RES globally, not based on driver 2022-07-07 19:56:30 -07:00
Phillip Burgess
8cd0284284 Remove set_gap() calls from NT35510 and ILI9341 2022-07-07 19:53:34 -07:00
Phillip Burgess
0901277fd8 Expand lcd/i80_controller example to support ILI9341 display 2022-07-07 15:10:02 -07:00
Michael (XIAO Xufeng)
a58362a429 Merge branch 'feature/efuse_rev_major_minor' into 'master'
efuse: Adds major and minor versions

See merge request espressif/esp-idf!18255
2022-07-07 11:48:54 +08:00