Commit Graph

13795 Commits

Author SHA1 Message Date
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
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
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
xiewenxiang
6d35819d16 component/bt: fix assert fail when interrupt hlevel disable 2021-11-24 20:10:00 +08:00
Mahavir Jain
ec9b69d7e3 Merge branch 'feature/add_get_errno_api_for_http_client' into 'master'
esp_http_client: add a get HTTP client session errno API for esp_http_client

See merge request espressif/esp-idf!15869
2021-11-24 11:25:04 +00:00
Martin Vychodil
388686804e Merge branch 'test/esp32s2_fatfs_speedtest_ci_fix' into 'master'
[Storage]: Re-enable FatFS write/read speed test

Closes IDF-1421

See merge request espressif/esp-idf!15383
2021-11-24 10:15:53 +00:00
xutao
10377ce2ff esp_http_client: add a get HTTP client session errno api for esp_http_client 2021-11-24 17:23:09 +08:00
Mahavir Jain
5d40016ddb freertos: fix thread safety for checking scheduler state
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.

This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.

Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-24 14:34:40 +05:30
Chen Jian Xing
f41494f5a4 Merge branch 'bugfix/modify_mexico_channel_refer_fcc' into 'master'
esp_wifi: update Mexico channel refer to FCC

See merge request espressif/esp-idf!15698
2021-11-24 08:01:31 +00:00
laokaiyao
f21020ce04 esp32h2: update reg and struct for beta2 2021-11-24 12:34:17 +08:00
wuzhenghui
388615add0 update esp32h2beta2 chip_id to 14 2021-11-24 12:30:43 +08:00
wuzhenghui
968c42d88c 822 FPGA rnv init 2021-11-24 12:30:17 +08:00
laokaiyao
b9a84b96ce esp32h2: add support for beta2 2021-11-24 12:30:17 +08:00
Sudeep Mohanty
a5bd8f4a65 Merge branch 'doc/s3-prog-guide-system-chip-independent' into 'master'
docs: update programming guide for esp32s3 chip independent system chapters

Closes IDF-3308

See merge request espressif/esp-idf!15992
2021-11-24 04:29:21 +00:00
Mahavir Jain
9cecde6fb4 bootloader: add anti-FI checks around secure version in anti-rollback scheme 2021-11-24 11:37:27 +08:00
zhangwenxu
0fe32adb58 iperf: handle NO_MEM error in OpenThread iperf
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Anton Maklakov
05d2c540a4 Merge branch 'fix/virt_efuse_example_test' into 'master'
efuse_example_test: Fix the example test

See merge request espressif/esp-idf!16065
2021-11-24 01:12:00 +00:00
Erhan Kurubas
4741682c50 startup: timer_early_init before calling esp_apptrace_tmo_init 2021-11-24 01:43:15 +01:00
Gustavo Henrique Nihei
0a15a3fa96 Merge branch 'bugfix/bootloader_debug_buffers' into 'master'
bootloader_support: Fix and re-enable bootloader_debug_buffer function

See merge request espressif/esp-idf!15998
2021-11-23 11:54:42 +00:00
David Cermak
9739adc85f wifi: Fix race conditon invoking invalid callback on deinit
Closes https://github.com/espressif/esp-idf/issues/7579
2021-11-23 11:26:54 +01:00
Ondrej Kosta
3a7a67f174 netif: added ESP-NETIF L2 TAP interface 2021-11-23 11:17:22 +01:00
Aditya Patwardhan
5d61eea847 efuse_example_test: Fix the example test ( broken due to latest change
in info message)

*Unify the log messages when UART ROM Download mode is kept enabled
2021-11-23 15:21:32 +05:30
ChenJianxing
ed0fcf21a5 esp_wifi: update Mexico channel range refer to FCC 2021-11-23 15:19:04 +08:00
Sudeep Mohanty
722a6b7cf4 docs: update programming guide for esp32s3 chip independent system chapters
This commit updates the chip independent system chapters of the
programming guide for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-23 12:48:10 +05:30
Hrudaynath Dhabe
75f32ffdcf Merge branch 'feature/support_eap_fast' into 'master'
esp_wifi: Add support for EAP-FAST authentication method.

Closes WIFI-2820 and WIFI-4198

See merge request espressif/esp-idf!14232
2021-11-23 06:22:22 +00:00
Mahavir Jain
9b4b266042 Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode' into 'master'
secure_boot: Fix warning when UART ROM DL mode is disabled

See merge request espressif/esp-idf!15903
2021-11-23 05:54:51 +00:00
Chen Jian Xing
582da32f4a Merge branch 'bugfix/fix_esp32s3_usb_otg' into 'master'
esp_phy: fix esp32s3 phy work with USB-OTG issue

Closes WIFI-4157

See merge request espressif/esp-idf!15913
2021-11-23 03:41:00 +00:00
Guo Jia Cheng
2a97578ce0 Merge branch 'bugfix/mdns-ptr-record-cnt' into 'master'
mdns: fix wrong PTR record count

See merge request espressif/esp-idf!15891
2021-11-23 03:13:02 +00:00
Wang Meng Yang
c788274658 Merge branch 'feature/add_coex_hci_command_master' into 'master'
Add hci command to set coexistence status

Closes BT-1886

See merge request espressif/esp-idf!14830
2021-11-23 03:08:50 +00:00
Wang Meng Yang
ee5192960c Merge branch 'bugfix/fix_static_check_error_mr' into 'master'
Fix the high-impact issues from the code analysis report from customer.

Closes BT-2079

See merge request espressif/esp-idf!15976
2021-11-23 03:07:05 +00:00
Roland Dobai
2b9c81cbdc xtensa: Pass the test with latest gdb 2021-11-22 18:17:36 +01:00
Roland Dobai
1c22f1e15e xtensa: Revert back Makefile for trax test
Revert back the regression of 766aa57084
2021-11-22 18:02:08 +01:00
Gustavo Henrique Nihei
f75f74ac40 bootloader_support: Fix and re-enable bootloader_debug_buffer function
The body of the bootloader_debug_buffer function was conditioned to
macros that were never defined, resulting in deactivated code.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-22 12:13:58 -03:00
Hrudaynath Dhabe
5f96a6ffd2 esp_wifi: Add support for EAP-FAST authentication method 2021-11-22 17:33:36 +05:30
xiongweichao
c80ac536d7 Add hci command to set coexistence status 2021-11-22 19:57:01 +08:00
Darian
150818e4f5 Merge branch 'feature/freertos_try_enter_critical' into 'master'
freertos: Add portTRY_ENTER_CRITICAL() and clean up old port mux API

Closes IDF-2047 and IDFGH-3318

See merge request espressif/esp-idf!15568
2021-11-22 10:34:09 +00:00
“YangZhao”
12ec4866b8 Fix the high-impact issues from the code analysis report from customer.
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00