Commit Graph

17910 Commits

Author SHA1 Message Date
Roland Dobai
c51a14bec9 Merge branch 'fix/call_esptool' into 'master'
Tools: Fix esptool wrappers by avoiding importing the module

Closes IDFGH-8395

See merge request espressif/esp-idf!21053
2022-11-21 17:35:07 +08:00
Omar Chebib
cd21058097 C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
laokaiyao
039af72058 i2s: fixed typo 'philip'
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-21 15:58:06 +08:00
laokaiyao
22531d2a9f i2s: fixed tdm mclk doubled issue
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-21 15:53:54 +08:00
morris
71968a4856 Merge branch 'doc/pcnt_overflow_compensate' into 'master'
pcnt: support accumulate the count value in the high/low limit event

Closes IDFGH-8726 and IDF-5944

See merge request espressif/esp-idf!21076
2022-11-21 15:13:44 +08:00
nvmd
8906a68108 Remove trailing semicolons from netif IF's 2022-11-21 07:03:35 +00:00
Shu Chen
c9b77bc662 Merge branch 'support/libot_lib154_rename_h2_to_h4' into 'master'
openthread: rename h2 to h4

See merge request espressif/esp-idf!21041
2022-11-21 14:10:19 +08:00
Michael (XIAO Xufeng)
359207d8df sdmmc: removed incorrect pin description file on S2 2022-11-21 14:03:41 +08:00
Michael (XIAO Xufeng)
720b86a886 example/sdio: add support for ESP32-S3 as host (via SD) 2022-11-21 14:03:41 +08:00
Omar Chebib
54954518b1 Merge branch 'staging/riscv_wrapper_freertos_tasks' into 'master'
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning

Closes IDF-4662

See merge request espressif/esp-idf!20845
2022-11-21 12:14:34 +08:00
Mahavir Jain
2c9eb26e6f Merge branch 'bugfix/esp_http_server_config' into 'master'
esp_http_server: fix default control port for HTTPS configuration

Closes IDFGH-8719 and IDFGH-8663

See merge request espressif/esp-idf!21089
2022-11-21 11:37:01 +08:00
Mahavir Jain
1657db56c9 Merge branch 'feature/fix_warning_in_mac_addr' into 'master'
esp_hw_support: Fix coverity warnings in mac_addr API

See merge request espressif/esp-idf!21141
2022-11-21 11:26:56 +08:00
zhiweijian
73cd69d5ad Fixed CI esp32s3.default_2_s3.Test failed 2022-11-21 10:20:34 +08:00
zhiweijian
ebd2825379 - update phy lib
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-11-21 10:19:54 +08:00
morris
5bd99deb48 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00
morris
dcaa753f37 Merge branch 'bugfix/legacy_rmt_resource_leak' into 'master'
rmt: fix memory leak in the legacy driver

Closes IDFGH-8732 and IDF-5941

See merge request espressif/esp-idf!21084
2022-11-20 16:55:39 +08:00
zhangyanjiao
fbbb762a4e update wifi lib:
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode

Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-11-18 17:56:46 +08:00
Jiang Jiang Jian
96b0cb2828 Merge branch 'bugfix/override_esp32c6_rom_regi2c_apis' into 'master'
esp_rom: override esp32c6 rom regi2c api

See merge request espressif/esp-idf!21131
2022-11-18 16:36:42 +08:00
KonstantinKondrashov
ff62e33e2d esp_hw_support: Fix coverity warnings in mac_addr API 2022-11-18 16:16:55 +08:00
wanlei
3aeedc2ad3 spi: bringup c6 spi master & slave driver support 2022-11-18 15:54:14 +08:00
Omar Chebib
6fe563163c RISC-V: fix PC not saved when using backtrace 2022-11-18 15:07:38 +08:00
Omar Chebib
d580f6b076 RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning 2022-11-18 15:07:32 +08:00
Wang Meng Yang
6a8f528e08 Merge branch 'bugfix/fix_hfp_clcc_parser_bug' into 'master'
Bugfix/Fix HFP client parse CLCC command response bug

Closes BT-2907

See merge request espressif/esp-idf!20904
2022-11-18 12:16:42 +08:00
wuzhenghui
a7f952238e bootloader: enable i2c clk at bootloader_hardware init 2022-11-18 11:17:08 +08:00
wuzhenghui
ffab6ce1bb add modem reg headers 2022-11-18 11:17:04 +08:00
Marius Vikhammer
ffb878964a Merge branch 'bugfix/c6_chip_info' into 'master'
esp-hw-support: update C6 chip info to include 802.15.4 support

See merge request espressif/esp-idf!21129
2022-11-18 09:18:04 +08:00
timoxd7
355abfdff6
Queue Send fix
Fixes rare deadlock on heavy loaded multicore-systems.
2022-11-17 20:20:29 +01:00
KonstantinKondrashov
54b06ecb62 esp_timer: Fix the stop alarm triggering when the timer list is empty
Related to ESP32-C6 chip only because this chip can power down the digital domain
during the light sleep. And after wakes up, systimer gets resumed,
and the alarm value < count value, so it leads the alarm fired immediately.
We get one unnecessary interrupt at light sleep exit time.

Other chips do not power down the digital domain related to systimer.
2022-11-17 14:32:16 +00:00
Armando (Dou Yiwen)
cee025c003 Merge branch 'bugfix/return_error_when_fail_detect_oct_psram' into 'master'
esp_psram: return error when fail to detect an octal psram

See merge request espressif/esp-idf!21033
2022-11-17 21:18:02 +08:00
morris
454fc4034c Merge branch 'contrib/github_pr_10165' into 'master'
Clarify GPIO Mask Comment (GitHub PR)

Closes IDFGH-8724

See merge request espressif/esp-idf!21068
2022-11-17 20:03:49 +08:00
Aditya Patwardhan
96585abb17 Merge branch 'feature/esp_http_client_support_secure_element' into 'master'
esp_http_client: Add option to use secure_element

Closes IDFGH-8625

See merge request espressif/esp-idf!20972
2022-11-17 19:24:31 +08:00
wuzhenghui
0d5fe4d1c3 esp_rom: put regi2c override apis to IRAM 2022-11-17 19:12:02 +08:00
Zhi Wei Jian
4a3319d381 Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3' into 'master'
Change BLE default TX power on ESP32C3 and ESP32S3

Closes BT-2867, IDFGH-8459, IDFGH-8318, and IDFGH-7439

See merge request espressif/esp-idf!20543
2022-11-17 17:56:54 +08:00
wuzhenghui
eb2444bb7f esp_rom: override i2c_reg ops api in rom phy 2022-11-17 17:23:34 +08:00
Aditya Patwardhan
ba43063314 esp_http_client: Add option to use secure_element
Closes https://github.com/espressif/esp-idf/issues/10071
2022-11-17 14:43:35 +05:30
Mahavir Jain
3247cd05e4 Merge branch 'bugfix/coverity_scan_warnings' into 'master'
Fix multiple coverity scan warnings

See merge request espressif/esp-idf!21014
2022-11-17 16:46:20 +08:00
isha.pardikar@espressif.com
3a3e7b1401 NimBLE: Fixed going for reattempt connection code 2022-11-17 13:08:22 +05:30
Darian
eb837bbb6f Merge branch 'bugfix/freertos_smp_riscv_statement_expr_macro' into 'master'
FreeRTOS(SMP): Fix SMP FreeRTOS RISC-V statement expression macro

See merge request espressif/esp-idf!21110
2022-11-17 15:35:26 +08:00
Konstantin Kondrashov
55578295db Merge branch 'feature/api_to_define_user_mac_addres' into 'master'
esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address

Closes IDFGH-5534 and IDFGH-8022

See merge request espressif/esp-idf!21036
2022-11-17 15:26:35 +08:00
morris
31d9312442 Merge branch 'contrib/github_pr_10106' into 'master'
hal/uart_ll.h: Fix compile with C++ (GitHub PR)

Closes IDFGH-8661

See merge request espressif/esp-idf!20952
2022-11-17 15:07:16 +08:00
zhangyanjiao
d11ee31bf1 Modify maximum softap conn num and espnow encryption peer num 2022-11-17 15:02:34 +08:00
Marius Vikhammer
f7a0a3040c esp-hw-support: update C6 chip info to include 802.15.4 support 2022-11-17 14:27:26 +08:00
David McCurley
0c89ab3b58 soc: update SOC_GPIO_VALID_GPIO_MASK doc
Merges https://github.com/espressif/esp-idf/pull/10165
2022-11-17 06:24:11 +00:00
Jiang Jiang Jian
7b35f8008f Merge branch 'mesh/bugfix_fix_memory_leak_issue' into 'master'
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop

Closes WIFI-5023, FCS-1081, and IDFGH-4525

See merge request espressif/esp-idf!21108
2022-11-17 13:56:23 +08:00
Armando
bf6ca71630 esp_psram: return error when fail to detect oct psram 2022-11-17 13:46:44 +08:00
laokaiyao
3b4ec64f26 i2s: support on esp32c6 2022-11-17 11:04:39 +08:00
morris
f080d647cc Merge branch 'test/move_sdio_to_pytest_app' into 'master'
sdio: move sdio related test case to it's own pytest app

Closes IDF-5501 and IDFCI-1377

See merge request espressif/esp-idf!19314
2022-11-17 10:14:59 +08:00
Radek Tandler
aad600c9ca Merge branch 'feature/storage_host_test_nvs' into 'master'
nvs_flash: Migrate host tests to CMake build system, use Linux partition API

Closes IDF-4697

See merge request espressif/esp-idf!20671
2022-11-17 02:05:35 +08:00
Jakob Hasse
c381fee319 Merge branch 'feature/esp_system_linux' into 'master'
esp_system partially buildable on Linux

Closes IDF-5983

See merge request espressif/esp-idf!21055
2022-11-16 22:38:48 +08:00
radek.tandler
ca7f073e7b nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation
Host tests of nvs_flash eligible to run in Linux implementation of nvs flash were migrated. Remaining test cases
were left in original folder. Migrated test cases use CMake instead of make.
2022-11-16 14:15:23 +01:00
KonstantinKondrashov
244cf14ea8 esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address
Closes https://github.com/espressif/esp-idf/pull/7261
Closes https://github.com/espressif/esp-idf/issues/9531
2022-11-16 19:23:10 +08:00
Darian Leung
623f20d2b5 freertos(SMP): Fix SMP FreeRTOS RISC-V statement expression macro
Macros that need to reteurn a value should use GCC statement expression macro
syntax. This commit fixes the portTRY_ENTER_CRITICAL() in the RISC-V port of
SMP FreeRTOS to be a statement expression macro.
2022-11-16 17:51:10 +08:00
Jakob Hasse
cce1f9dee4 Merge branch 'feature/freertos_task_notification_configurable' into 'master'
freertos: make num of task notifications configurable

Closes IDFGH-7819

See merge request espressif/esp-idf!20880
2022-11-16 17:11:03 +08:00
Jakob Hasse
5b3a645813 feat(esp_system): Partially buildable on Linux now 2022-11-16 09:03:09 +01:00
zwj
b2a17e9d4c 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-16 15:58:32 +08:00
zwj
39c03e0ce0 Fixed errors reported by CI clang_tidy_check 2022-11-16 15:58:31 +08:00
Darian Leung
8b98e4e3b8 freertos(IDF): Restore vanilla call behavior on xTaskIncrementTick() and vTaskSwitchContext()
Due to SMP, critical sections have been added to xTaskIncrementTick() and
vTaskSwitchContext() (to take the xKernelLock). However, this is technically
not necessary when building for single-core as FreeRTOS expect these funcitons
to be called with interrupts already disabled.

This commit makes the critical secitons in those functions depend on
"configNUM_CORES > 1", and ensures that interrupts are disabled when calling
those functions. This effectively restores the vanilla behavior for these
functions when building for single-core.
2022-11-16 15:50:21 +08:00
Darian Leung
087e4318a6 freertos(IDF): Use common macros for SMP specific critical sections
In IDF FreeRTOS, when building for SMP, there are numerous functions
which require different critical sections when compared to single-core. This
commit encapsulates those difference into a common set of macros whose
behavior depends on "configNUM_CORES > 1". As such...

- Vanilla behavior has been restored for some functions when building for
  single core (i.e., used to call taskENTER_CRITICAL, now disables interrupts
  mactching vanilla behavior).
- Reduces number of "#ifdef (configNUM_CORES > 1)" in functions
- Any SMP only critical sections are now wrapped by
  "#ifdef (configNUM_CORES > 1)" and properly documented via comments.
2022-11-16 15:50:21 +08:00
Darian
4c1ff6016a Merge branch 'bugfix/freertos_smp_xtensa_port_disable_interrupt_macro' into 'master'
FreeRTOS(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port

See merge request espressif/esp-idf!21093
2022-11-16 15:47:11 +08:00
zwj
d074b74e1f Fixed sometimes BTU task overflow when doing read and write performance test 2022-11-16 15:44:29 +08:00
zwj
8dc4207e69 change default tx power from 3dBm to 9dBm 2022-11-16 15:44:29 +08:00
zhangyanjiao
eab2ce1ca8 esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-11-16 14:14:07 +08:00
wanlei
ee4f4ac3e0 test: move sdio unit-test to test_apps 2022-11-16 11:22:31 +08:00
Sudeep Mohanty
ac99c0ad6b Merge branch 'feature/freertos_remove_untested_fn_feature' into 'master'
freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option

Closes IDF-5298

See merge request espressif/esp-idf!21000
2022-11-16 10:28:42 +08:00
morris
f7f3c514df Merge branch 'feature/esp_rom_alias_mz_crc32_to_crc32_le' into 'master'
move {target}/rom/miniz.h to common miniz.h

Closes IDFGH-8737

See merge request espressif/esp-idf!21083
2022-11-16 03:16:42 +08:00
Mahavir Jain
79216c657e
esp_http_server: modify error print for clarifying internal socket usage
Closes https://github.com/espressif/esp-idf/issues/10108
Closes IDFGH-8663
2022-11-15 20:46:35 +05:30
Mahavir Jain
34f3287323
esp_http_server: fix default control port for HTTPS configuration
For simultaneous HTTP and HTTPS server use-case, default configurations
set same control socket port and hence one of the server initialization
fails with an error "error in creating control socket".

This commit modifies default initializers to use different control
socket port in HTTP vs HTTPS server case.

Closes https://github.com/espressif/esp-idf/issues/10160
Closes IDFGH-8719
2022-11-15 20:46:35 +05:30
Marius Vikhammer
73724b0d41 Merge branch 'bugfix/c2_chip_info_gpio_range' into 'master'
hw-support: update C2 chip info to reflect that esp8684 has embedded flash

Closes IDFGH-8735 and IDFGH-8734

See merge request espressif/esp-idf!21064
2022-11-15 20:39:06 +08:00
morris
06b8d395fb Merge branch 'feature/esp_lcd_spi_support_3wire_half-duplex' into 'master'
esp_lcd: support serial interface-I mode for spi LCD

See merge request espressif/esp-idf!21077
2022-11-15 19:54:56 +08:00
Ondrej
6fff81d970 esp_eth: receive buffer allocation optimization
Receive buffers are allocated with a size equal to actual received frame size
2022-11-15 10:44:12 +00:00
Jakob Hasse
73d9d83a2f feat(freertos): make num of task notifications configurable
Closes https://github.com/espressif/esp-idf/issues/9349
2022-11-15 09:36:42 +01:00
jiangguangming
08fd77a09a move {target}/rom/miniz.h to a common miniz.h
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32

Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
Jiang Jiang Jian
e4bb9cb2b1 Merge branch 'bugfix/ble_mesh_event_typo_fix' into 'master'
ble_mesh: stack: Fix typo in directly erase settings event

See merge request espressif/esp-idf!20908
2022-11-15 15:34:59 +08:00
liqigan
a025dfd965 optimize HID Host disconnection procedure 2022-11-15 15:15:50 +08:00
liqigan
df7449615b fix HFP client parse CLCC command response bug 2022-11-15 15:14:42 +08:00
Darian Leung
816ddc8867 freertos(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port
The portDISABLE_INTERRUPTS() macro on Xtensa should return only the interrupt
mask/level before the interrupts were disabled. Previously, the entire contents
of PS register were returned (i.e., direct return from RSIL instruction without
any bit masking or shifting).

This commit fixes the portDISABLE_INTERRUPTS() macro to return the INTLEVEL
bitfield of the PS register.
2022-11-15 14:57:24 +08:00
Darian
fd9c88ac85 Merge branch 'feature/freertos_smp_add_unit_tests_config' into 'master'
FreeRTOS(SMP): Add Amazon SMP FreeRTOS unit test configuration

See merge request espressif/esp-idf!21028
2022-11-15 14:54:23 +08:00
morris
6c8807e789 rmt: fix memory leak in the legacy driver
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-15 06:29:59 +00:00
Simon Arlott
d1993c01f2 hal/uart_ll.h: Fix compile with C++
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.

All of the enums need explicit casts for conversion to/from integers.

Merges https://github.com/espressif/esp-idf/pull/10106
2022-11-15 06:29:05 +00:00
Jiang Jiang Jian
6cbedbfa57 Merge branch 'mesh/bugfix_fix_invalid_child_issue' into 'master'
esp_wifi_mesh: fix invalid child issue

Closes IDFGH-8290

See merge request espressif/esp-idf!20270
2022-11-15 11:28:28 +08:00
Wan Lei
602884e668 Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
spi_slave: add a private API to reset transaction queue

Closes IDF-5033

See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
David Čermák
b5f69e5fb7 Merge branch 'bugfix/tcp_transport_err_propagate' into 'master'
tcp_transport: Fix error propagation on tcp_read()

Closes IDFGH-8549, IDF-6202, and ESPAT-1346

See merge request espressif/esp-idf!20913
2022-11-15 00:46:47 +08:00
Jakob Hasse
7fd27f338a Merge branch 'bugfix/esp_ds_encrypt_param_doc' into 'master'
esp_ds: remove requirement of aligned and DMA capable buffer from docs

See merge request espressif/esp-idf!21012
2022-11-14 23:17:35 +08:00
Jiang Jiang Jian
8ea3865430 Merge branch 'feature/support_ble_memory_release_on_esp32c2' into 'master'
Support BLE memory release on ESP32C2

See merge request espressif/esp-idf!20838
2022-11-14 19:32:01 +08:00
Liu Zhongwei
1a7cdc095b esp_lcd: add condition for spi to keep cs low 2022-11-14 17:55:27 +08:00
shenjun
8dc397d88a esp_wifi_mesh: update wifi mesh libs
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-11-14 17:48:17 +08:00
Armando (Dou Yiwen)
66b1c34095 Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3' into 'master'
PSRAM: remove CS/CLK pin settings in kconfig on ESP32S2/S3

Closes IDF-5966

See merge request espressif/esp-idf!20162
2022-11-14 17:36:44 +08:00
Liu Zhongwei
4bdba8bdc6 esp_lcd: modify flag name 2022-11-14 17:29:24 +08:00
zhangwenxu
33467831fc openthread: rename h2 to h4 2022-11-14 17:22:00 +08:00
Liu Zhongwei
48ce2037be esp_lcd: support serial interface-I mode for spi LCD 2022-11-14 16:33:36 +08:00
Armando
ea0b839302 spi: limit esp32 dma workaround only on esp32 2022-11-14 16:01:48 +08:00
Armando
a7289587d3 spi_slave: add a test to internal api spi_slave_reset_trans_queue 2022-11-14 16:01:48 +08:00
Armando
3dc36f622c spi_slave: add a private API to reset transaction queue 2022-11-14 16:01:48 +08:00
Mahavir Jain
769ec42899 Merge branch 'fix/fix_esp_cryptoauthlib_dependency_for_esp_tls' into 'master'
esp-tls: Fix esp-cryptoauthlib built dependency when secure element

See merge request espressif/esp-idf!21051
2022-11-14 15:14:53 +08:00
Mahavir Jain
f7274940b9 Merge branch 'feature/esp_https_ota_events' into 'master'
esp_https_ota: Added support for esp_events

See merge request espressif/esp-idf!20898
2022-11-14 15:14:21 +08:00
Song Ruo Jing
eae70a8513 Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep' into 'master'
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup

Closes IDF-6122

See merge request espressif/esp-idf!20823
2022-11-14 12:48:40 +08:00
Omar Chebib
69d80b200c Merge branch 'bugfix/xtensa_freertos_16B_aligned' into 'master'
FreeRTOS: Make the default stack alignment 16 for Xtensa

Closes IDF-3604

See merge request espressif/esp-idf!21040
2022-11-14 10:53:10 +08:00
Marius Vikhammer
beeef9df2c hw-support: update C2 chip info to reflect that esp8684 has embedded flash
Closes https://github.com/espressif/esp-idf/issues/10175
2022-11-14 10:12:32 +08:00
Wan Lei
e7879abbcc Merge branch 'test/move_driver_tests_into_test_apps' into 'master'
uart: move uart and rs485 tests to test_apps

Closes IDF-5500

See merge request espressif/esp-idf!19050
2022-11-13 15:59:03 +08:00
Song Ruo Jing
d0a7dc3e9f gpio: Fix IO hold function related problems
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API

docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2022-11-11 20:39:04 +08:00
Song Ruo Jing
dd311381a4 rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup 2022-11-11 20:39:04 +08:00
Roland Dobai
43deee5374 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-11 12:59:46 +01:00
Liu Ning
6bb28c4cdc Merge branch 'bugfix/publish_wifi_connectionless_feature' into 'master'
esp_wifi: fix connectionless issues and add connectionless power-save documenation

Closes BT-2595 和 WIFI-4822

See merge request espressif/esp-idf!20600
2022-11-11 19:40:15 +08:00
Omar Chebib
bcb8516744 FreeRTOS: Make the default stack alignment 16 for Xtensa 2022-11-11 19:31:20 +08:00
Aditya Patwardhan
c099209d7c esp-tls: Fix esp-cryptoauthlib built dependency when secure element
support is enabled
2022-11-11 16:13:15 +05:30
Zim Kalinowski
69926e6915 Merge branch 'bugfix/enable_static_task_cleanup_riscv_smp' into 'master'
freertos-smp: Enabled static task cleanup for RISC-V targets with FreeRTOS SMP

Closes IDF-6207

See merge request espressif/esp-idf!21035
2022-11-11 18:42:46 +08:00
Jiang Jiang Jian
35faecca57 Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected' into 'master'
fixed the issue iOS devices cannot initiate connection

Closes IDFGH-4754 and AUD-4085

See merge request espressif/esp-idf!20703
2022-11-11 18:27:50 +08:00
wanlei
76ddc2b8a7 test: move rs485 test to test_app 2022-11-11 16:59:40 +08:00
wanlei
fb7d8f49be test: move uart test to test_app 2022-11-11 16:59:40 +08:00
wangyuanze
6fc51c06c7 uart: force inline ll functions 2022-11-11 16:59:40 +08:00
gaoxu
c1bdd9c697 psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3 2022-11-11 16:40:46 +08:00
Chen Yu Dong
a05e8996ab Merge branch 'ci/migrate_wifi_unit_test_app' into 'master'
CI: Migrate wifi unit tests to componment_ut

Closes IDF-5586

See merge request espressif/esp-idf!20787
2022-11-11 16:24:49 +08:00
liuning
b153469841 esp_wifi: fix some connectionless related issue and add connectionless power save guide 2022-11-11 15:59:19 +08:00
Harshit Malpani
a80dfe85bc
esp_https_ota: Send data to event handler 2022-11-11 11:44:17 +05:30
Mahavir Jain
5ac2bb77a1 Merge branch 'contrib/github_pr_10130' into 'master'
allow https server to accept and pass thru alpn protocols (GitHub PR)

Closes IDFGH-8686

See merge request espressif/esp-idf!21008
2022-11-11 14:10:31 +08:00
Wan Lei
c09322430a Merge branch 'test/move_gpspi_to_pytest_app' into 'master'
spi: move spi related unit test into itself pytest app

Closes IDF-5499 and IDFCI-1377

See merge request espressif/esp-idf!19341
2022-11-11 12:18:26 +08:00
Darian
bae4a5c30c Merge branch 'refactor/freertos_10.4.3_sync_non_behavioral_changes' into 'master'
FreeRTOS(IDF): Sync remaning v10.4.3 cosmetic differences

See merge request espressif/esp-idf!20983
2022-11-11 02:35:46 +08:00
Jiang Guang Ming
435e0553b6 Merge branch 'bugfix/2nd_bootloader_custom_uart1_print_issue' into 'master'
bootloader_support: fix uart1 no printing in the 2nd bootloader stage

See merge request espressif/esp-idf!20935
2022-11-11 00:06:15 +08:00
Chen Yudong
a78d492091 pytest: use case_tester for multi-device tests 2022-11-10 22:29:05 +08:00
Vilem Zavodny
ed26b01e31 Merge branch 'feature/esp_lcd_register_io_callback' into 'master'
esp_lcd: Add function for register on color done callback.

Closes IDF-6196

See merge request espressif/esp-idf!20968
2022-11-10 21:08:09 +08:00
Sudeep Mohanty
a0991dfffa freertos-smp: Enabled static task cleanup for RISC-V targets with FreeRTOS SMP
This commit enables static task clean up for RISC-V targets with
FreeRTOS SMP.
2022-11-10 13:40:40 +01:00
Krzysztof Budzynski
acedae1313 Merge branch 'docs/fix-typo-touch-pad-esp32s2-esp32s3' into 'master'
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3

Closes DOC-4065

See merge request espressif/esp-idf!20956
2022-11-10 19:24:04 +08:00
Darian Leung
915787249a freertos(IDF): Provide default value to configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS
This commit updates how configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS is defined
by default it to 0 if not defined elsewhere. Dependent code now check for
"configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS == 1" instead.
2022-11-10 18:37:42 +08:00
Darian Leung
fce4ee0b80 freertos(IDF): Sync cosmetic differences to v10.4.3
This commit synchronize the cosmetic differences of IDF FreeRTOS to upstream
Vanilla v10.4.3. Comsetic differences include:

- Out of date doxygen API descriptions
  - Misnamed parameters
  - Missing examples
  - Fixed/added missing @cond/@code directives
- Extra/missing comments/lines
- Code formatting (uncrustify)

Other changes:

- Some ESP_PLATFORM directives were also removed
- xTaskIncrementTickOtherCores() now depends on "configNUM_CORES > 1"
- Updated some multi-core dummy variable names in FreeRTOS.h
2022-11-10 18:37:42 +08:00
jiangguangming
618dfaa67a esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips 2022-11-10 16:57:28 +08:00
jiangguangming
8f807d8964 bootloader_support: fix uart1 no printing in the 2nd bootloader stage 2022-11-10 16:24:26 +08:00
wanlei
45cf44e5c8 test: move 'driver/test/esp_serial_slave_link' to 'driver/test-apps/components' and make it be a component 2022-11-10 16:02:03 +08:00
wanlei
f31ecbb42b test: move spi related unit-test into pytest app 2022-11-10 16:02:03 +08:00
Darian Leung
5e5a40f7ac freertos: Add Amazon SMP FreeRTOS unit test configuration 2022-11-10 16:01:15 +08:00
wanlei
312bc6cb3a test: make 'test_common_spi' as a components named 'test_utils_spi' 2022-11-10 15:51:29 +08:00
Vilem Zavodny
747c5993a8 esp_lcd: Add function for register on color done callback. 2022-11-10 08:37:46 +01:00
lly
279ddd2ee9 ble_mesh: stack: Fix typo in directly erase settings event 2022-11-10 06:44:51 +00:00
Darian Leung
ae3383ddc5 freertos: Remove/restore queue locks for multi-core/single-core
This commit removes the updates the usage of queue locks in IDF FreeRTOS

Queue locks are present in Vanilla FreeRTOS to ensure that queue functions
behave deterministicly in critical sections (i.e., no walking linked lists
while interrupts are disabled). However, currently in IDF FreeRTOS...

- When configNUM_CORES > 1, IDF FreeRTOS drops the determinism requirement.
Thus, queue functions could be simplified if queue locks were not used at all
(and have a queue function do everything inside the same critical section).

- When configNUM_CORES == 1, the current queue implementation in IDF FreeRTOS
does not meet the determinism requirements, as critical sections are used
(instead of scheduler suspension) when locking/unlocking the queues.

There, this commit updates multiple queue functions so that

- When configNUM_CORES > 1
    - Queue locks are no longer used. All actions are done within the same
      critical section.
    - Affected queue functions now need 40% less CPU clock cycles when blocking
- When configNUM_CORES = 1
    - Queue locks are still used.
    - Vanilla behavior of suspending the scheduler is restored when locking
      the queue. Thus queue fucntions are now deterministic and have the same
      behavior as Vanilla FreeRTOS.
    - Affected queue functions now takes 36% more CPU clock cycles when
      blocking (due to the scheduler suspension/resumption).
2022-11-10 14:39:47 +08:00
Kapil Gupta
93dd1b2175 Merge branch 'bugfix/fixing_memory_leak_in_wps_scan_master' into 'master'
Adds improvements to esp_wps code to cover up potential memory leaks.

See merge request espressif/esp-idf!20741
2022-11-10 12:39:26 +08:00
Jiang Jiang Jian
812b9b3221 Merge branch 'bugfix/fix_softap_not_send_null_data_issue' into 'master'
esp_wifi:fix some soft ap issues

Closes WIFI-4447

See merge request espressif/esp-idf!19336
2022-11-10 12:08:11 +08:00
Chen Yudong
074e3f39de CI: Migrate wifi unit tests to componment_ut 2022-11-10 01:17:10 +08:00
muhaidong
cc4be9946d esp_wifi: fix some softap issues
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-11-09 20:47:44 +08:00
Armando
aba9f80cd2 partition: use esp_partition_munmap instead of spi_flash_munmap 2022-11-09 20:15:17 +08:00
Kevin (Lao Kaiyao)
5bed8fab49 Merge branch 'refactor/rename_h2_to_h4' into 'master'
esp32h2: renaming esp32h2 to esp32h4

Closes IDF-6098

See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
morris
7c1ed22ba2 Merge branch 'feature/bringup_spiflash_esp32c6' into 'master'
spi_flash: bringup driver for esp32c6

Closes IDF-5333, IDF-4066, IDF-5631, and IDF-5659

See merge request espressif/esp-idf!20692
2022-11-09 18:36:00 +08:00
Michael (XIAO Xufeng)
34e434451a Merge branch 'bugfix/esp32s3_efuse_wafer_major' into 'master'
esp32s3: fixed bug chip v0.0 detected as vX.0

See merge request espressif/esp-idf!20947
2022-11-09 18:20:31 +08:00
Mahavir Jain
b168ba98ae
esp_ds: remove requirement of aligned and DMA capable buffer
API `esp_ds_encrypt_params` do not require aligned and DMA capable
output buffer for C3/S3/H2/C6. Implementation in ROM code has been
updated to remove usage of DMA mode.

This commit updates the API documentation.
2022-11-09 15:24:36 +05:30
Mahavir Jain
322301238f
esp_https_server: fix build failure due to syntax error 2022-11-09 15:11:22 +05:30
Marius Vikhammer
b544fae3b5 Merge branch 'bugfix/esp_timer_isr_dispatch_test_fail' into 'master'
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error

Closes IDFCI-1514

See merge request espressif/esp-idf!21006
2022-11-09 16:45:19 +08:00
Alexey Gerenkov
dbc3409d6c Merge branch 'bugfix/fix_asm_xtensa_vectors' into 'master'
freertos: fix gnu asm extensions.

See merge request espressif/esp-idf!19167
2022-11-09 16:28:50 +08:00
Sudeep Mohanty
0744f4d5a5 freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option
This commit removes the unused FreeRTOS kconfig option
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION.
2022-11-09 08:14:16 +01:00
Harshit Malpani
784089bf09
esp_https_ota: Added support for esp_events 2022-11-09 12:30:50 +05:30
Akos Vandra
b60a9e6678 add alpn initializer in esp https server default 2022-11-09 07:55:26 +01:00
Jiang Jiang Jian
e6c57c0d14 Merge branch 'bugfix/modify_wifi_scan_return_value' into 'master'
esp_wifi: modify wifi scan return value

Closes WIFI-4734, IDFGH-8236, IDFGH-8250, IDFGH-8436, DOC-3115, DOC-3134, IDFGH-5762, WIFI-4522, and WIFI-4523

See merge request espressif/esp-idf!20021
2022-11-09 13:55:42 +08:00
Jiang Jiang Jian
9be51458ba Merge branch 'bugfix/wpa_enterprise_reauth' into 'master'
esp_wifi: Fix WiFi Enterprise Reauthentication issue

See merge request espressif/esp-idf!20601
2022-11-09 13:53:14 +08:00
Rahul Tank
2a6e789163 Merge branch 'bugfix/notify_gattc_to_gatts' into 'master'
NimBLE : Change GATT notify/indicate from gattc to gatts

See merge request espressif/esp-idf!20872
2022-11-09 13:43:03 +08:00
Cao Sen Miao
d9f01ed43c spi_flash: bringup for esp32c6 2022-11-09 12:50:46 +08:00
Marius Vikhammer
8d24aa1760 ci: fix esp_timer 26 MHz not being assigned to correct runner 2022-11-09 12:30:46 +08:00
muhaidong
e972161b7a esp_wifi: Modify wifi scan return value.
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-09 11:43:09 +08:00
zhangyanjiao
c8d0704f1c update doc for set channel 2022-11-09 11:42:26 +08:00
zhangyanjiao
3f87a9824a update wifi reason code 2022-11-09 11:42:26 +08:00
Marius Vikhammer
e9671ee04f esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error 2022-11-09 11:17:35 +08:00
Jiang Jiang Jian
5f0cb567cb Merge branch 'bugfix/wapi_gtk_gcmp_frag_pn' into 'master'
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.

Closes WIFI-3799 and WIFI-5009

See merge request espressif/esp-idf!20986
2022-11-09 11:04:55 +08:00
Zim Kalinowski
d2d0294714 Merge branch 'bugfix/idf_ci_build_is_not_set' into 'master'
ci: Fix environment variable IDF_CI_BUILD is not set

See merge request espressif/esp-idf!20944
2022-11-09 00:47:50 +08:00
Ondrej
0f939e7ace esp_netif: lwIP bridge FDB add entry minor fix
examples: extended Bridge example by interactive console to manage FDB entries
2022-11-08 14:16:21 +00:00
Shreyas Sheth
7de54eabf4 esp_wifi: Bugfix WPA Enterprise Reauthentication issue 2022-11-08 18:10:28 +05:30
KonstantinKondrashov
1a9ca94ac6 ci: Fix environment variable IDF_CI_BUILD is not set 2022-11-08 18:23:39 +08:00
Mahavir Jain
a2616c0ab5
protocomm: fix multiple coverity warnings
- comparing array with NULL
- dereferencing null pointer
- resource leak
2022-11-08 15:50:42 +05:30
Mahavir Jain
afe159bfb9
esp_https_server: fix coverity warning about null pointer dereference 2022-11-08 15:45:44 +05:30
alex.li
67c557f9c4 esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently. 2022-11-08 17:31:44 +08:00
Mahavir Jain
bdefd7fb6b Merge branch 'esp32c6/add_ecc_support' into 'master'
esp32c6: Add support for ECC peripheral

Closes IDF-5820

See merge request espressif/esp-idf!20950
2022-11-08 17:06:53 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
isha.pardikar@espressif.com
b950ddb0fd NimBLE : Change GATT notify/indicate from gattc to gatts 2022-11-08 14:02:54 +05:30
Jiang Jiang Jian
895d97d765 Merge branch 'feature/add_target_esp32c2_external_coex' into 'master'
Support external coexist formal code for C2 & S3, and optimize RX category in external coex.

Closes WIFI-4870

See merge request espressif/esp-idf!18385
2022-11-08 14:38:17 +08:00
C.S.M
86aa012c26 Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
I2C: Add i2c support for ESP32C6

Closes IDF-5326 and IDF-5327

See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
alex.li
f463f00454 esp_wifi: Support external coex for C2 & H2.(59313b6c) 2022-11-08 11:31:30 +08:00
alex.li
bc392a87b1 Support external coexist formal code for C2 & S3,
and optimize RX category in external coex.
2022-11-08 11:11:41 +08:00
Rahul Tank
e085cfd310 Merge branch 'bugfix/fix_BLE_UUIDy_int_struct_format' into 'master'
Nimble: Allows to use `ble_uuid.h` with C++ by changing the BLE_UUIDy_INIT macros

See merge request espressif/esp-idf!19729
2022-11-08 08:20:48 +08:00
Zim Kalinowski
98ff59b394 Merge branch 'bugfix/fix_stack_overflow_on_s3_with_freertos_smp' into 'master'
freertos-smp: Fixed stack overflow on esp32s3 with FreeRTOS SMP

Closes IDF-5509 and IDF-4982

See merge request espressif/esp-idf!20932
2022-11-08 03:36:49 +08:00
Jiang Jiang Jian
48e2f381d4 Merge branch 'contrib/github_pr_10082' into 'master'
esp_wifi: Fix deprecated CONFIGs still being used, causing WiFi to not work when SPIRAM is enabled (GitHub PR)

Closes IDFGH-8637

See merge request espressif/esp-idf!20893
2022-11-07 23:07:24 +08:00
Akos Vandra
df5a25aa40 allow https server to accept and pass thru alpn protocols to the underlying esp-tls server 2022-11-07 15:27:00 +01:00
Zim Kalinowski
94c0e3bbe2 Merge branch 'bugfix/share_intr' into 'master'
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags

See merge request espressif/esp-idf!20936
2022-11-07 18:34:53 +08:00
morris
f69a53f56d Merge branch 'feature/twai_bringup_esp32c6' into 'master'
TWAI: initial driver bring up on esp32c6 (TWAI0 only)

Closes IDF-5313 and IDF-5940

See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
morris
9f18a0bb5b Merge branch 'doc/explain_ledc_callback_return_value' into 'master'
ledc: explain the callback return value

Closes IDFGH-8647

See merge request espressif/esp-idf!20916
2022-11-07 17:55:59 +08:00
Zim Kalinowski
9da7deaa7c Merge branch 'task/update_freertos_smp_kernel_source' into 'master'
freertos-smp: Updated the FreeRTOS SMP kernel source to the latest commit

See merge request espressif/esp-idf!20911
2022-11-07 17:32:37 +08:00
muhaidong
4953f59b25 esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM 2022-11-07 17:09:00 +08:00
Ronen Ulanovsky
ccd5a5a866 esp_wifi: replace deprecated CONFIGS with their new versions. Also
fixes WiFi when SPIRAM is enabled in certain non esp-idf projects.
2022-11-07 17:08:45 +08:00
Sudeep Mohanty
9bb8f0e38d freertos-smp: Fixed stack overflow on esp32s3 with FreeRTOS SMP
The following changes have been made in this commit:
1. configMINIMAL_STACK_SIZE is now defined as CONFIG_FREERTOS_IDLE_TASK_STACKSIZE.
2. Removed configIDLE_TASK_STACK_SIZE config as it was redundant.
3. Updates the order of allocating the TCB and stack memory to avoid the
   stack memory overriding the TCB memory when the stack grows downwards.
4. CONFIG_FREERTOS_IDLE_TASK_STACKSIZE is now incorporated into the
   FreeRTOSConfig_smp.h to configure the IDLE0 stack size.
2022-11-07 09:59:02 +01:00
Zim Kalinowski
9d93585f8e Merge branch 'feature/esp_timer_migrate_from_ut_app_to_test_app' into 'master'
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app

Closes IDF-5585

See merge request espressif/esp-idf!20760
2022-11-07 16:27:50 +08:00
Sudeep Mohanty
b05bcf465e Merge branch 'bugfix/reapply_commit_a65165dd5' into 'master'
hal: Fix incorrect spi_hal log usage

Closes IDF-5275 and IDF-5276

See merge request espressif/esp-idf!20939
2022-11-07 16:04:19 +08:00
Jiang Jiang Jian
0c8272b2e0 Merge branch 'feature/optimize_blufi_example' into 'master'
blufi: optimize example to send more information

Closes IDFGH-6842 and IDFGH-6809

See merge request espressif/esp-idf!19853
2022-11-07 15:09:58 +08:00
Rahul Tank
1d322f9a8c Nimble: Allows to use ble_uuid.h with C++ by changing the BLE_UUIDy_INIT macros 2022-11-07 12:25:34 +05:30
Linda
5406c80d99 docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3 2022-11-07 14:32:26 +08:00
Cao Sen Miao
803fc3fbe0 I2C: Add i2c support for ESP32C6 2022-11-07 14:12:53 +08:00
Jiang Jiang Jian
9d7facf284 Merge branch 'remove_deprecated_rc4' into 'master'
Removed some occurences of the RC4 cipher suite

Closes IDF-4983

See merge request espressif/esp-idf!19856
2022-11-07 13:57:51 +08:00
Darian
598dd5f261 Merge branch 'feature/usb_host_inflight_transfer_check' into 'master'
USB Host: Fix usbh_dev_open(), Fix usbh_ep_alloc(), Add USB Host Library check to prevent resubmitting inflight transfers

Closes IDFGH-7145

See merge request espressif/esp-idf!20688
2022-11-07 13:39:07 +08:00
jgujarathi
2272350820 (esp_wifi) : Adds improvements to esp_wps.c to cover up potential memory leaks. 2022-11-07 10:53:44 +05:30
Sachin Parekh
69c8df5e49 esp32c6: Add support for ECC peripheral 2022-11-07 10:42:33 +05:30
liuning
785248b3c7 blufi: update version to 1.3
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-11-07 13:11:20 +08:00
zhangyanjiao
a37e3b5271 esp_wifi: report rssi info in wifi event 2022-11-07 13:11:14 +08:00
Jiang Jiang Jian
ed36caabfd Merge branch 'bugfix/fix_long_time_to_get_ip' into 'master'
LWIP: fix the bug that long time to get IP

Closes WIFI-4932

See merge request espressif/esp-idf!20656
2022-11-07 12:17:26 +08:00
Jiang Jiang Jian
6700c041e9 Merge branch 'bugfix/check_ies_in_match_security' into 'master'
Adding check for ies in match security

Closes WIFI-4720

See merge request espressif/esp-idf!20537
2022-11-07 11:19:08 +08:00
Michael (XIAO Xufeng)
32ef2b321a esp32s3: fixed bug chip v0.0 detected as vX.0
A typical value is 2.0.
2022-11-06 02:37:32 +08:00
KonstantinKondrashov
9f41525d99 esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app 2022-11-05 22:53:38 +08:00
Mahavir Jain
960a84db47 Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled' into 'master'
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled

Closes IDF-6136

See merge request espressif/esp-idf!20805
2022-11-04 20:38:24 +08:00
gauri patankar
ef80cf0b65 Adding check for ies in match security 2022-11-04 17:01:30 +05:30
Zim Kalinowski
b354b457c8 Merge branch 'feature/freertos_smp_enable_static_task_cleanup' into 'master'
freertos-smp: Enable static task cleanup

See merge request espressif/esp-idf!20870
2022-11-04 19:18:03 +08:00
Kevin (Lao Kaiyao)
48b23b7c46 Merge branch 'feature/support_4_line_pdm_rx_on_esp32s3' into 'master'
i2s: support 4 line pdm rx on esp32s3

Closes IDF-6120

See merge request espressif/esp-idf!20753
2022-11-04 18:44:52 +08:00
Zim Kalinowski
8184f03115 Merge branch 'bugfix/esp_rom_const_correctness' into 'master'
esp_rom: Fixed writable string issue on Linux implementation

Closes IDF-6187

See merge request espressif/esp-idf!20925
2022-11-04 18:16:33 +08:00
morris
a83165fea0 twai: add initial version of driver component test 2022-11-04 17:40:29 +08:00
morris
a25123f703 twai: bringup on esp32c6 2022-11-04 17:40:29 +08:00
morris
6828c011d9 twai: define clock source name
twai clock source is target-specific,
this commit is to define them in the soc layer
2022-11-04 17:40:29 +08:00
morris
f02facbe28 twai: describe peripheral info
Describe peripheral informations in the twai_peirph.c, including:

Interrupt number, GPIO matrix signal ID, etc
2022-11-04 17:40:29 +08:00
Rahul Tank
6b213b2c2a Merge branch 'bugfix/fix_compilation_issue_blufi' into 'master'
Blufi: Corrected macro used in memcpy to copy address

See merge request espressif/esp-idf!20929
2022-11-04 17:34:27 +08:00
Jiang Jiang Jian
8facf6fbb1 Merge branch 'feature/support_le_power_control' into 'master'
Nimble: Add LE Power control HCI Command / Event

See merge request espressif/esp-idf!15773
2022-11-04 17:21:19 +08:00
Jiang Jiang Jian
6fb6bdf6dd Merge branch 'bugfix/wpa_sm_cleanup' into 'master'
esp_wifi: Remove unnecessary function pointers from wpa_sm_init

See merge request espressif/esp-idf!19833
2022-11-04 16:45:42 +08:00
Darian Leung
cf4fea3206 hal: Fix incorrect spi_hal log usage
esp_flash_init_main() can be during startup before the OS has started, thus should use
the EARLY version of logging.
2022-11-04 09:07:30 +01:00
Michael (XIAO Xufeng)
c546de8d82 Merge branch 'feature/apply_new_version_logic' into 'master'
all: Apply new version logic (major * 100 + minor)

Closes IDF-4932 and IDF-4939

See merge request espressif/esp-idf!18787
2022-11-04 16:01:32 +08:00
laokaiyao
fa9b022f68 i2s: support 4 line pdm rx on esp32s3 2022-11-04 15:46:34 +08:00
Ivan Grokhotkov
b14116ff95 Merge branch 'feature/partition_api_new_component_2' into 'master'
Storage: Partition APIs moved to the new component 'esp_partition'

Closes IDF-1234

See merge request espressif/esp-idf!20747
2022-11-04 14:59:08 +08:00
Marius Vikhammer
1d5d624605 intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
Mark the vector descriptor source as freed.
2022-11-04 06:39:00 +00:00
Darian
7b90c608fa Merge branch 'bugfix/freertos_fix_flakey_delay_tests' into 'master'
FreeRTOS: Fix flakey vTaskDelayUntil() test

See merge request espressif/esp-idf!20931
2022-11-04 14:24:27 +08:00
Mahavir Jain
4b6d9c8ad3 Merge branch 'feature/esp_tls_add_cert_selection_callback' into 'master'
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access...

Closes IDFGH-8363 and IDFGH-8340
Closes https://github.com/espressif/esp-idf/issues/9815

See merge request espressif/esp-idf!20690
2022-11-04 12:47:17 +08:00
laokaiyao
9b8a78153f i2s: refactor soc caps 2022-11-04 12:31:12 +08:00
Jiang Jiang Jian
4c8f4ff0fd Merge branch 'feature/bss_retry_cnt' into 'master'
esp_wifi: Add config option for AP retry count

See merge request espressif/esp-idf!20879
2022-11-04 12:22:50 +08:00
Kevin (Lao Kaiyao)
75e6c1f3d5 Merge branch 'refactor/unify_adc_dac_api_format' into 'master'
dac: update API and file format aligning to the rule

See merge request espressif/esp-idf!20920
2022-11-04 11:29:18 +08:00
Jakob Hasse
a995c83060 Merge branch 'feature/freertos_linux_target_add_features' into 'master'
freertos/linux: added event group and stream buffer

Closes IDF-6007

See merge request espressif/esp-idf!20878
2022-11-03 19:05:06 +08:00
Jakob Hasse
44aa3c3a7f bugfix(esp_rom): Fixed writable string issue on Linux implementation 2022-11-03 11:45:19 +01:00
Rahul Tank
4641f84998 Nimble: Corrected macro used in memcpy to copy address 2022-11-03 15:59:16 +05:30
Darian Leung
95cfd32871 freertos: Fix flakey task delay tests
This commit fixes flakey task delay tests when running on IDF FreeRTOS. IN IDF
FreeRTOS, core 1's tick interrupts could be up to (< 1 tick) out of phase from
core 0's tick interrupt, thus the measured delay time on core 1 could last 1
tick longer. This commit makes the test detla 2 ticks for IDF FreeRTOS.
2022-11-03 18:22:58 +08:00
morris
89d0172488 Merge branch 'feature/esp32c6_rom_support_more_components' into 'master'
esp_rom: update esp32c6 rom caps

Closes IDF-5632

See merge request espressif/esp-idf!20899
2022-11-03 17:06:15 +08:00
Michael (XIAO Xufeng)
f2aa736c7b esp32c2: put v2.0 back to development stage 2022-11-03 08:36:23 +00:00
KonstantinKondrashov
1f9260d790 all: Apply new version logic (major * 100 + minor) 2022-11-03 08:36:23 +00:00
Aditya Patwardhan
14e64783e7 esp-tls/Kconfig: Fix dependency for ESP-TLS Server menuconfig option 2022-11-03 07:17:05 +00:00
Aditya Patwardhan
8ad4de7991 esp-tls: Add changes to the Cert selection callback PR. 2022-11-03 07:17:05 +00:00
Akos Vandra
e9e3dc7904 esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access to required information so that the application can make a more informed decision on which certificate to serve (such as alpn value, server certificate type, etc.)
Closes https://github.com/espressif/esp-idf/pull/9833

Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-11-03 07:17:05 +00:00
Sudeep Mohanty
4bc6b9ed7e freertos-smp: Updated the FreeRTOS SMP kernel source to the latest commit
This commit updates the FreeRTOS SMP source to the latest upstream
source at commit 8128208bdee1f997f83cae631b861f36aeea9b1f
2022-11-03 08:01:44 +01:00
Darian
3c18cc482c Merge branch 'refactor/freertos_uncrustify_code_formatting' into 'master'
FreeRTOS: Uncrustify source code using upstream configuration

See merge request espressif/esp-idf!20722
2022-11-03 14:19:00 +08:00
laokaiyao
2cccf3a804 dac: update API and file format aligning to the rule 2022-11-03 13:04:50 +08:00
zhangyanjiao
ff54ae22f7 lwip: fix the bug that long time to get IP
Closes WIFI-4932
2022-11-03 12:01:13 +08:00
Chen Jian Xing
4beea93a0e Merge branch 'optimization/lwip_dhcp_fine_timer' into 'master'
lwip timer:optimization dhcp fine timer

Closes AUD-4073

See merge request espressif/esp-idf!20409
2022-11-03 11:51:32 +08:00
morris
999a3d5e6b ledc: explain the callback return value
Closes https://github.com/espressif/esp-idf/issues/10093
2022-11-03 11:01:47 +08:00
Martin Vychodil
c9c7573f71 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:54:45 +01:00
David Cermak
dc1f6b3aef tcp_transport: Fix error propagation on tcp_read() 2022-11-02 18:43:57 +01:00
jiangguangming
15c8f296f4 esp_rom: move esp_rom_spiflash_write_disable to esp32c6.rom.ld 2022-11-02 08:14:58 -07:00
jiangguangming
a8df72745b esp_rom: esp32c6 rom newlib support normal-formatting version 2022-11-02 08:14:52 -07:00
jiangguangming
14e974fd44 esp_rom: esp32c6 support spiflash driver rom implementation 2022-11-02 08:11:49 -07:00
Sudeep Mohanty
54d0d870a6 Merge branch 'feature/remove_pthread_tls_cleanup_dependency_on_freertos' into 'master'
pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook

Closes IDF-4955

See merge request espressif/esp-idf!20869
2022-11-02 21:00:50 +08:00
Darian Leung
ef45a3df7f freertos: Uncrustify IDF FreeRTOS
This commit uncrustifies IDF FreeRTOS source files using the upstream provided
uncrustify.cfg files.
2022-11-02 19:49:40 +08:00
Darian Leung
4b2c8c591b freertos: Add uncrustiy config files for IDF FreeRTOS v10.4.3
This commit adds a copy of upstream vanilla FreeRTOS uncrustify.cfg files from
the following upstream commit:

89e4823a49

Note: "pp_indent_brace" is commented out as that was enabled after v10.4.3

Also also added a note in the ESP-IDF style guide aobut formatting FreeRTOS
source code using Uncrustify.
2022-11-02 19:42:19 +08:00
Sudeep Mohanty
defd6c4ec1 freertos-smp: Enable static task cleanup
This commit enables Static task cleanup feature for FreeRTOS SMP.
2022-11-02 11:24:07 +01:00
Tomas Rezucha
d861fdc947 Merge branch 'feature/move_tinyusb_to_pacman' into 'master'
tinyusb: Use TinyUSB from component registry

See merge request espressif/esp-idf!20677
2022-11-02 17:42:53 +08:00
Sudeep Mohanty
b3755b751e pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook
This commit removes the need to define the vTaskCleanupTCB hook in
pthread to cleanup the thread-specific data before a thread is deleted.
2022-11-02 09:52:28 +01:00
Darian
8416f0f540 Merge branch 'refactor/freertos_streambuffer_lock_initialization' into 'master'
FreeRTOS: Refactor stream buffer spinlock initialization

See merge request espressif/esp-idf!20867
2022-11-02 16:21:32 +08:00
Konstantin Kondrashov
b027332777 Merge branch 'bugfix/time_jump_after_reboot' into 'master'
esp_hw_support: Fix time jump after reboot

Closes IDFGH-7930

See merge request espressif/esp-idf!20839
2022-11-02 15:40:20 +08:00