Commit Graph

13829 Commits

Author SHA1 Message Date
Roland Dobai
f4d1bb017a Merge branch 'feature/add-wl-support-fatfs' into 'master'
Add wear levelling support for fatfs partition generator

Closes IDF-4043 and IDF-2053

See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Mahavir Jain
b9b55bc32b Merge branch 'contrib/github_pr_7971' into 'master'
bugfix: Conflicting declaration error when include<rom/secure_boot.h>

Closes IDFGH-6308

See merge request espressif/esp-idf!16202
2021-12-01 11:59:20 +00:00
Roland Dobai
73ee08c09b Merge branch 'feature/carve_out_cmp' into 'master'
Remove cbor, jsmn and libsodium

Closes IDF-2169

See merge request espressif/esp-idf!16025
2021-12-01 11:32:05 +00:00
morris
0cec107c01 Merge branch 'bugfix/lcd_rgb_pclk_default_to_low' into 'master'
lcd: set rgb pclk idle level default to low

See merge request espressif/esp-idf!16193
2021-12-01 07:59:25 +00:00
Wang Meng Yang
fe289ec670 Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr' into 'master'
fix can not find mac addr error

Closes BT-2032

See merge request espressif/esp-idf!16143
2021-12-01 02:53:34 +00:00
Tomas Rezucha
ebaca79557 other: Move cbor, jsmn and libsodium to idf-component-manager
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components.
They are distributed via idf-component-manager, see
https://components.espressif.com.
2021-11-30 21:44:48 +01:00
Andrii Filippov
6a11f6fb20 Merge branch 'bugfix/replace_PING_CHECK_macro' into 'master'
Replace PING_CHECK macro by ESP_GOTO_ON_FALSE

Closes IDF-4241

See merge request espressif/esp-idf!15930
2021-11-30 17:20:51 +00:00
Mahavir Jain
f667b1039b Fix copyright headers for few include files 2021-11-30 22:25:33 +05:30
AndriiFilippov
f42d1f48c6 unified replace PING_CHECK by ESP_GOTO_ON_FALSE
unified replace PING_CHECK by ESP_GOTO_ON_FALSE

replace PING_CHECK macro by ESP_GOTO_ON_FALSE

Include header

grammar fix
2021-11-30 10:12:09 +01:00
lovyan03
cb91b51c52 bugfix: Conflicting declaration error with include<esp_efuse.h>, and Unified secure_boot.h include guard to "pragma once". 2021-11-30 15:46:49 +09:00
Yang Zhao
4b7a71673e Add the feature that switch random address to origin mac addr in the ADV
report data.
2021-11-30 14:14:42 +08:00
morris
89e37837d0 lcd: rgb pclk idle default to low 2021-11-30 13:44:06 +08: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
Martin Gano
7460deeae8 support for wear levelling in fatfs partition generator
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01: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
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
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
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
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
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
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
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
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
Wang Meng Yang
588235f3b1 Merge branch 'bugfix/bt_assert_failed_when_interrupt_hlevel_disable' into 'master'
component/bt: fix assert fail when interrupt hlevel disable

See merge request espressif/esp-idf!16042
2021-11-25 06:08:45 +00:00
Marius Vikhammer
93afdea821 Merge branch 'bugfix/s3_rtc_ram_deepsleep_test' into 'master'
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure

Closes IDFCI-137

See merge request espressif/esp-idf!16116
2021-11-25 04:15:52 +00:00
Marius Vikhammer
469d047aeb ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.

Fixed wrong usage of stack size and slightly increased it.
2021-11-25 10:25:59 +08:00
Shu Chen
87d19d7ef9 Merge branch 'feature/Add_zigbee_light_example' into 'master'
zigbee: add light example

See merge request espressif/esp-idf!15458
2021-11-25 02:14:53 +00:00
Shu Chen
a08d2732d5 Merge branch 'bugfix/esp32h2_iperf_udp_WTD_trigger' into 'master'
fix watch dog trigger when iperf udp is running

See merge request espressif/esp-idf!15625
2021-11-25 01:56:26 +00:00
Darian Leung
289730820b freertos: Add missing INCLUDE_ configurations for some functions
This commit adds missing INCLUDE_ configurations to FreeRTOSConfig.h for
the following functions:

- xTaskAbortDelay()
- xTaskGetHandle()

Unit tests for these functions were also added.

Closes https://github.com/espressif/esp-idf/issues/7902
2021-11-25 00:04:07 +08:00