Commit Graph

20943 Commits

Author SHA1 Message Date
laokaiyao
c74b2e8635 i2s: fix the wrong condition of event queue 2021-12-23 18:59:56 +08:00
morris
384df18770 Merge branch 'bugfix/alarm_update_invalid' into 'master'
timer: stop alarm if the alarm target value hasn't changed && 8684 support

Closes IDFGH-6435, IDFGH-5229, IDF-3825, and IDF-4220

See merge request espressif/esp-idf!16429
2021-12-23 10:17:52 +00:00
aditi_lonkar
1eeac4943c esp_wifi: Fixes memory leak in wpa3 connection. 2021-12-23 12:26:58 +05:30
morris
8f2199cd88 timer: unit test and doc update for esp8684 2021-12-23 11:54:41 +08:00
morris
f2d3a18f43 timer: example migrate to pytest 2021-12-23 11:39:32 +08:00
morris
4ed33afc3f timer: stop alarm if alarm value doesn't change in ISR handler
Alarm will be disabled by hardware when alarm event happend.
In the ISR, if auto-reload is enabled, we should re-enable the alarm.
If the alarm target value is changed in user's callback,
the alarm will be reenabled as well.

Closes https://github.com/espressif/esp-idf/issues/7001
Closes https://github.com/espressif/esp-idf/issues/8095
2021-12-23 11:39:32 +08:00
morris
2c810f8451 timer: save alarm value in driver layer 2021-12-23 11:39:32 +08:00
morris
b170aba93a timer: fix wrong kconfig soc caps 2021-12-23 11:39:32 +08:00
Zim Kalinowski
f6cedb0533 Merge branch 'bugfix/codeowners_riscv' into 'master'
gitlab: set code owners for riscv component

See merge request espressif/esp-idf!16515
2021-12-23 02:35:25 +00:00
Ivan Grokhotkov
2482b07aec gitlab: set code owners for riscv component 2021-12-22 16:58:12 +01:00
Wang Meng Yang
91e81877d2 Merge branch 'bugfix/scannable_adv_duration_estimation' into 'master'
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence

Closes BT-1607

See merge request espressif/esp-idf!16438
2021-12-22 14:45:10 +00:00
Shang Zhou
ab3f183f1c Merge branch 'docs/provide_correspinding_api_reference_header_file_link' into 'master'
docs:Add esp_mac.h header file to Miscellaneous System APIs in API Reference

Closes DOC-2277

See merge request espressif/esp-idf!16491
2021-12-22 10:34:38 +00:00
Ivan Grokhotkov
34093631fc Merge branch 'feature/ccache_in_ci' into 'master'
ci: enable ccache for build jobs

Closes IDF-776

See merge request espressif/esp-idf!15828
2021-12-22 09:59:00 +00:00
Ivan Grokhotkov
bfaa97a38a Merge branch 'bugfix/idf_tools_test_without_versions' into 'master'
Tools: Load tool versions automatically for IDF Tools tests

See merge request espressif/esp-idf!16500
2021-12-22 09:21:22 +00:00
liqigan
cccd22a080 fix SPP open with wrong remote bd_addr 2021-12-22 17:04:58 +08:00
liqigan
66e88fbdbe clear old event bits when malloc a slot 2021-12-22 16:44:51 +08:00
Jiang Jiang Jian
acee790f98 Merge branch 'bugfix/fix_heap_memory_corruption' into 'master'
Heap: Fix a bug in the TLSF allocator

See merge request espressif/esp-idf!16296
2021-12-22 08:35:07 +00:00
Mahavir Jain
1f435b4703 Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable...

Closes IDFGH-6437

See merge request espressif/esp-idf!16471
2021-12-22 08:19:14 +00:00
Shang Zhou
79f1e7b33a docs:Add esp_mac.h header file to Miscellaneous System APIs in API Reference 2021-12-22 14:10:21 +08:00
Shu Chen
ef7b2f5c70 Merge branch 'bugfix/otbr-example-panid' into 'master'
openthread: fix wrong panid range in border router example

See merge request espressif/esp-idf!16448
2021-12-22 04:12:30 +00:00
wangmengyang
219bffce9f component/bt: fixed coexistence scannable extended adv performance issue 2021-12-22 10:55:33 +08:00
Ivan Grokhotkov
ef5bc71372 ci: enable ccache for build jobs 2021-12-22 00:58:49 +01:00
Ivan Grokhotkov
b3b90d6a85 ci: disable ccache when running CMake build system tests
Some tests check if certain files are rebuilt when source files are
'touch'ed. With ccache, 'touch'ing source files doesn't cause a
rebuild, hence the test fails. In case IDF_CCACHE_ENABLE was set in
the environment, unset it before starting the tests.
2021-12-22 00:36:00 +01:00
Jakob Hasse
e719309ec3 Merge branch 'docs/fatal_errors_update' into 'master'
Docs: Improved fatal errors doc

Closes IDF-3305

See merge request espressif/esp-idf!16425
2021-12-21 19:08:14 +00:00
Michael (XIAO Xufeng)
ad90373a69 sdio_slave: fixed the issue DMA desc not capable 2021-12-22 01:34:38 +08:00
Roland Dobai
3fed02b16b Tools: Load tool versions automatically for IDF Tools tests 2021-12-21 17:06:05 +01:00
David Čermák
2c0d760816 Merge branch 'bugfix/mdns_network_socket_err_prints' into 'master'
mdns: Minor err print fix in socket-networking layer (GitHub PR)

Closes IDFGH-6447 and IDFGH-6434

See merge request espressif/esp-idf!16427
2021-12-21 13:59:01 +00:00
Ivan Grokhotkov
1cbea5a504 Merge branch 'feature/espefuse_adds_args_to_execute_scripts_cmd' into 'master'
esptool/espefuse: execute_scripts can be run nested way

See merge request espressif/esp-idf!16411
2021-12-21 12:24:06 +00:00
Jakob Hasse
7094eb0f33 refactor (docs): improved fatal errors doc 2021-12-21 19:53:32 +08:00
daiziyan
a98212015f docs:update CN transalation for get-started section and sdmmc 2021-12-21 18:43:56 +08:00
Martin Válik
4f7c36d859 Merge branch 'feature/usb-msc' into 'master'
USB MSC class

Closes IDFGH-4584

See merge request espressif/esp-idf!14573
2021-12-21 10:22:54 +00:00
Jakob Hasse
cee13df930 Merge branch 'feature/minimal_template_subsections' into 'master'
gitlab: make "Related" subsection visible in the minimal template

See merge request espressif/esp-idf!16085
2021-12-21 09:46:52 +00:00
Michael (XIAO Xufeng)
5999e2c6f8 gitlab: make "Related" subsection visible in the minimal template 2021-12-21 09:46:51 +00:00
Kapil Gupta
826aee5683 Merge branch 'bugfix/wps_fixes' into 'master'
wpa_supplicant: Add WPS Fixes

Closes WIFI-4185

See merge request espressif/esp-idf!16331
2021-12-21 09:17:30 +00:00
Mahavir Jain
2264f4d9b8 Merge branch 'feature/memprot_api_unified_c3' into 'master'
Memprot API unified - ESP32C3

Closes IDF-3849

See merge request espressif/esp-idf!15086
2021-12-21 08:45:33 +00:00
Li Jingyi
2b1402890d fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable MBEDTLS_SSL_PROTO_DTLS when open MBEDTLS_DYNAMIC_BUFFER 2021-12-21 16:11:03 +08:00
Omar Chebib
fcd11ba125 FreeRTOS: Remove task_snapshot inclusion from task.h
Remove ESP's addition of task_snapshot.h from task.h. This line was
added previously for backward compatibility. For IDF v5.0, this can
be removed.
2021-12-21 07:10:22 +00:00
Michael (XIAO Xufeng)
59f3d98d45 Merge branch 'feat/support_mxic_unlock' into 'master'
spi_flash: support unlock MXIC flash chips

Closes IDF-3575

See merge request espressif/esp-idf!15238
2021-12-21 07:09:57 +00:00
Mahavir Jain
c408aa397e Merge branch 'feature/mbedtls-2.16.12-integration' into 'master'
mbedtls: upgrade to release v2.16.12

Closes IDF-4463

See merge request espressif/esp-idf!16442
2021-12-21 07:03:02 +00:00
KonstantinKondrashov
ff96769b0e esp_system: Fix RTC_WDT protection in esp_restart_noos
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2021-12-21 14:48:14 +08:00
Jiang Jiang Jian
ae63455164 Merge branch 'bugifx/nimble_timer_memory_leak' into 'master'
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process

Closes BT-2142

See merge request espressif/esp-idf!16430
2021-12-21 04:31:28 +00:00
Guo Jia Cheng
cfd2d177be Merge branch 'feature/mdns-always-announce-address' into 'master'
mdns: always send A/AAAA records in announcements

See merge request espressif/esp-idf!16254
2021-12-21 04:09:29 +00:00
songruojing
8e3bc160bc ledc: Remove REF_TICK as a supported clock source for LEDC driver on esp32s3 2021-12-21 11:43:18 +08:00
Martin Vychodil
dd938eb952 System/Security: Memprot API unified (ESP32C3)
Unified Memory protection API for all PMS-aware chips (ESP32C3)

Closes JIRA IDF-3849
2021-12-21 01:50:36 +01:00
Ivan Grokhotkov
5d32e80ea7 freertos: ensure interrupts are disabled before enabling tick timer
xPortStartScheduler calls vPortSetupTimer -> _frxt_tick_timer_init,
which enables tick timer interrupt and sets up the first timeout.
From that point on, the interrupt can fire. If the interrupt happens
while _frxt_dispatch is running, the scheduler will enter an infinite
loop. This is because _frxt_dispatch isn't supposed to be preemptable,
and the tick interrupt will overwrite some of the registers used by
_frxt_dispatch.
Note that this situation doesn't practically occur on the real
hardware, where the execution of vPortSetupTimer and _frxt_dispatch
happens quickly enough. However it can be reproduced on an emulator
if the tick period is set to 1ms.

Add an explicit call to portDISABLE_INTERRUPTS in xPortStartScheduler
to guarantee that _frxt_dispatch doesn't run with interrupts enabled.
This is similar to the esprv_intc_int_set_threshold(1); call in
RISC-V version of port.c.
2021-12-20 17:25:56 +01:00
Jiang Jiang Jian
2a8ef2103f Merge branch 'mesh/bugfix_fix_no_ip_issue' into 'master'
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted

See merge request espressif/esp-idf!16334
2021-12-20 12:24:24 +00:00
Kapil Gupta
14b949077d wpa_supplicant: Add WPS Fixes
Add following bugfixes

1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
   APs in its vicinity and try to do WPS with them one by one till
   WPS timeout occurs. This is for some APs which do not set
   selected registrar correctly.
2021-12-20 17:34:30 +05:30
Martin Valik
73dce765d5 USB: added MSC Host Driver with VFS support
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Guo Jia Cheng
5fdbd40404 Merge branch 'bugfix/mdns-query-instance-filter' into 'master'
mdns: filter instance name for ANY queries

See merge request espressif/esp-idf!16255
2021-12-20 10:38:19 +00:00
Michael (XIAO Xufeng)
9894019909 bootloader: support unlock MXIC flash chips 2021-12-20 18:01:12 +08:00