Commit Graph

23560 Commits

Author SHA1 Message Date
Mahavir Jain
8094d874bc Merge branch 'refactor/tcp_transport' into 'master'
tcp_transport: Fix error propagation to higher layers

Closes IDF-1291

See merge request espressif/esp-idf!16394
2022-06-01 13:22:15 +08:00
Konstantin Kondrashov
b824f68b35 Merge branch 'feature/move_dport_workaround_to_g0' into 'master'
dport_access: Move DPORT workaround to G0

Closes IDF-2177

See merge request espressif/esp-idf!17961
2022-06-01 12:11:12 +08:00
Marius Vikhammer
740c8d30d6 CI: enable custom bootloader tests on S3 2022-06-01 11:39:09 +08:00
Ivan Grokhotkov
0c10b937f5 Merge branch 'bugfix/freertos_smp_disable_interrupt_usage' into 'master'
FreeRTOS: Replace portSET_INTERRUPT_MASK_FROM_ISR() call for SMP

Closes IDF-5062 and IDF-5066

See merge request espressif/esp-idf!18301
2022-06-01 00:18:26 +08:00
David Cermak
8b40579aa4 lwip: Move wifi's custom pbuf alloc/free to IRAM if config 2022-05-31 16:21:47 +02:00
David Cermak
0e71a325de lwip/wifi: Improve Rx throughput on the wifi defaults (sta+ap) 2022-05-31 15:23:06 +02:00
Konstantin Kondrashov
f1d3332eea Merge branch 'bugfix/c3_efuse_fail_bits' into 'master'
soc: Fix efuse fail bits

See merge request espressif/esp-idf!18321
2022-05-31 21:11:30 +08:00
Mahavir Jain
6aa4743ffd Merge branch 'feature/c2_support_flash_encryption' into 'master'
esp32c2: Support Flash Encryption

Closes IDF-3899

See merge request espressif/esp-idf!17993
2022-05-31 21:04:00 +08:00
KonstantinKondrashov
c5a4ab39a7 soc: Fix description of efuse fail bits 2022-05-31 11:21:24 +00:00
KonstantinKondrashov
6e6b5474c3 doc(esp32c2): Updates Flash Encryption chapter 2022-05-31 11:12:21 +00:00
KonstantinKondrashov
0b22839925 hal(ecp32c2): Adds spi_flash_encrypted_ll 2022-05-31 11:12:21 +00:00
KonstantinKondrashov
dd4642b6ba secure_boot(esp32c2): Fix case when SB key is pre-loaded 2022-05-31 11:12:21 +00:00
KonstantinKondrashov
505e18237a bootloader: Support Flash Encryption for ESP32-C2 2022-05-31 11:12:21 +00:00
Martin Gano
d11af9051b Merge branch 'bugfix/fixed-unsatisfiable-condition' into 'master'
Fixed comparison with ESP_MONITOR_DECODE

Closes IDFGH-7482

See merge request espressif/esp-idf!18325
2022-05-31 19:00:12 +08:00
Martin Gaňo
24e856a509 Fixed comparsion of integer and string that evaluated always to False
Closes https://github.com/espressif/esp-idf/issues/9052
Closes IDFGH-7482
2022-05-31 12:51:47 +02:00
Sudeep Mohanty
8d3eca6a0d Merge branch 'bugfix/freertos_fix_test_preemption' into 'master'
freertos: fix test_preemtion test

See merge request espressif/esp-idf!18318
2022-05-31 18:08:45 +08:00
Laukik Hase
12fb7a61a4
docs: Added migration guide for HTTP Client and TCP Transport
- Added breaking changes notes
- Style fixes
2022-05-31 15:04:21 +05:30
Laukik Hase
7115881a97
esp_http_client/esp_https_ota: Removed errno checks
- Returned -ESP_ERR_HTTP_EAGAIN for timeout errors from
  esp_http_client whenever tcp transport layer returns
  connection timeout
- Removed redundant conditional statements as required

Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2022-05-31 15:04:21 +05:30
Laukik Hase
cc7c67ad4e
tcp_transport: Fix error propogation
- Made tcp_transport_errors codes public to indicate
  TCP connection issues not covered in socket's errno
- Added API to translate tcp_transport_error codes
  to esp_err_t codes for TCP Transport

Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2022-05-31 15:04:21 +05:30
Mahavir Jain
01d014c42d Merge branch 'contrib/github_pr_9062' into 'master'
Secure boot v2 image format: CRC size (GitHub PR)

Closes IDFGH-7493

See merge request espressif/esp-idf!18327
2022-05-31 14:21:05 +08:00
Anton Maklakov
25cee26784 Merge branch 'bugfix/storage-warnings' into 'master'
nvs: minor warning fixes

See merge request espressif/esp-idf!18313
2022-05-31 13:46:13 +08:00
KonstantinKondrashov
ac4c7d99fe dport: Move DPORT workaround to G0 2022-05-31 13:44:18 +08:00
Anton Maklakov
5751ecbbe9 Merge branch 'bugfix/bootloader_warnings' into 'master'
bootloader:  minor fixes of warnings

See merge request espressif/esp-idf!18307
2022-05-31 13:36:01 +08:00
Anton Maklakov
d1aa08eefb Merge branch 'bugfix/periph-warnings' into 'master'
peripherals: minor warning fixes

See merge request espressif/esp-idf!18312
2022-05-31 13:32:55 +08:00
Mahavir Jain
8e9bb00781 Merge branch 'bugfix/mark_ota_test_as_flaky' into 'master'
ota_example: Mark tests as flaky

See merge request espressif/esp-idf!18311
2022-05-31 13:15:11 +08:00
morris
fa6bce6c21 Merge branch 'docs/translate_gpio' into 'master'
Docs/translate gpio

Closes DOC-2857

See merge request espressif/esp-idf!18090
2022-05-31 12:19:35 +08:00
Dai Zi Yan
e2b87e668b Docs/translate gpio 2022-05-31 12:19:34 +08:00
Jiang Jiang Jian
3ef6d2ac34 Merge branch 'docs/bt_l2cap' into 'master'
docs: fix spelling errors in l2cap docs

See merge request espressif/esp-idf!18326
2022-05-31 12:15:36 +08:00
Anton Maklakov
b965264e68 Merge branch 'bugfix/coredump_warnings' into 'master'
coredump: minor fixes of warnings

See merge request espressif/esp-idf!18306
2022-05-31 11:43:51 +08:00
Anton Maklakov
620ceb8638 Merge branch 'bugfix/efuse_supress_warnings' into 'master'
efuse: suppress -Wstringop-overflow warnings

See merge request espressif/esp-idf!18258
2022-05-31 11:14:32 +08:00
Anton Maklakov
c0c4548453 Merge branch 'bugfix/ulp_warnings' into 'master'
ulp: minor fixes of warnings

See merge request espressif/esp-idf!18309
2022-05-31 11:06:18 +08:00
Marius Vikhammer
349203b3b1 docs: fix spelling errors in l2cap docs 2022-05-31 02:32:06 +00:00
Jiang Jiang Jian
6bde276a7a Merge branch 'docs/update-fatfsgen-encoding' into 'master'
Removed misleading sentence about fatfs lfn encoding

Closes IDF-5174

See merge request espressif/esp-idf!18324
2022-05-31 10:24:29 +08:00
Jakob Hasse
97c149f73d Merge branch 'refactor/nvs_iterator_api' into 'master'
NVS: New interface for iterator functions

Closes IDFGH-6149

See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Stefan Wallentowitz
dd7aece4bf
Secure boot v2 image format: CRC size
The CRC size is documented as 1095 bytes, but in the code I find 1196 bytes:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/secure_boot_v2/secure_boot.c#L35
2022-05-30 23:30:34 +02:00
Sergei Silnov
dd6c0629f7 Merge branch 'bugfix/default_components_for_component_manager' into 'master'
build & config: Don't include common components on early expansion

Closes IDF-4823

See merge request espressif/esp-idf!17728
2022-05-31 01:26:28 +08:00
Ivan Grokhotkov
79659e3096
sdmmc: better calculation of erase timeout
Previous version of the code used a fixed constant (500 ms) for the
erase timeout and added 1 ms for each sector erased.
This commit improves timeouts calculation:
- For SD cards, check if erase timeout information is present in the
  SSR register. If yes, use it for erase timeout calculation.
  Otherwise assume 250ms per erase block, same as Linux does.
- For eMMC assume 250ms per erase block (but no less than 1 second).
  This has to be improved later to use the erase timeout info in the
  extended CSD register.
2022-05-30 15:39:02 +02:00
Ivan Grokhotkov
a28828a6f4
fatfs: re-enable TRIM support for SPI mode
Previously this didn't work because MMC_ERASE implementation for SPI
didn't wait for the busy status indication.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
36e3043306
sdmmc: check card status in SPI mode after sdmmc_erase_sectors
Same as for write operation, some errors are reported only via CMD13.
Without the R1b response support in sdspi driver, this check would
fail. Now that R1b support is implemented, erase command response is
zero (success) on all cards under test.
Also remove the now-unnecessary card reset after erase in the test
case.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
3ad98984e9
driver: sdspi: add support for R1b response
Same as R1 but with busy indication polling
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
bb11f49c74
sdmmc: check for errors reported by card in sdmmc_write_sectors_dma
During write operation (CMD24 or CMD25), the card can report some of
the errors in the 1-byte response tokens. Other types of errors are
not reported, the host has to get them by issuing CMD13.
This commit adds CMD13 request at the end of write operations and
reports error to the user if the card status isn't zero.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
c4c7e7c82b
sdmmc: support sdmmc_send_cmd_send_status in SPI mode
SPI mode uses different response format (2-byte R2) compared to SD mode.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
da47bebdd8
sdmmc: sdmmc_init_sd_ssr: use correct command name
Numerical value of MMC_SEND_STATUS is the same as SD_APP_SD_STATUS,
so there is no functional change. Just making this consistent with the
sdmmc_send_app_cmd call later on.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
f1e3536f3c
driver: sdspi: fix decoding of R2 response 2022-05-30 15:39:00 +02:00
Ivan Grokhotkov
17b7981e2e
driver: sdmmc: add SPI mode R2 response definitions 2022-05-30 15:39:00 +02:00
Martin Gaňo
59ba6999ae Removed misleading sentence about fatfs lfn encoding
Closes IDF-5174

Related to IDF-4795
2022-05-30 15:33:58 +02:00
Island
74b7a3fc83 Merge branch 'feature/final_h2_bluedroid_skc_common' into 'master'
Feature/final h2 bluedroid skc common

See merge request espressif/esp-idf!17710
2022-05-30 21:20:52 +08:00
Martin Vychodil
9bd819c78f Merge branch 'fix/fatfs_remove_utf16_support' into 'master'
FatFS: Disable UTF 16 filename encoding

Closes IDF-4795

See merge request espressif/esp-idf!18192
2022-05-30 20:59:53 +08:00
daiziyan
59453d0e78 docs: update CN translation for idf-monitor.rst 2022-05-30 20:55:37 +08:00
Sergei Silnov
89518ee86a build & config: Check requirements of managed components of main and add interface versioning 2022-05-30 14:36:22 +02:00