Jakob Hasse
0d15ee6c12
refactor(doc): added name 'ESP Timer' to doc for clarification
2022-06-20 11:15:48 +08:00
Jing Li
6c8dc275a1
Merge branch 'refactor/improve_flash_power_down_logic' into 'master'
...
sleep: improve flash power down logic
See merge request espressif/esp-idf!17901
2022-06-20 11:05:58 +08:00
yuanjm
63ed429a49
fix(example): Fix wss_server_example not close socket
...
Closes https://github.com/espressif/esp-idf/issues/9163
2022-06-20 03:01:38 +00:00
Mahavir Jain
9f72659da8
Merge branch 'fix/remove_monkeypatch_in_flash_encryption_example' into 'master'
...
flash_encryption_example: Remove unnecessary monkeypatch
See merge request espressif/esp-idf!18583
2022-06-20 10:59:26 +08:00
Martin Vychodil
339fcbf14d
System/Security: Memprot API unified (ESP32S3)
...
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
2022-06-20 02:36:44 +00:00
Mahavir Jain
d5a9f67ce9
Merge branch 'bugfix/fix_pre_encrypted_ota_pytest_example' into 'master'
...
ci: Fix pre_encrypted_ota pytest example
Closes IDFCI-1295
See merge request espressif/esp-idf!18454
2022-06-19 12:53:51 +08:00
Ondrej Kosta
26edd9b98f
Merge branch 'feature/lwip_bridge' into 'master'
...
Feature/lwip bridge
Closes IDF-4944
See merge request espressif/esp-idf!17945
2022-06-19 03:09:05 +08:00
Kapil Gupta
674967d0a6
Merge branch 'bugfix/wps_scan_ssid_copy' into 'master'
...
Correct SSID copy length during WPS scan
Closes WIFI-4533
See merge request espressif/esp-idf!18571
2022-06-18 22:55:35 +08:00
Kapil Gupta
7fae6ce4f2
Correct SSID copy length during WPS scan
2022-06-18 13:26:48 +00:00
Aditya Patwardhan
e4de05578c
flash_encryption_example: Remove unnecessary monkeypatch for the
...
flash_encryption pytest.
Earlier monkeypatching was done to add erase_partition functionality.
The required code has been added upstream in pytest-embedded
2022-06-18 18:01:38 +05:30
morris
e234a412a8
Merge branch 'feature/pcnt_virtual_io' into 'master'
...
pcnt: support set level for unused control signal
Closes IDF-5184
See merge request espressif/esp-idf!18358
2022-06-18 15:59:59 +08:00
morris
06eb494a61
pcnt: support set the level of virtual IO
2022-06-18 15:00:37 +08:00
Sudeep Mohanty
ac5cfa78bf
Merge branch 'bugfix/freertos_smp_fix_test_preemtion' into 'master'
...
freertos-smp: Fix test_preemtion yield time threshold for FreeRTOS SMP
Closes IDF-5254
See merge request espressif/esp-idf!18577
2022-06-18 05:04:05 +08:00
Zim Kalinowski
d209cb3a6b
Merge branch 'bugfix/freertos_tlsp_del_cb_tests' into 'master'
...
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
Closes IDF-5252
See merge request espressif/esp-idf!18576
2022-06-18 04:05:25 +08:00
Ivan Grokhotkov
3973db7664
soc: make register access macros compatible with C++20
...
In C++20, using the result of an assignment to a 'volatile' value is
deprecated.
Breaking change: register "setter" or modification macros can no
longer be used as expressions.
Closes https://github.com/espressif/esp-idf/issues/9170
2022-06-17 18:09:22 +02:00
Aditya Patwardhan
c2ccc383da
Merge branch 'feature/protocomm_security_version_2' into 'master'
...
Protocomm: Add SRP6a-based security scheme
Closes IDF-3014
See merge request espressif/esp-idf!18183
2022-06-18 00:04:40 +08:00
simon.chupin
45482bd1c0
components: Change copyright in components files
2022-06-17 16:59:56 +02:00
Ivan Grokhotkov
157247f98f
asio: fix example for compatibility with C++20
...
Fix deprecated-enum-enum-conversion warning when compiling the
example with C++20
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
9ff37d122a
esp_common: add handling for designated inits for C++20
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
9dba0476a0
asio: disable concepts support
...
The bundled version of asio uses legacy concepts syntax
(https://en.cppreference.com/w/cpp/experimental/constraints ) which is
not accepted by GCC with -std=c++20.
Disable the concepts support until asio is upgraded to a version which
supports the new syntax.
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
7f971429bc
cmake: allow lower language versions when building for linux target
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
a2ca5d03c5
examples, components: remove C/C++ standard overrides
...
...where they are not necessary after switching to C17 and C++20.
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
0a1e83c599
build system: use C17 and C++2a by default
...
Closes https://github.com/espressif/esp-idf/pull/4846
Related to https://github.com/espressif/esp-idf/issues/5003
Related to https://github.com/espressif/esp-idf/issues/6885
Related to https://github.com/espressif/arduino-esp32/issues/5859
2022-06-17 16:44:16 +02:00
Sudeep Mohanty
648f4d3a9f
freertos-smp: Fix test_preemtion yield time threshold for FreeRTOS SMP
...
This commit adjusts the test_preemtion yield time threshold to pass when
FreeRTOS SMP is enabled.
2022-06-17 16:03:34 +02:00
Darian Leung
97cf44cbe0
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
...
The TLSP deletion callback feature is not compatible with the CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
option. However, the "freertos_options" unit test configuration will enable that option.
This commit disables all CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP related features when compiling with
SMP FreeRTOS.
2022-06-17 21:57:11 +08:00
Aditya Patwardhan
6222d43984
protocomm: Added option to enable/disable supported security versions.
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
15531e1023
wifi_provisioniong: Update wifi provisioning example to demonstrate security version 2
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
0b88785286
provisioning: Added documentation for SRP6a based Security Scheme 2
2022-06-17 13:16:20 +00:00
Laukik Hase
7fa47173b2
wifi_prov_mgr: Added documentation related to SRP6a
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
f2cce5fa0d
wifi_provisioning: Update the APIs with reference to the new APIs from protocomm
...
esp_local_ctrl: Update the code with reference to new changes in protocomm component
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
eb7ff34c89
protocomm: Added SRP6a implementation as the security version 2.
...
1) Rename srp component to esp_srp
2) Remove dependency on hkdf sha
3) Restructure protocomm component APIs to make them more flexible for allowing multiple security versions
4) esp_srp: convert API return type from int to esp_err_t
5) esp_srp: Formatting changes
6) Added mbedtls_gcm instead of aes_ctr
Co-authored-by: Laukik hase <laukik.hase@espressif.com>
2022-06-17 13:16:20 +00:00
Laukik Hase
3235206624
esp_prov: Added provision for SRP6a-based security scheme
2022-06-17 13:16:20 +00:00
Laukik Hase
5169e22277
protocomm: Generated proto-c and python files for SRP6a scheme
...
- Added protobuf auto-generated files to pre-commit check
ignore lists
2022-06-17 13:16:20 +00:00
Alexey Gerenkov
73989eb05b
Merge branch 'feature/coredump_separate_stack_xtensa' into 'master'
...
espcoredump: allow reserving dedicated stack size for Xtensa architecture
See merge request espressif/esp-idf!18041
2022-06-17 20:29:24 +08:00
Jiang Jiang Jian
02b9aafa96
Merge branch 'bugfix/fix_some_wifi_issue' into 'master'
...
esp_wifi: add multiphy support for c2 and fix ftm with ps issue
Closes WIFI-4468, WIFI-4464, WIFI-4467, WIFI-4463, WIFI-4456, WIFI-4459, WIFI-4460, WIFI-4474, and WIFI-4505
See merge request espressif/esp-idf!18480
2022-06-17 20:00:24 +08:00
jingli
3a908c66e6
use API instead of Kconfig
2022-06-17 19:57:47 +08:00
Sudeep Mohanty
089d88da77
Merge branch 'bugfix/freertos_smp_build_test_failures' into 'master'
...
freertos-smp: Fix build test issues for s2, s3, c3 with FreeRTOS SMP enabled
See merge request espressif/esp-idf!18564
2022-06-17 19:53:54 +08:00
Jiang Jiang Jian
9e40841483
Merge branch 'bugfix/fix_some_memory_leak_in_phy' into 'master'
...
fix the bug that some memory leaked in phy after wifi/ble deinit
Closes IDFGH-6820
See merge request espressif/esp-idf!18548
2022-06-17 18:31:30 +08:00
Ivan Grokhotkov
a22730c914
esp_system: fix garbled UART output on startup on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/9168
2022-06-17 12:09:07 +02:00
jingli
824e0ddca8
improve flash power down logic
2022-06-17 18:01:43 +08:00
Roland Dobai
60f845384f
Merge branch 'refactor/add_types_to_tools' into 'master'
...
tools: add python types hints
See merge request espressif/esp-idf!18434
2022-06-17 17:08:19 +08:00
Darian Leung
95955ed170
esp_system: Workaround esp_ipc_isr_stall_other_cpu() deadlock with SMP FreeRTOS
...
SMP FreeRTOS uses a single kernel lock for all critical sections. There is a known
issue with esp_ipc_isr_stall_other_cpu() that can cause dead if the other CPU is
already in a critical section.
This commit adds a temporary workaround to reduce the chance of deadlock by taking
the SMP FreeRTOS kernel lock first before stalling the other CPU.
See IDF-5257 for more details.
2022-06-17 15:37:07 +08:00
Sudeep Mohanty
c5d6f97331
freertos-smp: Fix build test errors for esp32s2 and esp32s3
...
This commit fixes build test errors for esp32s2 and esp32s3 with
FreeRTOS SMP enabled.
2022-06-17 09:21:46 +02:00
Roland Dobai
a988cc9a64
Merge branch 'tools/csv_handling_overhaul' into 'master'
...
tools: Overhaul csv handling for mfg_gen and nvs_partition_gen
Closes IDFGH-5434
See merge request espressif/esp-idf!18365
2022-06-17 15:20:50 +08:00
Sudeep Mohanty
55f1eca248
freertos-smp: Fix build test errors for esp32c3
...
This commit fixes build test failures for esp32c3.
2022-06-17 09:18:46 +02:00
Sudeep Mohanty
7726f343e8
freertos-smp: Update prvYieldCore() to fix compile warning
...
prvYieldCore() leads to an array-out-of-bounds error when compiled with
-Os optimization and configNUM_CORES = 1. This commit avoids this
compile warning by compiling out the part of code which is unnecessary
when configNUM_CORES is 1.
2022-06-17 09:11:02 +02:00
Konstantin Kondrashov
7f109b8181
Merge branch 'bugfix/adds_iram_attr_for_efuse_apis' into 'master'
...
bootloader_efuse: Adds IRAM_ATTR for efuse API
Closes IDFGH-7601
See merge request espressif/esp-idf!18517
2022-06-17 13:24:41 +08:00
Jiang Jiang Jian
4851857573
Merge branch 'bugfix/enterprise_certs' into 'master'
...
esp_wifi: Update wpa2 enterprise certs.
See merge request espressif/esp-idf!18515
2022-06-17 10:58:54 +08:00
Jack
cb0dd5cc75
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-16 20:42:20 +08:00
muhaidong
820bfe9cd8
esp_wifi: fix ftm with ps and add multiphy support for c2
...
1. sleep: fix potential issue when PSRAM enable.
2. esp32c2: add multiphy support.
3. ftm: workaround for ftm with ps.
4. add regdomain max channel of ap.
5. update total scan time.
6. update min chan when country policy is auto.
7. check whether country schan and nchan is valid.
2022-06-16 20:11:22 +08:00