Commit Graph

13487 Commits

Author SHA1 Message Date
Anton Maklakov
91696b9d6d coredump: update test data for toolchain 2021r2 2021-10-25 19:55:41 +07:00
Andrei Safronov
cb6e5b0980 newlib: fix clang atomics
Correction of the SYNC_LOCK_* macros in stdatomic
2021-10-21 17:34:48 +01:00
Marius Vikhammer
108f85f8b3 ci: update cert used for esp_eth test 2021-10-21 10:05:56 +08:00
David Čermák
4e03a9c34c Merge branch 'bugfix/mdns_non_standard_domains' into 'master'
mdns: Fix parsing non-standard queries

Closes IDFGH-6009

See merge request espressif/esp-idf!15566
2021-10-20 16:21:24 +00:00
Scott Mabin
f06bc441f3 Merge branch 'bugfix/remove-uneeded-clang-ifdefs' into 'master'
remove `__clang__` ifdef around atomic libcalls

See merge request espressif/esp-idf!15489
2021-10-20 14:54:28 +00:00
Mahavir Jain
81e3eb45ca cpu_start: rename function to add core prefix for more clarity 2021-10-20 15:16:25 +05:30
Mahavir Jain
11d9faf38c spi_flash: enable cache access error test for all targets except ESP32-S2 2021-10-20 15:16:25 +05:30
Mahavir Jain
61820f5b30 cpu_start: let individual core clear its interrupt matrix
There was race condition where interrupt entries set by APP cpu core
could have been cleared during PRO cpu startup.

This was observed while setting up "cache access error" interrupt in
SMP mode for ESP32-S3.

This fix allows to NOT modify or clear any entries set by other core
(APP or PRO) and thus avoiding any race conditions during startup code.
2021-10-20 15:16:25 +05:30
Mahavir Jain
bdeaeb8d7f esp_system: enable "cache disable but cache accessed" interrupt for ESP32-S3 2021-10-20 15:16:25 +05:30
Michael (XIAO Xufeng)
390f71cbcb Merge branch 'bugfix/add_support_for_mspi_to_work_with_cpu_clock_switch' into 'master'
mspi: make cpu clock source switch safe

Closes IDFCI-902

See merge request espressif/esp-idf!15557
2021-10-20 08:21:53 +00:00
Li Shuai
e8188e5d8f ci: replacing old header with new SPDX header style 2021-10-20 11:36:23 +08:00
Li Shuai
7c7f3aa84e unit test: add sleep test case for esp32s3 2021-10-20 11:36:23 +08:00
Li Shuai
a939f7d34b light sleep: add software workaround for esp32s3 gpio reset issue 2021-10-20 11:36:22 +08:00
Li Shuai
44da7d27ef heap: add a new heap caps attribute for RTC fast memory 2021-10-20 11:36:22 +08:00
Li Shuai
62a4587e87 deep sleep: modified to support dual-core mode 2021-10-20 11:36:22 +08:00
Li Shuai
881e1b0fd5 deep sleep: add deep sleep support for esp32s3 2021-10-20 11:36:20 +08:00
David Cermak
d16f9bade5 mdns: Fix parsing non-standard queries
Fix for packets containing unexpected domains, such as openthread.thread.home.arpa.
If we find this packet we set the name entry as invalid, but continue with parsing as the packet might contain related queries for us.

Closes https://github.com/espressif/esp-idf/issues/7694
2021-10-19 16:58:33 +02:00
Armando
c331c85318 mspi: make cpu clock source switch safe
For some of the MSPI high frequency setting (e.g. 80M DDR mode Flash or PSRAM), timing tuning is required.
Certain delays will be added to the MSPI RX direction. When system clock switches down, the delays should be
cleared. When system clock switches up, the delays should be restored.
2021-10-19 21:47:27 +08:00
Li Shuai
9298db641e deep sleep: fix some rtc fast memory definition errors in esp32s3 2021-10-19 21:47:27 +08:00
Jiang Jiang Jian
7c3a37977f Merge branch 'bugfix/ut_test_case_esp32_phy_enable' into 'master'
unit-test: fix esp32 phy enable test case

See merge request espressif/esp-idf!15549
2021-10-19 13:46:04 +00:00
Jiang Jiang Jian
ed293158fc Merge branch 'bugfix/fix_stuck_in_rtc_clk_calibration' into 'master'
[bugfix] Futher fix stuck in rtc clk calibration

Closes IDFCI-908 and IDFCI-909

See merge request espressif/esp-idf!15547
2021-10-19 12:09:09 +00:00
Omar Chebib
0d5608b377 Merge branch 'bugfix/replace_xtensa_relative_j_branch' into 'master'
Xtensa: Branch and jump intructions referencing a relative label have been replaced

Closes IDF-3809

See merge request espressif/esp-idf!15179
2021-10-19 11:48:43 +00:00
Shu Chen
dc19bd4e5a Merge branch 'feature/ot-esp-console' into 'master'
openthread: Use esp console for CLI

See merge request espressif/esp-idf!15365
2021-10-19 09:38:40 +00:00
Mahavir Jain
1e920e4a7c Merge branch 'fix/esp_crt_bundle_update_cacrt_all_file' into 'master'
Updated the cacrt_all.pem file with latest Root certificate list.

See merge request espressif/esp-idf!15395
2021-10-19 08:57:33 +00:00
Omar Chebib
8048677b4c Xtensa: Branch and jump intructions referencing a relative label have been replaced
As branches/jumps on Xtensa have a maximum range for the destination, it is
unsafe to refer to a label to another compilation unit in a branch/jump instruction.
The labels have been replaced by absolute addresses.
2021-10-19 12:21:12 +08:00
wuzhenghui
5000aa877f fix rtc_clk_cal: Wait for timeout in a loop instead of just judge once 2021-10-19 12:07:34 +08:00
David Čermák
75e2705269 Merge branch 'bugfix/esp_netif_public_headers' into 'master'
esp_netif: Fix implicit includes in public headers (GitHub PR)

Closes IDFGH-6002

See merge request espressif/esp-idf!15535
2021-10-18 16:43:59 +00:00
Mahavir Jain
8f3b89dedf Merge branch 'bugfix/esp_http_client_socket_cleanup_exception' into 'master'
esp_http_client: fix exception when calling esp_transport_list_destroy.

Closes IDFGH-6001

See merge request espressif/esp-idf!15544
2021-10-18 12:54:11 +00:00
Li Shuai
a50312fa63 unit-test: fix esp32 phy enable test case 2021-10-18 19:42:52 +08:00
Zim Kalinowski
a631765333 Merge branch 'bugfix/fixed-cxx-build-include-hal' into 'master'
cxx: fixed cxx build failure when including hal

Closes IDFGH-6026

See merge request espressif/esp-idf!15540
2021-10-18 08:38:37 +00:00
0xFEEDC0DE64
822129e234 esp_netif: Fix implicit includes in public headers
Merges https://github.com/espressif/esp-idf/pull/7690
2021-10-18 10:01:52 +02:00
Mahavir Jain
8e46e9862e Merge branch 'fix/esp_crypto_base64_encode_wolfssl' into 'master'
Encoding base64 with wolfSSL should produce the same result as...

Closes IDFGH-5990

See merge request espressif/esp-idf!15528
2021-10-18 05:27:41 +00:00
Derossi Carneiro Neto
341d3e107c esp_http_client_cleanup, if client->transport_list was null, it generated an exception when calling esp_transport_list_destroy
https://github.com/espressif/esp-idf/pull/7695

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-10-18 10:50:45 +05:30
Jiacheng Guo
be4a45ab70 openthread: Use esp console for CLI 2021-10-18 12:27:50 +08:00
Wang Meng Yang
ca8d432462 Merge branch 'bugfix/btdm_ble_data_length_update_fail' into 'master'
Fix data length update failed

Closes BT-1924

See merge request espressif/esp-idf!15499
2021-10-18 03:06:26 +00:00
Zim Kalinowski
a7c9949dd9 Fixed build problem when icluding gpio_ll.h from cpp file 2021-10-17 14:29:31 +08:00
Aditya Patwardhan
2d1f18efea Updated the cacrt_all.pem file with latest Root certificate list. 2021-10-17 00:01:37 +08:00
John Ohl
27d66c0e33 Encoding base64 with wolfSSL should produce the same result as esp_crypto_bas64_encode_mbedtls and not encode in PEM format /w new lines
Closes https://github.com/espressif/esp-idf/pull/7676
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-10-17 00:01:23 +08:00
Darian Leung
b23de0f8a1 twdt: Fix timeout decimal literals to prevent uint32_t overflow
This commit fixes the decimal literals used in calculating task
watchdog timeouts to prevent them from causing a uint32_t oveflow.

Closes https://github.com/espressif/esp-idf/issues/6648
2021-10-15 16:07:27 +08:00
morris
ae87b280bc Merge branch 'bugfix/fix_stuck_in_rtc_clk_calibration' into 'master'
[bugfix] Fix stuck in rtc clk calibration

Closes IDF-4080

See merge request espressif/esp-idf!15524
2021-10-15 02:08:06 +00:00
Anton Maklakov
8c00898adf Merge branch 'bugfix/espcoredump_notes' into 'master'
coredump: Add some notes on how to generate test data

See merge request espressif/esp-idf!15497
2021-10-15 02:03:13 +00:00
Ivan Grokhotkov
f31f360279 Merge branch 'feature/riscv-msave-restore' into 'master'
build system: add COMPILER_SAVE_RESTORE_LIBCALLS option

Closes IDF-3732

See merge request espressif/esp-idf!15004
2021-10-14 23:25:49 +00:00
Scott Mabin
d5e4fc8356 remove __clang ifdef around atomic emulation
* CI errors led me to believe these were needed, but as it turns out the
load/store intrinsics are required even when idf is built by gcc when
linking to a clang based project.
* remove ... postfix inside `SYNC_LOCK_TEST_AND_SET` expansion
2021-10-14 15:01:21 +01:00
Guo Jia Cheng
484457f02c Merge branch 'bugfix/ot-log-verbosity' into 'master'
openthread: reduce default log verbosity

See merge request espressif/esp-idf!15326
2021-10-14 09:46:49 +00:00
Kevin (Lao Kaiyao)
dc20768913 Merge branch 'feature/add_i2s_es8311_example_and_loop_unit_test' into 'master'
example/i2s: add es8311 example and i2s unit-test

Closes IDF-3412

See merge request espressif/esp-idf!14459
2021-10-14 09:28:35 +00:00
wuzhenghui
ab9df9945f fix stuck in rtc_clk_cal 2021-10-14 16:25:54 +08:00
Jakob Hasse
4a8bbb4586 Merge branch 'bugfix/newlib_missing_include' into 'master'
[newlib]: Added missing includes

Closes IDFGH-5789

See merge request espressif/esp-idf!15387
2021-10-14 05:56:08 +00:00
Li Shuai
c2910c15f4 Merge branch 'bugfix/wifi_bt_power_domain_leakage_current' into 'master'
fix wifi and bt power domain leakage current in light sleep

See merge request espressif/esp-idf!15236
2021-10-14 05:10:55 +00:00
Jiacheng Guo
b7fd68c438 openthread: reduce default log verbosity
Packet logging increases latency and packet drop rate significantly.
2021-10-14 12:14:17 +08:00
Jiang Jiang Jian
739ed52d9b Merge branch 'feature/add_function_for_deinit_lwip_timers' into 'master'
lw-ip:add function for deinit lwip timers

Closes ESPCS-675

See merge request espressif/esp-idf!14921
2021-10-14 03:41:01 +00:00