Commit Graph

20562 Commits

Author SHA1 Message Date
Chen Yudong
8fe7d74453 example: build ble_mesh_console example on c3 and s3 as well 2021-12-01 12:03:34 +08:00
Chen Yudong
e4a86f203f ci: preserve artifacts for local test apps 2021-11-30 17:39:00 +08:00
Omar Chebib
32f2f7db5e Merge branch 'bugfix/force_cmake_flags' into 'master'
Build: Force CMake variables to be set, regardless of the cache status

Closes IDFGH-5799

See merge request espressif/esp-idf!15382
2021-11-30 09:14:59 +00:00
Ivan Grokhotkov
4675dc428f Merge branch 'bugfix/vfs-select-lock-latency' into 'master'
vfs: reduce lock in vfs_select

Closes WIFI-4063 and WIFI-4207

See merge request espressif/esp-idf!16161
2021-11-30 03:55:44 +00:00
morris
43fd499547 Merge branch 'bugfix/reduce_bootup_time_when_using_usb-serial-jtag' into 'master'
rtc_clk: reduce bootup time when using usb-serial-jtag

Closes IDF-4319

See merge request espressif/esp-idf!16173
2021-11-30 03:32:55 +00:00
Ondrej Kosta
fcd634faec Merge branch 'contrib/github_pr_7958' into 'master'
fix: missing initializer waring in esp_eth

Closes IDFGH-6293

See merge request espressif/esp-idf!16178
2021-11-29 13:24:58 +00:00
Mahavir Jain
92b1ea2199 Merge branch 'bugfix/hardware_mpi_fallback_issue' into 'master'
mbedtls: fix hardware MPI (bignum) related regression

See merge request espressif/esp-idf!15854
2021-11-29 11:19:51 +00:00
Omar Chebib
0baf2c43cc Build: CMake compiler flags will be set, regardless of the cache status
Defining CMake variables from the command-line or from another CMake project,
such as `-DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS=`, caused a link failure as ESP
CMake was unable to set its proper compilation flags.
Additional CMake compiler flags can now be provided by another project.

* Closes https://github.com/espressif/esp-idf/issues/7507
2021-11-29 09:48:13 +00:00
jingli
0ea1825f64 reduce bootup time when using usb-serial-jtag 2021-11-29 17:21:11 +08:00
Shu Chen
961407ca42 Merge branch 'feature/add_mtd_for_openthread' into 'master'
openthread : support MTD

See merge request espressif/esp-idf!16006
2021-11-29 08:27:46 +00:00
Jiang Jiang Jian
7878255f17 Merge branch 'bugfix/repeated_ftm_failures_issue' into 'master'
Fix FTM failures after repeated operations

Closes IDFGH-6015

See merge request espressif/esp-idf!15689
2021-11-29 07:39:22 +00:00
Simon
e9f3f56ba1 Merge branch 'refactor/delete_clk_header' into 'master'
cleanups: Delete some deprecated headers to make idf cleaner(clk.h esp_cache_err.h)

Closes IDF-4294

See merge request espressif/esp-idf!16012
2021-11-29 07:31:55 +00:00
Mahavir Jain
12fee76695 esp_bignum: move check for supported MPI bits at start of API
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-11-29 15:13:05 +08:00
Mahavir Jain
5d9392d999 mbedtls: update mbedtls submodule pointer for MPI API change 2021-11-29 15:13:05 +08:00
Mahavir Jain
c097e6bcab mbedtls: fix hardware MPI (bignum) related regression
In commit de22f3a4e5, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.

This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).

This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-11-29 15:13:05 +08:00
Mahavir Jain
1a390f4518 mbedtls: update kconfig help to correct on supported MPI bits 2021-11-29 15:13:02 +08:00
Darian
567f626ef7 Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision' into 'master'
Freertos: Fix loss of precision in pdTICKS_TO_MS (GitHub PR #7856)

Closes IDFGH-6179

See merge request espressif/esp-idf!16133
2021-11-29 06:36:00 +00:00
Jiacheng Guo
b00d6d0a95 vfs: reduce lock in vfs_select 2021-11-29 14:09:07 +08:00
zhangwenxu
f3fc4deade openthread : support MTD 2021-11-29 13:17:49 +08:00
Ivan Grokhotkov
68cf4ef2be Merge branch 'feature/remove_component_manager_tests' into 'master'
ci: Remove component manager test from build system tests

Closes IDFCI-809 and IDFCI-929

See merge request espressif/esp-idf!16104
2021-11-26 16:39:56 +00:00
Vladimir Chistyakov
2b944ca056 fix: missing initializer warning in esp_eth
remove auto_nego_en member from esp_eth_config_t as it is not used
 anywhere
2021-11-26 17:42:38 +07:00
Cao Sen Miao
7f0a746e6a move brownout trax cache_int_err to private folder 2021-11-26 18:27:53 +08:00
Roland Dobai
a8c95dcd00 Merge branch 'feat/rm_c_kconfig' into 'master'
tools: Delete the old kconfig tools

Closes IDF-1111

See merge request espressif/esp-idf!16079
2021-11-26 09:51:18 +00:00
Anton Maklakov
a72893760a ci: Fix build system tests to clean the dir 2021-11-26 10:25:21 +01:00
Mahavir Jain
59974b447c Merge branch 'feature/update_esp_cryptoauthlib_submodule' into 'master'
atecc608a_example: Update esp-cryptoauthlib submodule pointer

See merge request espressif/esp-idf!16077
2021-11-26 07:17:34 +00:00
Cao Sen Miao
5c5dd6d81f esp_clk: Add migration guide for this breaking change 2021-11-26 14:56:30 +08:00
Cao Sen Miao
c794808297 cache_err_int: delete old headers 2021-11-26 14:56:30 +08:00
Cao Sen Miao
eddc196081 esp_clk: refactor target/clk.h to private/esp_clk.h 2021-11-26 14:56:30 +08:00
Wang Meng Yang
28d5d5787b Merge branch 'nimble_spp' into 'master'
NimBLE: BLE example for SPP service

See merge request espressif/esp-idf!14998
2021-11-26 06:02:27 +00:00
Wang Meng Yang
2269a962c5 Merge branch 'nimble/add_throughput_example' into 'master'
NimBLE: Add NimBLE throughput demo examples

Closes BT-532

See merge request espressif/esp-idf!9476
2021-11-26 06:01:04 +00:00
Prasad Alatkar
bdf96f8621 NimBLE: Add NimBLE throughput demo examples 2021-11-26 06:01:01 +00:00
Aditya Patwardhan
6a44accdbb atecc608a_example: Update esp-cryptoauthlib submodule pointer
*Provide configuratble option to I2C address of the secure element.
2021-11-26 12:38:32 +08:00
Gustavo Henrique Nihei
d0846e48e5 Merge branch 'bugfix/bootloader_utility_warnings' into 'master'
bootloader_support: Fix compiler warnings

See merge request espressif/esp-idf!16083
2021-11-26 04:13:37 +00:00
Michael (XIAO Xufeng)
c4310fb0db Merge branch 'feature/add_h2_beta2_target_support' into 'master'
esp32h2: Add support for esp32h2 beta2 version

Closes IDF-4230

See merge request espressif/esp-idf!15630
2021-11-26 03:56:01 +00:00
Fu Hanxi
0f1b0d0585 Merge branch 'ci/abort_when_catch_error_while_search_cases' into 'master'
ci: abort with all ImportErrors when detecting ImportError while search tests cases

See merge request espressif/esp-idf!16127
2021-11-26 01:10:07 +00:00
Alexey Gerenkov
47921a1588 Merge branch 'bugfix/app_trace_tmo_init' into 'master'
startup: init timer before calling esp_apptrace_tmo_init

See merge request espressif/esp-idf!16084
2021-11-25 19:35:46 +00:00
lisekt84
b3e0c9213a freertos: Fix loss of precision in pdTICKS_TO_MS
Closes https://github.com/espressif/esp-idf/pull/7856
Closes https://github.com/espressif/esp-idf/issues/7853

[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 21:55:39 +08:00
Gustavo Henrique Nihei
c6391f12db bootloader_support: Fix unused-but-set-variable compiler warning
When building with BOOTLOADER_LOG_LEVEL lesser then VERBOSE, an error
code variable was being set but not consumed, resulting in a compiler
warning.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-25 21:12:52 +08:00
Gustavo Henrique Nihei
acbf871d2f bootloader_support: Fix unused-variable compiler warning
Builds for every chip other than ESP32 resulted in a compiler warning
due to "drom_load_addr_aligned" and "irom_load_addr_aligned" not being
used, besides being possible to actually reuse them.
Furthermore, extended the logic for the other similar variables.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-25 21:12:52 +08:00
David Čermák
07f502410a Merge branch 'bugfix/sntp_example_docs' into 'master'
sntp example - updated ntp over dhcp code/comments (GitHub PR)

Closes IDFGH-6147

See merge request espressif/esp-idf!15897
2021-11-25 11:37:34 +00:00
Mahavir Jain
e778006546 Merge branch 'bugfix/esp_http_server_doc' into 'master'
esp_http_server: Update documentation for custom close callback [GitHub PR]

Closes IDFGH-6279

See merge request espressif/esp-idf!16087
2021-11-25 10:59:04 +00:00
Fu Hanxi
1f14dc5b74 ci: abort with all ImportErrors when detecting ImportError while search tests cases 2021-11-25 18:56:19 +08:00
Nachiket Kukade
c3d971c52e esp_wifi: Update wifi lib
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
   unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
   while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
   avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
   timeout issue in ASAP mode

Closes https://github.com/espressif/esp-idf/issues/7702

Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
Christoph Rackwitz
4af1da0f21 esp_wifi: Reset event bits in ftm example to avoid repeated failures
Closes https://github.com/espressif/esp-idf/pull/7773
2021-11-25 15:48:34 +05:30
FlorianR
4db3fd17d9 Clarify when the socket is closed if a custom session closing callback is used
When using a custom session closing callback, the IDF will not close the socket for the user. This might result in the system running out of fds. Without any note on that in the documentation, this is easy to miss.
2021-11-25 17:19:11 +08:00
Mahavir Jain
ef98a363e3 Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback' into 'master'
bootloader_support: Adds fault injection protection for check_anti_rollback

See merge request espressif/esp-idf!15662
2021-11-25 09:01:59 +00:00
David Cermak
020047b0f9 Examples/lwip: sntp example - Make SNTP server configurable
Also updates NTP example test to allow more attempts
2021-11-25 08:50:29 +01:00
Mahavir Jain
140efc3857 Merge branch 'bugfix/scheduler_state_query_thread_safety' into 'master'
freertos: fix thread safety for checking scheduler state

Closes IDFGH-6041

See merge request espressif/esp-idf!16097
2021-11-25 07:31:33 +00:00
David Čermák
ae4b8ea08e Merge branch 'bugfix/wifi_netif_on_off_cycle_race' into 'master'
wifi: Fix race conditon invoking invalid callback on deinit

Closes IDFGH-5880

See merge request espressif/esp-idf!15393
2021-11-25 07:28:59 +00:00
Ondrej Kosta
a789cf705f Merge branch 'feature/eth_raw_frame_intf' into 'master'
Feature/eth raw frame intf

Closes IDF-4102

See merge request espressif/esp-idf!13873
2021-11-25 07:21:19 +00:00