David Čermák
4196c3f591
Merge branch 'update/discontinue_tcpip_adapter' into 'master'
...
esp_netif: Remove tcpip_adapter compatibility layer
Closes IDF-4457
See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
Mahavir Jain
a8ba5a0264
Merge branch 'ci/all_alloc_psram_config' into 'master'
...
[ci] Add unit test configs with aggressive PSRAM allocations
See merge request espressif/esp-idf!14996
2022-03-11 00:30:56 +08:00
Konstantin Kondrashov
00ab35ade0
Merge branch 'feature/bootloader_add_app_test_lvl' into 'master'
...
bootloader: Adds a level selection for the app's test pin.
Closes IDFGH-6703
See merge request espressif/esp-idf!17425
2022-03-10 22:48:15 +08:00
Darian Leung
94c2467dd6
esp_common: Rename esp_macro.h to esp_macros.h
2022-03-10 21:22:35 +08:00
Wang Meng Yang
c412cb15ac
Merge branch 'feature/update_hfp_hf_version' into 'master'
...
component_bt: Update HFP_HF version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!16950
2022-03-10 20:17:06 +08:00
MacDue
e47419374c
esp_https_ota: add user_ctx to decrypt_cb
...
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
...
- Some bool configs were using default values true and false,
instead of y and n.
2022-03-10 14:26:37 +05:30
morris
f38c13adea
Merge branch 'contrib/github_pr_8497' into 'master'
...
ledc: Do not drive output during init if the output is inverted (GitHub PR)
Closes IDFGH-6875
See merge request espressif/esp-idf!17433
2022-03-10 16:55:59 +08:00
David Cermak
7db0f0feb1
esp_mesh: Document that hard-coded non-root nodes do not need TCP/IP
2022-03-10 08:19:44 +01:00
David Cermak
13ffddc0f3
phy: Use htobe32 instead of htonl to decouple from lwip
2022-03-10 08:19:43 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
Ondrej Kosta
be24d90e14
esp_eth/test_apps: test stability/performance improvement
2022-03-10 08:16:18 +01:00
Kapil Gupta
9130988299
Merge branch 'bugfix/security_validation' into 'master'
...
wpa_supplicant: Add BTM security checks
Closes WIFI-4075 and WIFI-4081
See merge request espressif/esp-idf!16619
2022-03-10 15:14:06 +08:00
David Čermák
0b58f987cd
Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
...
mdns: Add support for dynamic network interfaces
Closes IDF-939
See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
Anton Maklakov
101af84d77
Merge branch 'bugfix/spiffs_readdir_truntate_snprintf' into 'master'
...
spiffs: fix format-truncation warning
See merge request espressif/esp-idf!17240
2022-03-10 14:57:52 +08:00
morris
2c7cfdd784
spi: define tranfer max bit length in LL
2022-03-10 13:40:43 +08:00
Laukik Hase
3b3b668256
ci: Disable failing UTs
...
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
2022-03-10 05:01:17 +00:00
Laukik Hase
c5decf291e
ci: Fix for ETSTimers arm & disarm run from IRAM
UT
...
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
- Forced `esp_timer_create` to allocate resource from the internal memory
- WiFi/BT coexistence will sometimes arm/disarm timers from an ISR
where flash may be disabled. This can lead to a cache-based
exception as the timer instance will be located in the PSRAM.
2022-03-10 05:01:17 +00:00
Laukik Hase
6f9fc0ba8e
esp_system: Place ipc_task semaphores on DRAM
...
- For CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL < 92, the ipc_task semaphores
were allocated on SPIRAM rather than internal RAM
- SemaphoreHandle_t has a size of 92, thus the failure
2022-03-10 05:01:17 +00:00
Dai Zi Yan
1462367eeb
Merge branch 'docs/translate_coexist' into 'master'
...
docs/ translate coexist
Closes DOC-2479
See merge request espressif/esp-idf!16830
2022-03-10 10:59:18 +08:00
Jiang Jiang Jian
7c7e8a83b9
Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
...
Remove legacy system event framework.
Closes IDF-3608
See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
Simon
fb4ee8e31f
Merge branch 'feature/support_hpm_on_flash' into 'master'
...
spi_flash: Building a framework to enable HPM when flash works under high speed mode, take GD as an example.
Closes IDF-4537
See merge request espressif/esp-idf!16660
2022-03-10 03:04:21 +08:00
KonstantinKondrashov
21dd929c72
bootloader: Adds a level selection for the app's test pin.
...
Closes https://github.com/espressif/esp-idf/issues/8332
2022-03-09 19:52:37 +08:00
morris
b841332aa5
Merge branch 'component/esp_websocket_migration' into 'master'
...
websocket: Remove internal component, examples and test
Closes IDF-4076
See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
Cao Sen Miao
8dce0cbf6b
spi_flash: Fix bug that in bootloader dummy is 0 when mosi is 0
2022-03-09 18:49:34 +08:00
Cao Sen Miao
85dd785d8d
spi_flash: Building a framework to enable HPM when flash works under high speed mode
2022-03-09 18:49:34 +08:00
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
morris
da28f7e2d9
Merge branch 'feature/rmt_hal_dma' into 'master'
...
rmt: document and improve LL driver
See merge request espressif/esp-idf!17297
2022-03-09 17:55:08 +08:00
Shubham Kulkarni
a4afeed209
esp_http_server: Minor updates in error messages
...
idf_http_server_test/client.py: Update test script with new error message
2022-03-09 14:43:10 +05:30
Kevin (Lao Kaiyao)
733a991e2f
Merge branch 'bugfix/touch_wait_circle_after_wakeup_from_sleep_on_s3' into 'master'
...
touch: fix the touch sensor wait cycle on s3
See merge request espressif/esp-idf!15531
2022-03-09 16:41:55 +08:00
Darian
98f27378f2
Merge branch 'contrib/github_pr_8372' into 'master'
...
fix: choose_va_arg macro (GitHub PR)
Closes IDFGH-6742
See merge request espressif/esp-idf!17367
2022-03-09 14:40:04 +08:00
David Cermak
42ba8a8338
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98
mdns: Add API to control custom network interfaces
2022-03-09 07:33:23 +01:00
Vamshi Gajjela
bee6053fc0
Merge branch 'feature/ftruncate_vfs_fatfs_support' into 'master'
...
fatfs: Implement ftruncate function in VFS and FAT VFS
Closes IDFGH-6641
See merge request espressif/esp-idf!17389
2022-03-09 13:20:54 +08:00
Kapil Gupta
c098c253b1
wpa_supplicant: Add BTM security checks
2022-03-09 03:58:39 +00:00
Marius Vikhammer
934a3951b8
Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
...
soc: support placing task stacks in external memory for S2 and S3
Closes IDF-2797 and IDF-1805
See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
Anton Maklakov
e7bfc44caf
spiffs: fix format-truncation warning
2022-03-09 10:43:30 +07:00
Jiang Jiang Jian
4778c249e6
Merge branch 'Optimize/null_pointer_judgment_of_eb' into 'master'
...
esp_netif:optimize the null pointer judgment of eb
Closes IDF-4576
See merge request espressif/esp-idf!16934
2022-03-09 11:38:24 +08:00
morris
4dfbc9ee7b
rmt: remove deprecated functions
2022-03-09 10:58:14 +08:00
morris
9f55712c03
rmt: document and improve LL driver
2022-03-09 10:58:12 +08:00
xiongweichao
6514f9e94c
docs: translate coexist from CN to EN
2022-03-09 02:50:00 +00:00
David Čermák
06df46e26a
Merge branch 'bugfix/security_update_pppos_crash' into 'master'
...
lw-ip: Apply security fixes from upstream; Fix PPPoS and NAPT ip-forward
Closes IDFGH-6668 and IDFGH-6825
See merge request espressif/esp-idf!17227
2022-03-09 03:04:52 +08:00
Mahavir Jain
5ca79a00dd
Fix build issues for implicit declaration for esp_fill_random
2022-03-08 14:05:23 +00:00
Sachin Parekh
32a6550e87
mbedtls: Added ECC hardware accelerator support on ESP32C2
...
ESP32C2 has a ECC hardware accelerator capable of performing point
multiplication and point verification with a significant performance
boost
2022-03-08 14:05:23 +00:00
Sachin Parekh
bc1d35a14e
esp32c2/hal: Added ECC HAL layer
2022-03-08 14:05:23 +00:00
David Cermak
98e9426b66
CI/mdns: Fix fuzzer build
2022-03-08 14:25:34 +01:00
David Cermak
bec42ff85d
mdns: Add support for registering custom netif
2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b
mdns: Use predefined interfaces to prepare for custom netifs
2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8
mdns: Prepare for dynamic esp-netif support
2022-03-08 13:39:53 +01:00
Vladimir Chistyakov
216703c0ef
esp_macro: Fix CHOOSE_MACRO_VA_ARG() for C++20
...
Closes https://github.com/espressif/esp-idf/pull/8372
Closes https://github.com/espressif/esp-idf/issues/8371
[darian@espressif.com: Updated macro description and commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-03-08 20:21:26 +08:00
Darian
8b902739ac
Merge branch 'feature/freertos_smp_base_master_483237711' into 'master'
...
Add baseline SMP FreeRTOS
Closes IDF-3420, IDF-3348, IDF-3331, IDF-3333, IDF-3701, IDF-3341, IDF-3346, IDF-3339, IDF-3685, IDF-3338, and IDF-3342
See merge request espressif/esp-idf!17016
2022-03-08 19:58:11 +08:00
Vamshi Gajjela
ea9f7cc370
fatfs: Add ftruncate api support for VFS and FAT-VFS
...
Unit test cases added to verify ftruncate within fatfs tests.
Closes https://github.com/espressif/esp-idf/issues/8279
2022-03-08 16:58:25 +05:30
Omar Chebib
cfee73658b
Merge branch 'bugfix/fix_heap_free_memory' into 'master'
...
Heap: fix free bytes calculation for TLSF heap
Closes IDFGH-6628
See merge request espressif/esp-idf!17337
2022-03-08 18:08:30 +08:00
Shu Chen
fcfe75b7d6
Merge branch 'feature/openthread-update-220303' into 'master'
...
openthread: Update OpenThread submodule
See merge request espressif/esp-idf!17338
2022-03-08 18:02:20 +08:00
laokaiyao
93b162c767
touch: fix the touch sensor wait cycle on s3
2022-03-08 09:11:14 +00:00
David Cermak
92f7ecd632
lwip: Security fixes; PPPoS null-deref; NAPT ip-forward
...
* Cherry-pick important fixes to 2.1.2-esp
- CVE-2020-22283: Attacker could craft a packet that would disclose 8 bytes of some heap memory:
- icmp6: Don't copy too much data
- icmp6: Fix copying of chained pbuf in reply
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages
- CVE-2020-22284: ZEP - ZigBee Encapsulation Protocol/6LoWPAN is not supported in IDF,
the netif module (zepif.c) is not included in the build, but users can still inject
the file into compilation process, implement IO interface and use this.
- zepif: Copy possibly chained output pbuf properly
- Add #define for minimum IPv6 MTU length
- pbuf: Add pbuf_copy_partial_pbuf library function
* PPPoS: Fix null-deref when processing double break packet
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
* NAPT: Fix PBUF_REF type to clone the pbuf before forwarding
- IP-FORWARD: If packet-type is PBUF_REF clone it before forwarding
- Add NAPT unit test to exercise NAT feature for both RAM and REF pbuf types
* version: Update version numbers to match 2.1.2-esp
* Update submodule: 2749568fe1...76303df238
- test/napt: Add unit test for IP forward with PBUF_REF (espressif/esp-lwip@76303df2 )
- napt: Fix PBUF_REF type to clone the pbuf before forwarding (espressif/esp-lwip@39068263 )
- version: Update version numbers to match 2.1.2-esp (espressif/esp-lwip@2b922919 )
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
- pbuf: Add pbuf_copy_partial_pbuf library function (espressif/esp-lwip@1c9cd9c1 )
- Add #define for minimum IPv6 MTU length (espressif/esp-lwip@d2dc577b )
- zepif: Copy possibly chained output pbuf properly (espressif/esp-lwip@64ab7f2a )
- icmp6: Don't copy too much data (espressif/esp-lwip@4a64731b )
- icmp6: Fix copying of chained pbuf in reply (espressif/esp-lwip@7c822ff4 )
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages (espressif/esp-lwip@29100ab6 )
- dns: Add API to clear dns cache (espressif/esp-lwip@ee59f77d )
- CI: Fixed adding gitlab key (espressif/esp-lwip@5a2bdba7 )
- test case: modify test case test_tcp_new_max_num_remove_FIN_WAIT_1 (espressif/esp-lwip@6b090f7d )
Closes https://github.com/espressif/esp-idf/issues/8300
Closes https://github.com/espressif/esp-idf/issues/8451
2022-03-08 09:38:42 +01:00
Darian Leung
c2f2b1e228
freertos: Add SMP FreeRTOS porting notes
...
This commit adds some notes about the SMP FreeRTOS port
2022-03-08 14:59:18 +08:00
Darian Leung
27f5c90e2e
freertos: Fix usage of vTaskSuspendAll()/xTaskResumeAll()
...
IDF FreeRTOS uses vTaskSuspendAll()/xTaskResumeAll() to stop preemption
on a particular core. However, those functions behave differently in FreeRTOS SMP.
This commit replaces all calls of vTaskSuspendAll()/xTaskResumeAll() with
vTaskPreemptionDisable()/vTaskPreemptionEnable() when compiling with SMP FreeRTOS.
2022-03-08 14:59:18 +08:00
Darian Leung
883da858b0
freertos: Fix various build errors
...
This commit fixes various build errors in IDF (and tests) when compiling
with SMP FreeRTOS:
- Updated usage of xTaskGetIdleTaskHandle()
- Disable sysview tracing macros
- Update some task snapshot functions
- Disabled test_freertos_hooks.c test as vApplicationIdleHook() and
vApplicationTickHook() are used.
2022-03-08 14:59:18 +08:00
Darian Leung
9da5d7c40a
freertos: Add changes to FreeRTOS SMP sources
...
This commit adds the necessary changes to the FreeRTOS SMP source and
and header files so that it can be compatible with ESP-IDF.
2022-03-08 14:59:18 +08:00
Darian Leung
37c270b337
freertos: Update Xtensa port files to support FreeRTOS SMP
...
This commit updates the copied Xtensa port to support the new porting interfaces
of the FreeRTOS SMP kernel. These modifications are mainly contained in
- FreeRTOSConfig.h
- FreeRTOSConfig_smp.h
- portmacro.h
- port.c
Some porting interfaces have changed in FreeRTOS SMP. In order to allow building
with IDF, compatibility interfaces have been added.
2022-03-08 14:59:18 +08:00
Darian Leung
163ddc3818
freertos: Update components CMakeLists.txt and Add SMP Kconfig option
...
This commit does the following:
- Add a Kconfig option to select between the IDF FreeRTOS kernel and the
FreeRTOS SMP kernel.
- Updates the freertos component's CMakeLists.txt so that FreeRTOS SMP
files are now built based the the new configuration option.
This commit WILL NOT compile. The port files for FreeRTOS SMP still need to
be updated.
2022-03-08 14:59:18 +08:00
Darian Leung
89dd2fe7f5
freertos: Copy IDF xtensa port files
...
This commit copies over ESP-IDF Xtensa portable files to the
FreeRTOS-Kernel-SMP directory. No changes were made, this commit
only copies the portable source files.
Notes:
- This commit WILL NOT compile
- Some SPDX header dates were updated to pass pre-commit check
2022-03-08 14:59:18 +08:00
Darian Leung
2d1afaf35b
freertos: Add FreeRTOS SMP upstream files
...
This commit copies over the sources files from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/smp based on the
commit 4832377117b4198db43009f2b548497d9cdbf8da
The FreeRTOS SMP sources are added to components/freertos/FreeRTOS-Kernel-SMP
Notes:
- This commit WILL NOT compile correctly. It simply copies over sources files
- copyright_ignore.txt entries added so that we can avoid using SPDX headers
- Portable files are not added yet
2022-03-08 14:58:57 +08:00
Anton Maklakov
b4ebc77975
esp-mqtt: fix warnings
2022-03-08 11:30:56 +07:00
morris
21e29f285f
temp_sensor: avoid coexistence of new and legacy driver
2022-03-08 11:57:53 +08:00
Omar Chebib
4ce4c5a68a
Heap: fix free bytes calculation for TLSF heap
...
* Closes https://github.com/espressif/esp-idf/issues/8270
2022-03-08 11:42:23 +08:00
Cao Sen Miao
12e050b38c
opi_flash: Add new 16MB opi flash (MXIC25UW12345G) support,
...
Closes https://github.com/espressif/esp-idf/issues/7996
2022-03-08 11:02:49 +08:00
Aditya Patwardhan
8f67af174e
Merge branch 'contrib/github_pr_8462' into 'master'
...
Add WolfSSL esp_tls TLS1.3 configuration option (GitHub PR)
Closes IDFGH-6838 and IDFGH-6683
See merge request espressif/esp-idf!17324
2022-03-08 10:57:05 +08:00
MacDue
72e322fbba
esp_http_server: reword error messages
2022-03-07 17:39:02 +00:00
Zim Kalinowski
0440aca4e3
Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
...
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
morris
4aa81975d1
Merge branch 'bugfix/i2c_fix_typo_of_slave_macro' into 'master'
...
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
Closes IDFGH-6893
See merge request espressif/esp-idf!17373
2022-03-07 23:38:13 +08:00
Ivan Grokhotkov
5f1c6ac605
Merge branch 'contrib/github_pr_8500' into 'master'
...
Fix compiler error in mbedtls (GitHub PR)
Closes IDFGH-6879 and IDFGH-6881
See merge request espressif/esp-idf!17380
2022-03-07 22:17:30 +08:00
Vamshi Gajjela
a9454c9776
Merge branch 'feature/sdmmc_erase_cmd_support' into 'master'
...
[sdmmc] Add erase command support
Closes IDFGH-5947 and IDFGH-5935
See merge request espressif/esp-idf!17054
2022-03-07 21:52:23 +08:00
Ivan Grokhotkov
5bc1cd7d26
Merge branch 'feature/flash_emu_linux_component' into 'master'
...
[spi_flash] LINUX target emulation of Partition API
See merge request espressif/esp-idf!13929
2022-03-07 20:36:38 +08:00
Simon
4bf4a020a6
Merge branch 'refactor/abstract_temperature_sensor' into 'master'
...
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3
Closes IDF-3665, IDF-3367, and IDF-1793
See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Alexander Klassen
a46776ad02
Add WolfSSL esp_tls TLS1.3 configuration option
...
Closes https://github.com/espressif/esp-idf/issues/8313
2022-03-07 09:44:23 +00:00
Jiacheng Guo
323b35af58
openthread: Update OpenThread submodule
...
* Remove log region macros and move to the new OpenThread logging module
* Remove TREL support
2022-03-07 15:45:16 +08:00
Island
f31be6ca5d
Merge branch 'feature/add_proxy_conn_and_disconn_event' into 'master'
...
ble_mesh: stack: Add proxy server connect and disconnect event
See merge request espressif/esp-idf!16917
2022-03-07 15:10:22 +08:00
gabsuren
f3c7215565
websocket: Remove internal component, examples and test
2022-03-07 11:07:40 +04:00
0xFEEDC0DE64
9b7c345bce
Fix compiler error in mbedtls
...
Closes https://github.com/espressif/esp-idf/pull/8500
Closes https://github.com/espressif/esp-idf/issues/8499
Closes IDFGH-6879
Closes IDFGH-6881
2022-03-07 12:15:08 +05:30
morris
75e835efe6
Merge branch 'bugfix/fix_regi2c_analog_cali_num_macro' into 'master'
...
regi2c: fix analog calibration register num macro
See merge request espressif/esp-idf!17376
2022-03-07 14:08:47 +08:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Konstantin Kondrashov
e17b0df8ec
Merge branch 'feature/adds_efuses_to_table' into 'master'
...
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
See merge request espressif/esp-idf!17294
2022-03-07 13:05:55 +08:00
Armando
f41c9d154a
regi2c: fix analog calibration register num macro
2022-03-07 11:48:57 +08:00
Kevin Guilloy
1fce1616c4
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
...
Merges: https://github.com/espressif/esp-idf/pull/8513
2022-03-07 10:40:57 +08:00
Armando (Dou Yiwen)
748037708f
Merge branch 'bugfix/fix_adc_digital_not_reset_issue' into 'master'
...
adc: fix adc digital part not reset issue
Closes IDF-4680
See merge request espressif/esp-idf!17279
2022-03-06 13:49:18 +08:00
wangjialiang
089637cfa3
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-05 11:14:28 +00:00
wangjialiang
c49b5b2409
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-05 11:14:28 +00:00
Vamshi Gajjela
964592e189
fatfs: Add trim ioctl call, set FF_USE_TRIM as default option.
...
FF_USE_TRIM is set by default with this commit. Fatfs invokes disk_ioctl
with CTRL_TRIM to erase the sectors calling sdmmc_erase_sectors to choose the right
argument for the erase operation based on media type.
2022-03-05 16:35:37 +05:30
Vamshi Gajjela
ffdbeee9f6
sdmmc: Add erase command-38. Support erase/trim/discard/sanitize
...
options.
Erase command (38) for SD cards allows option for erase/dicard/fule
operation at block level and for MMC cards supports option for
discard/trim at block level. When Sanitize is executed only the
portion of data that was unmapped by a Discard command shall be
removed by the Sanitize command.
Unit test cases added to verify ERASE feature in SD/SDSPI mode.
TRIM/DISCARD/SANITIZE tests for eMMC devices.
Closes https://github.com/espressif/esp-idf/pull/7635
Closes https://github.com/espressif/esp-idf/issues/7623
2022-03-05 16:02:01 +05:30
Armando (Dou Yiwen)
48daa38a63
Merge branch 'bugfix/fix_adc_calibration_light_sleep_issue' into 'master'
...
adc: fix calibration error when waking up from light sleep
Closes IDF-4406, IDF-4605, IDFGH-6252, and IDFGH-6651
See merge request espressif/esp-idf!16259
2022-03-04 23:05:09 +08:00
Martin Vychodil
9a5f39ec2c
spi_flash: Linux target emulation of Partition API
...
Emulator of Partition API layer for Linux OS
2022-03-04 14:36:46 +00:00
xiongweichao
7ee85858b4
Update HFP_HF version to 1.7.2
2022-03-04 11:52:12 +00:00
Ivan Grokhotkov
c8b43ee0c1
Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4641
See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
morris
a0283234cd
Merge branch 'feature/support_esp32h2_gpio' into 'master'
...
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix
Closes IDF-4232 and IDF-3439
See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb
Temperature_sensor: Create new temperature sensor API
2022-03-04 18:13:35 +08:00
Cao Sen Miao
214e206111
Temperature_sensor: Add temperature support for ESP32-S3
2022-03-04 18:13:27 +08:00
Cao Sen Miao
441900caa2
Temperature_sensor: keep legacy drivers
2022-03-04 17:59:07 +08:00
Anton Maklakov
ea0d2123c8
cmake: fix issue with passing cxx_std option for GCC 11, a common workaround
2022-03-04 16:52:37 +07:00
Nonoo
062f6164ae
ledc: Do not drive output during init if the output is inverted
2022-03-04 08:39:57 +01:00
Marius Vikhammer
374712921a
CI: add configs for running S2, S3 unit tests with PSRAM
...
Fixed various minor failures detected with these configs.
2022-03-04 15:29:17 +08:00
Marius Vikhammer
36ef485c4e
soc: support placing task stacks in external memory for S2 and S3
2022-03-04 15:25:52 +08:00
Marius Vikhammer
e543e97c7b
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-03-04 15:25:52 +08:00
rrforte
ffe19e0c8d
Bugfix: LCD component support for large SPI color transfers
2022-03-03 22:43:12 -08:00
Mahavir Jain
171b4ec13a
Merge branch 'fix/update_licenses_of_file_wrt_mbedtls_3_1_change' into 'master'
...
mbedtls: Update licenses of files updated in mbedtls-3.1 update
Closes IDF-4725
See merge request espressif/esp-idf!17335
2022-03-04 13:55:11 +08:00
Jiang Jiang Jian
081828d494
Merge branch 'bugfix/add_pll_track_feature_mr_master' into 'master'
...
Add pll track feature
Closes BT-2030
See merge request espressif/esp-idf!17284
2022-03-04 13:53:59 +08:00
Aditya Patwardhan
4582af75b8
mbedtls: Update licenses of files updated in mbedtls-3.1 update
2022-03-04 05:18:58 +00:00
morris
52fcdbacc3
Merge branch 'feature/pcnt_driver_ng' into 'master'
...
⛵ Driver-NG: Introduce a brand new driver for PCNT
Closes IDF-2196 and IDF-2896
See merge request espressif/esp-idf!10507
2022-03-04 12:25:35 +08:00
Armando
494b996ecc
sleep: restore analog calibration registers after waking up from light sleep
...
Closes https://github.com/espressif/esp-idf/issues/8287
Closes https://github.com/espressif/esp-idf/issues/7921
2022-03-04 12:10:20 +08:00
Armando
d7512d8b38
adc: add adc single read & light sleep test
2022-03-04 12:10:20 +08:00
Omar Chebib
dc25a8a6ba
Merge branch 'refactor_rtc_wdt_code' into 'master'
...
RTC WDT: refactor code to remove duplicated code
See merge request espressif/esp-idf!16845
2022-03-04 11:52:15 +08:00
Armando
e66f59ae0b
rng: fix rng adc digital inpu not disabled issue
2022-03-04 03:49:33 +00:00
Armando
4ca115be98
adc: fix adc digital not reset issue
2022-03-04 03:49:33 +00:00
songruojing
c8c137f2b7
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Anton Maklakov
924178d407
nimble: update because of warnings
2022-03-04 10:00:54 +07:00
Ivan Grokhotkov
6b8e4212be
driver: sdspi: set default DMA channel compatible with S3, C3 or later
2022-03-03 21:40:04 +01:00
Ivan Grokhotkov
c19203be0e
mbedtls: disable files generation, specify Python interpreter to use
...
When GEN_FILES is enabled, Perl interpreter should be available. There
is a check in mbedTLS that disables GEN_FILES on Windows (where Perl
is not available by default) but it is broken for recent CMake
versions.
Also set Python interpreter to the one IDF uses, just to avoid calling
into some other Python version which CMake might manage to find.
2022-03-03 15:56:15 +01:00
morris
0d920a47f7
unit_test: migrate to use pulse_cnt driver
2022-03-03 22:38:32 +08:00
morris
04b3f8b210
pcnt: deprecated as legacy driver
2022-03-03 22:38:32 +08:00
morris
ec8defaa96
pulse_cnt: new driver for PCNT peripheral
2022-03-03 22:38:32 +08:00
Jiang Jiang Jian
1068c7720b
Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
...
Always connect Station in PMF mode if possible
Closes WIFI-4320
See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Sudeep Mohanty
bc82613847
Merge branch 'docs/ulp_documentation_updates' into 'master'
...
docs: Updated ULP documentation
Closes IDF-3306
See merge request espressif/esp-idf!17225
2022-03-03 19:16:27 +08:00
Alex Lisitsyn
dcaac79380
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues' into 'master'
...
modbus: fix tcp slave destroy issues
Closes IDFGH-6568
See merge request espressif/esp-idf!16856
2022-03-03 16:34:33 +08:00
Alex Lisitsyn
224901fed3
modbus: fix tcp slave destroy issues
2022-03-03 16:34:33 +08:00
Song Ruo Jing
ed3469ea65
Merge branch 'bugfix/i2c_iram_placement_fix' into 'master'
...
i2c: Correct hal functions iram placement
Closes IDFGH-6795
See merge request espressif/esp-idf!17282
2022-03-03 16:19:31 +08:00
Yang Zhao
000f398ab9
Update ESP32-C3 and ESP32-S3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-03 07:39:22 +00:00
Omar Chebib
96b362d1da
RTC WDT: Use target name instead of caps for rtc wdt
2022-03-03 13:47:22 +08:00
Omar Chebib
dbba26643f
RTC WDT: refactor code to remove duplicated code
2022-03-03 13:47:22 +08:00
Kevin (Lao Kaiyao)
433d6ee1fd
Merge branch 'bugfix/i2s_dac_incorrect_clock' into 'master'
...
i2s: fix adc/dac clock calculation
Closes IDFGH-6715
See merge request espressif/esp-idf!17233
2022-03-03 12:23:13 +08:00
Song Ruo Jing
b665dcbe68
Merge branch 'feature/esp32c2h2_support_uart' into 'master'
...
UART: Provide support for esp32c2 and esp32h2
Closes IDF-3823, IDF-4154, and IDF-4221
See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Wang Meng Yang
cdc00140d0
Merge branch 'bugfix/a2dp_sniff_master' into 'master'
...
Fix crash when host exit sniff mode
Closes BT-1802
See merge request espressif/esp-idf!14434
2022-03-03 11:26:05 +08:00
morris
869e503875
Merge branch 'bugfix/i2s_mono_issue_on_c3_s3' into 'master'
...
🔧 i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
See merge request espressif/esp-idf!16843
2022-03-03 10:46:13 +08:00
Marius Vikhammer
706a14884f
Merge branch 'feature/riscv_ulp_gpio_intr' into 'master'
...
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor
Closes IDFGH-6589
See merge request espressif/esp-idf!17288
2022-03-03 09:40:03 +08:00
Marius Vikhammer
29db173536
Merge branch 'feature/move_target_kconfig' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!16893
2022-03-03 09:39:54 +08:00
Aditya Patwardhan
72f12a0c8c
Fix issue in wpa_supplicant
2022-03-03 01:37:10 +05:30
Laukik Hase
f5feb7813e
mbedtls: Fix build errors related to TLS 1.3
...
- Kconfig: Enabled MBEDTLS_HKDF_C by default when TLS 1.3 support is enabled
- esp-tls (mbedtls): Forced client to use TLS 1.3 when TLS 1.3 support is enabled
2022-03-03 01:37:10 +05:30
Laukik Hase
0868513ddd
ci: Fix unit test failures
...
- protocomm: Fix leakage due to ECDH context not being
initialised and freed properly
- mbedtls (RSA): Added mandatory RNG parameter wherever required
Disabled `test performance RSA key operations` UT
- mbedtls (AES_GCM): Added mbedtls_gcm_update_ad() wherever required
for updating associated data
- unit_test_app: Fix build issue when heap tracing is enabled
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8cbfb18037
mbedtls-3.x: Update Kconfig macros
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8111286668
Add entropy_poll.h in port directory
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
03ccb1a0b5
mbedtls-3.X: Updated the openthread submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
740f1afe20
Update nimble submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
a52144da04
Update mbedtls submodule to 3.1
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
66a9243d3b
mbedtls 3.X update:
...
*MBEDTLS_ECDH_LEGACY_CONTEXT is now disabled by default.
*Fixed MBEDTLS_ECDH_LEGACY_CONTEXT issue for protocomm component.
*Removed all code under MBEDTLS_DEPRECATED_REMOVED
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
60b167f2d6
mbedtls-3.1 update: Removed the MBEDTLS_PRIVATE
from multiple files
...
after they have been again made public in mbedtls-3.1
*Added `MBEDTLS_ALLOW_PRIVATE_ACCESS` in some files.
2022-03-03 01:37:10 +05:30
Kapil Gupta
6a164cc5bc
Fix issues in wpa2 enterprise with mbedTLS 3.0
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30