Commit Graph

17586 Commits

Author SHA1 Message Date
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
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
Tomas Rezucha
94a00bda0f tinyusb: Use TinyUSB from component registry 2022-11-02 08:24:43 +01:00
jiangguangming
fe70172a35 esp_rom: update esp32c6 rom caps
1. esp32c6 rom support ESP_ROM_HAS_HAL_WDT
2. esp32c6 rom support ESP_ROM_HAS_HAL_SYSTIMER
2022-11-02 15:04:21 +08:00
Darian Leung
40b96cf596 freertos: Refactor stream buffer spinlock initialization
This commit refactors the way stream buffers initialize their spinlock.

- "prvInitialiseNewStreamBuffer()" now initializes the stream buffer fields
  manually (instead of using memset()) to avoid resetting the spin lock
- Stream buffer creation functions now manually initialize the spinlock after
  the other fields are initialized using "prvInitialiseNewStreamBuffer()"

Also added comments to event group spinlock initializtion.
2022-11-02 14:56:46 +08:00
Armando
f1c0530e78 flash_mmap: disable test on c6 2022-11-02 11:21:11 +08:00
Zhi Wei Jian
d5306303f0 Merge branch 'feature/support_ble_memory_release_on_esp32c3_and_esp32s3' into 'master'
Support Bluetooth to release .bss and .data segment memory on ESP32C3 and ESP32S3

Closes IDFGH-8470

See merge request espressif/esp-idf!20700
2022-11-02 11:00:53 +08:00
morris
53560f4227 Merge branch 'bugfix/fix_esp32c6_swd_wprotect_key' into 'master'
soc: Fix esp32c6 super watchdog wrong wprotect key

See merge request espressif/esp-idf!20891
2022-11-02 00:02:32 +08:00
morris
51527b302a Merge branch 'contrib/github_pr_10083' into 'master'
temperature_sensor: fix typo (github PR)

Closes IDFGH-8638

See merge request espressif/esp-idf!20887
2022-11-01 23:34:26 +08:00
Mahavir Jain
f1dcb1967c Merge branch 'feature/wifi_reprov_endpoint' into 'master'
Feature/wifi reprov endpoint

Closes IDF-5877

See merge request espressif/esp-idf!20658
2022-11-01 22:34:41 +08:00
Jiang Jiang Jian
b313d7e2cd Merge branch 'bugfix/esp32c2_create_sync_lost' into 'master'
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2

See merge request espressif/esp-idf!20861
2022-11-01 21:00:47 +08:00
xueyunfei
d1abdf47c4 lwip timer:optimization dhcp fine timer 2022-11-01 20:49:23 +08:00
Jiang Jiang Jian
203596f3d5 Merge branch 'bugfix/fix_ble_array_access_out_of_bounds' into 'master'
Fixed BLE array access out of bounds

Closes BT-2889

See merge request espressif/esp-idf!20873
2022-11-01 20:32:00 +08:00
Armando (Dou Yiwen)
3e6c045b1c Merge branch 'refactor/move_flash_mmap_tests_to_test_apps' into 'master'
flash_mmap: move flash mmap tests to test apps

Closes IDF-6134 and IDF-5138

See merge request espressif/esp-idf!20789
2022-11-01 20:00:33 +08:00
Mahavir Jain
99579620b2 Merge branch 'feature/wifi_prov_event_transport_paired' into 'master'
wifi_prov: Exposed events for transport pairing and disconnection

Closes IDFGH-8557

See merge request espressif/esp-idf!20821
2022-11-01 17:39:28 +08:00
Song Ruo Jing
986094482b soc: Fix esp32c6 super watchdog wrong wprotect key causing chip keeps resetting due to swd 2022-11-01 17:21:49 +08:00
Mahavir Jain
a6b9304a50 Merge branch 'feature/add_keep_alive_for_httpserver' into 'master'
esp_http_server: Add support to enable TCP keepalive config

Closes IDFGH-8379

See merge request espressif/esp-idf!20842
2022-11-01 17:13:41 +08:00
Kapil Gupta
52b24918f0 esp_wifi: Add config option for AP retry count
Provide a config option for station to retry with the AP
if connection fails first time.
2022-11-01 09:09:00 +00:00
harshal.patil
b7de443aaa wifi_provisioning: added wifi-ctrl reprov endpoint 2022-11-01 14:19:01 +05:30
harshal.patil
dacf44dd1d wifi_provisioning: added wifi-ctrl reset endpoint 2022-11-01 14:19:01 +05:30
Rahul Tank
6f806e126b Merge branch 'feat/NimBLE-Blufi-custom-use' into 'master'
Nimble: Add support to expose blufi handler for external BLE application

See merge request espressif/esp-idf!20424
2022-11-01 16:20:28 +08:00
Laukik Hase
e6171b7338
wifi_prov: Exposed event for transport pairing
Closes https://github.com/espressif/esp-idf/issues/10007
2022-11-01 10:06:30 +05:30
Armando
ba4d312d86 flash_mmap: format test_mmap.c 2022-11-01 11:27:16 +08:00
Armando
db1bc05bc7 flash_mmap: fix mmap unordered test on c2 2022-11-01 11:27:15 +08:00