Aditya Patwardhan
5dbfe4d502
secure_boot_v2: Fix warning message
2022-11-25 18:34:10 +05:30
Rahul Tank
6091627f2e
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
...
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.
Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.
End user can enable it as per their use case.
2022-11-25 14:18:05 +05:30
David Čermák
5f25bd8437
Merge branch 'bugfix/tcp_transport_err_propagate_v5.0' into 'release/v5.0'
...
tcp_transport: Fix error propagation on tcp_read() (v5.0)
See merge request espressif/esp-idf!21203
2022-11-25 15:19:48 +08:00
jgujarathi
2d0ef53e94
Removed some occurences of the RC4 cipher suite(deprecated now)
2022-11-25 10:07:56 +05:30
liqigan
de55b5d33e
optimize HID Host disconnection procedure
2022-11-25 08:54:04 +08:00
Guillaume Souchere
755dded0f5
heap: add documentation about the function placement in IRAM and its usage in ISR
...
This commits adds a internal.md file in the heap directory to clarify the idea behind
which functions is placed in IRAM or in flash.
A section in mem_alloc.rst documentation is added to specify which functions from the
heap component API can be used in interrupt handlers.
2022-11-24 12:40:00 +01:00
Guillaume Souchere
47cfd0a0d8
heap: add selective placement of function in IRAM
...
This commit aims to place in the IRAM section only the functions that
are relevent for performance instead of placing the entire content of
multi_heap.c, mullti_heap_poisoning.c and tlsf.c in the IRAM.
2022-11-24 12:39:46 +01:00
Mahavir Jain
9e88f790ff
Merge branch 'bugfix/parttool_commands_extra_partition_subtypes_v5.0' into 'release/v5.0'
...
parttool: fix parttool commands attribute parsing (v5.0)
See merge request espressif/esp-idf!21221
Closes https://github.com/espressif/esp-idf/issues/10238
2022-11-24 18:47:09 +08:00
Omar Chebib
62ad5c2258
Bootloader: retained memory can now be kept after reboot when custom data enabled
...
User's custom data are not taken into account during the CRC calculation anymore.
Which means taht the retained mem structure is not systematically erased
on each reboot anymore.
2022-11-24 17:35:55 +08:00
Euripedes Rocha
c0f99f5a28
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-11-24 08:48:00 +01:00
harshal.patil
9977dbe8e2
parttool: fix extra_partition_subtypes attribute parsing
2022-11-24 10:45:05 +05:30
Aditya Patwardhan
ae32582cc7
esp-tls: Fix esp-cryptoauthlib built dependency when secure element
...
support is enabled
2022-11-24 09:32:30 +05:30
Jin Cheng
75b2e639e1
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
David Cermak
3caeaece6b
tcp_transport: Fix error propagation on tcp_read()
2022-11-23 09:49:35 +01:00
Omar Chebib
a4b2aa8a57
RISC-V: fix PC not saved when using backtrace
2022-11-23 15:49:42 +08:00
Omar Chebib
96346c1eed
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning
2022-11-23 15:44:44 +08:00
laokaiyao
592a51ae96
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
laokaiyao
85661a037f
i2s: fixed tdm mclk doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-22 15:57:33 +08:00
Rahul Tank
6c4292f7b1
Support BLE memory release on ESP32C2
2022-11-22 10:38:40 +05:30
Roland Dobai
c93c6317f5
Tools: Fix esptool wrappers by avoiding importing the module
...
Importing esptool in wrappers could cause importing the wrapper itself.
Updating the PATH is not reliable. For example, os.path.realpath()
changes the Windows driver letter to uppercase therefore, misses the
right path for users with small device letters in their PATH. Removing
paths without considering cases could also lead to errors.
This fix invokes esptool scripts as modules without the need to
importing them.
Closes https://github.com/espressif/esp-idf/issues/9861
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/791
2022-11-21 15:20:14 +01:00
morris
0dbbf7bac5
pcnt: support accumulate count value
...
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 15:17:55 +08:00
Harshit Malpani
03f8d8a0e2
esp_https_ota: Send data to event handler
2022-11-21 03:31:06 +00:00
Harshit Malpani
4934d01795
esp_https_ota: Added support for esp_events
2022-11-21 03:31:06 +00:00
zwj
1b4499046a
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:33:55 +08:00
zwj
7e168de48d
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-21 10:33:35 +08:00
zwj
0af189b012
Fixed errors reported by CI clang_tidy_check
2022-11-21 10:33:35 +08:00
zwj
2e0a5b3111
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-21 10:33:35 +08:00
zwj
99cd53490b
change default tx power from 3dBm to 9dBm
2022-11-21 10:33:35 +08:00
satish.solanke
6d11786776
Update_sdkdefaultconfig_BLE_only_flag ESP32C2
2022-11-21 10:33:35 +08:00
morris
0bf7145181
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-21 09:59:58 +08:00
wuzhenghui
76817e6d76
bugfix: fix redefined _iram_end
2022-11-18 19:53:19 +08:00
liqigan
2539529360
fix HFP client parse CLCC command response bug
2022-11-18 19:38:58 +08:00
Liu Zhongwei
69b9b0b7a6
esp_lcd: add condition for spi to keep cs low
2022-11-18 03:36:37 +00:00
Liu Zhongwei
313700e285
esp_lcd: support sio mode for spi LCD
2022-11-18 03:36:37 +00:00
morris
4c3c23562c
spi_lcd: panel_io_spi_tx_color without cmd
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
morris
e518e3efd3
spi_lcd: allow dc gpio set to -1
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
morris
39d2a2e0bd
spi_lcd: support CS active high
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
lly
1529613561
ble_mesh: stack: Fix typo in directly erase settings event
2022-11-17 11:48:59 +00:00
harshal.patil
9463a66fc0
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
2022-11-14 15:56:17 +05:30
Shreyas Sheth
ecaa2e8040
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:09:01 +05:30
Jin Cheng
650b665384
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:45:34 +08:00
jgujarathi
561cce9446
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
2022-11-11 17:17:28 +05:30
Linda
4a6d51e698
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
2022-11-11 17:40:09 +08:00
gaoxu
a67409275e
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3
2022-11-11 17:23:39 +08:00
jiangguangming
eedc5bbdb7
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-11 10:09:56 +08:00
jiangguangming
8b0d0cbf5d
esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART
2022-11-11 10:07:14 +08:00
jiangguangming
7472018f06
esp_rom: fix esp32s3 rom ets_printf bug
2022-11-11 10:04:00 +08:00
jiangguangming
bc54778b6c
esp_rom: update esp_rom_caps.h
2022-11-11 10:03:52 +08:00
Vilem Zavodny
a38828651b
esp_lcd: Add function for register on color done callback.
...
(cherry picked from commit 747c5993a8
)
2022-11-10 12:12:18 +01:00
Marius Vikhammer
61990fc8d4
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
2022-11-10 15:02:03 +08:00
Michael (XIAO Xufeng)
f8d4bc8911
soc: upgrade version printing to vX.Y
2022-11-10 06:21:11 +00:00
Armando
d4725fb34d
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-10 11:26:51 +08:00
Michael (XIAO Xufeng)
5b0448eaed
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2022-11-09 18:21:43 +08:00
Ivan Grokhotkov
fc0f640736
console: argtable3: upgrade to v3.2.2
...
Closes https://github.com/espressif/esp-idf/issues/9907
Closes https://github.com/espressif/esp-idf/pull/10016
2022-11-09 10:59:39 +01:00
alex.li
676a3475ed
esp_wifi: Support external coex for C2 & H2.(59313b6c)
2022-11-08 19:20:33 +05:30
alex.li
9bbe6e7fa3
Support external coexist formal code for C2 & S3,
...
and optimize RX category in external coex.
2022-11-08 19:10:38 +05:30
muhaidong
4307be2906
esp_wifi: replace deprecated CONFIGS with their new versions
2022-11-08 19:08:30 +05:30
muhaidong
44366f57d8
esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM
2022-11-08 19:02:51 +05:30
zhangyanjiao
1362b58b58
esp_wifi: report rssi info in wifi event
2022-11-08 18:33:59 +05:30
gauri patankar
78fe8e77e5
Adding check for ies in match security
2022-11-08 18:25:12 +05:30
Kapil Gupta
f8e2c30b32
esp_wifi: Add config option for AP retry count
2022-11-08 18:20:54 +05:30
Omar Chebib
d4070f725c
Bluetooth: fix BSS placement in the linker script generated by ldgen
2022-11-08 14:00:02 +08:00
wangjialiang
f825fcdda0
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:46:39 +08:00
Darian Leung
2dc3664075
usb_host: Test host library inflight transfer resubmission check
...
This commit updates the USB Host Library unit tests to test that resubmitting
an inflight transfer will return an error.
2022-11-07 13:41:46 +08:00
Darian Leung
9670402e1c
usb_host: Add check to prevent submitting already inflight transfers
...
This commit adds a simple flag/check in the USB Host Library that prevents
users from submitting a transfer that is already inflight.
- A transfer is considered inflight as soon as it is submitted by calling
usb_host_transfer_submit() or usb_host_transfer_submit_control()
- An inflight transfer remains inflight up until right before its callback
is called by one of the USB Host Library handler functions.
Closes https://github.com/espressif/esp-idf/issues/8748
2022-11-07 13:41:41 +08:00
Tomas Rezucha
9e145c5d30
usb_host: Fixed incorrect opening devices from multiple clients
...
1. During USBH device open both queues (idle and pending) must be checked.
2. Don't overwrite already allocated endpoints
2022-11-07 13:41:35 +08:00
Adam Múdry
7ca457b519
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1)
...
Closes https://github.com/espressif/esp-idf/issues/7852
2022-11-03 10:12:29 +08:00
Omar Chebib
4ef2ba26f9
I2C: Fix the reset counter
2022-11-03 02:09:44 +00:00
Eckhard Völlm
1ea5682617
Update i2c.c
...
Fix issue with single bus clear counter but two I2C buses (I2C0, I2C1). The previously implemented single (static) counter would impact the second bus either if one bus has counter expiry.
Merges https://github.com/espressif/esp-idf/pull/7144
2022-11-03 02:09:44 +00:00
Ivan Grokhotkov
a8ebd8ad04
unity: add linux port
...
This allows using unity fixture in Linux host tests
2022-11-02 21:49:15 +01:00
Martin Vychodil
af81bd1b0a
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
KonstantinKondrashov
61d05c0325
esp_hw_support: Fix time jump after reboot
...
Closes https://github.com/espressif/esp-idf/issues/9448
2022-11-02 18:18:38 +08:00
Michael (XIAO Xufeng)
725eacbf16
Merge branch 'feature/usb/voltage_monitoring_backport_v5.0' into 'release/v5.0'
...
tinyusb: TinyUSB in IDF v5.0.0 (backport v5.0)
See merge request espressif/esp-idf!20673
2022-11-02 17:26:22 +08:00
Jiang Jiang Jian
3305987d66
Merge branch 'bugfix/esp32c2_create_sync_lost_v5.0' into 'release/v5.0'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20862
2022-11-02 11:35:00 +08:00
Jiang Jiang Jian
e63724adce
Merge branch 'bugfix/fix_ble_array_access_out_of_bounds_v5.0' into 'release/v5.0'
...
Fixed BLE array access out of bounds (backport v5.0)
See merge request espressif/esp-idf!20875
2022-11-01 21:00:20 +08:00
morris
53075e44ad
Merge branch 'contrib/github_pr_10083_v5.0' into 'release/v5.0'
...
temperature_sensor: fix typo (github PR) (v5.0)
See merge request espressif/esp-idf!20888
2022-11-01 19:23:27 +08:00
Jiang Jiang Jian
79aea89853
Merge branch 'bugfix/add_protection_for_mac_rst_v5.0' into 'release/v5.0'
...
esp_wifi: add protection for mac reset (backport 5.0)
See merge request espressif/esp-idf!20871
2022-11-01 18:45:01 +08:00
Jonas Vanthornhout
bc225c8886
Fixed typo
2022-11-01 14:36:44 +08:00
morris
88482af17a
Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf_v5.0' into 'release/v5.0'
...
i2s: fix tx incomplete auto clear (v5.0)
See merge request espressif/esp-idf!20570
2022-11-01 10:14:54 +08:00
morris
a6d2c65fdc
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues_v5.0' into 'release/v5.0'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue (backport to v5.0)
See merge request espressif/esp-idf!20653
2022-11-01 10:11:28 +08:00
zhiweijian
c35b14bb49
Fixed BLE array access out of bounds
2022-10-31 20:13:26 +08:00
Jiang Jiang Jian
eb71cf38bb
Merge branch 'feature/move_eloop_to_pptask_v5.0' into 'release/v5.0'
...
wpa_supplicant: Run eloop timer in ppTask context (v5.0)
See merge request espressif/esp-idf!20864
2022-10-31 20:11:44 +08:00
liuning
eb61f5835a
esp_wifi: add protection for mac reset (backport 5.0)
2022-10-31 17:55:03 +08:00
Nachiket Kukade
cbee4d4328
esp_wifi: Update wifi libs
...
Fix some SoftAP PMF and espnow key management related issues
2022-10-31 12:49:48 +05:30
Kapil Gupta
34bb7af431
wpa_supplicant: Run eloop timer in ppTask context
...
Currently eloop runs in timer context which may cause some
inconsistent behavior.
Add changes to run eloop in ppTask context
2022-10-31 10:38:01 +05:30
Roshan Bangar
ab2dee9439
Nimble/blufi: Added an API to stop Bluetooth / Blufi
2022-10-31 09:49:13 +05:30
zwl
3bc38b7ff4
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 12:01:35 +08:00
morris
20949d444f
Merge branch 'bugfix/rtc_function_needs_disable_usj_pads_esp32s3_v5.0' into 'release/v5.0'
...
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3 (backport v5.0)
See merge request espressif/esp-idf!20550
2022-10-31 11:57:07 +08:00
morris
b1c856022c
Merge branch 'bugfix/spi2_add_device_cs_more_than_3_v5.0' into 'release/v5.0'
...
spi_master:fix error when use `spi_bus_add_device` more than 3 device(v5.0)
See merge request espressif/esp-idf!20073
2022-10-31 11:46:16 +08:00
Jiang Jiang Jian
2635a18df2
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0821' into 'release/v5.0'
...
Bufix/backport some wifi lwip bugs for 5.0 0821
See merge request espressif/esp-idf!20732
2022-10-28 16:33:50 +08:00
Kapil Gupta
2444d99612
wpa_supplicant: Validate eloop struct before deleting it
2022-10-28 09:44:32 +05:30
Jiang Jiang Jian
a43a6809c7
Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram_v5.0' into 'release/v5.0'
...
Feature/esp32c2 optimize npl os freertos ram v5.0
See merge request espressif/esp-idf!20776
2022-10-28 11:42:16 +08:00
morris
78773966c3
Merge branch 'feature/rgb_lcd_yuv_converter_v5.0' into 'release/v5.0'
...
RGB-YUV converter (v5.0)
See merge request espressif/esp-idf!20362
2022-10-28 10:07:48 +08:00
morris
8481fbf752
Merge branch 'bugfix/change_clock_name_v5.0' into 'release/v5.0'
...
mcpwm: fix wrong return value in the legacy MCPWM driver (5.0)
See merge request espressif/esp-idf!20693
2022-10-28 10:02:40 +08:00
morris
a13d5ef224
Merge branch 'bugfix/update_duty_on_tez_tep_v5.0' into 'release/v5.0'
...
mcpwm: update compare value on both tep and tez (v5.0)
See merge request espressif/esp-idf!20766
2022-10-28 10:00:36 +08:00
Mahavir Jain
108274f6c0
Merge branch 'bugfix/esp32_hardware_mpi_fix_v5.0' into 'release/v5.0'
...
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain (v5.0)
See merge request espressif/esp-idf!20819
2022-10-27 20:43:11 +08:00
Mahavir Jain
0830a47b60
Merge branch 'bugfix/http_cached_data_in_redirection_v5.0' into 'release/v5.0'
...
esp_http_client: free cached data in case connection gets closed for redirection (v5.0)
See merge request espressif/esp-idf!20791
2022-10-27 20:42:37 +08:00
Mahavir Jain
1af8f48a22
Merge branch 'bugfix/fix_wifi_retry_v5.0' into 'release/v5.0'
...
wifi_provisioning: fix error codes for wifi connect retry (v5.0)
See merge request espressif/esp-idf!20716
2022-10-27 20:42:20 +08:00
Laukik Hase
8becd5a856
protocomm: Increase Bluedroid-BLE maximum buffer size
...
- For the security2 scheme, the payload size is quite larger
than that for security1.
2022-10-27 09:56:10 +05:30
Mahavir Jain
84b0254fbf
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain
...
This fix adds a workaround to disable compiler optimization flag "-ftree-loop-distribute-patterns"
for `mpi_to_mem_block` routine. It was observed that compiler with release configuration was falling
back to `memset` call from ROM library causing an issue in correctly zero initializing MPI peripheral
block.
Please see following linked issue for more discussion and context on this issue.
Closes https://github.com/espressif/esp-idf/issues/8710
Closes https://github.com/espressif/esp-idf/issues/9371
Closes https://github.com/espressif/esp-idf/issues/9256
Closes IDFGH-7102
Closes IDFGH-7842
Closes IDFGH-7714
Closes IDFCI-1452
Closes IDF-6029
2022-10-27 09:54:26 +05:30
jiangguangming
fe70b5f987
esp_rom: put rom tlsf patch code in iram by default
2022-10-27 10:42:04 +08:00
xiongweichao
cb647b5198
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:41:09 +08:00
xiongweichao
47232f54a8
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-26 16:40:56 +08:00
jingli
f91cb280eb
esp_hw_support/sleep: fix light sleep wakeup flag
...
light sleep wakeup flag is true to indicate the most recent successful wakeup from light sleep,
which means the most recent light sleep occurred successfully and then wakes up by wakeup source
2022-10-26 16:11:41 +08:00
jingli
e04c8505e1
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-26 16:11:27 +08:00
Mahavir Jain
f93304d36e
esp_http_client: free cached data in case connection gets closed for redirection
...
In case of `esp_http_client_read` based workflow, we cache data that is received
during fetch header stage. In case, there is URL redirection and we have to close
the connection on URL, port change then we must discard earlier cached data.
Closes AUD-4158
2022-10-26 10:11:09 +05:30
zwl
333c3db233
Modify ESP32C2's default ble tx output power
2022-10-25 16:50:21 +08:00
zwl
be07eb4757
Reduced the RAM size of npl_os_freertos.c file
2022-10-25 16:50:07 +08:00
Jiang Jiang Jian
dbcf640261
Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt_v5.0' into 'release/v5.0'
...
Nimble: Allocate memory for ext adv reports from lower priority pool. (v5.0)
See merge request espressif/esp-idf!20730
2022-10-25 16:48:20 +08:00
Marius Vikhammer
cd634f76d4
ulp-riscv: always force COCPU clock on S3
...
The coprocessor cpu trap signal doesnt have a stable reset value,
force ULP-RISC-V clock on to stop RTC_COCPU_TRAP_TRIG_EN from waking the CPU
2022-10-25 13:50:55 +08:00
morris
e2cac5bf58
mcpwm: update compare value on both tep and tez
...
Closes https://github.com/espressif/esp-idf/issues/9904
2022-10-25 13:20:33 +08:00
Tomas Rezucha
61191a5ce5
tinyusb: Use TinyUSB from component registry
2022-10-25 06:44:56 +02:00
Tomas Rezucha
0179edb71d
tinyusb: Add VBUS voltage monitoring feature
...
VBUS voltage monitoring is mandated by USB specification for self-powered devices.
This implementation maps selected GPIO to bvalid signal of USB-OTG peripheral.
Closes https://github.com/espressif/esp-idf/issues/7747
2022-10-25 06:44:56 +02:00
Tomas Rezucha
125ff0050e
usb: Allow settings of all signals in usb_phy
...
Until now, only usb_phy signals for external PHY were defined.
This is now extended with all OTG signals.
2022-10-25 06:44:55 +02:00
morris
acb3b06ed6
twai: remove deprecated code and add hint
...
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.
Please use "TWAI" driver instead.
2022-10-24 18:39:45 +08:00
Li Shuai
b306b48aa3
backup dma: force clear reset signal to fix the backup dma operation failure caused by RTC_SW_CPU_RST
2022-10-24 04:27:54 +00:00
Sudeep Mohanty
fae252244b
freertos: Add missing ESP_PLATFORM preprocessor directive for FreeRTOS static data structs (v5.0)
...
This commit adds the missing ESP_PLATFORM preprocessor directive to
static data structures to wrap the extra variable added for SMP locks.
Closes https://github.com/espressif/esp-idf/issues/9785
2022-10-21 14:15:16 +02:00
xueyunfei
cd58bad218
Lwip:add TCP Fin2 timeout configuration
2022-10-21 16:23:54 +08:00
xueyunfei
9948de101d
lwip:bugfix for increase ping task stack size
2022-10-21 16:21:06 +08:00
xueyunfei
af02784331
esp_wifi:bugfix sniffer mode can not capture control packet
2022-10-21 16:15:56 +08:00
morris
0db5909b47
mcpwm: new function to fetch capture resolution
2022-10-21 07:37:36 +00:00
morris
1af428dff3
mcpwm: fix wrong return value in the legacy driver
...
For APIs that not return esp_err_t value, we can't use macros like
ESP_RETURN_ON_xxx
2022-10-21 07:37:36 +00:00
morris
2a50dd8a8f
mcpwm: default clock cource is PLL160M
...
On esp32, the default clock source is also PLL160M
2022-10-21 07:37:36 +00:00
morris
94d9c529f3
Merge branch 'feature/backport_c2_adc_runner_v5.0' into 'release/v5.0'
...
esp_adc: added esp32c2 adc runners (v5.0)
See merge request espressif/esp-idf!20706
2022-10-21 15:37:05 +08:00
Rahul Tank
11c44c9838
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-21 12:47:14 +05:30
tgotic
11b6c25641
[bt] fix if allocation fails
...
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:44:39 +08:00
Harshit Malpani
12628677c5
wifi_provisioning: fix error codes for wifi connect retry
...
Closes: https://github.com/espressif/esp-idf/issues/9399
2022-10-21 11:32:56 +05:30
Jiang Jiang Jian
903cb5eae8
Merge branch 'fix/softap_pmf_disconnect_v5.0' into 'release/v5.0'
...
Fix deauth and disassoc issue for softap pmf connections (Backport v5.0)
See merge request espressif/esp-idf!20545
2022-10-21 13:59:56 +08:00
Jiang Jiang Jian
ac7ce5bd02
Merge branch 'bugfix/revert_commit_da44fc9c_v5.0' into 'release/v5.0'
...
Revert "fixed the issue iOS devices cannot initiate connection" (v5.0)
See merge request espressif/esp-idf!20666
2022-10-21 13:59:33 +08:00
Evan Neidler
ffcabde96d
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-21 11:58:30 +08:00
Armando
46d3627e66
esp_adc: added esp32c2 adc runners
2022-10-21 11:20:41 +08:00
Michael (XIAO Xufeng)
28f9ddee74
Merge branch 'doc/usj_sw_reset_alive_bbpll_doc_v5.0' into 'release/v5.0'
...
usb_serial_jtag: fixed the docs that we can use usj in sleep modes (v5.0)
See merge request espressif/esp-idf!20287
2022-10-20 01:34:54 +08:00
jiangguangming
bc3bf04af7
esp_rom: add rom tlsf function prototype instead of void *
2022-10-19 19:35:39 +08:00
Jin Cheng
3314fcfdf7
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-18 19:47:10 +08:00
Alexey Lapshin
97353355ab
tools: cmake: check tool supported version with idf_tools.py
2022-10-18 12:27:55 +04:00
Rahul Tank
50b1a99a47
Nimble: Update the esprv_intc_int_set_type() usage
2022-10-18 06:06:44 +00:00
Shyamal Khachane
c4aca02d7e
esp_wifi: Fix deauth and disassoc issues for SoftAP PMF
2022-10-18 09:52:19 +05:30
jiangguangming
9adf4dc240
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:02:25 +08:00
wangjialiang
54f18a4fa3
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-17 16:52:01 +08:00
wangjialiang
3d695cec32
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-17 16:38:09 +08:00
Jiang Jiang Jian
5c2a41d659
Merge branch 'bugfix/close_stack_callback_during_ble_stop_v5.0' into 'release/v5.0'
...
Nimble: Added check to deregister stack callback with controller during (v5.0)
See merge request espressif/esp-idf!20603
2022-10-16 11:14:46 +08:00
Jiang Jiang Jian
244ef221e3
Merge branch 'bugfix/fix_mbedlts_ds_memory_leak_v5.0' into 'release/v5.0'
...
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled (backport v5.0)
See merge request espressif/esp-idf!20597
2022-10-16 11:01:28 +08:00
Jiang Jiang Jian
6713c745c2
Merge branch 'bugfix/esp32c2_scan_assert_v5.0' into 'release/v5.0'
...
Fixed occasional crash during scanning
See merge request espressif/esp-idf!20580
2022-10-16 11:01:13 +08:00
Jiang Jiang Jian
7bd5af7f1e
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!20403
2022-10-14 17:15:15 +08:00
wuzhenghui
0af1ed8813
bugfix: esprv_intc_int_set_type should not use bitmap parameter
2022-10-14 15:39:24 +08:00
Rahul Tank
d6ea9b9643
Nimble: Added check to deregister stack callback with controller during
2022-10-14 12:08:15 +05:30
Jiang Jiang Jian
d1b989dae2
Merge branch 'bugfix/reorder_stack_deinit_function_v5.0' into 'release/v5.0'
...
Nimble: Removed extra deinit for flow timer (v5.0)
See merge request espressif/esp-idf!20308
2022-10-14 13:58:53 +08:00
Michael (XIAO Xufeng)
2209831dd2
Merge branch 'feat/sdio_slave_disable_hs_v5.0' into 'release/v5.0'
...
sdio_slave: allow disabling highspeed mode (v5.0)
See merge request espressif/esp-idf!20456
2022-10-14 12:11:14 +08:00
morris
1729c79577
Merge branch 'feature/mcpwm_update_compare_iram_safe_5.0' into 'release/v5.0'
...
mcpwm: make set_compare_value iram safe (5.0)
See merge request espressif/esp-idf!20304
2022-10-14 11:58:55 +08:00
Jin Cheng
dec4052ed7
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-14 03:28:18 +00:00
Jiang Jiang Jian
65bf1ff368
Merge branch 'bugfix/use_nonblocking_coex_callback_v5.0' into 'release/v5.0'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth(backport v5.0)
See merge request espressif/esp-idf!20414
2022-10-14 11:25:21 +08:00
Jiang Jiang Jian
ab848877a8
Merge branch 'bugfix/eap_hash_key_len_validation_v5.0' into 'release/v5.0'
...
esp_wifi:Adding hash key length validation(backport v5.0)
See merge request espressif/esp-idf!20484
2022-10-14 11:16:03 +08:00
Jiang Jiang Jian
59f0d31dd2
Merge branch 'bugfix/intr_alloc_missing_critical_section_exit_v5.0' into 'release/v5.0'
...
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE (GitHub PR) (v5.0)
See merge request espressif/esp-idf!20399
2022-10-14 11:15:21 +08:00
Jiang Jiang Jian
871ecb8163
Merge branch 'bugfix/tinyusb_corrected_typo_naming_of_acm_v5.0' into 'release/v5.0'
...
tinyusb: fix typo naming of ACM (backport v5.0)
See merge request espressif/esp-idf!20298
2022-10-14 11:14:52 +08:00
Jiang Jiang Jian
a9cc30e3e2
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v5.0' into 'release/v5.0'
...
spi_bus_lock: fix a concurrency issue (v5.0)
See merge request espressif/esp-idf!20136
2022-10-14 11:13:51 +08:00
yuanjianmin
0a41b9bcd8
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled
2022-10-13 19:35:04 +08:00
Kapil Gupta
f11cc8ca9d
Remove unnecessary code from disconnect handler
2022-10-13 12:14:09 +05:30
Kapil Gupta
e2b8ebe804
wpa_supplicant: Prevent pmk flush for unspecified reasoncode
2022-10-13 12:14:09 +05:30
zwl
6b980e526a
Fixed occasional crash during scanning
2022-10-13 14:05:45 +08:00
Jiang Jiang Jian
f9e3384f49
Merge branch 'bugfix/add_security_patches_v5.0' into 'release/v5.0'
...
Adding security patch for SAE side channel attacks (Backport v5.0)
See merge request espressif/esp-idf!20566
2022-10-13 11:09:39 +08:00
Jiang Jiang Jian
c76ecbe682
Merge branch 'bugfix/fix_esp_hid_auth_fail_crash_v5.0' into 'release/v5.0'
...
Fix esp hid crash when auth failed (backport v5.0)
See merge request espressif/esp-idf!20539
2022-10-13 10:50:10 +08:00
Jiang Jiang Jian
2978de0f75
Merge branch 'rebase/fix_ble_mem_leak_issue_rls' into 'release/v5.0'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20528
2022-10-13 10:49:46 +08:00
jiangguangming
f0863e0932
esp_rom: update esp_rom_caps.h
2022-10-12 20:07:40 +08:00
wangmengyang
2d4f6d5b62
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-12 19:42:55 +08:00
laokaiyao
e302d9a976
i2s: fix tx incomplete auto clear
...
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-12 19:42:37 +08:00
gauri patankar
71a0d61eae
wpa_supplicant: Update security patches from upstream
...
1. Adding security patch for SAE side channel attacks
2. Adding confirm message validation in error cases
3. Adding y coordinate for PWE in SAE
2022-10-12 15:01:17 +05:30
gauri patankar
bc992d7975
wpa_supplicant: Move SAE modules into dragonfly files
2022-10-12 14:52:08 +05:30
morris
e2e97a5a33
mcpwm: allow compare equals to period
2022-10-12 08:41:58 +00:00
morris
54813cc19b
mcpwm: make set_compare_value iram safe
...
Closes https://github.com/espressif/esp-idf/issues/9793
2022-10-12 08:41:58 +00:00
Michael (XIAO Xufeng)
c5f6453586
Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug_to_v5.0' into 'release/v5.0'
...
C3: Fix system not stable bug when dbias storing in efuse is bigger than 27 (v5.0)
See merge request espressif/esp-idf!20499
2022-10-12 16:32:45 +08:00
Michael (XIAO Xufeng)
a2de42c096
Merge branch 'test/test_adc_on_dedicated_runners_v5.0' into 'release/v5.0'
...
ci: use adc dedicated test runners (v5.0)
See merge request espressif/esp-idf!20357
2022-10-12 16:32:26 +08:00
Guillaume Souchere
5ec5faf02f
heap: Fix memory boundary condition checks when adding new region
...
Previously, condition_4 was making impossible the valid scenario
start > heap_start && end == heap_end.
Now, the end == heap_end and start == heap_start case is handled
separately allowing the case start > heap_start && ned == heap_end
to be considered a valid scenario
2022-10-12 08:17:50 +02:00
Song Ruo Jing
47c0db2830
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3
...
Similar to the fix in gpio lower layers, USB Serial JTAG pad should be disabled when the DM and DP pins want to be used as rtcio pins.
(cherry picked from commit de0401047c
)
2022-10-12 11:50:51 +08:00
Armando
35b0be3eca
esp_adc: improve adc continuous iram test aim
...
This commit increases adc continuous iram test period of cache disabling
time. Now time is: 1 second
- The aim of this test is to make sure the continuous mode driver ISR
callbacks can run in an IRAM-Safe context.
- Closing cache takes time. WHereas the code to close the cache is
updated. This time gets changed.
2022-10-12 11:32:04 +08:00
cjin
baca425ce8
fix ble mem leak when sleep is enabled
2022-10-12 11:29:55 +08:00
chenjianhua
6508a4ee0a
fix esp hid crash when auth failed
2022-10-11 20:09:16 +08:00
Ivan Grokhotkov
ee769abe19
Merge branch 'feature/fatfsgen-enable-512-bytes-sector_v5.0' into 'release/v5.0'
...
fatfsgen.py: enabled 512 sized sectors (v5.0)
See merge request espressif/esp-idf!20416
2022-10-11 19:35:16 +08:00
Jiang Jiang Jian
d3ae5ed08f
Merge branch 'backport/cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs on bluedroid (backport v5.0)
See merge request espressif/esp-idf!20510
2022-10-11 17:47:26 +08:00
Jiang Jiang Jian
09018a6af4
Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually_v5.0' into 'release/v5.0'
...
allow bluedroid host to report adv_ind separately(backport v5.0)
See merge request espressif/esp-idf!20440
2022-10-11 17:46:45 +08:00
Jiang Jiang Jian
5ae4f34cb8
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3_v5.0' into 'release/v5.0'
...
Fixed BLE lld_per_adv.c line 401 assert (backport v5.0)
See merge request espressif/esp-idf!20506
2022-10-11 17:46:10 +08:00
Jiang Jiang Jian
bb6e0e52b8
Merge branch 'bugfix/fix_esp32_ble_assert_32_v5.0' into 'release/v5.0'
...
Fixed ESP32 BLE assert(32 0) (backport v5.0)
See merge request espressif/esp-idf!20508
2022-10-11 17:45:55 +08:00
zhangyanjiao
ddb7036aee
esp_wifi: fix connect fail when enable SPIRAM
2022-10-10 16:11:06 +08:00
Mahavir Jain
ee12de9450
Merge branch 'fix/fix_protocomm_security2_backward_compatibility_v5.0' into 'release/v5.0'
...
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid... (v5.0)
See merge request espressif/esp-idf!20489
2022-10-10 15:44:12 +08:00
morris
3eb3f9f744
Merge branch 'bugfix/rmt_iram_test_random_failure_v5.0' into 'release/v5.0'
...
test: fix rmt iram case random failure (v5.0)
See merge request espressif/esp-idf!20383
2022-10-09 17:59:34 +08:00
chenjianhua
a207f218ea
bluedroid: configurable max gattc cache characteristic count
2022-10-09 17:07:53 +08:00
chenjianhua
3f3ca8bf60
fix ble adv tx power map
2022-10-09 17:07:53 +08:00
chenjianhua
548cce624c
bluedroid: fix ble rpa generate and update by host
2022-10-09 17:07:53 +08:00
chenjianhua
84bcd1d1f0
soc: remove soc ble config from Kconfig
2022-10-09 17:07:53 +08:00
chenjianhua
e9dd8a6bf5
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-10-09 17:07:53 +08:00
chenjianhua
f96e38a70d
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-10-09 17:07:53 +08:00
chenjianhua
03832cceeb
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 17:07:53 +08:00
zwj
60ece59f04
Fixed ESP32 BLE assert(32 0)
2022-10-09 16:06:28 +08:00
zwj
1030bdd299
Fixed BLE lld_per_adv.c line 401 assert
2022-10-09 16:02:06 +08:00
zwj
2fe4ff7031
allow bluedroid host to report adv_ind separately
2022-10-08 14:53:53 +08:00
Aditya Patwardhan
ccb8b9d42c
wifi_provisioning/manager.c: Fix small bug introduced in recent MR.
2022-10-08 10:50:02 +05:30
Aditya Patwardhan
c740192123
protocomm/esp_srp: Allocate memory for username only when the
...
verification is successful
2022-10-08 10:49:44 +05:30
Aditya Patwardhan
b7ec10d461
protocommm/esp_srp: Fix small issues reported by coverity.
2022-10-08 10:49:26 +05:30
cje
d7dcb88fdc
C3: Fix system not stable bug when dbias storing in efuse is bigger than 27
2022-10-08 11:59:32 +08:00
Aditya Patwardhan
78b49a4ab6
protocomm: Enable security version 2 by default
2022-10-07 14:14:44 +05:30
Aditya Patwardhan
4ba30e29ec
wifi_prov_mgr: Add security version in the proto-ver endpoint.
2022-10-07 14:14:44 +05:30
Aditya Patwardhan
6f69097815
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid breaking the usage for sec1
2022-10-07 14:14:44 +05:30
gauri patankar
fbaf50f1d9
esp_wifi:adding hash key length validation
2022-10-06 16:40:57 +05:30
Mahavir Jain
d39da71671
Merge branch 'bugfix/wifi_prov_device_name_v5.0' into 'release/v5.0'
...
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0' (v5.0)
See merge request espressif/esp-idf!20373
2022-10-06 13:15:41 +08:00
Mahavir Jain
ce469140b5
espcoredump: enable tests for esp32c2 target
2022-10-04 10:24:44 +05:30
Mahavir Jain
75df40c617
espcoredump: add esp32c2 target in test_app
2022-10-04 10:24:43 +05:30
Mahavir Jain
6fb40068be
espcoredump: re-enable test_app build for esp32c2
2022-10-04 10:24:43 +05:30
Harshit Malpani
548db6c139
espcoredump: Add support for esp32c2
...
This commit puts some code under SOC_RTC_MEM_SUPPORTED. This enables use of coredump in targets with no RTC memory support.
2022-10-04 10:24:42 +05:30
Alexey Lapshin
2e9f175ae5
tools: fixed elf symbols load if gdbinit specified
...
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-10-03 18:48:16 +04:00
Martin Gaňo
ca5bc94c27
fatfsgen.py: enabled 512 sized sectors
2022-10-03 09:33:15 +00:00
Mahavir Jain
3f3c9be14c
Merge branch 'bugfix/fix_socket_leak_v5.0' into 'release/v5.0'
...
esp-tls: socket will be set to -1 and will not be closed (backport v5.0)
See merge request espressif/esp-idf!20349
2022-10-03 13:14:07 +08:00
Mahavir Jain
68027354ad
Merge branch 'bugfix/esptool_secure_boot_signing_key_path_v5.0' into 'release/v5.0'
...
esptool: (re)populate the secure boot signing key path (v5.0)
See merge request espressif/esp-idf!20422
2022-10-03 13:13:50 +08:00
Mahavir Jain
e94ea3a02e
Merge branch 'bugfix/add_so_linger_to_httpd_config_v5.0' into 'release/v5.0'
...
esp_http_server: Add struct linger in httpd_config_t (v5.0)
See merge request espressif/esp-idf!20358
2022-10-03 13:13:26 +08:00
Mahavir Jain
21077eda8e
esptool: (re)populate the secure boot signing key path
...
For project with reduced component list, secure boot signing key
path was not getting correctly. This change sets the secure boot
signing key path explicitly based on the relevant config option.
Closes https://github.com/espressif/esp-idf/issues/9578
Close IDFGH-8075
2022-10-01 15:05:29 +00:00
Michael (XIAO Xufeng)
1d09c78c17
sdio_slave: allow disabling highspeed mode
2022-10-01 01:53:28 +08:00
zwl
719f05306f
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-30 12:02:58 +08:00
cjin
0010f4c3a8
update controller lib for bugfix on light-sleep
2022-09-30 12:02:57 +08:00
cjin
9d7a7001ac
fix ble compilation error
2022-09-30 12:02:57 +08:00
tgotic
2ac7008a16
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE
...
Closes https://github.com/espressif/esp-idf/pull/9867
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-09-29 20:36:27 +08:00
Michael (XIAO Xufeng)
c15f5f352c
essl: move from esp-idf component to extra component
2022-09-29 07:39:45 +00:00
Jiang Jiang Jian
bcb9328618
Merge branch 'feature/openthread_flash_optimization_5.0' into 'release/v5.0'
...
openthread: Add some flash optimization options for openthread component (backport v5.0)
See merge request espressif/esp-idf!20420
2022-09-29 15:36:50 +08:00
WanqQixiang
14ef8d56ca
openthread: Add some flash optimization options for openthread component
...
openthread: use a certain version of esp_openthread_cli_extension managed component
2022-09-29 09:40:05 +08:00
morris
eb2f472069
test: fix rmt iram case random failure
2022-09-28 10:52:29 +08:00
Isha Pardikar
ba8fc01327
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec.
2022-09-27 16:09:00 +05:30
morris
5d58c10c3e
rgb_lcd: support yuv converter
2022-09-27 14:32:04 +08:00
Harshit Malpani
ee0d9e03d0
esp_http_server: Add linger in httpd_config_t
...
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-27 10:10:03 +05:30
Armando
4f8bd12479
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-27 12:19:36 +08:00
Armando
3ae1c587c0
ci: use adc dedicated test runners for adc tests
2022-09-27 12:19:25 +08:00
Yuan Jian Min
769c6c2214
esp-tls: socket will be set to -1 and will not be closed
2022-09-26 19:20:15 +08:00
Rahul Tank
f61c51567f
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-23 15:41:50 +05:30
Song Ruo Jing
9ffb65f52e
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-23 15:44:37 +08:00
jiangguangming
135927db06
tinyusb: fix typo naming of ACM
2022-09-22 20:31:55 +08:00
Michael (XIAO Xufeng)
0f59ffb94f
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 15:33:21 +08:00
Jiang Jiang Jian
b9495f85cf
Merge branch 'bugfix/fix_c2_xtal_unstable_when_wakeup_from_sleep_backport_v5.0' into 'release/v5.0'
...
esp_hw_support/esp32c2/rtc: fix c2 xtal unstable when wakeup from sleep(backport v5.0)
See merge request espressif/esp-idf!20273
2022-09-21 22:38:24 +08:00
Jiang Jiang Jian
a0bc7f57cc
Merge branch 'bugfix/fix_xtal32k_error_detect_backport_v5.0' into 'release/v5.0'
...
esp_hw_support/clk_cali: fix xtal32k error detect(backport v5.0)
See merge request espressif/esp-idf!20266
2022-09-21 22:36:04 +08:00
Jiang Jiang Jian
478c735fc6
Merge branch 'bugfix/riscv_interrupt_function_naming_v5.0' into 'release/v5.0'
...
riscv: Fix interrupt function naming and redundancy (v5.0)
See merge request espressif/esp-idf!20220
2022-09-21 20:41:08 +08:00
Jiang Jiang Jian
096fdb8bb4
Merge branch 'bugfix/bluedroid_debug_esp32c2_rls' into 'release/v5.0'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20244
2022-09-21 20:37:17 +08:00
jingli
e6566deae4
ci: fix ci error(insufficient internal ram link error)
2022-09-21 16:23:10 +08:00
jingli
e012b2b454
esp_hw_support/clk_cali: remove redundant check for cali value
2022-09-21 16:21:23 +08:00
jingli
9fa4bb272e
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 16:21:11 +08:00
cjin
d5349fcc53
update ble controller lib for bugfix on esp32c2
2022-09-21 14:16:52 +08:00
jingli
b8b7a0d8dd
esp_hw_support/esp32c2/rtc: take a safer xtal buf wait
2022-09-21 14:16:34 +08:00
Cao Sen Miao
7e1c632d8b
spi_flash: Add several flash chips HPM(120M) support
2022-09-21 11:47:52 +08:00
Marius Vikhammer
35a2844d6c
gdbstub: fixed build-error due to potentially uninitialized variable on -O2
...
Closes https://github.com/espressif/esp-idf/issues/9706
2022-09-21 03:08:50 +00:00
Jiang Jiang Jian
4bcf814855
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2' into 'release/v5.0'
...
Bugfix/ble light sleep error on esp32c2
See merge request espressif/esp-idf!20237
2022-09-21 10:53:29 +08:00
Jiang Jiang Jian
870dfdf53b
Merge branch 'bugfix/fix_sta_scan_when_already_connected_v5.0' into 'release/v5.0'
...
esp_wifi : Adds Status_Connected when the Sta attempts to connect to the AP it is already connected to
See merge request espressif/esp-idf!20246
2022-09-21 10:39:07 +08:00
Jiang Jiang Jian
58afbf71ae
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_5.0' into 'release/v5.0'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v5.0)
See merge request espressif/esp-idf!20260
2022-09-21 10:01:51 +08:00
Jiang Jiang Jian
27a9e68d2c
Merge branch 'bugfix/fix_vhci_hack_for_external_bt_v5.0' into 'release/v5.0'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled (v5.0)
See merge request espressif/esp-idf!20185
2022-09-21 09:41:33 +08:00
Jiang Jiang Jian
25c2f710e1
Merge branch 'bugfix/wps_connect_to_open_ap_v5.0' into 'release/v5.0'
...
esp_wifi: bugfix wps connect to open AP (v5.0)
See merge request espressif/esp-idf!20252
2022-09-21 09:22:56 +08:00
wangjialiang
74ceccaf62
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:29:11 +08:00
Jin Cheng
b7ad8a150f
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-09-20 11:19:02 +00:00
cjin
a5c543a7a9
fix err using rpa for confirmation calculation
2022-09-20 18:06:45 +08:00
cjin
3112c8b954
mbuf copy hci data error fix
2022-09-20 18:06:45 +08:00
cjin
143a572b55
fix on data len change cmd malfunction
2022-09-20 18:06:45 +08:00
Jiang Jiang Jian
b585bdd739
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err_v5.0' into 'release/v5.0'
...
Fixed extend adv tx power range error (backport v5.0)
See merge request espressif/esp-idf!20226
2022-09-20 16:07:26 +08:00
Jiang Jiang Jian
3c3a68513c
Merge branch 'feature/add_mesh_support_macro_v5.0' into 'release/v5.0'
...
ble_mesh: docs: Remove BLE Mesh related reference for C2(v5.0)
See merge request espressif/esp-idf!20097
2022-09-20 16:04:27 +08:00
Shreyas Sheth
eb7d52e18a
esp_wifi: bugfix wps connect to open AP
...
Set Mac address in correct field
2022-09-20 13:01:45 +05:30
zwl
549eb762d8
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:26:28 +08:00
Jiang Jiang Jian
4b01f4080c
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed_v5.0' into 'release/v5.0'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels(backport v5.0)
See merge request espressif/esp-idf!20190
2022-09-20 14:24:32 +08:00
Rahul Tank
75e375b257
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-20 11:08:16 +05:30
jgujarathi
e10025c849
esp_wifi : Adds Status_Connected when the Sta attempts to connect to the AP it is already connected to.
2022-09-20 10:41:23 +05:30
Cao Sen Miao
9c09372132
bootloader_flash: Some bootloader flash functions are not put in IRAM
2022-09-20 11:39:05 +08:00
Jiang Jiang Jian
c85d364720
Merge branch 'feature/sink_support_mono_v5.0' into 'release/v5.0'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v5.0)
See merge request espressif/esp-idf!20075
2022-09-20 11:04:44 +08:00
Jiang Jiang Jian
959dd90787
Merge branch 'bugfix/memory_leak_init_deinit_blufi_example_v5.0' into 'release/v5.0'
...
Fix: blufi example memory leak while init and deinit (v5.0)
See merge request espressif/esp-idf!20219
2022-09-20 10:46:28 +08:00
Jiang Jiang Jian
2ac2077496
Merge branch 'bugfix/so_linger_close_wait_forever_v5.0' into 'release/v5.0'
...
lwip: Fix close() might block forever if SO_LINGER=y (v5.0)
See merge request espressif/esp-idf!20217
2022-09-20 10:45:09 +08:00
Wang Meng Yang
e1a845f7f8
Merge branch 'bugfix/change_log_level_for_print_v5.0' into 'release/v5.0'
...
Nimble : updated debug level for a print to avoid unwanted console log. (v5.0)
See merge request espressif/esp-idf!20110
2022-09-20 10:41:05 +08:00
zwl
89a141eea2
fixed ble can't enter light sleep
2022-09-19 21:32:54 +08:00
wangjialiang
ddc294c79f
ble_mesh: docs: Remove BLE Mesh related reference for C2
2022-09-19 21:11:17 +08:00
Jiang Jiang Jian
5b4446b1d3
Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue_v5.0' into 'release/v5.0'
...
wpa_supplicant: try install gtk before send 2 of 2(Backport v5.0)
See merge request espressif/esp-idf!20202
2022-09-19 20:02:55 +08:00
Jiang Jiang Jian
9f31b718c9
Merge branch 'bugfix/adjust_mblock_size_on_esp32c2_v5.0' into 'release/v5.0'
...
change block1 size and num for esp ble controller
See merge request espressif/esp-idf!20187
2022-09-19 17:22:32 +08:00
zwj
07c4eb8841
Fixed extend adv tx power range error
2022-09-19 16:21:22 +08:00
Marius Vikhammer
6360e7028d
Merge branch 'docs/misc_broken_link_fixes_v5.0' into 'release/v5.0'
...
docs: fixed misc broken links (v5.0)
See merge request espressif/esp-idf!20211
2022-09-19 14:32:44 +08:00
Jiang Jiang Jian
9119178f38
Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue_v5.0' into 'release/v5.0'
...
esp_wifi: fix set country code before wifi start issue.(Backport v5.0)
See merge request espressif/esp-idf!20151
2022-09-19 14:31:55 +08:00
satish.solanke
00beda2ef1
Fix: blufi example memory leak while init and deinit
2022-09-19 11:51:05 +05:30
Darian Leung
ebc57e14f6
riscv: Fix esprv_intc_int_set_threshold() naming
...
This commit fixes the function declaration naming from esprv_intc_set_threshold()
to esprv_intc_int_set_threshold(), thus allowing the underlying ROM funciton to be
exposed via the header.
2022-09-19 14:19:41 +08:00
Darian Leung
0c8ac295c5
riscv: Remove redundant riscv_interrupts.h header
...
This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:
- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
"rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
placed in rv_utils.h
2022-09-19 14:19:11 +08:00
David Cermak
c7d1bcaf79
lwip: Fix close() might block forever if SO_LINGER=y
...
* Update submodule: git log --oneline ec115c720b8909364ec5898dc5cc430cc898192d..316cfc17ce24f2d5d65c9f28251ec43a59a74cb1
Detailed description of the changes:
- tcp/close: Fix clean socket closure when lignering (espressif/esp-lwip@316cfc17 )
- tcp_in: Fix incomplete closure if linger active (espressif/esp-lwip@8b599aa1 )
- ci: Introduce lwip test apps (espressif/esp-lwip@0866f578 )
2022-09-19 07:35:57 +02:00
Marius Vikhammer
35bb72bbfc
docs: fixed misc broken links
2022-09-19 11:10:23 +08:00
Jiang Jiang Jian
3f5dba5eb9
Merge branch 'feature/check_mcpwm_sync_direction_v5.0' into 'release/v5.0'
...
mcpwm: check sync direction is valid (v5.0)
See merge request espressif/esp-idf!20174
2022-09-19 11:08:12 +08:00
Jiang Jiang Jian
03b10661b4
Merge branch 'bugfix/adapt_new_btc_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v5.0)
See merge request espressif/esp-idf!20165
2022-09-19 11:07:07 +08:00
Jiang Jiang Jian
8d2c4e2f3f
Merge branch 'bugfix/relay_friend_cred_message_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable(v5.0)
See merge request espressif/esp-idf!20203
2022-09-19 11:06:09 +08:00
Jiang Jiang Jian
aad557d70b
Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning_v5.0' into 'release/v5.0'
...
heap: provide the tlsf_check_hook() definition to implement a check of memory corruption (v5.0)
See merge request espressif/esp-idf!19779
2022-09-19 11:04:44 +08:00
Jiang Jiang Jian
2772806cb6
Merge branch 'feature/ulp_binutils_multi_target_v5.0' into 'release/v5.0'
...
ulp: support the new multi-target ULP-FSM binutils (v5.0)
See merge request espressif/esp-idf!20132
2022-09-19 11:03:49 +08:00
Jiang Jiang Jian
cc61509fc5
Merge branch 'bugfix/adc2_calibration_issue_on_s2_v5.0' into 'release/v5.0'
...
esp_adc: esp32s2: fix unit to offset calculation (v5.0)
See merge request espressif/esp-idf!20135
2022-09-19 11:03:07 +08:00
morris
c4aa24c54e
rmt: disable rc_fast clock when it's used up
2022-09-18 15:52:25 +08:00
wangjialiang
0dde7cf3f0
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-18 14:37:57 +08:00
muhaidong
103a53c80a
wpa_supplicant: try install gtk before send 2 of 2
2022-09-17 19:08:13 +08:00
zwj
a2575d6b4d
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:23:40 +08:00
zwl
a5b0009cf8
change block1 size and num for esp ble controller
2022-09-16 14:41:28 +08:00
xiongweichao
09cc360b43
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-15 11:35:25 +00:00
morris
70ee85d38b
mcpwm: check sync direction is valid
2022-09-15 19:07:31 +08:00
Roshan Bangar
05863cb267
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-15 15:27:13 +05:30
wangjialiang
4611e8971b
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 09:12:51 +00:00
muhaidong
3056fe4964
esp_wifi: add small UT for country code
2022-09-14 17:08:32 +08:00
muhaidong
5311999ae9
1. esp_wifi: fix pairwise cipher tkip pmf compability issue.
...
2. esp_wifi: fix repeated scans causing bss overwrite in connect process.
3. esp_wifi: fix set country code before wifi start issue.
2022-09-14 17:07:12 +08:00
Jiang Jiang Jian
140b7d792b
Merge branch 'bugfix/remove_esp_adc_wno_flag_v5.0' into 'release/v5.0'
...
esp_adc: remove wno flag (v5.0)
See merge request espressif/esp-idf!19957
2022-09-14 13:59:13 +08:00
Jiang Jiang Jian
f8f3eb27c1
Merge branch 'bugfix/touch_sensor_v1_timer_expired_after_deleted_v5.0' into 'release/v5.0'
...
touch_senser: fixed ci issue timer expired after it is deleted (v5.0)
See merge request espressif/esp-idf!19985
2022-09-14 13:58:52 +08:00
Jiang Jiang Jian
42a5b33e19
Merge branch 'doc/nvs_max_num_namespaces_5.0' into 'release/v5.0'
...
doc (nvs): added note about maximum possible namespaces (backport 5.0)
See merge request espressif/esp-idf!19979
2022-09-14 13:54:06 +08:00
Jiang Jiang Jian
21a15ad172
Merge branch 'feature/usb_v5_qol_backport_v5.0' into 'release/v5.0'
...
usb: USB IDF v5 update (backport v5.0)
See merge request espressif/esp-idf!20045
2022-09-14 13:52:36 +08:00
Jiang Jiang Jian
c111b94057
Merge branch 'contrib/github_pr_9517_v5.0' into 'release/v5.0'
...
fix malloc(0) and heap_caps_alloc_failed() (backport v5.0)
See merge request espressif/esp-idf!19795
2022-09-14 13:50:33 +08:00
Jiang Jiang Jian
fdb2550da0
Merge branch 'bugfix/spi_hd_quad_issue_5.0' into 'release/v5.0'
...
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v5.0)
See merge request espressif/esp-idf!19799
2022-09-14 13:49:42 +08:00
Jiang Jiang Jian
7221510205
Merge branch 'fix/DOC_3566_v5.0' into 'release/v5.0'
...
Updating doc for the issue doc_3566 (v5.0)
See merge request espressif/esp-idf!20059
2022-09-14 13:49:10 +08:00
Jiang Jiang Jian
77b8aadbb4
Merge branch 'bugfix/wrong_bpp_for_rgb666_v5.0' into 'release/v5.0'
...
lcd: fix wrong bpp size of rgb666 format (v5.0)
See merge request espressif/esp-idf!20031
2022-09-14 13:48:39 +08:00
Jiang Jiang Jian
3f9b12d62a
Merge branch 'bugfix/clobbering_freertos_base_priority_v5.0' into 'release/v5.0'
...
spi_flash: fix issue linked with raising of task priority while priority is already raised (v5.0)
See merge request espressif/esp-idf!20011
2022-09-14 13:47:55 +08:00
Jiang Jiang Jian
bc9e2f198f
Merge branch 'feature/vfs_driver_interface_v5.0' into 'release/v5.0'
...
esp/vfs: VFS semihosting interface support (v5.0)
See merge request espressif/esp-idf!19854
2022-09-14 13:47:14 +08:00
Jiang Jiang Jian
393bbbc851
Merge branch 'bugfix/uart_sclk_freq_v5.0' into 'release/v5.0'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled (v5.0)
See merge request espressif/esp-idf!19870
2022-09-14 13:46:35 +08:00
Jiang Jiang Jian
71c962e332
Merge branch 'bugfix/ctx_lock_wifi_prov_v5.0' into 'release/v5.0'
...
Fixed provisioning manager deinit (v5.0)
See merge request espressif/esp-idf!20030
2022-09-14 13:43:03 +08:00
Jiang Jiang Jian
d66d0f6b8d
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v5.0' into 'release/v5.0'
...
bt: Remove trailing semicolon from bt dft initializer(v5.0)
See merge request espressif/esp-idf!19903
2022-09-14 13:41:42 +08:00
Jiang Jiang Jian
2a66480347
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3_v5.0' into 'release/v5.0'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3 (backport v5.0)
See merge request espressif/esp-idf!19987
2022-09-14 13:40:05 +08:00
Armando
64d9852e1f
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-14 12:08:24 +08:00
Pavlo Hamov
643bea7aed
adc: esp32s2: fix unit to offset calculation
...
adc2 eFuse offset is wrong on 4.4 to 5.0 transition
Closes https://github.com/espressif/esp-idf/issues/9705
Closes https://github.com/espressif/esp-idf/pull/9715
2022-09-14 12:03:45 +08:00
laokaiyao
434966f7b1
touch_sensor: add esp_timer error check
2022-09-14 02:40:32 +00:00
laokaiyao
b333c1a9f1
touch_sensor: fixed timer period
2022-09-14 02:40:32 +00:00
laokaiyao
0401aedd0c
touch_senser: fixed ci issue timer expired after it is deleted
2022-09-14 02:40:32 +00:00
Alexey Lapshin
b1387fb7cb
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-13 23:42:18 +04:00
Omar Chebib
2e897c2e74
TLSF: fix the patch for tlsf_check function in ROM
...
tlsf_check in the patch was not called because the the TLSF functions
table in ROM was still pointing to the ROM implementation.
2022-09-13 14:20:39 +02:00
Guillaume Souchere
860232bdaf
heap: Add test to check that the corruption of free memory is detected
...
This commit extends the heap test set by adding a test to check corruption
detection in free memory block.
For each byte of the free block memory, the test changes the value of the byte,
call multi_heap_check(), make sure that the function returns 'corruption detected'
only when comprehensive poisoning is set, restore the good value of the byte, calls
multi_heap_check() again and make sure that it returns 'OK'.
2022-09-13 14:19:51 +02:00
Guillaume Souchere
b8f682a11b
esp-rom: create a patch of tlsf_check() for target(s) supporting ROM implementation of TLSF
...
The tlsf implementation in the ROM does not provide a mechanism
to register a callback to be called in by tlsf_check().
This commit is creating a patch of the tlsf implementation to provide
a definition of the function allowing to register the callback called
in tlsf_check() and add the call of this callback in tlsf_check().
This patch is only compiled for target(s) with ESP_ROM_HAS_HEAP_TLSF
set and ESP_ROM_TLSF_CHECK_PATCH set. For all the other configurations
the environment remains unchanged by those modifications.
2022-09-13 14:19:51 +02:00
Guillaume Souchere
fc43fed8ea
heap: Provide definition of the tlsf_check_hook() declared in the tlsf submodule
...
Add the definition of tlsf_check_hook() in multi_heap if MULTI_HEAP_POISONING
is set. This definition calls the multi_heap_internal_check_block_poisoning()
to check the memory of a free block for corruption. If the light poisoinng is
set this function returns true. If the comprehensive poisoning is set, this
function will check that all byte of memory in the memory chunk passed as parameter
are set to the right FILL pattern.
2022-09-13 14:19:51 +02:00
Ivan Grokhotkov
829340d654
Merge branch 'bugfix/usb_serial_jtag_console_crash_v5.0' into 'release/v5.0'
...
console: fix a crash when initializing usb_serial_jtag console (v5.0)
See merge request espressif/esp-idf!20119
2022-09-13 19:12:48 +08:00
Ivan Grokhotkov
72e2fb2da1
Merge branch 'docs/malloc_header_v5.0' into 'release/v5.0'
...
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT) (v5.0)
See merge request espressif/esp-idf!19895
2022-09-13 16:52:26 +08:00
Ivan Grokhotkov
d5175dacd2
Merge branch 'bugfix/fix_calling_cb_func_before_perform_v5.0' into 'release/v5.0'
...
esp_https_ota: fix bug where `http_client_init_cb` is called after esp_http_client_perform() (v5.0)
See merge request espressif/esp-idf!19930
2022-09-13 16:51:58 +08:00
Ivan Grokhotkov
dc6c01920c
Merge branch 'bugfix/freertos_org_inc_path_v5.0' into 'release/v5.0'
...
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path (v5.0)
See merge request espressif/esp-idf!19869
2022-09-13 16:48:28 +08:00
Zim Kalinowski
6f872f4088
Merge branch 'bugfix/miniz_header_doc_v5.0' into 'release/v5.0'
...
esp-rom: fixed error in miniz header documention for tdefl_init (v5.0)
See merge request espressif/esp-idf!19909
2022-09-13 16:45:08 +08:00
Zim Kalinowski
362f1a778e
Merge branch 'bugfix/bootloader_assert_v5.0' into 'release/v5.0'
...
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set (v5.0)
See merge request espressif/esp-idf!19942
2022-09-13 16:44:52 +08:00
Ivan Grokhotkov
ff09089137
console: pass esp_console_repl_universal_t pointer to the repl task
...
For usb_serial_jtag REPL only, xTaskCreate was passing a pointer to
esp_console_repl_com_t, while esp_console_repl_task was expecting
a pointer to esp_console_repl_universal_t.
The way the two structures are defined, this makes no difference, and
the pointer values are the same. Still, this could potentially break
in the future.
(I am not sure what is the distinction between repl_com (common?) and
repl_universal; it seems that `int uart_channel` could just as well
be part of esp_console_repl_com_t; alternatively, as suggested in the
previous commit, this structure could contain a callback function
pointer, which would allow `esp_console_new_repl_*` functions to
specify how stdin/stdout should be initialized by the REPL task.)
2022-09-13 09:01:00 +02:00
Ivan Grokhotkov
e15818c71b
console: fix a crash when initializing usb_serial_jtag console
...
The crash occurred when calling setvbuf(stdin,...) with stdin==NULL.
This happened because esp_console_repl_task started running before
its args->uart_channel was initialized; then esp_console_repl_task
went into the code path 'uart_channel != CONFIG_ESP_CONSOLE_UART_NUM',
and tried to 'fopen("/dev/uart/0");`
Since the UART VFS is not registered when ESP_CONSOLE_USB_SERIAL_JTAG
option is enabled, fopen failed and 'stdin' was NULL.
Fix by moving the initialization of repl task arguments before the
start of the task, same as it is done for the usb_cdcacm case.
The crash started happening after the commit 287ab7566b
. I haven’t
verified this, but I guess the reason why it wasn’t happening before
was that xTaskCreate was not correctly yielding to the newly created
higher-priority 'repl' task, therefore the code which was setting
the repl task arguments after xTaskCreate had time to execute.
It should be noted that the 'uart_channel' argument is a bit hacky,
in the first place. The code should be refactored to pass a callback
function to the repl task, and let this callback initialize stdin and
stdout based on the chosen console channel. Then esp_console_repl_task
does not require assumptions about the specific interface used.
Closes https://github.com/espressif/esp-idf/issues/9662
2022-09-13 09:00:59 +02:00
wanlei
3cc3455ca6
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-09 15:57:13 +08:00
Michael (XIAO Xufeng)
eea8629fa1
Merge branch 'bugfix/fix_gpio_intr_lost_v5.0' into 'release/v5.0'
...
gpio: Fix interrupt lost issue (backport v5.0)
See merge request espressif/esp-idf!19935
2022-09-09 15:05:50 +08:00
satish.solanke
622bfa3e28
updating doc for the issue doc_3566
2022-09-09 10:32:53 +05:30
zwj
73d00170d6
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabled
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
2022-09-08 13:30:23 +00:00
Darian Leung
d75037cc57
usb_host: Fix incorrect memset() usage in HCD
...
This commit fixes incorrect usage of memset() in the HCD's various
_buffer_parse_...() functions. The memset was not clearing the qtd lists, and
were simply setting the first qtd to a non zero value (i.e., the length of
the QTD list).
However, no bug occurred as the subsequent _buffer_fill_...() functions would
overwrite the QTD list anyways.
2022-09-08 14:05:58 +02:00
Tomas Rezucha
c8585267ab
usb: Remove -Wno-format compile option
2022-09-08 14:05:19 +02:00
Jiang Jiang Jian
cb508c7d6a
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v5.0' into 'release/v5.0'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v5.0)
See merge request espressif/esp-idf!19950
2022-09-08 17:25:24 +08:00
Jiang Jiang Jian
8f6cad1a93
Merge branch 'bugfix/esp32c2_rom_aes_128_cmac_decrypt_v5.0' into 'release/v5.0'
...
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
See merge request espressif/esp-idf!20009
2022-09-08 17:24:56 +08:00
Jiang Jiang Jian
5f86aaafdb
Merge branch 'feature/add_qa_test_funcs_v5.0' into 'release/v5.0'
...
Add QA test Functions for esp32 (backport v5.0)
See merge request espressif/esp-idf!19742
2022-09-08 17:19:07 +08:00
Jiang Jiang Jian
3be0bae9d8
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v5.0' into 'release/v5.0'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting(backport v5.0)
See merge request espressif/esp-idf!19995
2022-09-08 17:18:22 +08:00
Jiang Jiang Jian
907c46ac0d
Merge branch 'bugfix/fix_data_overwrite_v5.0' into 'release/v5.0'
...
Nimble: Add extra allocation for data pointer returned by controller for ESP IP (v5.0)
See merge request espressif/esp-idf!19973
2022-09-08 17:12:06 +08:00
morris
43b1c0c875
Merge branch 'bugfix/fix_the_duplicated_type_name_in_i2s_v5.0' into 'release/v5.0'
...
i2s: fix the duplicated type name in i2s (v5.0)
See merge request espressif/esp-idf!19999
2022-09-08 15:11:52 +08:00
morris
e122778d35
lcd: fix wrong bpp size of rgb666 format
...
Closes https://github.com/espressif/esp-idf/issues/9729
2022-09-08 13:20:16 +08:00
morris
2564bcb8d2
Merge branch 'bugfix/propogate_isr_allocation_failure_v5.0' into 'release/v5.0'
...
Fix MCPWM multiplication overflow (5.0)
See merge request espressif/esp-idf!19890
2022-09-08 13:12:10 +08:00
Isha Pardikar
15d4079e5b
wifi_provisioning: Fixed prov_ctx_lock of deinit provisioning manager
2022-09-08 10:21:33 +05:30
Mahavir Jain
bcee30f78e
Merge branch 'feature/wifi_prov_mgr_is_provisioned_api_change_v5.0' into 'release/v5.0'
...
wifi_provisioning: decouple `wifi_prov_mgr_is_provisioned` from manager state (v5.0)
See merge request espressif/esp-idf!19945
2022-09-08 12:26:36 +08:00
Mahavir Jain
d89922249d
Merge branch 'bugfix/httpd_ssl_config_default_v5.0' into 'release/v5.0'
...
esp_https_server: fix issue with default initialization through `HTTPD_SSL_CONFIG_DEFAULT` (v5.0)
See merge request espressif/esp-idf!19947
2022-09-08 12:25:59 +08:00
Song Ruo Jing
3017b65d4d
gpio: Fix interrupt lost issue
...
In previous gpio default isr, interrupt status bits get cleared at the exit of the isr.
However, for edge-triggered interrupt type, the interrupt status bit should be cleared before entering the per-pin handlers to avoid any potential interrupt lost.
Closes https://github.com/espressif/esp-idf/pull/6853
2022-09-08 11:52:25 +08:00
Michael (XIAO Xufeng)
7568139778
Merge branch 'feature/c2_efuse_with_26mhz_v5.0' into 'release/v5.0'
...
efuse(es32c2): Supports 26MHz XTAL (v5.0)
See merge request espressif/esp-idf!19820
2022-09-07 22:02:30 +08:00
KonstantinKondrashov
0147bd6b0d
freertos: Adds new APIs to set/get and restore base priority
...
Closes https://github.com/espressif/esp-idf/issues/7580
2022-09-07 21:16:00 +08:00
gaoxu
1148e4e77f
SPI: Fixed Quad SPI wrong dummy cycle issue on ESP32C2/ESP32C3/ESP32S3 and put get-command/dummy-bits functions in spi_ll.h
2022-09-07 18:48:05 +08:00
Alexey Gerenkov
5b601cd67f
sysview: Adds FreeRTOS SMP port
2022-09-07 13:47:26 +03:00
Alexey Gerenkov
75a2c386c9
sysview: Fixes IDLE tasks detection via name comparison
2022-09-07 13:29:49 +03:00
Mahavir Jain
f954caecf0
Merge branch 'bugfix/c2_skip_validate_v5.0' into 'release/v5.0'
...
bootloader: allow skip image validation on C2 (v5.0)
See merge request espressif/esp-idf!19975
2022-09-07 18:03:37 +08:00
Mahavir Jain
71f7796da7
Merge branch 'fix/wifi_prov_mgr_update_comment_ragading_sec_params_validity_v5.0' into 'release/v5.0'
...
wifi_provisioning: Update API documentation to highlight argument validity... (v5.0)
See merge request espressif/esp-idf!19954
2022-09-07 18:02:31 +08:00
Shreyas Sheth
51f82123a1
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
2022-09-07 14:58:16 +05:30
laokaiyao
d836d8cf35
i2s: add notes for the read task of i2s basic examples
2022-09-07 11:03:26 +08:00
laokaiyao
0f0baa5bb4
i2s: fixed the duplicated type name
2022-09-07 11:03:26 +08:00
zwj
dc010b701b
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:28:06 +08:00
Jakob Hasse
615bc28836
doc (nvs): added note about maximum possible namespaces
2022-09-06 10:00:23 +02:00
Marius Vikhammer
3056d6e53d
bootloader: allow skip image validation on C2
...
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-09-06 14:21:47 +08:00
Rahul Tank
4ffafc3aa6
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 11:21:47 +05:30
Mahavir Jain
40c1529b4b
bootloader_support: fix stringop-overflow warning with PERF
compiler optimization
...
This commit fixes build issue because of function `bootloader_common_reset_rtc_retain_mem`
getting inlined with compiler optimization level set to `PERF` (-O2).
Build failure log:
-----------------
In function 'bootloader_common_reset_rtc_retain_mem',
inlined from 'bootloader_common_update_rtc_retain_mem' at /h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:183:13:
/h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:159:5: error: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
159 | memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-05 13:40:22 +05:30
Armando
78a38c8940
esp_adc: remove wno flag
2022-09-05 15:46:54 +08:00
Aditya Patwardhan
2f99d2e37f
wifi_provisioning: Update API documentation to highlight argument validity while providing sec_params argument.
2022-09-05 12:00:55 +05:30
xiongweichao
607400a048
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:19:21 +08:00
Mahavir Jain
f41931e5f6
esp_https_server: fix issue with default initialization through HTTPD_SSL_CONFIG_DEFAULT
...
Closes https://github.com/espressif/esp-idf/issues/9653
Closes IDFGH-8157
2022-09-05 11:06:42 +05:30
Mahavir Jain
3955a85a47
wifi_provisioning: decouple wifi_prov_mgr_is_provisioned
from manager state
...
`wifi_prov_mgr_is_provisioned()` API uses the `esp_wifi_get_config()` API
to check if Wi-Fi credentials are configured. It does not really require
any other information from the wifi_prov component. Hence, this commit
removed dependency of this API on provisioning manager initialization state.
Closes IDF-5878
2022-09-05 10:53:47 +05:30
Marius Vikhammer
587aab3720
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
...
Closes https://github.com/espressif/esp-idf/pull/7518
2022-09-05 12:31:23 +08:00
Harshit Malpani
30d81f76b4
esp_https_ota: fix bug where http_client_init_cb
is called after esp_http_client_perform()
instead of before.
...
Closes https://github.com/espressif/esp-idf/issues/9581
2022-09-02 16:15:38 +05:30
KonstantinKondrashov
72de8349a6
efuse(es32c2): Supports 26MHz XTAL
2022-09-02 10:05:20 +00:00
Marius Vikhammer
a43850ca17
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-09-02 06:15:20 +00:00
zhiweijian
b6ec98535d
Add QA test Functions
2022-09-01 13:56:52 +00:00
Mahavir Jain
9f40e41421
vfs: use recommended esp_cpu_dbgr_is_attached
API
...
This fixes deprecation warning with earlier API
`cpu_hal_is_debugger_attached`.
2022-09-01 13:18:17 +02:00
Marius Vikhammer
67fb17c939
esp-rom: fixed error in miniz header documention for tdefl_init
...
Closes https://github.com/espressif/esp-idf/issues/8435
2022-09-01 18:13:53 +08:00
Omar Chebib
372ab1468b
heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer
2022-09-01 08:43:18 +00:00
tgotic
8b3f916d1a
fix malloc(0) and heap_caps_alloc_failed()
...
Don't call heap_caps_alloc_failed() for malloc(0) and calloc(0), because it is not an error.
Improve handling of malloc(0) and calloc(0).
Merges https://github.com/espressif/esp-idf/pull/9517
2022-09-01 08:43:18 +00:00
Marius Vikhammer
7caafb2542
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT)
...
The actual memory allocated for malloc() depends on a lot of factors, see heap_caps_malloc_default()
Closes https://github.com/espressif/esp-idf/issues/7659
2022-09-01 14:32:54 +08:00
Pedro
6ebd5381fb
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-01 12:01:24 +08:00
morris
47bf0ef212
mcpwm: fix multiplication overflow in converting us to compare ticks
...
Closes https://github.com/espressif/esp-idf/issues/9648
2022-09-01 10:48:20 +08:00
morris
9747c3a8d6
legacy_timer: propagate isr register failure
...
Closes https://github.com/espressif/esp-idf/issues/9651
2022-09-01 10:48:08 +08:00
morris
4532e6e0b2
Merge branch 'bugfix/sdio_slave_gcc11_crash_v5.0' into 'release/v5.0'
...
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11 (v5.0)
See merge request espressif/esp-idf!19790
2022-09-01 10:07:36 +08:00
morris
02bedfac62
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v50' into 'release/v5.0'
...
driver: uart rs485 fix test sync issues and fail threshold (backport v5.0)
See merge request espressif/esp-idf!19603
2022-09-01 10:07:11 +08:00
Alex Lisitsyn
9bb565b85c
driver: uart rs485 fix test sync issues and fail threshold (backport v5.0)
2022-09-01 10:07:11 +08:00
Marius Vikhammer
7f4fa696e1
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path
...
FreeRTOS include path was changed, but ORIG_INCLUDE_PATH wasn't updated to reflect this.
2022-08-31 10:26:50 +08:00
Eren Terzioglu
c1fa7ad652
esp/vfs: VFS semihosting interface support
2022-08-30 09:45:15 +02:00
Jiang Jiang Jian
39c47cb6d8
Merge branch 'feature/add_txpwr_api_v5.0' into 'release/v5.0'
...
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
See merge request espressif/esp-idf!19823
2022-08-30 01:55:31 +08:00
zwl
502d47fa44
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 15:39:01 +00:00
Kapil Gupta
1d15a41e4a
wpa_supplicant: remove RC4 and 3DES ciphers for TLS
...
MbedTLS-3.x has dropped support for 3DES and RC4 TLS cipher
suites. Removing them from supplicant as well
Closes https://github.com/espressif/esp-idf/issues/9607
2022-08-29 14:57:09 +00:00
Jiang Jiang Jian
db69ae2787
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies_v5.0' into 'release/v5.0'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath (v5.0)
See merge request espressif/esp-idf!19685
2022-08-29 22:52:33 +08:00
Jiang Jiang Jian
16e961a336
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v5.0' into 'release/v5.0'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v5.0)
See merge request espressif/esp-idf!19747
2022-08-29 22:47:38 +08:00
Jiang Jiang Jian
7098e639ca
Merge branch 'refactor/migrate_adc_wifi_test_to_test_app' into 'release/v5.0'
...
esp_adc: change adc wifi test IO (v5.0)
See merge request espressif/esp-idf!19822
2022-08-29 22:45:26 +08:00
Jiang Jiang Jian
5c72fff43b
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_v5.0' into 'release/v5.0'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled (v5.0)
See merge request espressif/esp-idf!19802
2022-08-29 19:56:16 +08:00
morris
5fc7c5aaed
Merge branch 'bugfix/improve_psram_adding_to_heap_way_v5.0' into 'release/v5.0'
...
esp_psram: correct the way adding to heap allocator (v5.0)
See merge request espressif/esp-idf!19808
2022-08-29 16:35:48 +08:00
Armando
0b58bbd29b
esp_adc: migrate adc wifi test to test app
2022-08-29 12:33:16 +08:00
morris
331f2d5277
Merge branch 'bugfix/fix_rtc_gpio_hold_v5.0' into 'release/v5.0'
...
gpio: Fix missing set hold bit in rtc gpio register (v5.0)
See merge request espressif/esp-idf!19811
2022-08-29 11:38:01 +08:00
Armando
29ae238845
mmu: driver framework, for vaddr maintenance
...
This commit gives basic mmu driver framework. Now it is able to maintain
mmu virtual address usage on esp32, esp32s2 and esp32s3. Usage to
external virtual address should rely on mmu functions to know which
address range is available, instead of hardcoded.
This commit also improves psram memory that is added to the heap
allocator. Now it's added to the heap, according to the memory
alignment.
Closes https://github.com/espressif/esp-idf/issues/8295
Closes https://github.com/espressif/esp-idf/issues/9193
2022-08-27 16:05:51 +08:00
Armando
64e0ee573d
esp_psram: rename esp_private/mmu.h to mmu_psram_flash.h
...
Prior to this commit, esp_psram/include/esp_private/mmu.h contains some
APIs that is used for:
- copy flash content to psram
- necessary sync APIs used by flash_mmap.c, due to above feature
This commit rename it to mmu_psram_flash.h, therefore mmu.h can be used
for real mmu related APIs.
This commit also moves above mention funcitons in `mmu.c` and
`mmu_psram.c` to `mmu_psram_flash.c`, leaving `mmu.c` to be used for
real mmu driver.
2022-08-27 15:11:15 +08:00
Mahavir Jain
acbf7af80a
Merge branch 'feature/mbedtls-3.2.1_v5.0' into 'release/v5.0'
...
mbedtls: Update to v3.2.1 (v5.0)
See merge request espressif/esp-idf!19797
2022-08-27 14:25:12 +08:00
Mahavir Jain
dca90987d7
Merge branch 'fix/s3_world_controller_headers_v5.0' into 'release/v5.0'
...
esp32s3: Update world controller headers (v5.0)
See merge request espressif/esp-idf!19793
2022-08-27 13:10:48 +08:00
Jan Procházka
078e179ed2
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-26 15:17:57 +02:00
morris
d7580183a6
Merge branch 'bugfix/rtc_periph_ulp_touch_v5.0' into 'release/v5.0'
...
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source) (v5.0)
See merge request espressif/esp-idf!19767
2022-08-26 18:46:25 +08:00
xiongweichao
7dcf576659
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 15:59:33 +08:00
Mahavir Jain
be19c10f53
wpa_supplicant: fix issue with WPA2 enterprise TLS session
...
Usage of `mbedtls_ssl_conf_sig_algs()` was incorrect, it must include signature
algorithm with hash. This change is as per requirement defined in mbedTLS-3.2.1
release.
2022-08-26 11:46:55 +05:30
Sachin Parekh
44d626a596
mbedtls: Override ecp_mul_restartable_internal
...
ECDSA verification uses ecp_mul_restartable_internal instead
of the public API mbedtls_ecp_mul_restartable
2022-08-26 11:46:55 +05:30
Laukik Hase
0c60328953
mbedtls/port: Fix dynamic buffers feature for v3.2.1
...
Co-authored-by: Li Jingyi <lijingyi@espressif.com>
2022-08-26 11:46:55 +05:30
Laukik Hase
51cbbe486c
esp_tls/wpa_supplicant: Updated deprecated mbedtls APIs
2022-08-26 11:46:54 +05:30
Laukik Hase
aecc46df64
mbedtls: Update to v3.2.1
...
- Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.2.1
- Closes https://github.com/espressif/esp-idf/issues/8787
2022-08-26 11:46:54 +05:30
Sachin Parekh
ca19d23952
esp32s3: Update world controller headers
2022-08-26 09:35:43 +05:30
Marius Vikhammer
c011cdce1c
Merge branch 'bugfix/gpio_wakeup_docs_v5.0' into 'release/v5.0'
...
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only (v5.0)
See merge request espressif/esp-idf!19739
2022-08-26 10:31:21 +08:00
Mahavir Jain
6197871ba0
Merge branch 'bk/add_backpoint_for_mdns_and_openthread' into 'release/v5.0'
...
openthread: update OpenThread submodule(backport V5.0)
See merge request espressif/esp-idf!19777
2022-08-26 05:39:41 +08:00
Michael (XIAO Xufeng)
bfdf5ddcbd
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11
2022-08-26 00:43:33 +08:00
Mahavir Jain
6d37f012e1
Merge branch 'feature/app_metadata_to_esp_system_v5.0' into 'release/v5.0'
...
app_update: Moved app metadata to new component `esp_app_format` (v5.0)
See merge request espressif/esp-idf!19754
2022-08-25 17:06:50 +08:00
zhangwenxu
1a5baac621
openthread: update OpenThread submodule
...
* support NAT64 ICMP
2022-08-25 17:02:45 +08:00
Zim Kalinowski
d6a74e4141
Merge branch 'bugfix/cleanup_rom_spiflash_v5.0' into 'release/v5.0'
...
esp-rom: remove undefined spi_flash functions from header (v5.0)
See merge request espressif/esp-idf!19524
2022-08-25 14:59:03 +08:00
Jiang Jiang Jian
73a4b80a87
Merge branch 'bugfix/wps_connection_issue_v5.0' into 'release/v5.0'
...
wpa_supplicant: Fix WPS connection issue after WPS done (v5.0)
See merge request espressif/esp-idf!19719
2022-08-25 13:48:38 +08:00
Jiang Jiang Jian
40ca58496b
Merge branch 'bugfix/fix_ble_sch_arb_assert_v5.0' into 'release/v5.0'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v5.0)
See merge request espressif/esp-idf!19732
2022-08-25 13:44:29 +08:00
Rahul Tank
b316ff3661
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-25 10:49:43 +05:30
Michael (XIAO Xufeng)
2ab4ce4bb1
Update components/esp_hw_support/include/esp_sleep.h
2022-08-25 12:28:00 +08:00
Michael (XIAO Xufeng)
209545db6a
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
2022-08-25 12:27:59 +08:00
Michael (XIAO Xufeng)
69be7c4cc2
Merge branch 'feat/support_esp32c2_uart_v5.0' into 'release/v5.0'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL (v5.0)
See merge request espressif/esp-idf!19690
2022-08-25 02:03:26 +08:00
Jiang Jiang Jian
ec15b7798b
Merge branch 'bugfix/espnow_clear_key_register_v5.0' into 'release/v5.0'
...
esp_wifi: Fix the bug that espnow clear key register fail (backport v5.0)
See merge request espressif/esp-idf!19717
2022-08-24 18:44:26 +08:00
Laukik Hase
5bd962cba7
ci: Fix host-test failures
2022-08-24 14:46:33 +05:30
Laukik Hase
a816ccf888
esp_app_format: Added test-app
2022-08-24 14:46:32 +05:30
Laukik Hase
5545b3790f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-24 14:46:32 +05:30
Laukik Hase
972c531b6d
app_update: Moved app metadata to new component esp_app_format
2022-08-24 14:44:32 +05:30
Jiang Jiang Jian
4b02b56f77
Merge branch 'bugfix/bt_invalid_workqueue_num_v5.0' into 'release/v5.0'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid(backport v5.0)
See merge request espressif/esp-idf!19580
2022-08-24 16:49:26 +08:00
Jiang Jiang Jian
c9124823ef
Merge branch 'contrib/github_pr_9529_mr_5.0' into 'release/v5.0'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v5.0)
See merge request espressif/esp-idf!19691
2022-08-24 14:42:46 +08:00
Jiang Jiang Jian
c05c1a2e11
Merge branch 'bugfix/increase_leading_space_for_alloc_v5.0' into 'release/v5.0'
...
Nimble: Add extra space for buffer allocation for ESP IP (v5.0)
See merge request espressif/esp-idf!19731
2022-08-24 14:00:06 +08:00
morris
de9fd87a42
Merge branch 'feature/esp_jpeg_examples_v5.0' into 'release/v5.0'
...
examples/tjpgd: Use esp_jpeg component in tjpgd example. (backport v5.0)
See merge request espressif/esp-idf!19635
2022-08-24 11:07:20 +08:00
Marius Vikhammer
76207273fd
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
...
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-24 10:50:49 +08:00
Island
7dda317028
Merge branch 'document/support_header_defination_v5.0' into 'release/v5.0'
...
Support of Micro definition in header file (v5.0)
See merge request espressif/esp-idf!19716
2022-08-24 10:29:07 +08:00
Ivan Grokhotkov
9cd98fbd4a
Merge branch 'bugfix/add_signature_in_image_len_v5.0' into 'release/v5.0'
...
bootloader_support: consider signature sector in image length validation (v5.0)
See merge request espressif/esp-idf!19483
2022-08-23 20:19:24 +08:00
zwj
ccd9d0f8ce
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:42:28 +08:00
zwj
1c1a3845ba
fix extend adv set remove failed
2022-08-23 19:42:16 +08:00
Rahul Tank
c6d3708558
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 17:09:15 +05:30
Mahavir Jain
877848460d
Merge branch 'fix/fix_esp_rsa_sign_alt_modifying_input_params_v5.0' into 'release/v5.0'
...
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data... (v5.0)
See merge request espressif/esp-idf!19713
2022-08-23 18:23:37 +08:00
morris
43876cb31b
Merge branch 'bugfix/add_adc_oneshot_disable_ulp_enum_v5.0' into 'release/v5.0'
...
esp_adc: add adc ulp mode disable enum , and kconfig to enable dac output (v5.0)
See merge request espressif/esp-idf!19710
2022-08-23 16:07:30 +08:00
Kapil Gupta
b32151f43a
wpa_supplicant: Fix WPS connection issue after WPS done
...
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-23 13:09:22 +05:30
zhangyanjiao
81424d9659
esp_wifi: Fix the bug that espnow clear key register fail
...
Closes WIFI-4696
2022-08-23 14:50:43 +08:00
satish.solanke
9b6d1b91c0
Support of Micro defination in header file
2022-08-23 12:05:30 +05:30
Aditya Patwardhan
0dd55387ea
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash
2022-08-23 11:50:47 +05:30
Vilem Zavodny
f8d94d6a4e
tjpgd: Remove ROM patches and tests.
...
(cherry picked from commit a00e8771a7
)
2022-08-23 07:57:10 +02:00
morris
d609f5fb35
Merge branch 'feature/support_esp32c2_test_pm_v5.0' into 'release/v5.0'
...
gpio, ledc, pm: several MR updates backport to v5.0
See merge request espressif/esp-idf!19706
2022-08-23 13:48:33 +08:00
Armando
1fdf242750
esp_adc: add a kconfig to disable dac on certain adc IOs
...
Added a kconfig option. By default, when using ADC oneshot
driver, it will disable
DAC channels:
- ESP32: IO25, IO26
- ESP32S2: IO17, IO18
if ADC2 is in use.
You can disable this option, to measure DAC output, via internal ADC.
This is for test usage.
2022-08-23 10:48:18 +08:00
Armando
81007ee4ed
esp_adc: add adc ulp mode disable enum
...
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.
After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-23 10:48:15 +08:00
Michael (XIAO Xufeng)
4a68f9e064
Merge branch 'feature/support_7.2.9_soc/pvt_dig_v5.0' into 'release/v5.0'
...
ESP32C2:support auto adjust LDO voltage based on pvt-dig(backport 5.0)
See merge request espressif/esp-idf!19628
2022-08-23 09:30:06 +08:00
songruojing
343acd7f88
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-08-22 22:03:25 +08:00
Song Ruo Jing
26a4803048
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
...
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-08-22 22:02:15 +08:00
songruojing
280a241792
pm: update pm test cases to support esp32c2
2022-08-22 21:56:10 +08:00
Jiang Jiang Jian
b84f9dd5cc
Merge branch 'bugfix/fix_c2_rtc_ldo_too_low_bug_v5.0' into 'release/v5.0'
...
ESP32C2: Fix system not stable bug when rtc voltage too low (backport v5.0)
See merge request espressif/esp-idf!19599
2022-08-22 19:48:36 +08:00
morris
214ebb4adb
Merge branch 'bugfix/rmt_iram_safe_test_5.0' into 'release/v5.0'
...
driver: multiple updates backport to (5.0)
See merge request espressif/esp-idf!19525
2022-08-22 19:02:08 +08:00
Jiang Jiang Jian
d194a449f4
Merge branch 'bugfix/lwip_ipv6_zone_violation_v5.0' into 'release/v5.0'
...
lw ip: Reference official 2.1.3-esp branch (v5.0)
See merge request espressif/esp-idf!19595
2022-08-22 16:58:36 +08:00
Island
e970ec5bf5
Merge branch 'bugfix/esp32c2_issues_fix_5.0' into 'release/v5.0'
...
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
See merge request espressif/esp-idf!19596
2022-08-22 16:51:04 +08:00
David Čermák
b2469bcaaa
Merge branch 'module_logging_tag_lower_case_5.0' into 'release/v5.0'
...
Replaced logging tags with lower case in tcp_transport component (v5.0)
See merge request espressif/esp-idf!19677
2022-08-22 16:48:08 +08:00
morris
60253ed3f3
Merge branch 'bugfix/esp_netif_remove_slip_v5.0' into 'release/v5.0'
...
esp_netif: Migrate SLIP interface to user-space (v5.0)
See merge request espressif/esp-idf!19634
2022-08-22 15:49:22 +08:00
tgotic
cd5e85aa19
update code to use osi_free()
2022-08-22 15:37:16 +08:00
tgotic
40addb8faa
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 15:37:08 +08:00
Michael (XIAO Xufeng)
6ed15178b6
uart: move frequency of clock sources out of HAL
2022-08-22 14:28:12 +08:00
Darian Leung
a202ec2caf
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d18
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-22 11:28:55 +08:00
Jiang Jiang Jian
361634c96b
Merge branch 'bugfix/backport_wifi_bugs_to_5.0_0819' into 'release/v5.0'
...
esp wifi:bugfix for backport wifi bugs to 5.0(backport 5.0)
See merge request espressif/esp-idf!19662
2022-08-22 11:11:57 +08:00
morris
d7b33debc5
Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m_v5.0' into 'release/v5.0'
...
esp_psram: fix esp32 psram cs hold time issue when under 40m (v5.0)
See merge request espressif/esp-idf!19647
2022-08-21 15:10:25 +08:00
AndriiFilippov
e9269e5d17
Replaced logging tags with lower case in tcp_transport component to unite all tags under common structure.
2022-08-19 15:25:44 +02:00
Zim Kalinowski
3460f5bc8a
Merge branch 'contrib/github_pr_9497_v5.0' into 'release/v5.0'
...
Move xSemaphoreGive out of configASSERT (GitHub PR) (v5.0)
See merge request espressif/esp-idf!19537
2022-08-19 21:03:45 +08:00
Zim Kalinowski
050818181f
Merge branch 'bugfix/freertos_eventgroup_test_flakiness_v5.0' into 'release/v5.0'
...
freertos: Fix flakey event group unit tests (v5.0)
See merge request espressif/esp-idf!19529
2022-08-19 21:02:33 +08:00
Mahavir Jain
676a1d6eb1
Merge branch 'feature/esp_cryptoauthlib_from_manager_v5.0' into 'release/v5.0'
...
Push out esp-cryptoauthlib to component manager (v5.0)
See merge request espressif/esp-idf!19654
2022-08-19 20:18:54 +08:00
xueyunfei
6eb6bb071d
esp_wifi:fix some wifi bugs
...
1 esp32c2: mv multiphy api out of ESP_MESH_SUPPORT macro
2 clear bss info when wifi stop
3 add clear ap list interface
2022-08-19 14:11:53 +08:00
xueyunfei
8696dc15f1
esp_wifi:add clear ap list interface
2022-08-19 14:10:51 +08:00
muhaidong
26a897039e
esp_wifi: done beacon monitor timer and eloop timer when deinit
2022-08-19 14:10:25 +08:00
Mahavir Jain
d34a91cace
esp-cryptoautlib: remove submodule and use from IDF component manager
2022-08-18 20:15:18 +05:30
Armando
70ab635dd0
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-18 20:26:32 +08:00
Geng Yuchao
5524c772e6
Fix soc caps define for all chips
2022-08-18 16:27:06 +08:00
David Cermak
df8390075b
esp_netif: Migrate SLIP interface to user-space
2022-08-18 07:07:44 +02:00
morris
50ff1b0efd
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-18 10:59:42 +08:00
morris
c8b634ecfe
rgb_lcd: deprecate esp_lcd_color_space_t
2022-08-18 10:59:16 +08:00
morris
d8c2f67d63
mcpwm: added enable/disable functions
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
morris
5020fbce1c
driver: add doc on how to unregister event callbacks
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
morris
4701d95052
driver: specify the interrupt priority
...
Closes https://github.com/espressif/esp-idf/issues/9520
2022-08-18 10:57:13 +08:00
morris
6820c9decc
rmt: add iram safe test
...
Closes https://github.com/espressif/esp-idf/issues/9487
2022-08-18 10:57:13 +08:00
morris
88ee33bf4c
unity_utils: added helper function to disable cache and run user function
2022-08-18 10:57:12 +08:00
morris
998451c60a
driver: remove -Wno-format flag
2022-08-18 10:57:12 +08:00
Erhan Kurubas
fdc839494f
esp32s3: fix interrupt names used by SystemView
2022-08-17 12:48:37 +02:00
Erhan Kurubas
bf622042b7
replace CAN with TWAI in the esp_isr_names table
2022-08-17 12:32:43 +02:00
zlq
3dc89437cc
support auto adjust LDO voltage based on pvt-dig
2022-08-17 17:25:59 +08:00
morris
8d417c25cb
Merge branch 'bugfix/duplicate_i2s_test_case_name_v5.0' into 'release/v5.0'
...
i2s: fixed duplicated test case name (v5.0)
See merge request espressif/esp-idf!19526
2022-08-17 16:17:44 +08:00
jingli
d3d1d4e1df
esp32c2/clk_cali: fix rtc slow clk cali logic
2022-08-17 11:17:36 +08:00
cje
7243032123
set fosc div to 1 to make chip run stablly for C2
2022-08-17 10:58:14 +08:00
zwl
65d35b0b45
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-16 22:04:30 +08:00
David Cermak
09a8f171f2
lwip: Reference official 2.1.3-esp branch
...
Actual changes against 2.1.3-esp-dev:
* Fix IPv6 zoning violations
* Melted on-demand timer's commits into one
2022-08-16 15:07:54 +02:00
Zim Kalinowski
6d1f1eccfb
Merge branch 'bugfix/incorrect_base_addr_for_rtcio_on_esp32s3_v5.0' into 'release/v5.0'
...
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3 (v5.0)
See merge request espressif/esp-idf!19558
2022-08-16 20:43:48 +08:00
wangmengyang
518ace6bb5
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-16 17:19:58 +08:00
Jiang Jiang Jian
4ba5515dc0
Merge branch 'backport/backport_master_to_release_v5.0' into 'release/v5.0'
...
backport master to release v5.0(Backport v5.0)
See merge request espressif/esp-idf!19560
2022-08-16 16:37:54 +08:00
tgotic
5bb61dfe2f
rename xHoldSemaphore to result
2022-08-16 10:50:37 +08:00
tgotic
241c38b5c0
Move xSemaphoreGive out of configASSERT
...
xSemaphoreGive won't be executed in configASSERT and semaphore will stay locked if NDEBUG (idf v5) or CONFIG_FREERTOS_ASSERT_DISABLE (idf v3, v4) are defined.
2022-08-16 10:50:37 +08:00
liuning
bc09a70071
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
2022-08-15 21:16:53 +08:00
Li Shuai
b9a667b9f8
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-15 21:16:11 +08:00
Li Shuai
b2a6403b40
Power Management: fix the issue of sleeping time error beacause external 32kHz xtal does not exist
2022-08-15 21:16:02 +08:00
xiongweichao
555d72c90a
make bluetooth and wifi use the same low power clock
2022-08-15 21:15:51 +08:00
xiongweichao
ebca41b3ca
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-15 21:15:42 +08:00
xiongweichao
b8b7dcc159
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-15 21:15:13 +08:00
Sudeep Mohanty
56c78fbbf7
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3
...
This commit corrects the register base address reference for RTC I2C on
esp32s3.
2022-08-15 14:50:04 +02:00
Guillaume Souchere
378c54e273
heap: Move the declaration of tlsf_poison_fill_pfunc_set() in esp_rom component
...
- The declaration is moved to esp_rom/include/esp32c2/rom/tlsf.h.
- multi_heap_poisoning.h now includes rom/tlsf.h instead of declaring
tlsf_poison_fill_pfunc_set().
Note: If more targets will support an implementation of the TLSF in ROM,
esp_rom will be extended with new headers in the respective target directories
but multi_heap_poisoning.h will remain unchanged.
2022-08-15 11:11:52 +02:00
Guillaume Souchere
8fb2a7a162
heap: Fix compilation error when CONFIG_SPIRAM is set on esp32s3 target
...
When CONFIG_SPIRAM is set, the TLSF_MAX_POOL_SIZE is set to SOC_EXTRAM_DATA_SIZE
which caused the TLSF_MAX_POOL_SIZE to be bigger than 16MB.
This commit fixes the issue by adding an extra else if case to cover this configuration.
2022-08-15 11:11:52 +02:00
Guillaume Souchere
86d1425346
heap: Fix compilation errors when CONFIG_HEAP_TLSF_USE_ROM_IMPL is set
...
- include headers from the tlsf submodule only when CONFIG_HEAP_TLSF_USE_ROM_IMPL is not set
- remove usage of the tlsf_t type in the multi_heap.c
- add missing declaration of tlsf_poison_fill_pfunc_set() in multi_heap_poisoning.c
- define headers from tlsf submodule as private
- update the linker file in the heap component to the new naming of the tlsf file
- update the copyright docuementation to reference the submodule in github (https://github.com/espressif/tlsf )
- remove deleted files from the check_copyright_ignore.txt
2022-08-15 11:11:52 +02:00
Guillaume Souchere
a2b60946ac
heap: Remove TLSF related files and replace them with the tlsf submodule
...
As the tlsf implementation is a fork from https://github.com/mattconte/tlsf ,
the sources are moved to a separate repository and used as a submodule in the esp-idf instead.
In this commit:
- Removing TLSF related files and using tlsf submodule instead.
- Adding components/heap/tlsf_platform.h header gathering all IDF specifics.
- The multi_heap_poisoning.c provides the declaration of the
function block_absorb_post_hook() definied weak in the TLSF repository.
- The tlsf_platform.h includes the tlsf_common.h file after the definition
of FL_INDEX_MAX_PLATFORM macro to make sure that this macro will be available
in tlsf_common.h without having to include tlaf_platform.h from IDF in the
tlsf_common.h header from the TLSF repository.
- Add missing include from tlsf_block_functions.h in the multi_heap.c file.
Change related to the changes made in TLSF repository (tlsf_block_functions.h
no longer included in tlsf.h)
2022-08-15 11:11:52 +02:00
Roland Dobai
1ae3768321
Tools: Fix flake8 version 5 warnings
2022-08-12 15:36:11 +02:00
Darian Leung
a02a84d8a5
freertos: Fix flakey event group unit tests
...
The event group unit tests would previously use a single call bit (the
"BIT_CALL" macro) to unblock all the test tasks. However, if one or more tasks
were delayed in calling xEventGroupWaitBits(), the other tasks would clear the
test bits, leading to the test deadlocking.
This commit updates the bits used so that each task gets their own CALL and
RESPONSE bits.
2022-08-12 16:48:18 +08:00
laokaiyao
18356cd124
i2s: fixed duplicated test case name
2022-08-12 14:57:54 +08:00
Marius Vikhammer
44bbfa4fb8
esp-rom: add missing spi-flash ROM API functions
...
Added symbols for the SPI flash API which we export from the ROM interface,
deleted functions which are not exported.
Closes https://github.com/espressif/esp-idf/issues/1212
2022-08-12 14:31:56 +08:00
Marius Vikhammer
6655d1dad8
Merge branch 'bugfix/light_sleep_deadlock_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix light sleep deadlock (v5.0)
See merge request espressif/esp-idf!19515
2022-08-12 14:10:40 +08:00
Jiang Jiang Jian
c5292cae2e
Merge branch 'cherry-pick-68bd2bad' into 'release/v5.0'
...
Bluetooth/Bluedroid: fix member typo(backport v5.0)
See merge request espressif/esp-idf!19456
2022-08-12 10:42:53 +08:00
Darian Leung
aa25d83787
esp_hw_support: Fix esp_light_sleep_start() deadlock
...
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.
This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-08-11 18:38:51 +08:00
Darian Leung
1fded0234c
esp_hw_support: esp_clk should use spinlock instead of mutex
...
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).
This commit updates esp_clk to use spinlocks for critical sections instead.
2022-08-11 18:38:45 +08:00
wangjialiang
e15b3b8b9d
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:09:02 +08:00
wangjialiang
b42b8b007a
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:08:55 +08:00
wangjialiang
52af572bd5
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:08:48 +08:00
wangjialiang
e260a04f22
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:08:39 +08:00
wangjialiang
7a8ebdc409
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:08:31 +08:00
wangjialiang
7a8023e54c
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:08:17 +08:00
wangjialiang
0a33ec0d1c
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:08:10 +08:00
wangjialiang
b4650fcc16
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:08:03 +08:00
Roland Dobai
41679c5c3d
Merge branch 'bugfix/esp32h2beta2_erase-flash' into 'release/v5.0'
...
esp32h2: Fix esp32h2beta2 erase flash (backport v5.0)
See merge request espressif/esp-idf!19447
2022-08-10 21:27:15 +08:00
morris
5090955250
Merge branch 'bugfix/fix_esp32s3_cache_data_memory_wrong_attr_backport_v5.0' into 'release/v5.0'
...
bugfix: esp32s3 DCache data memory is retention dma inaccessible (backport v5.0)
See merge request espressif/esp-idf!19473
2022-08-10 17:56:10 +08:00
Island
7b5870d4b8
Merge branch 'bugfix/friend_and_lpn_issues_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix friend and lpn issues(v5.0)
See merge request espressif/esp-idf!19474
2022-08-10 14:54:11 +08:00
Mahavir Jain
db7c4e4938
bootloader_support: consider signature sector in image length validation
...
For secure boot enabled cases, bootloader and firmware images have signature
appended and size is variable based on scheme being used. This appended data
must be considered while verifying image length against allocated partition
size to avoid any possibilities of going beyond reserved size.
Closes IDF-5617
2022-08-10 10:38:02 +05:30
wangjialiang
5172b6a89c
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:47:17 +08:00
wangjialiang
000e2bbdc6
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:47:03 +08:00
wuzhenghui
edb78e8196
bugfix: malloc retention buffer with MALLOC_CAP_RETENTION caps
2022-08-09 21:10:59 +08:00
wuzhenghui
2313663c2e
bugfix: DCache data memory is dma accessible but not retention dma accessible
2022-08-09 21:10:55 +08:00
linruihao
d3940a6fe0
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 14:38:32 +08:00
tgotic
a29b415749
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 14:38:08 +08:00
xiaqilin
b7b4fd44be
esp32h2: disable no_stub option
...
It helps to enable erase flash feature for esp32h2beta2
2022-08-08 20:44:15 +08:00
jingli
8cd7c30bc7
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-08 13:53:02 +08:00
Marius Vikhammer
75cdc683ff
ulp: fix -Wformat errors in ULP tests
2022-08-04 12:19:28 +08:00
Island
6c8375e2d2
Merge branch 'feature/support_ble_on_esp32c2_26M' into 'master'
...
support BLE with 26M xtal for esp32c2
See merge request espressif/esp-idf!19300
2022-08-04 11:07:20 +08:00
Marius Vikhammer
bc08de5f46
Merge branch 'feature/ulp_test_app' into 'master'
...
ulp: migrate tests to pytest embedded
Closes IDF-5605
See merge request espressif/esp-idf!19342
2022-08-04 09:12:56 +08:00
Alexey Lapshin
c462711c74
Merge branch 'bugfix/wno-format-riscv' into 'master'
...
build system: re-enable -Wformat warnings for RISC-V
Closes IDF-3735
See merge request espressif/esp-idf!17000
2022-08-03 23:16:53 +08:00
Jiang Jiang Jian
d8190673fe
Merge branch 'bugfix/fix_disconnect_after_set_country_issue' into 'master'
...
esp_wifi: fix disconnect after set country issue
Closes WIFI-4637, WIFI-4638, and TCI-988
See merge request espressif/esp-idf!19204
2022-08-03 21:43:27 +08:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Ivan Grokhotkov
879352b7f3
build system: remove -Wno-format flag for RISC-V targets
2022-08-03 16:42:47 +04:00
Ivan Grokhotkov
cb1033abf8
log: fix -Wformat issue when uint32_t == unsigned long
2022-08-03 16:42:47 +04:00
Song Ruo Jing
842efaf753
Merge branch 'bugfix/rtc_fastmem_lpu_c3_h2' into 'master'
...
sleep: fix wrong register access to set/clear rtc fast mem low power mode on c3 and h2
Closes IDF-5746
See merge request espressif/esp-idf!19361
2022-08-03 19:52:24 +08:00
Alex Lisitsyn
f352469cd3
Merge branch 'bugfix/uart_fails_1M_baud_rate' into 'master'
...
driver: check UART physical communication on 1M baudrate
Closes IDFGH-7366
See merge request espressif/esp-idf!18211
2022-08-03 19:50:09 +08:00
Alex Lisitsyn
76a084caa3
driver: check UART physical communication on 1M baudrate
2022-08-03 19:50:09 +08:00
morris
38264f0812
Merge branch 'bugfix/kconfig_allow_pain_comment' into 'master'
...
kconfig: support plain comment in the menu
See merge request espressif/esp-idf!19345
2022-08-03 19:43:43 +08:00
Omar Chebib
b2eb0e16d4
Merge branch 'bugfix/TWDT_link_interruptee_stack' into 'master'
...
Task WDT: Interuptee task stack is now used for backtracing
Closes IDF-4976
See merge request espressif/esp-idf!19026
2022-08-03 18:23:28 +08:00
Kevin (Lao Kaiyao)
762da7e5ba
Merge branch 'bugfix/fix_legacy_i2s_clock_test_failure' into 'master'
...
i2s_legacy_test: fix the clock test failure
Closes IDFCI-1402 and IDFCI-1408
See merge request espressif/esp-idf!19319
2022-08-03 17:13:43 +08:00
morris
104bd44377
kconfig: support plain comment in the menu
2022-08-03 17:03:54 +08:00
morris
307d26659e
Merge branch 'bugfix/rmt_hw_issue' into 'master'
...
rmt: only use register to control the IDLE state (hardware issue workaround)
See merge request espressif/esp-idf!19344
2022-08-03 17:01:44 +08:00
Shubham Kulkarni
7bfb89e3b3
Merge branch 'feature/custom_partition_subtypes' into 'master'
...
gen_esp32part.py: Support custom partition types
See merge request espressif/esp-idf!18656
2022-08-03 16:43:57 +08:00
Jiang Jiang Jian
373524cec2
Merge branch 'opt/bluedroid_adv_report_datapath' into 'master'
...
component/bt: optimize BLE adv report datapath and adv report flow control mechanism
Closes BT-2561
See merge request espressif/esp-idf!19171
2022-08-03 16:31:23 +08:00
Armando (Dou Yiwen)
df1c54d6fc
Merge branch 'ci/raise_c3_adc_high_low_test_threshold' into 'master'
...
ci: raise legacy adc high/low test low thresh on ESP32C3
See merge request espressif/esp-idf!19356
2022-08-03 15:21:45 +08:00
songruojing
e8915e14e7
esp_hw_support: fix wrong register access to set/clear rtc fast mem low power mode on c3 and h2
2022-08-03 14:33:13 +08:00
Konstantin Kondrashov
e57257a6db
Merge branch 'feature/adds_efuse_hdr' into 'master'
...
efuse: Adds missing header
Closes IDF-5734
See merge request espressif/esp-idf!19328
2022-08-03 13:43:44 +08:00