Commit Graph

20958 Commits

Author SHA1 Message Date
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
David Cermak
cd085992c6 MQTT: Fix disconnect/reconnect, Adds empty client id, ...
Updated MQTT submodule: git log --oneline 89894bd0c611b1392967fe90bb49682eba858383...b86d42c130ac64a916ce6cf299d99f9756692394
* Added support for client with empty id
* Fixed user requested disconnect to correctly send MQTT disconnection message
* Fixed reconnection request with disabled autoreconnect
* Added qos and dup flags to data events
* Added Support for suback massage payload in mqtt events

Detailed description of the changes (89894bd0c6...b86d42c130):
* Adds the possibility of client with empty id
    - See merge request esp-mqtt!114
    - esp_mqtt commit 09287a1156
    - esp_mqtt commit 1fd50dd2cb
    - Related IDF-4124
* Client: Disconnect/Reconnect improvements
    - See merge request esp-mqtt!113
    - esp_mqtt commit 3f05b1aedc
    - esp_mqtt commit 86e40f8615
    - Related https://github.com/espressif/esp-mqtt/issues/206
    - Related https://github.com/espressif/esp-mqtt/issues/208
* Events: Support qos/dup flags and suback payload in mqtt events (GitHub PR)
    - See merge request esp-mqtt!112
    - esp_mqtt commit de47f1c341
    - esp_mqtt commit e1d5a9402f
    - Related https://github.com/espressif/esp-mqtt/issues/200
    - Related https://github.com/espressif/esp-mqtt/pull/203
2021-11-26 13:57:32 +01:00
David Cermak
3b0dcf8901 MQTT: Add more tests 2021-11-26 13:34:56 +01:00
David Cermak
acf0caa04a MQTT: Add more unit tests with actual broker 2021-11-26 11:45:32 +01: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
Laukik Hase
1df7f340be docs: Fix spell and grammatical errors
- PCNT
- ESP-TLS
- ESP WebSocket Client
2021-11-26 10:48:56 +05:30
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
Tomáš Bravenec
25934167bd Changed argument pointer to correct data 2021-11-25 09:55:25 +01: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
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
68df7d2ddf Merge branch 'bugfix/gpio_example_typo' into 'master'
Fix typo in gpio_example_main.c (GitHub PR #7823)

Closes IDFGH-6145

See merge request espressif/esp-idf!15974
2021-11-24 20:13:55 +00:00
Darian
c23cf30cea Merge branch 'bugifx/freertos_missing_api_config' into 'master'
FreeRTOS: Add missing INCLUDE_ configurations for some functions

Closes IDFGH-6229

See merge request espressif/esp-idf!16058
2021-11-24 19:53:31 +00:00