Zhang Wen Xu
048efc3e14
Merge branch 'support/ot_br_connect_wifi_using_console_input' into 'master'
...
openthread:support config wifi connect using console
See merge request espressif/esp-idf!16227
2021-12-24 05:31:13 +00:00
morris
0afafb743d
Merge branch 'bugfix/app_compatible_with_3_1_bootloader' into 'master'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos
See merge request espressif/esp-idf!16480
2021-12-24 03:43:52 +00:00
Jiang Jiang Jian
d7b83208c1
Merge branch 'bugfix/wpa3_memory_leak' into 'master'
...
esp_wifi: Fixes memory leak in wpa3.
Closes WIFI-4196
See merge request espressif/esp-idf!16520
2021-12-24 03:15:01 +00:00
Kevin (Lao Kaiyao)
4586bd7ec8
Merge branch 'bugfix/i2s_receive_data_lost' into 'master'
...
i2s: fix message queue overflow condition
Closes IDFGH-5854
See merge request espressif/esp-idf!15551
2021-12-24 03:12:12 +00:00
zhangwenxu
91f54c673d
openthread: add a manual mode in Thread border router example
2021-12-24 11:09:51 +08:00
Omar Chebib
a37bf7753a
Merge branch 'refactor/remove_task_snapshot_header_inclusion' into 'master'
...
FreeRTOS: Remove task_snapshot inclusion from task.h
Closes IDF-3683
See merge request espressif/esp-idf!16224
2021-12-24 02:21:28 +00:00
Emil Muratov
d4de08182e
ledc.h - fix extern "C" to include ledc_cb_register()
2021-12-24 02:05:43 +03:00
Ivan Grokhotkov
6a37b41df8
memprot: fix debug mode check
...
Regression from dd938eb9
, the fault injection check was always failing
in debug mode.
2021-12-23 16:39:12 +01:00
Mahavir Jain
3bd5ae6b78
Merge branch 'bugfix/rtc_section_alignment' into 'master'
...
System: fix RTCFAST section alignment
See merge request espressif/esp-idf!16513
2021-12-23 14:31:04 +00:00
Kapil Gupta
0336584f3e
esp_wifi: Refactor key install code
2021-12-23 21:31:31 +08:00
Li Qi Gan
c3c37b95e7
Merge branch 'bugfix/fix_spp_open_err_bda' into 'master'
...
Component_bt/Fix SPP acceptor open with wrong remote address
Closes BT-2205
See merge request espressif/esp-idf!16503
2021-12-23 12:29:31 +00:00
Song Ruo Jing
7f5e93a582
Merge branch 'bugfix/remove_ref_tick_on_s3' into 'master'
...
ledc: Remove REF_TICK as a supported clock source for LEDC driver on S3
See merge request espressif/esp-idf!16408
2021-12-23 12:21:01 +00:00
Martin Vychodil
16891e7a6c
System: fix RTCFAST section alignment
...
This bugfix contains 3 fixes:
1. .rtc_dummy section is removed (not needed for C3)
2. .rtc_text section is padded with 16B for possible CPU prefetch
3. .rtc_text section is aligned to 4B boundary to comply with PMS Memprot requirements
2021-12-23 19:58:39 +08:00
laokaiyao
45ea21e8a0
doc: add application notes for i2s
2021-12-23 18:59:56 +08:00
laokaiyao
c74b2e8635
i2s: fix the wrong condition of event queue
2021-12-23 18:59:56 +08:00
Ondrej Kosta
1150a11c56
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2021-12-23 10:48:38 +01: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
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
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
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
wangmengyang
219bffce9f
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-22 10:55:33 +08:00
Michael (XIAO Xufeng)
ad90373a69
sdio_slave: fixed the issue DMA desc not capable
2021-12-22 01:34:38 +08: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
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
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
baohongde
d4aeef6ced
components/bt: Update the document of demo bt discovery
2021-12-21 10:54:54 +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
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
Wang Mengyang
5e95537f9c
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-20 15:49:14 +08:00
Mahavir Jain
36c712368d
mbedtls: upgrade to release v2.16.12
...
For release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
2021-12-20 10:28:14 +05:30
Mahavir Jain
bcadeeb7d3
mbedtls: small documentation update
2021-12-20 10:27:44 +05:30
Marius Vikhammer
c2d00810a6
Merge branch 'feature/esp8684_doc_build' into 'master'
...
docs: update docs to be able to build with esp8684
Closes IDF-4313
See merge request espressif/esp-idf!15849
2021-12-20 03:32:28 +00:00
Omar Chebib
1bad4f18ed
FATFS: fix system crash when mounting more than 2 volumes
...
* Fixes https://github.com/espressif/esp-idf/issues/7513
2021-12-20 03:16:18 +00:00
Omar Chebib
95d0514c57
Heap: Add a target test to check that TLFS allocates the requested size
2021-12-20 11:10:16 +08:00
Omar Chebib
9516fd09c2
Heap: Fix a possible bug in the TLSF allocator
...
Fix a bug that could return a chunk of memory smaller than requested,
easily leading to a memory corruption, when the required memory alignment
passed to the allocator is 4.
2021-12-20 10:57:43 +08:00
Marius Vikhammer
82325f6037
docs: update docs to be able to build with esp8684
2021-12-20 10:32:49 +08:00
morris
c14638878b
Merge branch 'bugfix/dedic_gpio_initial_occupy_mask' into 'master'
...
fast_gpio: fix wrong initial occupy mask
See merge request espressif/esp-idf!16219
2021-12-18 05:39:53 +00:00
Ivan Grokhotkov
b5d17f85a8
Merge branch 'bugfix/stdatomic_sync_op_and_fetch' into 'master'
...
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
Closes IDF-4397
See merge request espressif/esp-idf!16404
2021-12-17 14:42:57 +00:00
Dániel Buga
a02d1e35ee
Allow enabling task function wrappers in more cases
2021-12-17 11:17:21 +01:00
Jakob Hasse
7c7fbb1fd0
Merge branch 'feature/i2c_cxx_improve' into 'master'
...
I2C C++ Several improvements, breaking changes
See merge request espressif/esp-idf!16102
2021-12-17 09:45:27 +00:00
David Čermák
8caa8195d4
Merge branch 'bugfix/mdns_null_deref_fuzzer' into 'master'
...
mdns: Fix potential null deref reported by fuzzer test
See merge request espressif/esp-idf!16299
2021-12-17 09:37:55 +00:00
caffreyfans
08e081340d
Add mDNS miss comment
2021-12-17 16:39:43 +08:00
caffreyfans
119b4a9dd1
Fix mDNS memory leak
2021-12-17 16:21:21 +08:00
caffreyfans
f5ffd53aeb
Fix mDNS memory leak
2021-12-17 16:05:38 +08:00
morris
e8c5f8656b
fast_gpio: fix wrong initial occupy mask
2021-12-17 15:49:44 +08:00
Jakob Hasse
7572f75d6b
refactor (cxx)!: I2C C++ classes use strong value types now
...
Added host-based I2C C++ unit tests
BREAKING CHANGE: I2C C++ interface changes, raw values for
arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00
David Cermak
f1b8f5c102
mdns: Minor err print fix in socket-networking layer
2021-12-16 16:00:44 +01:00
KonstantinKondrashov
4cef1e2f8b
esptool/espefuse: execute_scripts can be run nested way
...
Added args for execute_scripts cmd
Cleaned up only_burn_at_end args, it does not need anymore
2021-12-16 22:32:20 +08:00
Ivan Grokhotkov
5b3b5f006f
Merge branch 'feature/cmake_weak_deps_helper' into 'master'
...
cmake: add idf_component_optional_requires utility function, simplify some component dependencies
Closes IDF-3086
See merge request espressif/esp-idf!16373
2021-12-16 13:46:45 +00:00
David Čermák
e8a4c4b440
Merge branch 'bugfix/mdns_add_result_count_async' into 'master'
...
mdns: Added results count to async API (GitHub PR)
Closes IDFGH-6340
See merge request espressif/esp-idf!16362
2021-12-16 12:48:39 +00:00
David Čermák
c86183d54d
Merge branch 'bugfix/mdns_server_instance_mismatch' into 'master'
...
mdns: fix mdns server instance mismatch
Closes IDFCI-1011
See merge request espressif/esp-idf!16420
2021-12-16 12:05:04 +00:00
morris
5efc7bf2b4
Merge branch 'bugfix/build_spaces_in_path_kconfig_ldgen_esptool' into 'master'
...
kconfig, ldgen, esptool, cmake: changes to support spaces in paths
See merge request espressif/esp-idf!15429
2021-12-16 10:32:49 +00:00
zhangwenxu
6173dd7809
mdns: fix mdns server instance mismatch
2021-12-16 16:52:05 +08:00
caffreyfans
87506f46e2
unified errno format
2021-12-16 14:10:52 +08:00
Marius Vikhammer
5040803ff0
Merge branch 'feature/remove_deprecated_rom_headers' into 'master'
...
rom: remove deprecated headers from esp32 components
Closes IDF-2828
See merge request espressif/esp-idf!16372
2021-12-16 04:36:33 +00:00
Armando
103d310aaa
adc: make adc_ll.h unavailable on 8684
2021-12-16 00:19:15 +00:00
Armando
4dc0d6b2fe
adc: support adc dma driver on all chips
2021-12-16 00:19:15 +00:00
Chinmay Chhajed
5ddce053ea
Merge branch 'bugfix/bt_enc_proc_finish' into 'master'
...
bt/bugfix: ACL Rx data is sent to host before enc change event
See merge request espressif/esp-idf!16346
2021-12-15 12:07:59 +00:00
Sudeep Mohanty
07bfc09d0c
Merge branch 'task/remove-portmacro.h-from-task.h' into 'master'
...
freertos: remove portmacro.h inclusion from task.h
Closes IDF-3793
See merge request espressif/esp-idf!16307
2021-12-15 11:17:51 +00:00
Simon
878c643743
Merge branch 'bugfix/xtal_to_pll_8684' into 'master'
...
rtc_clk: change clock source from XTAL to PLL on real board(8684)
See merge request espressif/esp-idf!16397
2021-12-15 08:47:42 +00:00
Ondrej Kosta
da9a6d9082
Merge branch 'cleanup/netif_glue_cont' into 'master'
...
Cleanup/netif glue cont
See merge request espressif/esp-idf!16403
2021-12-15 07:07:21 +00:00
Zhang Wen Xu
c9ee50a0be
Merge branch 'feature/support_multiple_instance_for_mdns_service_txt_set' into 'master'
...
mdns: support multiple instance for mdns service txt set
See merge request espressif/esp-idf!16105
2021-12-15 06:44:53 +00:00
Cao Sen Miao
e3d14858c7
rtc_clk: change clock source from xtal to pll on real board(ESP8684)
2021-12-15 12:21:11 +08:00
morris
7b32d8138c
Merge branch 'bugfix/mcpwm_ll_missing_type_conversion' into 'master'
...
mcpwm: fix implicit conversion in LL function
Closes IDFGH-6407
See merge request espressif/esp-idf!16396
2021-12-15 03:58:04 +00:00
Ivan Grokhotkov
7056fd3129
bootloader: don't add nonexistent directories to EXTRA_COMPONENT_DIRS
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
6b361d923c
esptool_py: fix quoting issues in run_serial_tool.cmake
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
50799e3026
esptool_py: fix passing arguments to cmake -P
...
Fixes WORKING_DIRECTORY argument being passed with spaces escaped `\ `
which causes failure in run_cmd.cmake, since the WORKING_DIRECTORY is
interpreted as having a literal backslash character in it.
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
01033a3a60
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
...
* Adds implementations of __{atomic,sync}_nand_fetch_n. These builtins
were implemented for other operations but were not defined for NAND.
* Adds implementation of __atomic_OP_fetch_n for all OPs.
* Adds implementation of __sync_OP_and_fetch_n for all OPs.
Reported in https://github.com/espressif/arduino-esp32/issues/5948
2021-12-14 16:06:12 +01:00
Ondrej Kosta
30e03e2c1d
netif_glue: removal of unused global variable
2021-12-14 15:23:07 +01:00
Hrudaynath Dhabe
a65eff3b88
Merge branch 'bugfix/wpa_supplicant_logs' into 'master'
...
esp_wifi: Change the verbosity of wpa_supplicant logs.
Closes IDFGH-6370
See merge request espressif/esp-idf!16332
2021-12-14 12:17:49 +00:00
Simon
1c82e6eac7
Merge branch 'ci/8684_build_ci' into 'master'
...
CI: Enable ESP8684 build (2nd stage) CI on master (except example build)
Closes IDF-4388
See merge request espressif/esp-idf!16197
2021-12-14 11:12:10 +00:00
Simon
2fa0b2fb4c
Merge branch 'flash/add_th_support' into 'master'
...
spi_flash: add support for TH 1M flash
Closes IDF-4071
See merge request espressif/esp-idf!16210
2021-12-14 09:53:44 +00:00
Jakob Hasse
b856ea2ff6
Merge branch 'contrib/github_pr_8037' into 'master'
...
Don't return a hard coded errno in vfs_fat_access (GitHub PR)
Closes IDFGH-6377
See merge request espressif/esp-idf!16366
2021-12-14 09:49:14 +00:00
morris
ac5c2eaa28
mcpwm: fix implicit conversion in LL function
...
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-14 17:26:55 +08:00
Ivan Grokhotkov
44d18506b2
Merge branch 'feature/posix_compat_functions' into 'master'
...
newlib: implement posix_memalign, sysconf, realpath
Closes IDFGH-4268 and IDFGH-6119
See merge request espressif/esp-idf!16355
2021-12-14 08:56:33 +00:00
Hrudaynath Dhabe
9469f08a0b
esp_wifi: Change the verbosity of wpa_supplicant logs.
...
Closes https://github.com/espressif/esp-idf/issues/8030
2021-12-14 14:23:31 +05:30
Armando (Dou Yiwen)
a86d2aff2c
Merge branch 'bugfix/fix_adc1_chan8_9_not_defined_on_s3' into 'master'
...
adc: fix adc1 channel 8 and 9 not defined bug on s3
Closes IDF-4421
See merge request espressif/esp-idf!16326
2021-12-14 08:10:00 +00:00
Michael (XIAO Xufeng)
b23ed0ee81
Merge branch 'feature/update_adc_cali_due_to_efuse_version_change' into 'master'
...
adc: update s3 adc calibration efuse version
Closes IDF-4069
See merge request espressif/esp-idf!15843
2021-12-14 07:27:35 +00:00
zhangwenxu
50f6302c5d
mdns: support multiple instance for mdns service txt set
2021-12-14 15:10:25 +08:00
Michael (XIAO Xufeng)
590c18f5c8
Merge branch 'feature/support_s3_octal_psram_ecc_feature' into 'master'
...
psram: add octal psram Error Correcting Code (ECC) feature
Closes IDF-4258
See merge request espressif/esp-idf!15832
2021-12-14 06:56:21 +00:00
morris
11b2973b0a
Merge branch 'bugfix/gdma_potential_uaf_bug' into 'master'
...
gdma: fix potential use after free issue
See merge request espressif/esp-idf!16196
2021-12-14 06:16:11 +00:00
Wang Meng Yang
7e2a9feb27
Merge branch 'bugfix/fix_blufi_encryption_fail' into 'master'
...
components/bt: fix blufi encryption fail
See merge request espressif/esp-idf!16313
2021-12-14 03:17:03 +00:00
Wang Meng Yang
92ffcba739
Merge branch 'feature/support_ble_direct_ind_low_adv' into 'master'
...
components/bt: Support low duty cycle directed advertising
See merge request espressif/esp-idf!16371
2021-12-14 03:15:14 +00:00
Mo Fei Fei
7929f6eb65
Merge branch 'docs/fix_typo_in_head_file' into 'master'
...
docs: fix typo in sdmmc_cmd.h and inconsistency in spi_master.h
Closes DOC-2397 and DOC-2382
See merge request espressif/esp-idf!16368
2021-12-14 02:44:03 +00:00
morris
14c926350a
gdma: fix potential use after free issue
2021-12-14 10:08:26 +08:00
Marius Vikhammer
6fbef44ffc
rom: remove deprecated headers from esp32 components
...
These have been replaced by headers in the esp_rom component.
2021-12-14 09:48:11 +08:00
Ivan Grokhotkov
8df306ab60
freertos,esp_system: make dependencies on some components optional
...
Dependencies on gdbstub, espcoredump, app_trace will only be added
if these components are present in the build.
2021-12-13 18:39:49 +01:00
Ivan Grokhotkov
d83ce227aa
newlib: implement posix_memalign, sysconf, realpath
...
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-13 14:40:21 +01:00
Kapil Gupta
8d329951c3
Merge branch 'bugfix/static_analysis_fixes' into 'master'
...
ESP_WIFI: Remove static analysis warnings
See merge request espressif/esp-idf!15871
2021-12-13 12:57:03 +00:00
Jiang Jiang Jian
e3137693c1
Merge branch 'bugfix/fix_rx_fragment_error_issue' into 'master'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs
Closes WIFI-4218
See merge request espressif/esp-idf!16321
2021-12-13 12:32:33 +00:00
Armando
9a6f894046
psram: add octal psram ECC feature
2021-12-13 20:24:52 +08:00
Armando
fee1d38467
psram: add a ut to test if it's heap allocable
2021-12-13 20:24:52 +08:00
Armando
021e8817cf
psram: make psram wrap mode unavailable
2021-12-13 20:19:32 +08:00
xiewenxiang
0030fba89c
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-13 20:10:21 +08:00
Cao Sen Miao
be510e0498
cleanup: dalete makefile in esp8684 folder
2021-12-13 19:18:47 +08:00
Cao Sen Miao
e81841318f
CI: Enable ESP8684 build stage CI on master
2021-12-13 19:18:47 +08:00
David Čermák
0b77be5108
Merge branch 'bugfix/eth_test_app_race' into 'master'
...
esp_eth/CI: Fix app-test to start recv test after sock bound
See merge request espressif/esp-idf!16350
2021-12-13 10:36:52 +00:00
Ivan Grokhotkov
7a5ed12c6b
lwip: make some of the component dependencies optional
2021-12-13 10:53:22 +01:00
xiewenxiang
132875a6eb
components/bt: Support low duty cycle directed advertising
2021-12-13 17:07:23 +08:00
Sudeep Mohanty
ee9a102841
freertos: remove portmacro.h inclusion from task.h
...
This commit removes the portmacro.h include from task.h as portmacro.h
gets pulled in via FreeRTOS.h. This aligns with upstream FreeRTOS code.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-13 14:33:37 +05:30
intern
467525f846
docs: fix typo in header files
2021-12-13 13:17:17 +08:00
Armando
bfb2a264c6
adc: update adc calibration efuse version
...
ADC calibration scheme and algorithm are not changed. Only the eFuse bit BLOCK1_VERSION is changed. This MR updated the logic to recognize the adc efuse version
2021-12-13 13:00:13 +08:00
Cao Sen Miao
56edc81b5d
spi_flash: add support for th 1M flash
2021-12-13 11:47:48 +08:00
Michael (XIAO Xufeng)
43643716a2
bugfix (nvs): fixed wrong pointer check
2021-12-13 10:42:45 +08:00
David Cermak
c297301ecc
mdns: Minor fix of API description and API usage
2021-12-10 13:25:03 +01:00
David Čermák
3fc6ca6477
Merge branch 'bugfix/tcp_transport_leak' into 'master'
...
BUGFIX/tcp_transport: Fix Websocket transport initialization
See merge request espressif/esp-idf!16281
2021-12-09 18:29:38 +00:00
Simon
db2d471636
Merge branch 'cleanup/clean_tidy_mr_8684' into 'master'
...
Clean up ESP8684 codes(last time), update register headers
Closes IDF-4300 and IDF-4296
See merge request espressif/esp-idf!16005
2021-12-09 16:18:20 +00:00
Simon
9a0e902045
Merge branch 'refactor/fun_pointer_opi' into 'master'
...
opi_flash: Add a function pointer for opi required registers
See merge request espressif/esp-idf!16322
2021-12-09 16:16:30 +00:00
David Čermák
43f4a76df0
Merge branch 'refactor/remove_esp_websocket_client_send_api_v5' into 'master'
...
websocket: removing deprecated API "esp_websocket_client_send" in v5.0
Closes IDF-1470
See merge request espressif/esp-idf!16245
2021-12-09 15:33:31 +00:00
David Cermak
f181c3c23a
esp_eth/CI: Fix app-test to start recv test after sock bound
2021-12-09 16:27:37 +01:00
Tomas Rezucha
6e9229945a
Merge branch 'feature/usb_host/cdc_driver' into 'master'
...
USB: Add CDC-ACM subclass host driver
See merge request espressif/esp-idf!14515
2021-12-09 15:21:24 +00:00
David Čermák
5c33570524
Merge branch 'bugfix/eth_test_app_regex' into 'master'
...
esp_eth/CI: Fix app-test regex for parsing DUT's MAC
Closes IDFCI-989
See merge request espressif/esp-idf!16327
2021-12-09 12:03:55 +00:00
Cao Sen Miao
463cf2cf1c
ESP8684: Clean up ESP8684 code, remove useless code, update headers
2021-12-09 18:36:39 +08:00
Tomas Rezucha
dd1b698075
usb: Add USB host CDC-ACM class driver
2021-12-09 10:28:46 +01:00
Suren Gabrielyan
7f6ab93f7e
websocket: removed deprecated API "esp_websocket_client_send"
...
Closes IDF-1470
2021-12-09 13:28:13 +04:00
Jiang Jiang Jian
6e7716bcf7
Merge branch 'bugfix/fix_phy_enable_watchdog_timeout_issue' into 'master'
...
Fix the ble task watchdog timeout issue
See merge request espressif/esp-idf!16285
2021-12-09 08:32:25 +00:00
Ondrej Kosta
c91aaf161e
Merge branch 'cleanup/netif_glue' into 'master'
...
netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers
Closes IDF-3736
See merge request espressif/esp-idf!15988
2021-12-09 08:31:10 +00:00
Chinmay Chhajed
556cd73a7e
bt/bugfix: ACL Rx data is sent to host before enc change event
2021-12-09 15:23:50 +08:00
Mahavir Jain
6380585649
Merge branch 'bugfix/address_few_coverity_scan_issues' into 'master'
...
Fix various warnings generated from Coverity scan
See merge request espressif/esp-idf!16298
2021-12-09 07:04:30 +00:00
Ivan Grokhotkov
c358aceb1b
Merge branch 'feature/soc_caps_build_sys' into 'master'
...
build-system: parse soc caps and integrate into kconfig
Closes IDF-2223
See merge request espressif/esp-idf!15305
2021-12-09 06:54:08 +00:00
David Cermak
d1dee48b2d
CI: Use Console.logs instead of prints in eth test apps
2021-12-09 07:37:26 +01:00
David Cermak
caae336f6e
esp_eth/CI: Fix app-test regex for parsing DUT's MAC
2021-12-09 07:28:11 +01:00
Shu Chen
ad2ec6bcaa
Merge branch 'feature/update_rcp_compile_file_list' into 'master'
...
openthread: update rcp compile file list
See merge request espressif/esp-idf!16295
2021-12-09 05:15:16 +00:00
Mahavir Jain
203f82cc49
Fix various warnings generated from Coverity scan
...
esp_timer:
Control flow issues (DEADCODE)
Execution cannot reach this statement: "break;".
protocomm_httpd:
(UNUSED_VALUE)
Assigning value from "cookie_session_id" to "cur_cookie_session_id" here, but that stored value is overwritten before it can be used.
esp_flash_api:
Null pointer dereferences (REVERSE_INULL)
Null-checking "chip" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2021-12-09 09:38:53 +05:30
xiewenxiang
9006d20355
components/bt: fix blufi encryption fail
2021-12-09 10:40:01 +08:00
Cao Sen Miao
32cdfb36ec
opi_flash: Add a function pointer for opi required registers
2021-12-09 09:57:59 +08:00
Kapil Gupta
d3542495ab
ESP_WIFI: Remove static analysis warnings
2021-12-08 17:32:22 +05:30
NikLeberg
317a11cb05
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2021-12-08 19:39:41 +08:00
Shang Zhou
fffed159f8
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-08 19:39:41 +08:00
muhaidong
832123a5e1
esp_wifi: fix fragment plt loss and update header file
...
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-08 19:39:14 +08:00
Yang Zhao
28e9c69303
Update esp32c3 and esp32s3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-08 19:17:31 +08:00
hörbert
ed2a21e1c7
Don't return a hard coded errno in vfs_fat_access
...
Why should the return value of vfs_fat_access be hard coded as ENOENT?
This hides errors like FR_DISK_ERR of the lower layers.
2021-12-08 11:43:18 +01:00
Armando
964f40be35
adc: fix adc1 channel 8 and 9 not defined bug on s3
2021-12-08 18:21:28 +08:00
Jakob Hasse
9ee974e626
Merge branch 'refactor/test_utils_memory_check' into 'master'
...
memory leak detection functions now in separate file
See merge request espressif/esp-idf!16011
2021-12-08 09:15:20 +00:00
Ondrej Kosta
7e864d6856
netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers
2021-12-08 09:21:30 +01:00
Bao Hong De
23b5e16e93
Merge branch 'bugfix/update_licenses' into 'master'
...
components/bt: Update licenses
Closes BT-2150
See merge request espressif/esp-idf!16273
2021-12-08 06:47:26 +00:00
Jiang Jiang Jian
5a5fe48fcb
Merge branch 'bugfix/crypto_allocate_lldesc' into 'master'
...
crypto: dont create DMA descriptors on the stack
Closes IDFGH-6275, IDFGH-6216, and WIFI-4202
See merge request espressif/esp-idf!16007
2021-12-08 06:40:37 +00:00
Jiang Jiang Jian
7fd6328da6
Merge branch 'bugfix/fix_sniffer_t_fcs_crash_issue' into 'master'
...
esp_wifi:compute packet length use lldesc length instead of rx_ctl sig_len in sniffer mode
Closes WIFI-3967 and WIFI-3969
See merge request espressif/esp-idf!16160
2021-12-08 06:02:10 +00:00
Marius Vikhammer
97e05c6f8b
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 12:09:01 +08:00
Marius Vikhammer
7fc7c49e5d
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 12:09:01 +08:00
Mahavir Jain
ba355f924e
Merge branch 'bugfix/secure_boot_v2_doc_correction' into 'master'
...
docs: fix salt length in secure-boot-v2 guide
See merge request espressif/esp-idf!16286
2021-12-08 03:25:10 +00:00
Jakob Hasse
16514f93f0
refactor (test_utils)!: separate file for memory check functions
...
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.
BREAKING CHANGE: renamed memory check function names which may be used
in unit tests outside IDF.
2021-12-08 11:06:00 +08:00
baohongde
c138e47f45
components/bt: Update licenses
2021-12-08 10:59:06 +08:00
Jakob Hasse
2e1c7d876c
Merge branch 'bugfix/minimal_stacksize_watchpoint_aware' into 'master'
...
[freertos]: Changed minimal stack size to regard watchpoint usage
See merge request espressif/esp-idf!16269
2021-12-08 02:57:11 +00:00
Marius Vikhammer
23c4534d23
Merge branch 'bugfix/spi_slave_test_non_dma' into 'master'
...
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
See merge request espressif/esp-idf!16293
2021-12-08 02:42:31 +00:00
David Cermak
cb5653fd94
mdns: Fix potential null deref reported by fuzzer test
2021-12-07 16:17:53 +01:00
Kevin (Lao Kaiyao)
9bc274b47b
Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
...
i2s: deprecate confusing names
Closes IDF-4368
See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
zhangwenxu
21ff116993
openthread: update rcp compile file list
2021-12-07 17:32:44 +08:00
Marius Vikhammer
ee684b58fb
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
2021-12-07 16:39:33 +08:00
Simon
6f9b89f619
Merge branch 'bugfix/usb_no_rom_log' into 'master'
...
USB_SERIAL_JTAG: Fix the issue that there is no rom/bootloader log when restarting
Closes IDF-4173
See merge request espressif/esp-idf!16057
2021-12-07 08:16:10 +00:00
Song Ruo Jing
210b131529
Merge branch 'bugfix/gpio_intr_on_core1_s3' into 'master'
...
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
Closes IDFGH-6211 and IDFGH-3635
See merge request espressif/esp-idf!15945
2021-12-07 06:07:19 +00:00
Sudeep Mohanty
4143a3f572
Merge branch 'feature/update-freertos-module-handles-to-struct-type' into 'master'
...
freertos: update module handles to struct type
Closes IDF-3768, IDF-3769, and IDF-3770
See merge request espressif/esp-idf!15766
2021-12-07 04:40:29 +00:00
Mahavir Jain
5cdd3999c7
bootloader_support: fix Coverity scan warning
...
Null pointer dereferences (REVERSE_INULL) :
Null-checking "part" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2021-12-07 09:49:12 +05:30
Jiacheng Guo
456f80b754
mdns: always send A/AAAA records in announcements
2021-12-07 11:44:49 +08:00
Omar Chebib
5d7b188a73
Merge branch 'bugfix/typo_in_i2c_macro' into 'master'
...
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
Closes IDFGH-6351
See merge request espressif/esp-idf!16266
2021-12-07 03:42:35 +00:00
Jakob Hasse
8ebea6f689
bugfix (freertos): Changed minimal stack size to regard watchpoint usage
2021-12-07 10:42:05 +08:00
Euripedes Rocha
ae8eeaade9
tcp_transport: Fix Websocket transport initialization
...
In case of a failure in alocation of WS transport handle, parent leaks.
2021-12-06 14:28:30 -03:00
Guo Jia Cheng
120b0ba2af
Merge branch 'feature/update_openthread_components' into 'master'
...
openthread: update libs
See merge request espressif/esp-idf!16247
2021-12-06 08:56:53 +00:00
Ondrej Kosta
914eafe2db
Merge branch 'feature/ksz80xx_support_extension' into 'master'
...
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
Closes IDFGH-6203 and IDF-3522
See merge request espressif/esp-idf!16024
2021-12-06 08:54:33 +00:00
songruojing
91f1159f9c
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
...
Add a test case for checking the interrupt on other cores.
Closes https://github.com/espressif/esp-idf/issues/7885
2021-12-06 14:17:03 +08:00
songruojing
0e8286c57b
gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service()
...
Closes https://github.com/espressif/esp-idf/issues/5571
Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
2021-12-06 14:15:54 +08:00
David Čermák
13978c9556
Merge branch 'feature/asio_ssl_esp' into 'master'
...
asio: Use internal ssl context and engine impl
Closes IDF-3432
See merge request espressif/esp-idf!15523
2021-12-06 05:54:14 +00:00
Marius Vikhammer
97d11c709d
soc: Merge soc_caps for H2 rev1 and rev2
...
These files were identical.
2021-12-06 12:37:11 +08:00
Marius Vikhammer
c6d60615c6
build-system: include soc_caps defines into kconfig
...
Adds gen_soc_caps_kconfig.py which parses the soc caps (soc_caps.h) into
a format that can be included in kconfig.
2021-12-06 12:37:07 +08:00
paul
ef1df8d41a
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
...
* Closes https://github.com/espressif/esp-idf/pull/8012
2021-12-06 11:43:49 +08:00
Sudeep Mohanty
40c1f3e06e
freertos: update module handles to struct type
...
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Torsten Martinsen
ea8072a361
Add message about alternative functions.
2021-12-05 15:54:21 +01:00
Ondrej Kosta
970986e5b6
Added KSZ8041/81 and LAN8720 Driver IDF v5.0 migration description
...
LAN8720 function call clean up
2021-12-03 14:28:52 +01:00
Jiacheng Guo
5d0c47303d
mdns: filter instance name for ANY queries
...
The instance name in ANY quries was ignored. The MR fixes the issue.
2021-12-03 19:20:14 +08:00
Sudeep Mohanty
88aa3e78c3
NimBLE: Invoke xTimerGetExpiryTime in npl porting layer only when freertos timer is used
...
This commit adds an esp timer guard check to call in the function
npl_freertos_callout_remaining_ticks() to enable fetching remaning ticks
when esp timer is enabled.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-03 15:57:19 +05:30
David Cermak
d823106aa6
asio: Use internal ssl context and engine impl
...
Implement asio-ssl layer with three classes in asio::ssl::mbedtls:
* context -- replaces SSL_CTX, used mainly as a container to options,
certs, keys
* engine -- replaces SSL, implements the actual mbedtls operations
* bio -- implements openssl BIO specifically tailered to mbedtls and
its asio usage
Further updates:
* asio: Used shared_ptr<> for bio pairs
* asio: Add error checks to mbedtls-bio
* asio: Address potential ssl-context ownership issue
* asio: Address potential bio-engine ownership issue
2021-12-03 09:32:42 +01:00
Mahavir Jain
8fadcd844e
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
Closes IDF-4402
See merge request espressif/esp-idf!15323
2021-12-03 04:55:01 +00:00
Mahavir Jain
fbeb711e06
Merge branch 'bugfix/invalid_url_cause_to_crash' into 'master'
...
http: Fix parsing invalid url cause to crash
Closes ESPAT-953
See merge request espressif/esp-idf!16153
2021-12-03 04:53:56 +00:00
zhangwenxu
a732884944
openthread: update libs
...
* update lib802154: fix assert caused by prcessing isr delay
* update libopenthread_port: aggressively process pending tasks
* update openthread(1267bdb)
2021-12-03 12:18:59 +08:00
Ivan Grokhotkov
e96545b261
Merge branch 'bugfix/esp_adc_cal_cmake' into 'master'
...
esp_adc_cal: minor simplification
See merge request espressif/esp-idf!15814
2021-12-02 15:08:08 +00:00
David Čermák
f6d0605bd4
Merge branch 'bugfix/add_mqtt_connect_unit_test' into 'master'
...
CI/MQTT: Add more unit tests with actual broker
See merge request espressif/esp-idf!15408
2021-12-02 11:51:17 +00:00
0xFEEDC0DE64
f391d610e8
Added results count to MDNS
2021-12-02 12:33:10 +01:00
Fischerauer Christian
3fb83f2866
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
...
* add support for KSZ8001, KSZ8021, KSZ8031, KSZ8051 and KSZ8061
* remove duplicate code
* simplify architecture to make the code base extensible (for future work)
2021-12-02 11:56:08 +01:00
Li Qi Gan
54c5d42a62
Merge branch 'bugfix/fix_spp_listen_err' into 'master'
...
Component_bt/Fix SPP cannot malloc slot bugs
Closes BCI-300
See merge request espressif/esp-idf!16035
2021-12-02 07:20:58 +00:00
Chen Wu
c10683f493
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-02 14:15:43 +08:00
David Čermák
d7f2e30b24
Merge branch 'feature/update_option_len_default_value' into 'master'
...
lw-ip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
Closes IDFGH-6064 and IDFGH-6059
See merge request espressif/esp-idf!15623
2021-12-02 05:55:59 +00:00
morris
815203f401
Merge branch 'bugfix/i2s_hal_remove_dup_code_fifo_mod' into 'master'
...
hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default
See merge request espressif/esp-idf!16208
2021-12-02 03:37:08 +00:00
Ivan Grokhotkov
4d246baa46
esp_adc_cal: update h2 code to use esp_check.h
...
Same changes as in commit c45c6f52f
for c3.
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
dbd3aa5bfc
driver: adc: use SOC_ADC_PERIPH_NUM for array size
...
ADC_UNIT_MAX is no longer equal to the number of ADC units.
This makes the static s_adc_cali_param arrays larger than necessary.
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
e697e7ff0f
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
e95b4c2b90
esp_adc_cal: simplify CMakeLists.txt
2021-12-01 20:05:04 +01:00
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
muhaidong
f9b2cb6f11
esp_wifi:compute packet length use lldesc length instead of rx_ctl sig_len in sniffer mode
2021-12-01 21:07:32 +08: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
Li Jingyi
981ef057c4
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-01 17:15:25 +08: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
yuanjm
9c1520d1f9
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-01 07:19:18 +00:00
liqigan
aa6f86fbc5
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-01 14:59:14 +08:00
Michael (XIAO Xufeng)
14213d883b
hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default
2021-12-01 05:47:36 +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
Cao Sen Miao
17ea9d7faf
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2021-11-29 20:26:09 +08:00
aleks
b8c1d26f56
freemodbus: fix port contains lgpl licensed files
...
Initial version of freemodbus master port files have been added to ESP-IDF based on https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32 .
The overall repository license, at the time of adding these files, has been BSD 3-clause. However at that time, several port files carried LGPL license headers. As the author of these files confirmed in https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32/issues/61#issuecomment-977828450 , this wasn't intentional. ESP-IDF version of modbus master port has been rewritten to target FreeRTOS instead of RT-Thread, but the license headers remained from the original version. This commit corrects this, replacing the license of these files with BSD 3-clause.
2021-11-29 12:50:53 +01: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
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
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
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
fa4e77eb44
i2s: deprecate confusing names
2021-11-24 13:21:13 +08: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
Omar Chebib
a857f52107
Merge branch 'bugfix/sleep_wrong_log_lvl' into 'master'
...
Sleep: fix wrong print function in critical section
Closes IDFGH-6273
See merge request espressif/esp-idf!16027
2021-11-22 08:14:24 +00:00
Aditya Patwardhan
be65338212
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-11-22 12:01:15 +05:30
Jiang Jiang Jian
5f86e13455
Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit' into 'master'
...
[nimble]: clear timer handle during de-initialization
See merge request espressif/esp-idf!15950
2021-11-22 05:45:44 +00:00
Darian Leung
9b3796d2f1
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
...
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()
Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()
Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
thus the spinlock test pass threshold had to be increased to account for the extra runtime.
Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 13:28:39 +08:00
Omar Chebib
c676b83d2f
Sleep: fix wrong debug level
...
Fix usage of ESP_LOGD in sleep_modes.c which triggers a panic when
used in debug log level.
* Closes https://github.com/espressif/esp-idf/issues/7942
2021-11-22 10:52:19 +08:00
Kapil Gupta
4cbd4b19cb
esp_wifi: Remove scan done event for supplicant scans
...
Closes https://github.com/espressif/esp-idf/issues/7423
2021-11-20 18:25:55 +05:30
Kapil Gupta
fa8f057ba8
wpa_supplicant: Fix compilation error when debug enabled
...
Closes https://github.com/espressif/esp-idf/issues/7789
2021-11-20 18:24:56 +05:30
Kapil Gupta
27e3422a23
wpa_supplicant: Optimize BTM request scan
2021-11-20 18:24:56 +05:30
wangmengyang
8cfffa260b
[nimble]: clear timer handler during de-initialization
2021-11-19 15:08:55 +08:00
Isha Pardikar
28db922cfd
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
Fix for potential allocation bug in protocomm_nimble.c
Closes IDFGH-6005
See merge request espressif/esp-idf!15669
2021-11-19 04:47:44 +00:00
Wang Meng Yang
2ee3c7b542
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-19 02:59:12 +00:00
Wang Meng Yang
83a5823564
Merge branch 'bugfix/fix_device_name_len_limited_mr' into 'master'
...
Fix the issue of device name len limited
Closes BT-2066
See merge request espressif/esp-idf!15880
2021-11-19 02:36:25 +00:00
Wang Meng Yang
412808909c
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_master' into 'master'
...
fix modem sleep hw error
See merge request espressif/esp-idf!15824
2021-11-19 02:34:39 +00:00
Wei Tian Hua
4d3323d4cc
Merge branch 'bugfix/leedarson_master' into 'master'
...
component_bt: Fix some code logic errors
Closes BT-2079
See merge request espressif/esp-idf!15943
2021-11-19 02:03:15 +00:00
KonstantinKondrashov
209702d055
esp_ipc: Update documentation and API descriptions
...
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-11-18 21:34:50 +08:00
xiongweichao
ce2d72ddfb
Missing break in switch
2021-11-18 19:47:09 +08:00
xiongweichao
5152b33385
Dereference null return value
2021-11-18 19:47:09 +08:00
xiongweichao
1bada6c0f6
already defined in bt_target.h
2021-11-18 19:47:09 +08:00
xiongweichao
752b1976c0
Dereference after null check
2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110
Dereference before null check
2021-11-18 19:38:48 +08:00
xiongweichao
564f9e8f68
Logically dead code
2021-11-18 19:38:48 +08:00
isha pardikar
7377f8a5a6
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
NimBLE: Fixed potential allocation bug in protocomm_nimble.c
Closes https://github.com/espressif/esp-idf/issues/7689
See merge request espressif/esp-idf!15669
2021-11-18 14:15:08 +05:30
Yang Zhao
3b84612582
Update esp32 bt-lib
...
It is abnormal when getting the deep sleep state bit. So we need to check
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-18 15:23:36 +08:00
Jiang Jiang Jian
aa2047a83f
Merge branch 'mesh/bugfix_fix_layer2_node_connection_issue' into 'master'
...
mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
See merge request espressif/esp-idf!15181
2021-11-18 03:55:00 +00:00
Zim Kalinowski
d7d280b9df
Merge branch 'staging/improve_riscv_vector_s_file' into 'master'
...
RISC-V: Fix vectors.S assembly file indentation and macro usage
See merge request espressif/esp-idf!15927
2021-11-18 00:50:35 +00:00
isha pardikar
e2a37b2712
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-17 18:35:40 +05:30
chenjianxing
65f3bf4a8a
esp_phy: fix esp32s3 phy work with USB-OTG issue
2021-11-17 11:08:01 +08:00
Matus Fabo
a390efe798
fix: pin definitions for other boards
...
fix: re-enabled fatfs r/w test on sdspi
fix: copyright notice
add: pin definitions for esp32c3
fix: Changed fixed spi dma channel to a macro definition
2021-11-16 14:13:25 +01:00
Ondrej Kosta
6d4ff2c05e
Merge branch 'feature/eth_ioctl_speed_duplex' into 'master'
...
esp_eth: esp_eth_ioctl update
Closes IDF-1240 and IDF-4060
See merge request espressif/esp-idf!15607
2021-11-16 11:56:18 +00:00
Ondrej Kosta
d1f2a3dfcc
esp_eth: added ioctl options to set Ethernet speed and duplex mode
...
esp_eth_ioctl third argument always acts as untyped pointer to memory now
2021-11-16 08:34:07 +01:00
morris
2e008825a9
Merge branch 'feat/rm_makefiles' into 'master'
...
Build & config: Remove leftover files from the unsupported make build system
Closes IDF-4273 and IDF-2827
See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
morris
207891ef6c
clk: fix esp32h2 print wrong CPU frequency
2021-11-15 17:40:51 +08:00
Mahavir Jain
c5b904745f
Merge branch 'bugfix/efuse_utility_header' into 'master'
...
efuse: Add missing esp_rom_sys.h include file
See merge request espressif/esp-idf!15939
2021-11-15 09:24:13 +00:00
Omar Chebib
220e52fca1
RISC-V: Fix vectors.S assembly file indentation and macro usage
...
The file is now more consistent as the macros have been fixed, more comments
have been added and the indentation is now using spaces only.
2021-11-15 17:17:24 +08:00
Wang Meng Yang
6322632a37
Merge branch 'bugfix/add_warning_print_timer' into 'master'
...
NimBLE: Modified timer not started / running warning print
See merge request espressif/esp-idf!15177
2021-11-15 08:32:47 +00:00
Li Shuai
5b766e63c0
Merge branch 'bugfix/wifi_bt_mac_bb_pd_light_sleep' into 'master'
...
fixes some sleep related issues
Closes AUD-3278
See merge request espressif/esp-idf!15844
2021-11-15 05:05:47 +00:00
Simon
197d6c05b6
Merge branch 'feature/support_new_psram' into 'master'
...
PSRAM: Add ESP32-D0WDR2-V3 support
Closes IDF-4308
See merge request espressif/esp-idf!15875
2021-11-15 03:43:59 +00:00
Li Shuai
37e1e9c540
Merge branch 'bugfix/memory_region_define_rtc_fast' into 'master'
...
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
Closes WIFI-4115
See merge request espressif/esp-idf!15743
2021-11-15 02:34:35 +00:00
Gustavo Henrique Nihei
626d78c2e0
efuse: Add missing esp_rom_sys.h include file
...
This prevents the compiler error for the implicit declaration of
function "esp_rom_printf".
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 17:35:59 -03:00
Gustavo Henrique Nihei
4a011f3183
Merge branch 'bugfix/efuse_stdbool' into 'master'
...
efuse: Add missing stdbool.h include file
See merge request espressif/esp-idf!15917
2021-11-12 16:18:07 +00:00
Gustavo Henrique Nihei
5f0e213d9d
efuse: Enable C++ linkage for the include headers on esp_efuse.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 09:17:02 -03:00
Li Shuai
c99cb930c3
sleep: deep sleep does not need cpu and wifi/bt mac retention
2021-11-12 17:46:56 +08:00
Li Shuai
d9e3204115
light sleep: replace new kconfig option of mac bb power down & phy reduce tx power
2021-11-12 17:46:18 +08:00
Shang Zhou
6da09b3542
Merge branch 'docs/update_syntax_error_for_customer_feedback' into 'master'
...
docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup
Closes DOC-2263
See merge request espressif/esp-idf!15909
2021-11-12 06:41:49 +00:00
Cao Sen Miao
ce1ee3d8ae
psram: add ESP32-D0WD-R2-V3 support
2021-11-12 13:52:24 +08:00
Sudeep Mohanty
0497f18688
Merge branch 'feature/esp-timer-add-api-for-expiry-time' into 'master'
...
esp_timer: Added esp_timer_get_period/expiry_time APIs
Closes IDF-4285
See merge request espressif/esp-idf!15835
2021-11-12 05:13:34 +00:00
Mahavir Jain
f104bf1b76
Merge branch 'bugfix/httpd_stop' into 'master'
...
Check for failure in stopping http server [GitHub PR]
Closes IDFGH-7843
See merge request espressif/esp-idf!15904
2021-11-12 04:21:33 +00:00
Jakob Hasse
c14c81733d
Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility' into 'master'
...
nvs: add config to ignore "encrypted" flag of nvs partitions
Closes IDFGH-6162
See merge request espressif/esp-idf!15912
2021-11-12 03:24:19 +00:00
Omar Chebib
76fbd73b20
Merge branch 'bugfix/ledc_auto_clk_refactor' into 'master'
...
ledc: improved support for ESP32-C3 and refactored divisor calculation
Closes IDF-2441
See merge request espressif/esp-idf!13837
2021-11-12 03:21:46 +00:00
Gustavo Henrique Nihei
77a6347849
efuse: Add missing stdbool.h include file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-11 18:04:26 -03:00
Simon
4f7e51231f
Merge branch 'refactor/flash_qio_overidable' into 'master'
...
spi_flash: refactor flash qio to make it overridable
Closes IDF-3089
See merge request espressif/esp-idf!15371
2021-11-11 17:54:47 +00:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Song Ruo Jing
2c606c29b1
Merge branch 'bugfix/gpio_interrupt_on_app_cpu' into 'master'
...
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
Closes IDFGH-5900
See merge request espressif/esp-idf!15901
2021-11-11 12:28:53 +00:00
Mahavir Jain
ad9230fb34
spi_flash: minor cleanup, use type/subtype from esp_partition.h
2021-11-11 16:35:55 +05:30
likunqiao
5ae287b240
Bug fix: cmakelist update for build ieee802154 driver from src
2021-11-11 19:03:13 +08:00
Mahavir Jain
e67128dd0a
nvs: add config to ignore "encrypted" flag of nvs partitions
...
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.
It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.
Please see commit aca9ec28b3
which
introduced check to not allow NVS partitions with "encrypted" flag set.
More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667
Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-11 15:20:57 +05:30
Sudeep Mohanty
5806e57773
esp_timer: Added esp_timer_get_period/expiry_time APIs
...
Added the following new APIs to the esp_timer module:
- esp_timer_get_period(): Returns the period of a timer in microseconds.
- esp_timer_get_expiry_time(): Returns the timeout value of a one-shot timer in microseconds.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-11 15:13:05 +05:30
Shang Zhou
1669504614
docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup
2021-11-11 17:25:45 +08:00
David Čermák
f788c337b1
Merge branch 'bugfix/esp_eth_test_deinit' into 'master'
...
esp_eth: Update test_emac.c (GitHub PR)
Closes IDFGH-6178 and IDFGH-6177
See merge request espressif/esp-idf!15873
2021-11-11 07:45:42 +00:00
Omar Chebib
44df880c12
Merge branch 'feature/move_ipc_to_esp_system' into 'master'
...
IPC: Move ipc sources to esp_system
Closes IDF-2160
See merge request espressif/esp-idf!15234
2021-11-11 06:57:44 +00:00
Dániel Buga
994038e0e9
esp_http_server: Check for failure in stopping http server
...
In some cases, sending the shutdown signal may fail, which causes `httpd_stop` to wait indefinitely.
This PR adds a check to prevent this infinite loop.
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/7843
2021-11-11 11:43:57 +05:30
Cao Sen Miao
981abed2b2
spi_flash: refact that flash qio can be overidable
2021-11-11 12:28:21 +08:00
Omar Chebib
1e8a0909f6
LEDC: divisor calculation will now be rounded up when necessary
...
Closes https://github.com/espressif/esp-idf/issues/7722
2021-11-11 12:21:22 +08:00
Omar Chebib
aa2ca7dd94
LEDC: improved support for ESP32-C3 and refactored divisor calculation
...
As ESP32C3 does not have support for REF_TICK source clock, it is now not
possible to select it anymore.
Auto cfg clock has been improved for all boards.
2021-11-11 12:21:15 +08:00
songruojing
7ec38fcc42
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
...
Introduced in 874a720286
Closes https://github.com/espressif/esp-idf/issues/7594
2021-11-11 12:14:32 +08:00
Wang Meng Yang
534cd5bb31
Merge branch 'bugfix/fix_custmoer_issues' into 'master'
...
bugfix/fix_3_controller_issues
Closes ESPCS-721, IDFGH-5407, IDFGH-5712, and IDFGH-6082
See merge request espressif/esp-idf!15821
2021-11-11 03:39:37 +00:00
Jiang Jiang Jian
3a443d523f
Merge branch 'bugfix/fix_memory_leak_controller_deinit' into 'master'
...
ESP32: Fix memory leak in controller deinit function
See merge request espressif/esp-idf!15449
2021-11-11 03:36:18 +00:00
Yang Zhao
66fa67cde6
Fix the issue of device name len limited
2021-11-11 11:35:36 +08:00
Zim Kalinowski
9502656640
Merge branch 'bugfix/github-7830' into 'master'
...
docs: fix a small typo in logging library docs
Closes IDFGH-6153
See merge request espressif/esp-idf!15831
2021-11-11 03:30:02 +00:00
Jiang Jiang Jian
c6ad0e4658
Merge branch 'bugfix/power_down_bluetooth_module_when_deinit' into 'master'
...
component/bt: Power down bluetooth module when deinit
Closes WIFI-4180
See merge request espressif/esp-idf!15716
2021-11-11 03:23:46 +00:00
Omar Chebib
9d5923a13e
IPC: Move ipc sources to esp_system
...
IPC shall be put back into esp_system as it is an 'OS additions'.
2021-11-11 10:30:01 +08:00
Jiang Jiang Jian
6ef6c2a2c7
Merge branch 'bugfix/esp32_light_sleep_crash' into 'master'
...
Fix crash caused by bluetooth high level interrupt
Closes BT-2047 and BT-2048
See merge request espressif/esp-idf!15867
2021-11-10 14:41:30 +00:00
Roland Dobai
016198f68f
Merge branch 'feat/remove_make' into 'master'
...
Build & config: Remove the "make" build system
Closes IDF-4272
See merge request espressif/esp-idf!15818
2021-11-10 14:13:25 +00:00
David Čermák
f4bb97c56a
Merge branch 'bugfix/DM9051_network_communication_abnormal' into 'master'
...
esp_eth: DM9051 tx throughput rate optimization
See merge request espressif/esp-idf!15099
2021-11-10 11:31:55 +00:00
Jiacheng Guo
5d3f8157e0
mdns: fix wrong PTR record count
2021-11-10 17:29:09 +08:00
Roland Dobai
9c1d4f5b54
Build & config: Remove the "make" build system
...
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
xiongweichao
422cf3cf37
Fix crash caused by bluetooth high level interrupt
2021-11-10 16:11:10 +08:00
Rahul Tank
897926d21c
NimBLE: Modified timer not started / running warning print
...
Current check for valid timer throws a print which can mislead to be a crash. Modified the same
Closes: https://github.com/espressif/esp-idf/issues/7550
2021-11-10 12:44:39 +05:30
Zim Kalinowski
04d80db499
freertos: Move Espressif's specific esp_reent_init into collective ifdef
2021-11-10 10:55:05 +08:00
Omar Chebib
86fbe68d94
Merge branch 'bugfix/xStreamBufferReset_crashing' into 'master'
...
FreeRTOS: Fix xStreamBufferReset function always crashing
Closes IDFGH-6040
See merge request espressif/esp-idf!15626
2021-11-10 02:12:30 +00:00
Jing Li
caa9e323cc
Merge branch 'bugfix/fix_ota_crash' into 'master'
...
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
See merge request espressif/esp-idf!15720
2021-11-09 08:45:01 +00:00
jincheng
74e121af88
fix HCI_Read_Clock error
...
fix HCI_Create_Connection_Cancel error
fix ASSERT_WARN during epr
2021-11-09 14:37:13 +08:00
Tian Sen Wen
c6ba84e5cd
esp_eth: optimize dm9051 Tx throughput
2021-11-09 14:04:11 +08:00
Omar Chebib
8376276b14
FreeRTOS: Fix xStreamBufferReset function always crashing
...
This function resets the spinlock given as a parameter after taking it
(when entering the critical section). This then results in a panic once
it tries to exit the same critical section.
* Closes https://github.com/espressif/esp-idf/issues/7725
2021-11-09 14:04:02 +08:00
baohongde
11656377af
components/bt: Fix the issue caused by the power off the bt power domain
2021-11-09 12:03:49 +08:00
lisekt84
474073c0a9
Update test_emac.c
...
Test of uninstall driver always return ESP_OK (IDFGH-6177) #7854
2021-11-08 19:45:11 +01:00
Alex Lisitsyn
58283e385a
Merge branch 'feature/modbus_update_for_other_targets' into 'master'
...
modbus: update to support other targets
See merge request espressif/esp-idf!12345
2021-11-08 16:28:56 +00:00
Alex Lisitsyn
0586be45d2
modbus: update to support other targets
2021-11-08 16:28:55 +00:00
Li Shuai
bf650edc55
fix the wifi scan fail issue caused by the power off the wifi power domain
2021-11-08 20:59:10 +08:00
morris
83d16aa00c
gdma: support IRAM interrupt
2021-11-08 16:14:51 +08:00
morris
490d3fee71
Merge branch 'refactor/make_peripheral_ctrl_as_private_api' into 'master'
...
global: make periph enable/disable APIs private
Closes IDF-3647
See merge request espressif/esp-idf!15632
2021-11-08 07:31:01 +00:00
Wang Fang
b86619fc61
Merge branch 'docs/add_a_note_to_mck_io_num' into 'master'
...
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set
Closes DOC-2218
See merge request espressif/esp-idf!15812
2021-11-08 05:14:41 +00:00
morris
16677b0d3c
global: make periph enable/disable APIs private
...
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
morris
7bc3506350
tinyusb: sync to master 9245b8f89f5
2021-11-08 09:57:42 +08:00
Cao Sen Miao
599227a1b6
ESP8684: Add esp8684 target to other repo for passing build
2021-11-06 17:33:45 +08:00
Cao Sen Miao
9ab043574d
ESP8684: update esptool
2021-11-06 17:33:45 +08:00
Cao Sen Miao
5add6593f4
ESP8684: Add esp_gdbstub, mbedtls, esp_timer
2021-11-06 17:33:45 +08:00
Cao Sen Miao
742f99f7d0
ESP8684: add esp8684, esp_adc_cal, esp_common
2021-11-06 17:33:44 +08:00
Cao Sen Miao
a9f0a3531e
ESP8684: add driver esp_pm heap support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
36f6d16b8d
ESP8684: add soc, riscv, newlib support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
09487761cf
ESP8684: add freertos, hal, esp_system support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
3934e24d22
ESP8684: add spi_flash, efuse, hw_support support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
bf6fa70812
ESP8684: update bootloader, bootloader_support, esp_rom
2021-11-06 17:33:44 +08:00
Cao Sen Miao
7f5c415401
ESP8684: introduce a new target esp8684
2021-11-06 17:33:44 +08:00
Ivan Grokhotkov
53015490e3
Merge branch 'bugfix/freemodbus_tcp_master_fix_long_frame_buffer_issue' into 'master'
...
freemodbus: fix tcp master long frame buffer issue
See merge request espressif/esp-idf!11687
2021-11-05 16:23:35 +00:00
Alex Lisitsyn
0d393558d3
freemodbus: fix tcp master long frame buffer issue
2021-11-05 16:23:35 +00:00
aleks
ee104f8de2
freemodbus: fix timer port to use esp_timer instead of group timer
2021-11-05 13:19:09 +00:00
Jiacheng Guo
674a3ff878
openthread: support updating RCP with OTA over spinel
2021-11-05 16:47:30 +08:00
Xie Wen Xiang
579aa4bd90
Merge branch 'bugfix/fix_crash_when_shutdown_bt' into 'master'
...
component/bt: fix crash when shutdown bt
See merge request espressif/esp-idf!15705
2021-11-05 03:00:09 +00:00
Ivan Grokhotkov
0b376251df
Merge branch 'feature/kconfig_for_reproducible_build' into 'master'
...
Feature: kconfig for reproducible build
See merge request espressif/esp-idf!15100
2021-11-04 22:07:29 +00:00
Ondrej Kosta
cb8432e0f2
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter
...
Closes https://github.com/espressif/esp-idf/issues/7750
2021-11-04 16:17:45 +00:00
Roland Dobai
71dd63c5f1
Merge branch 'feature/gcov_esp32c3' into 'master'
...
debug_stubs and gcov: Refactor and add support for RISCV
See merge request espressif/esp-idf!15212
2021-11-04 13:56:18 +00:00
Wang Meng Yang
328450b8c2
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection' into 'master'
...
component/bt: check the ble ext conn parameter
See merge request espressif/esp-idf!15767
2021-11-04 12:23:42 +00:00
Wang Fang
21378f007f
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set
2021-11-04 19:38:51 +08:00
Jakob Hasse
465d6a37cc
Merge branch 'feature/wear_levelling_test_app' into 'master'
...
wear_levelling: move tests from unit-test-app to a component test app
See merge request espressif/esp-idf!15582
2021-11-04 06:58:04 +00:00
Wu Zheng Hui
f64efe6076
Merge branch 'feature/update_c3_h2_soc_caps' into 'master'
...
heap: update memory heap caps
See merge request espressif/esp-idf!15792
2021-11-04 06:34:25 +00:00
wuzhenghui
ca1c4114bc
heap: update esp32&s2&c3&h2 soc caps
2021-11-04 10:40:57 +08:00
Marius Vikhammer
f578a67ec7
Merge branch 'bugfix/aes_gcm_unaligned_psram' into 'master'
...
aes: fix potential unaligned access in aes-gcm
Closes IDFGH-5506
See merge request espressif/esp-idf!15668
2021-11-04 02:23:57 +00:00
Uri Shaked
18b398cfb4
fix a small typo in logging library docs
2021-11-04 04:08:35 +02:00
Alexey Gerenkov
e7dd7d3110
gcov: Fixes interference of gcov dump with normal IPC calls
2021-11-04 01:33:24 +03:00
Alexey Gerenkov
e4e4bbae5e
gcov: Do not use shrunk ROM's fake stdout and stderr FILE struct
2021-11-04 01:33:24 +03:00
Alexey Gerenkov
bb9cd84cdc
debug_stubs: Refactor and add support for RISCV
2021-11-04 01:33:24 +03:00
David Čermák
9466fd1e16
Merge branch 'bugfix/LAN8720_reset_assertion' into 'master'
...
Increased LAN8720 ETH-PHY reset assertion time
Closes IDFGH-6132 and IDFGH-6018
See merge request espressif/esp-idf!15636
2021-11-03 16:29:09 +00:00
jingli
efbc980d4f
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
2021-11-03 20:56:42 +08:00
Martin Gano
3c4034d36e
support for generating FATFS on a host
2021-11-03 13:06:11 +01:00
Ivan Grokhotkov
5962a7e931
wear_levelling: move tests from unit-test-app to a component test app
...
* Migrate test cases from IDF test runner to Unity fixture.
* Tighten heap checks in the test case a bit.
* Run formatting script on test_wl.c
* NEW: Define 4 test configurations, including configs with 512 byte
sector size. Previously these configs weren't tested in CI.
* NEW: The test app only runs for ESP32 and ESP32-C3 (one chip for
each architecture). The component is pretty high level so we don't
need to test it for each chip. This reduces the load on CI.
2021-11-03 09:56:20 +01:00
Jakob Hasse
32e3444701
feat (pthread): reader-writer locks implementation
...
* Added implementation based on cond. variables
* Added unit tests
Closes https://github.com/espressif/esp-idf/issues/7411
2021-11-03 16:38:14 +08:00
Marius Vikhammer
1cb07a1288
aes: fix potential unaligned access in aes-gcm
2021-11-03 14:10:11 +08:00
Jakob Hasse
7df16fdf8f
Merge branch 'feature/i2c_mock' into 'master'
...
feat (driver): Added mocking for i2c.h
See merge request espressif/esp-idf!15641
2021-11-03 05:49:04 +00:00
Mahavir Jain
268143b732
Merge branch 'bugfix/mbedtls_disable_dhe_by_default' into 'master'
...
mbedtls: disable Diffie-Hellman key exchange modes by default
Closes IDF-1230
See merge request espressif/esp-idf!15642
2021-11-03 04:30:30 +00:00
Shu Chen
117bb79ec2
Merge branch 'feature/add_ieee802154_timer' into 'master'
...
ieee802154: Add ieee802154 timer APIs
See merge request espressif/esp-idf!15752
2021-11-03 02:31:03 +00:00
Island
417ef24b06
Merge branch 'bugfix/ble_mesh_host_init' into 'master'
...
ble_mesh: nimble: return error if init host twice
See merge request espressif/esp-idf!13065
2021-11-03 02:25:03 +00:00
Island
e595fb43cd
Merge branch 'bugfix/sig_ble_mesh_errata_e16350' into 'master'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
See merge request espressif/esp-idf!15645
2021-11-03 02:24:59 +00:00
Darian
ea6a0dde5a
Merge branch 'bugfix/usb_hcd_robustness' into 'master'
...
USB Host: Fix how disconnections an EP halts are handled
Closes IDFGH-5797 and IDFGH-6108
See merge request espressif/esp-idf!15640
2021-11-02 13:50:09 +00:00
lly
a1535faad5
ble_mesh: nimble: return error if init host twice
2021-11-02 20:40:49 +08:00
lly
277a5947ee
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-02 20:39:56 +08:00
Darian
44b2b7c22c
Merge branch 'bugfix/freertos_round_robin_scheduling_retain_skip' into 'master'
...
freertos: Implement best effort round robin scheduling
Closes IDFGH-5528
See merge request espressif/esp-idf!15507
2021-11-02 11:58:48 +00:00
Mahavir Jain
bd2c528241
Merge branch 'bugfix/manual_secure_boot_v2_multiple_digest_issue' into 'master'
...
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow
Closes IDF-4248
See merge request espressif/esp-idf!15688
2021-11-02 10:57:47 +00:00
David Čermák
7bd93e3362
Merge branch 'bugfix/eth_emac_reset_dma_desc' into 'master'
...
esp-eth: emac: Reset Tx DMA channel owner on init
Closes IDFGH-6071
See merge request espressif/esp-idf!15685
2021-11-02 10:29:02 +00:00
Ondrej Kosta
380864861f
Copyright message fix for 'Increased LAN8720 ETH-PHY reset assertion time'
2021-11-02 09:57:03 +01:00
Mahavir Jain
f7ed95349f
mbedtls: fix dynamic buffer feature build
2021-11-02 15:52:09 +08:00
Mahavir Jain
8c9a3da695
mbedtls: disable Diffie-Hellman key exchange modes by default
...
Using these ciphers can constitute a security risk if the server
uses a weak prime for the key exchange.
Footprint impact:
Roughly 3K saved in text+rodata in default https_request example
2021-11-02 15:52:09 +08:00
Mahavir Jain
2a885ae694
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow
...
This commit fixes issue where empty (unprogrammed) digest slot out of
multiple supported (e.g. 3 for ESP32-C3) could cause issue in
workflow enablement process.
Notes:
1. This issue was applicable for chips supporting "secure-boot-v2"
scheme with multiple digests slots
2. This issue was affecting only manual workflow, where digest of
public was pre-flashed in efuse
3. Change in "flash_encrypt.c" is only for additional safety purpose
2021-11-02 15:26:24 +08:00
xiewenxiang
f0ef891901
component/bt: check the ble ext conn parameter
2021-11-02 14:33:24 +08:00
Darian Leung
189899180f
usb: Change API and refactor tests
...
This commit updates the USB Host Library API in the following wasy:
- usb_host_client_handle_t and usb_device_handle_t made into struct pointers
to generate compiler warnings about conflicting handle types
- usb_host_client_config_t changed to future proof API for Synchronous Clients
- Added usb_host_lib_unblock()
- Added usb_host_device_addr_list_fill()
- Return of usb_host_device_free_all() updated to indicate whether there
are still devices yet to be freed.
- Blockg APIs are now marked explicitly
- Fixed a bug in usb_host_transfer_submit_control() when checking the bEndpointAddress
of a control transfer.
Tests are also refactored to move some common macros into shared headers
Closes https://github.com/espressif/esp-idf/issues/7786
2021-11-02 14:30:58 +08:00
Darian Leung
54b6c902d3
usb: Add USB Host Library sudden disconnect tests
2021-11-02 14:30:58 +08:00
Darian Leung
6a12e28333
usb: Fix USBH handling of disconnections
...
This commit fixes how the USBH handling of a sudden device disconnection,
more specifically handling of device gone.
- Previously the USBH would only halt, flush, and dequeue the device's
default EP, then send a device gone event to the Host Library layer.
- Now the USBH will also halt and flush all non-default EPs, allowing
all of the URBs to be dequeud.
- Some internal object members are now protected by a mutex instead of
a spinlock.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-02 14:30:58 +08:00
Darian Leung
0c758c8557
usb: Fix how the HCD handles sudden disconnection
...
This commit fixes how the USB Host HCD handles sudden disconnections.
Bugs:
- HW channels remain active when the port suddenly disconnects, and
previously the channel would be disabled by setting the disabled bit,
then waiting for a disabled interrupt. However, ISOC channels do not
generate the disabled interrupt when the port is invalid, thus leading
to tasks getting indefinitely blocked in hcd_pipe_command().
Fix:
On a sudden disconnection, forcibly treat all channels as halted even
if their HCCHAR.ChEna bit is still set. We do a soft reset after a port
error anyways, so the channels will eventually be reset.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-02 14:30:58 +08:00
Darian Leung
0159c37cf2
usb: Fix LL 8/16 bit register field access
...
This commit addes the 8/16 bit register field access workarounds to
the DWC_OTG peripheral. This workaround was applied to all other
peripherals in commit 874a720286
.
2021-11-02 14:30:58 +08:00
Jakob Hasse
1eb96cfc79
feat (driver)!: Added mocking for i2c.h
...
BREAKING CHANGE: removed ringbuf.h from public i2c.h
2021-11-02 14:16:31 +08:00
xiaqilin
3fc4a0c9c1
ieee802154: add timer APIs
2021-11-02 14:08:34 +08:00
Darian Leung
8babb3bca6
freertos: Fix SMP round robin scheduling
...
The previous SMP freertos round robin would skip over tasks when
time slicing. This commit implements a Best Effort Round Robin
where selected tasks are put to the back of the list, thus
makes the time slicing more fair.
- Documentation has been updated accordingly.
- Tidy up vTaskSwitchContext() to match v10.4.3 more
- Increased esp_ipc task stack size to avoid overflow
Closes https://github.com/espressif/esp-idf/issues/7256
2021-11-02 14:00:14 +08:00
Zim Kalinowski
13ab2cd9f9
Merge branch 'bugfix/spiram_abort_allocation_failure' into 'master'
...
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
Closes IDFGH-5870
See merge request espressif/esp-idf!15454
2021-11-02 05:36:18 +00:00
Omar Chebib
96391ef62b
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
2021-11-02 05:36:18 +00:00
Zim Kalinowski
6b3201605e
Merge branch 'bugfix/riscv_fix_vector_mcause' into 'master'
...
RISC-V: fix usage of special register when interrupts are enabled
Closes IDF-3955
See merge request espressif/esp-idf!15370
2021-11-02 05:31:06 +00:00
morris
b2c2e2302b
Merge branch 'feature/KSZ8091_support' into 'master'
...
Add support for Eth PHY KSZ8091
Closes IDFGH-5845
See merge request espressif/esp-idf!15702
2021-11-02 02:37:53 +00:00
xiewenxiang
9b16f5d831
component/bt: fix crash when shutdown bt
2021-11-02 10:29:10 +08:00
Ivan Grokhotkov
f47e8f90ce
Merge branch 'bugfix/multi_heap_get_info_impl' into 'master'
...
heap: fix multi_heap_get_info_impl
See merge request espressif/esp-idf!15470
2021-11-01 21:21:22 +00:00
Frank Sautter
5e7df077d6
Increased LAN8720 ETH-PHY reset assertion time (IDFGH-6018)
...
Increase reset assertion time from 100µs (as specified minimum in the datasheet) to 150µs.
Some specimen of the LAN8720 need the reset signal asserted longer than 100µs to initialise properly. Otherwise they are in a zombie state where they are establishing and loosing an Ethernet link once in a seconds interval.
2021-11-01 22:03:30 +01:00
gaoxiaojie
0028e2c23c
heap: fix multi_heap_get_info_impl
2021-11-01 16:08:07 +00:00
ma-lalonde
0f754551dd
Add support for Eth PHY KSZ8091
2021-11-01 11:11:18 -04:00
KonstantinKondrashov
884a6b17cc
spi_flash: No CPU release time for an erase operation when OS is not running
...
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.
Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n
Fixed for the legacy flash driver as well.
2021-11-01 21:49:24 +08:00
Cao Sen Miao
049349a087
Merge branch 'feature/usb_serial_default_option' into 'master'
...
usb_serial_jtag: Add secondary menu to support using usb_serial port to print when primary is uart
Closes IDF-3525 and IDF-3555
See merge request espressif/esp-idf!14554
2021-11-01 11:22:35 +00:00
Martin Vychodil
8a86434ece
Merge branch 'feature/fatfs_disk_status_implementation' into 'master'
...
fatfs: Implementation of disk_status for SD/MMC card
Closes IDF-4125
See merge request espressif/esp-idf!15488
2021-11-01 09:48:59 +00:00
Armando (Dou Yiwen)
742517bcea
Merge branch 'bugfix/fix_120m_sdr_flash_config_on_non_s3_bug' into 'master'
...
spi_flash: make 120m config only visible on s3 sdr mode
See merge request espressif/esp-idf!15704
2021-11-01 09:06:13 +00:00
Cao Sen Miao
adfb7bed96
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2021-11-01 15:48:36 +08:00
Jan Procházka
fb22c1f182
fatfs: Implementation of disk_status nad disk_initialize for SD/MMC card
...
FATFS provides a disk status and disk initialize callback which were not
implemented. Implementation has very low impact on SD/MMC speed and
fixes issues, when trying to open file when SD card was removed from
slot and not deinited.
If disk_status returns STA_NOINIT, it will always continue with
disk_initialize. If that returns 0, it will continue like everything is
working normally. So there has to be the same check as in disk_status.
Return of disk_initialize is always checked like this for STA_NOINIT or
STA_PROTECT so if command fails, we return the STA_NOINIT.
stat = disk_initialize(pdrv);
if (stat & STA_NOINIT) return FR_NOT_READY;
if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;
Closes IDF-4125
2021-11-01 15:11:40 +08:00
Omar Chebib
5206afe755
Merge branch 'bugfix/fix_select_timeout' into 'master'
...
VFS: `select` function's timeout is now POSIX compliant
Closes IDFGH-5807
See merge request espressif/esp-idf!15374
2021-11-01 07:01:20 +00:00
Steinbart Andreas (HAU-EDS)
f9d6fa2b84
esp-eth: emac: Reset Tx DMA channel owner on init
...
Reset ethernet TX DMA descriptors sets owner to CPU, so re-installing the ethernet driver will now not result in packet loss
Merges https://github.com/espressif/esp-idf/pull/7752
2021-11-01 06:16:59 +00:00
Shubham Kulkarni
33e6549597
Merge branch 'bugfix/http_client_breaking_changes' into 'master'
...
esp_http_client: v5.0 specific breaking changes
Closes IDFGH-4777 and IDF-2985
See merge request espressif/esp-idf!15639
2021-10-31 04:53:26 +00:00
Li Shuai
9ac58e32a2
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
2021-10-29 21:24:09 +08:00
Mahavir Jain
a89d56082f
Merge branch 'bugfix/memprot_bad_esp_restart_check' into 'master'
...
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
See merge request espressif/esp-idf!15414
2021-10-29 12:17:32 +00:00
Chinmay Chhajed
da0234ca01
Merge branch 'bugfix/ble_conn_latency_max_value' into 'master'
...
BLE: Set connection max latency value to 499.
Closes BT-2025
See merge request espressif/esp-idf!15706
2021-10-29 12:16:55 +00:00
Shubham Kulkarni
5bf49e1cd6
esp_http_client: Support handling larger content lengths
...
Closes https://github.com/espressif/esp-idf/issues/6580
2021-10-29 18:14:22 +08:00
Shubham Kulkarni
436249de4f
esp_http_client: Disable HTTP digest auth by default
2021-10-29 18:14:22 +08:00
Island
c33db5d4f5
Merge branch 'bugfix/ble_mesh_update_license' into 'master'
...
ble_mesh: stack: update license of esp specific files
See merge request espressif/esp-idf!15603
2021-10-29 09:56:33 +00:00
Chinmay Chhajed
7caa6ca45f
BLE: Set connection max latency value to 499.
2021-10-29 14:24:45 +05:30
Martin Vychodil
dffb92e45f
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-29 16:28:28 +08:00
Shu Chen
546a66c65e
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac' into 'master'
...
efuse: fix esp32h2 get ext_mac
See merge request espressif/esp-idf!15682
2021-10-29 08:20:28 +00:00
Sudeep Mohanty
4846222102
freertos: update freertos folder structure to match upstream
...
The following changes have been made:
1. All FreeRTOS kernel source files are now placed in the
freertos/FreeRTOS-Kernel folder to match with the upstream folder structure.
2. All kernel include files are now placed in freertos/FreeRTOS-Kernel/include.
3. All port files are now placed in freertos/FreeRTOS-Kernel/portable.
4. All additions/customizations are placed in freertos/esp_additions.
5. All other miscellaneous files (README, License files etc.) are moved to
freertos/FreeRTOS-Kernel folder to match with the upstream.
6. Updated esp-cryptoauthlib to latest commit to resolve FreeRTOS
include dependencies.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-10-29 12:05:13 +08:00
Sudeep Mohanty
a3db2dd4a8
Merge branch 'bugfix/ringbuf_read_pointer_wrap' into 'master'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
Closes IDFGH-5624 and IDFGH-5649
See merge request espressif/esp-idf!15373
2021-10-29 03:59:21 +00:00
baohongde
e6ceedf3a0
component/bt: Power down bluetooth module when deinit
2021-10-29 10:42:23 +08:00
Wei Tian Hua
347e04cf73
Merge branch 'doc/make_classic_bt_API_ref_only_for_esp32' into 'master'
...
Doc/Make Classic BT related document links only visible for ESP32
Closes IDFGH-5008, IDFGH-6022, and AUD-3378
See merge request espressif/esp-idf!15635
2021-10-29 02:27:24 +00:00
KonstantinKondrashov
f45d25d380
efuse_table_gen: Fixes wrong joining fields with omitted names
...
The issue is related to the non-sequential way of description when
such fields going together sequential.
Related to esp32h2 chip for eFuses: MAC_FACTORY and MAC_EXT.
The issue is in wrong indexes of MAC_EXT.
MAC_EXT got indexes like it is joined to MAC_FACTORY.
const esp_efuse_desc_t* ESP_EFUSE_MAC_FACTORY[] = {
&MAC_FACTORY[0],
&MAC_FACTORY[1],
&MAC_FACTORY[2],
&MAC_FACTORY[3],
&MAC_FACTORY[4],
&MAC_FACTORY[5],
NULL
};
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[6],
&MAC_EXT[7],
NULL
};
This commit fixed it to:
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[0],
&MAC_EXT[1],
NULL
};
2021-10-28 23:53:38 +08:00
zhangwenxu
55fd8cb685
efuse: fix esp32h2 get ext_mac
2021-10-28 23:53:38 +08:00
lly
eeb9a9bd2c
ble_mesh: stack: Update license of esp specific files
2021-10-28 21:20:27 +08:00
shenjun
5532c33be9
esp_wifi_mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2021-10-28 20:16:31 +08:00
yuanjm
9f875b8db5
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
...
Closes https://github.com/espressif/esp-idf/issues/7777
2021-10-28 19:53:12 +08:00
Armando
f9fa38463a
spi_flash: make 120m config only visible on s3 sdr mode
2021-10-28 19:36:34 +08:00
weitianhua
0ea06fa336
Remove dummy defines of Classic BT
2021-10-28 19:26:46 +08:00
Sudeep Mohanty
ac0cbebb89
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-10-28 14:02:18 +05:30
Sudeep Mohanty
0d81eb9855
Merge branch 'bugfix/ringbuf_send_semaphore_release_order' into 'master'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend
Closes IDFGH-6030 and IDFGH-6036
See merge request espressif/esp-idf!15657
2021-10-28 05:30:31 +00:00
Jiang Jiang Jian
05a618ce10
Merge branch 'feature/decouple_softap_and_8684_support' into 'master'
...
Feature/decouple softap and 8684 support
See merge request espressif/esp-idf!15564
2021-10-28 04:13:18 +00:00
Omar Chebib
73303e5de0
VFS: select
function's timeout is now POSIX compliant
...
`select` function will now round up the timeout passed as a parameter (if any).
It makes it POSIX compliant.
* Closes https://github.com/espressif/esp-idf/issues/7514
2021-10-28 02:52:59 +00:00
Chen Jian Xing
4f5ab6be05
Merge branch 'bugfix/fix_phy_usb_issue' into 'master'
...
esp_phy: fix esp32c3/s3 PHY disable USB & RSSI issue
Closes ESPCS-710 and WIFI-3946
See merge request espressif/esp-idf!15596
2021-10-27 13:16:35 +00:00
weitianhua
64aa94d823
Make Classic BT related document links only visible for ESP32
2021-10-27 15:28:47 +08:00
Cao Sen Miao
bd2a524a12
Merge branch 'bugfix/esp_timer_before_init' into 'master'
...
esp_timer: allow querying the timer before esp_timer_init is called
Closes IDF-3570
See merge request espressif/esp-idf!14428
2021-10-27 05:49:06 +00:00
RichFalk
1222f6dd3a
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-10-27 09:54:36 +05:30
Zhang Jun Hao
a568b4fddf
esp_wifi: support station only mode for code size down
2021-10-27 11:48:22 +08:00
Island
8037e2462f
Merge branch 'bugfix/heartbeat_filter_with_acceptlist' into 'master'
...
ble_mesh: stack: Fix heartbeat filter with accept list error
See merge request espressif/esp-idf!14529
2021-10-27 02:50:00 +00:00
David Čermák
bcbef9a8db
Merge branch 'bugfix/ping_sock_0_valid' into 'master'
...
lw-ip: Fix ping socket create to allow for fd=0
See merge request espressif/esp-idf!15644
2021-10-26 14:27:45 +00:00
Cao Sen Miao
b0123199da
esp_timer: init rtc timer and system timer in early init
2021-10-26 19:07:34 +08:00
Ivan Grokhotkov
249abb3fe8
esp_timer: allow querying the timer before esp_timer_init is called
2021-10-26 19:07:34 +08:00
Anton Maklakov
e525964f67
Merge branch 'bugfix/gdbstub_4_c3' into 'master'
...
Add missing function for C3
See merge request espressif/esp-idf!15538
2021-10-26 10:16:38 +00:00
Alexey Gerenkov
e777653222
Merge branch 'feature/esp32s3_apptrace' into 'master'
...
apptrace/trax: Adds ESP32-S3 support
Closes IDF-1785
See merge request espressif/esp-idf!14857
2021-10-26 09:50:40 +00:00
lly
fc97277e2f
ble_mesh: stack: Update the license of provisioner_main.c
2021-10-26 17:44:36 +08:00
wangjialiang
0578c3a126
ble_mesh: stack: Fix heartbeat filter with accept list
2021-10-26 17:43:53 +08:00
Ivan Grokhotkov
569440bd3c
Merge branch 'bugfix/highint_hdl_link_gnumake' into 'master'
...
esp_system: fix high level interrupt handler not linked for GNU Make
Closes IDFGH-5728 and IDFGH-6078
See merge request espressif/esp-idf!15615
2021-10-26 09:25:34 +00:00
chenjianxing
5918bb73d9
esp_phy: fix esp32c3/s3 phy USB & RSSI issue
2021-10-26 15:22:01 +08:00
Kevin (Lao Kaiyao)
bc1cebe042
Merge branch 'bugfix/i2s_ws_polarity_in_tdm' into 'master'
...
i2s: fix ws signal polarity in tdm mode
Closes IDF-4140
See merge request espressif/esp-idf!15534
2021-10-26 07:13:49 +00:00
David Cermak
7b91343ca7
lwip: Fix ping socket create to allow for fd=0
...
0 is a valid socket description, so should be accepted after we create a
socket. In IDF, though, it's just a theoretical issue, as customers have
to configure:
* FD_SETSIZE = CONFIG_LWIP_MAX_SOCKETS (from makefiles)
* CONFIG_VFS_SUPPORT_IO = n (from menuconfig)
(this configuration is currently broken, but if we adjust the IDF here
and there we could reproduce the issue)
2021-10-26 08:19:26 +02:00
laokaiyao
f37595dee9
i2s: fix ws signal polarity in tdm mode
2021-10-26 11:12:30 +08:00
Jakob Hasse
04dc51732b
Merge branch 'feature/spi_cxx' into 'master'
...
[cxx]: simple spi master class
Closes IDF-3750
See merge request espressif/esp-idf!13363
2021-10-26 02:44:35 +00:00
Fu Hanxi
9919b75ec1
build: add CONFIG_APP_REPRODUCIBLE_BUILD menuconfig option to produce reproducible binaries
2021-10-26 10:43:15 +08:00
Wei Tian Hua
23dd7a4a29
Merge branch 'bugfix/remove_assert_when_inq_done' into 'master'
...
component_bt: fix crash after inquiry has finished
Closes IDFGH-4967 and IDFGH-5850
See merge request espressif/esp-idf!13505
2021-10-25 10:03:28 +00:00
Omar Chebib
0f6f3c0ece
RISC-V: fix usage of special register when interrupts are enabled
2021-10-25 16:31:34 +08:00
Guo Jia Cheng
a928411ab3
Merge branch 'feature/mdns-subtype' into 'master'
...
mdns: support service subtype
Closes IDFGH-3560
See merge request espressif/esp-idf!15467
2021-10-25 07:50:49 +00:00
Dmitry
1457c42f6f
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-25 10:30:50 +03:00
Jakob Hasse
7efb01846f
[cxx]: simple spi master class
...
* spi cxx unit test (CATCH-based, on host)
* added portmacro.h to driver mocking
* added simple testing app to write/read SPI,
using an MPU9250
2021-10-25 14:56:59 +08:00
Mahavir Jain
c499fe5fa5
Merge branch 'add_agressive_revoke' into 'master'
...
secure_boot: Added Kconfig option for aggressive key revoke
See merge request espressif/esp-idf!14957
2021-10-25 04:00:20 +00:00
Ivan Grokhotkov
265038bea3
esp_system: fix high level interrupt handler not linked for GNU Make
...
In 4972605
, high-level interrupt handler hook was renamed from
ld_include_highint_hdl to ld_include_panic_highint_hdl. However the
change wasn't applied in GNU Make based build system. As a result,
the default interrupt handler was linked and features which depended
on the high-level interrupt didn't work.
Closes https://github.com/espressif/esp-idf/issues/7759
Closes https://github.com/espressif/esp-idf/issues/7447
2021-10-24 11:08:40 +02:00
Darian
e5f5eb3cbb
Merge branch 'refactor/freertos_deprecate_critical_nested_macros' into 'master'
...
freertos: Deprecate critical nested macros
Closes IDF-4036
See merge request espressif/esp-idf!15539
2021-10-23 07:42:15 +00:00
Darian
1591c4eb33
Merge branch 'feature/freertos_static_allocation_task_memory_callbacks' into 'master'
...
freertos: Add memory hooks for static IDLE and Timer tasks
Closes IDF-2243 and IDFGH-5804
See merge request espressif/esp-idf!15545
2021-10-23 07:20:30 +00:00
Darian
a1a125ec85
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended' into 'master'
...
freertos: Fix prvTaskIsTaskSuspended check
Closes IDFGH-5865
See merge request espressif/esp-idf!15369
2021-10-23 07:08:21 +00:00
Alexey Gerenkov
111ba5bbe6
trax: Adds ESP32-S3 support
2021-10-22 23:36:28 +03:00
Alexey Gerenkov
5911eb3f3e
apptrace: Adds ESP32-S3 support
2021-10-22 23:24:00 +03:00
Alex Lisitsyn
bdf0298009
Bugfix/modbus fix copyright headers
2021-10-23 01:23:03 +08:00
David Čermák
fb24a2941c
Merge branch 'feature/add_dhcp_option' into 'master'
...
lwip/dhcp: add configure for enable vendor class identify option
Closes IDFGH-4998
See merge request espressif/esp-idf!13867
2021-10-22 14:37:22 +00:00
Chinmay Chhajed
0319dcd23d
Merge branch 'bugfix/nimble_x_component_key_check' into 'master'
...
NimBLE: Compare only x component of public key before pairing.
Closes BT-1928
See merge request espressif/esp-idf!15035
2021-10-22 12:37:02 +00:00
Sachin Parekh
724fdbc9f1
secure_boot: Do not allow key revocation in bootloader
2021-10-22 12:20:14 +05:30
Sachin Parekh
8ff3dbc05d
secure_boot: Added Kconfig option for aggressive key revoke
...
Applicable to S2, C3, and S3
2021-10-22 12:20:14 +05:30
Darian Leung
0df4e80b97
freertos: Fix prvTaskIsTaskSuspended check
...
This commit fixes prvTaskIsTaskSuspended(). Both pending ready lists
should be checked to confirm that is truly suspended.
Closes https://github.com/espressif/esp-idf/issues/7564
2021-10-22 13:17:29 +08:00
Darian Leung
d6f2fa4bab
freertos: Remove critical nested macros
...
This commit removes the following critical nested macros as follows:
- portENTER_CRITICAL_NESTED()
- portEXIT_CRITICAL_NESTED()
They are replaced with portSET_INTERRUPT_MASK_FROM_ISR() and
portCLEAR_INTERRUPT_MASK_FROM_ISR() which are the proper FreeRTOS interfaces.
Created a portmacro_deprecated.h for each port to contain deprecated API
that were originally from portmacro.h
2021-10-22 13:17:20 +08:00
Darian Leung
359a3d396d
freertos: Add memory hooks for static IDLE and Timer tasks
...
This commit adds the following hook functions to obtain memory
for the IDLE and Timer Daemon tasks when configSUPPORT_STATIC_ALLOCATION
is enabled:
- vApplicationGetIdleTaskMemory()
- vApplicationGetTimerTaskMemory()
Currently, both functions simply allocate from the same memory as
regular tasks (i.e., internal memory for both the stack and TCB)
Closes https://github.com/espressif/esp-idf/issues/7511
2021-10-22 12:21:15 +08:00
Guo Jia Cheng
c1d3b295e8
Merge branch 'feature/trel' into 'master'
...
br: support Thread Radio Encapsulation Link (TREL)
See merge request espressif/esp-idf!15106
2021-10-22 03:31:41 +00:00
Liu Han
49cd81ccf3
lwip/dhcp: add configure for enable vendor class identify option
...
Closes https://github.com/espressif/esp-idf/issues/6786
2021-10-22 11:17:59 +08:00
Anton Maklakov
1c44c3b966
Merge branch 'feature/toolchain_2021r2' into 'master'
...
Bring 2021r2 toolchains
Closes GCC-156, IDF-3571, IDF-842, IDFGH-4276, IDFGH-920, and IDFGH-790
See merge request espressif/esp-idf!15149
2021-10-22 01:03:16 +00:00
xiongweichao
d5c3342a46
Remove assert when inq done
...
Closes https://github.com/espressif/esp-idf/issues/6759
2021-10-21 20:08:37 +08:00
Jiacheng Guo
1e5c5f38d9
br: support Thread Radio Encapsulation Link (TREL)
...
TREL allows sending 15.4 frames on the backbone link by encapsulating it
in an UDP packet.
2021-10-21 19:55:58 +08:00
Ivan Grokhotkov
c9b84c2b2c
Merge branch 'bugfix/newlib_fix_stdatomic_clang' into 'master'
...
newlib: fix clang atomics
See merge request espressif/esp-idf!15581
2021-10-21 11:37:18 +00:00
Wu Zheng Hui
001c29b077
bootloader: Simplify multi-chip control logic of the cache
2021-10-21 18:09:37 +08:00
Omar Chebib
e7b1640199
Merge branch 'feature/fat_configure_volumes_kconfig' into 'master'
...
FAT: Number of volumes can now be configured through menuconfig
Closes IDFGH-5806
See merge request espressif/esp-idf!15445
2021-10-21 06:49:07 +00:00
Mahavir Jain
950ca2ec3c
Merge branch 'refactor/using_generic_error_check_in_esp_http_client' into 'master'
...
esp_http_client: apply generic error check macros
Closes IDF-3037
See merge request espressif/esp-idf!15391
2021-10-21 05:26:54 +00:00
Anton Maklakov
a047b15314
Merge branch 'version/v5.0.0' into 'master'
...
version: starting v5.0.0 development
See merge request espressif/esp-idf!15580
2021-10-21 03:37:51 +00:00
Xie Wen Xiang
4b2396e7fc
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues' into 'master'
...
Fix some bluedroid issues
Closes BT-1926 and FCS-743
See merge request espressif/esp-idf!15170
2021-10-21 03:18:22 +00:00
morris
3a530e3311
Merge branch 'refactor/timer_ll_hal_clean_before_ng' into 'master'
...
timer: clean up hal/ll for driver-ng
See merge request espressif/esp-idf!15123
2021-10-20 23:59:30 +00:00
Wang Meng Yang
6ef52dbae3
Merge branch 'bugfix/fix_ble_scan_failed_issue_master' into 'master'
...
fix ble scan failed issue master
See merge request espressif/esp-idf!15340
2021-10-20 23:01:21 +00:00
Andrei Safronov
f4803c5aaf
newlib: fix clang atomics
...
Correction of the SYNC_LOCK_* macros in stdatomic
2021-10-20 23:33:53 +03:00
Ivan Grokhotkov
68233f58b4
version: starting v5.0.0 development
2021-10-20 22:25:38 +02:00
Ivan Grokhotkov
fdfa260b91
Merge branch 'ci/update_esp_eth_cert' into 'master'
...
ci: update cert used for esp_eth test
Closes IDFCI-911
See merge request espressif/esp-idf!15572
2021-10-20 20:24:55 +00: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
Anton Maklakov
1d3a47e10a
coredump: update test data for toolchain 2021r2
2021-10-20 22:00:39 +07: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
morris
e2275b1f63
gptimer: clean up hal and ll for driver-ng
2021-10-20 18:40:08 +08: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
Harshit Malpani
2085e4eb92
esp_http_client: apply generic error check macros
2021-10-20 14:40:32 +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
xiewenxiang
5e21788283
component/bt: Modify the bluetooth device name length limits
2021-10-20 16:19:28 +08:00
xiewenxiang
29a097504d
component/bt: set ext adv param failed when stop ext adv
2021-10-20 15:41:00 +08: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
Marius Vikhammer
142bb32c50
ci: update cert used for esp_eth test
2021-10-20 11:34:12 +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
Yang Zhao
a7247db6b4
Update esp32 bt-lib
...
1. Fix the scan failed issue.
2. Fix connection failed with LG 5.0 phone
2021-10-19 21:43:17 +08: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
Jiacheng Guo
e7e8610f56
mdns: support service subtype
...
* Closes https://github.com/espressif/esp-idf/issues/5508
2021-10-19 17:54:17 +08: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
Omar Chebib
63b96d7612
FAT: Number of volumes can now be configured through menuconfig
...
Closes https://github.com/espressif/esp-idf/issues/7513
2021-10-19 12:15:31 +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