Commit Graph

23643 Commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
f522865462 Revert "touch: add protection for touch sleep case"
This reverts commit 974ac3b4b8.
2022-06-13 01:51:15 +08:00
Michael (XIAO Xufeng)
069ef38ff6 Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
This reverts commit a84faa3cef.
2022-06-13 01:51:12 +08:00
David Cermak
877eb62602 mqtt: Update tests to start with valid transport 2022-06-11 14:23:35 +02:00
David Cermak
0aea4bf50d mqtt: Fix client_enqueue(len=0), Improve transport memory
* Update submodule: git log --oneline 64f88b4412ea6649dbf207a07370c2617160d044..a21c387d6280260894981c22494017c893d505b9

Detailed description of the changes:
* mqtt_client: Added checks for cleanly-closed connection and timeout
  - See merge request espressif/esp-mqtt!118
  - Added checks for cleanly-closed connection and timeout (espressif/esp-mqtt@e05d873)
* mqtt_client: fix esp_mqtt_client_enqueue for len=0 (GitHub PR)
  - See merge request espressif/esp-mqtt!135
  - mqtt_client: fix esp_mqtt_client_enqueue for len=0 (espressif/esp-mqtt@69b6493)
* Fix implicit malloc/free inclusion
  - See merge request espressif/esp-mqtt!134
  - See commit https://github.com/espressif/esp-mqtt/commit/9299f54
* feat(mqtt): Optimize mqtt transport list and remove unused transport
  - See merge request espressif/esp-mqtt!131
  - See commit https://github.com/espressif/esp-mqtt/commit/647e0ef
* Fix WSS default port selection through menuconfig.
  - See merge request espressif/esp-mqtt!132
  - - Closes https://github.com/espressif/esp-mqtt/issues/223
  - See commit https://github.com/espressif/esp-mqtt/commit/f6caaff
2022-06-11 14:23:35 +02:00
David Cermak
1ad3e2db17 mqtt: Fix and add mqtt host test to CI 2022-06-11 14:23:30 +02:00
David Čermák
2c1f7a044e Merge branch 'bugfix/esp_netif_clean_deps' into 'master'
esp-netif: Make dependency on esp-eth optional

Closes IDF-4459

See merge request espressif/esp-idf!17980
2022-06-11 14:12:52 +08:00
Mahavir Jain
bb11770e38 Merge branch 'bugfix/low_wifi_throughput' into 'master'
ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit

Closes IDFCI-1302

See merge request espressif/esp-idf!18437
2022-06-10 19:28:36 +08:00
morris
4094f13fd3 rmt: fix error in rmt register file
Closes https://github.com/espressif/esp-idf/issues/9100
2022-06-10 18:38:42 +08:00
Mahavir Jain
a5fe7bb281
tools/unit_test_app: add targets specific configs for "aes_no_hw"
In ESP32-C2, there is no hardware AES and hence this config is not required
2022-06-10 15:08:07 +05:30
Mahavir Jain
4c3f5dba8d
ci: increase job count for C2 2022-06-10 15:08:07 +05:30
Mahavir Jain
fc43533859
mbedtls: enable all tests except SHA for ESP32-C2 2022-06-10 15:08:06 +05:30
Martin Vychodil
aa2cf79e13 Merge branch 'bugfix/fatfs_mtime_dst' into 'master'
fatfs: fix incorrect mtime returned for files created during DST

Closes IDFGH-7467

See merge request espressif/esp-idf!18333
2022-06-10 17:18:01 +08:00
Roland Dobai
724b4121b9 Merge branch 'feature/enable-lfn-for-fatfsparse' into 'master'
fatfs: enable long file names for fatfsparse.py

Closes IDF-4992

See merge request espressif/esp-idf!18212
2022-06-10 16:22:45 +08:00
Li Kun Qiao
20f5e180ee Merge branch 'support/esp32h2beta1_beta2_lib_update' into 'master'
ieee802154: update 802154 lib for supporting H2-beta1 and beta2

See merge request espressif/esp-idf!18442
2022-06-10 15:22:42 +08:00
Jiang Jiang Jian
70d7a362db Merge branch 'feature/wifi_beacon_loss_optimize' into 'master'
WiFi: beacon loss and noise check timer optimize for wifi power save

See merge request espressif/esp-idf!18447
2022-06-10 13:28:50 +08:00
Martin Vychodil
16a4ee7c36 Merge branch 'bugfix/spi_mode_status_check' into 'master'
sdmmc, sdspi: fixes related to status checks, R1b response support, erase fix for SPI mode, fix for erase timeout calculation

Closes IDF-4728

See merge request espressif/esp-idf!17727
2022-06-10 13:15:47 +08:00
morris
acae3e86dd Merge branch 'contrib/github_pr_9119' into 'master'
Fix the PARALLEL_LINES size of the tjpgd example to ensure that esp32c2 can also be used normally (GitHub PR)

Closes IDFGH-7559 and IDFGH-7549

See merge request espressif/esp-idf!18448
2022-06-10 12:34:55 +08:00
Armando
44f771c713 psram: support s3 copy flash to psram 2022-06-10 10:39:29 +08:00
morris
5daa73d236 Merge branch 'refactor/mcpwm_hal_driver_doc' into 'master'
mcpwm: don't support disable carrier one-shot pulse

Closes IDFGH-7406

See merge request espressif/esp-idf!18295
2022-06-10 10:28:59 +08:00
Simon
6ad7558ec1 Merge branch 'feature/esp32c2_configurable_mmu_new' into 'master'
MMU: add configurable MMU page size support (For ESP32C2)

Closes IDF-3821

See merge request espressif/esp-idf!17854
2022-06-10 10:20:49 +08:00
Fu Hanxi
bcb7ae3217 docs: fix test apps local execution section 2022-06-10 09:13:23 +08:00
Fu Hanxi
7e0bb1dabd ci: use tags as markers 2022-06-10 09:13:23 +08:00
Adam Múdry
8af790da45 fatfs: Add mock option to ff_sdmmc_status function to increase IO speed
Adds `disk_status_check_enable` field to `esp_vfs_fat_mount_config_t` struct to control if ff_sdmmc_status is mocked or not.
2022-06-09 20:09:32 +00:00
Martin Vychodil
3e78898d2c Merge branch 'bugfix/spiffs_readdir_errno' into 'master'
spiffs: update submodule to fix SPIFFS_readdir errno issue

See merge request espressif/esp-idf!18366
2022-06-10 03:53:08 +08:00
Ivan Grokhotkov
39238f51ce fatfs: fix incorrect mtime returned for files created during DST
mktime function uses tm_isdst member as an indicator whether the time
stamp is expected to be in daylight saving time (1) or not (0).
FAT filesystem uses local time as mtime, so no information about DST
is available from the filesystem.

According to mktime documentation, tm_isdst can be set to -1, in which
case the C library will try to determine if DST was or wasn't in
effect at that time, and will set UTC time accordingly.

Note that the conversion from UTC to local time and then back to UTC
(time_t -> localtime_r -> FAT timestamp -> mktime -> time_t) does not
always recover the same UTC time. In particular, the local time in the
hour before DST comes into effect can be interpreted as "before DST"
or "after DST", which would correspond to different UTC values. In
this case which option the C library chooses is undefined.

Closes https://github.com/espressif/esp-idf/issues/9039
Originally reported in https://github.com/espressif/arduino-esp32/issues/6786
2022-06-09 19:50:00 +00:00
Roland Dobai
a280ecd83a Merge branch 'bugfix/esptool_flash_autodetect_build_issue' into 'master'
esptool: fix elf2image conversion with "--dont-append-digest"

See merge request espressif/esp-idf!18444
2022-06-09 23:26:46 +08:00
Yannis Huber
3397cf465d driver(spi): fix flag check in bus initialization
The current flag check in the SPI bus initialization is wrong and
causes exceptions when using certain SPI hosts in quad transfert mode.
2022-06-09 17:20:30 +02:00
Shang Zhou
6b9d92c1d6 docs: provide CN translation for fatfsparse.py 2022-06-09 15:51:03 +02:00
Martin Gaňo
0f160c8f11 fatfs: enable long file names for fatfsparse.py 2022-06-09 15:51:03 +02:00
Aditya Patwardhan
815935b01e Merge branch 'ci/esp32c2_protocomm_ut' into 'master'
ci: Re-enable protocomm UTs for ESP32-C2

Closes IDF-5143

See merge request espressif/esp-idf!18394
2022-06-09 21:34:32 +08:00
likunqiao
41592e146a ieee802154: update 802154 lib for supporting H2-beta1 and beta2 2022-06-09 13:13:20 +00:00
Shu Chen
3df100662c Merge branch 'bugfix/rom_time_t_size_deps_esp32h2beta2' into 'master'
esp_rom: deprecate some esp32h2beta2 rom newlib funcs

See merge request espressif/esp-idf!18440
2022-06-09 20:56:09 +08:00
KonstantinKondrashov
5ec9baff36 efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort 2022-06-09 17:49:03 +08:00
KonstantinKondrashov
46f0313d6b reset_reasons: EFUSE_RST is treated as POWERON_RST
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-09 17:49:03 +08:00
Tomas Rezucha
5d202aa401 usb: Clean-up TinyUSB unnecessary code 2022-06-09 10:56:39 +02:00
Tomas Rezucha
d1d9b8f8f6 usb: Fixed RX buffer min size
Closes https://github.com/espressif/esp-idf/issues/9040
2022-06-09 10:56:39 +02:00
David Cermak
fd366fac9e esp_eth: Remove deprecated esp_eth_receive() 2022-06-09 07:55:40 +00:00
David Cermak
343cf2696e esp_eth: Reduce internal deps onto netif-glue 2022-06-09 07:55:40 +00:00
David Cermak
5e19b9c951 esp-netif: Make dependency on esp-eth optional
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
David Cermak
680f3a50c2 esp_eth: Rename drivers main header to esp_eth_driver
The original  would be used as API header bringing both driver and netif related includes
2022-06-09 07:55:40 +00:00
Li Shuai
7efa8b855a sleep: beacon loss and noise check timer optimize for wifi power save 2022-06-09 15:52:05 +08:00
morris
83eb2c4964 Merge branch 'bugfix/newlib_test_gcc11_esp32c2' into 'master'
newlib: ROM library is built with time_t 64bit in size

Closes IDFCI-1305 and IDFCI-1306

See merge request espressif/esp-idf!18424
2022-06-09 15:37:02 +08:00
Zim Kalinowski
56f2c86dd4 freertos: adjust performance test thresholds for SMP 2022-06-09 09:25:40 +02:00
David Čermák
f9c8d635c5 Merge branch 'feature/tcp_transport' into 'master'
tcp_transport: optimize memory

See merge request espressif/esp-idf!18102
2022-06-09 15:25:08 +08:00
Mahavir Jain
7dc0a1db18
esptool: fix elf2image conversion with "--dont-append-digest"
Append elf2image args so that "--dont-append-digest" do not override earlier
flash settings.

This was observed in case of ESP32-C2 image build where image build was failing
with `CONFIG_ESPTOOLPY_FLASHSIZE_DETECT`.

Related from earlier commit: 9c46c98b4c
2022-06-09 12:19:09 +05:30
Dai Zi Yan
b264d46d20 Merge branch 'docs/update_build_system' into 'master'
docs: udpate CN translation for build-system

See merge request espressif/esp-idf!18378
2022-06-09 14:09:07 +08:00
Rahul Tank
0395078a06 NimBLE: fix compilation issue in nimble examples for ESP32H2 2022-06-09 10:57:31 +05:30
Marius Vikhammer
08c4984773 Merge branch 'bugfix/s3_psram_spinlock' into 'master'
spinlock: fixed spinlocks not working on S3 if placed in PSRAM

Closes IDF-5169, IDFGH-7560, and IDF-5007

See merge request espressif/esp-idf!18425
2022-06-09 13:02:18 +08:00
Laukik Hase
872f8513fb
ci: Re-enable protocomm UTs for ESP32-C2 2022-06-09 09:55:09 +05:30
Rahul Tank
92ff76cd2c docs: Added a subsection for FAQ regarding paring pop up during provisioning 2022-06-09 09:47:15 +05:30