Commit Graph

17546 Commits

Author SHA1 Message Date
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
Armando
92ad6b36ad flash_mmap: move mmap tests to test_app 2022-11-01 11:27:15 +08:00
Song Ruo Jing
be0fdfa176 soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock 2022-11-01 11:23:26 +08:00
Song Ruo Jing
2557e24a28 ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2022-11-01 11:23:21 +08:00
Jiang Jiang Jian
e5dc9589c7 Merge branch 'bugfix/add_protection_for_mac_rst' into 'master'
esp_wifi: add protection for mac reset

Closes BT-2903

See merge request espressif/esp-idf!20828
2022-11-01 10:58:13 +08:00
Jonas Vanthornhout
d679ab3903 Fixed typo 2022-10-31 17:31:40 +01:00
Jakob Hasse
37e8f1f348 feat(freertos): added event group and stream buffer to linux target 2022-10-31 16:34:23 +01:00
KonstantinKondrashov
ff8b5bc0a7 esp_hw_support: Fix time jump after reboot
Closes https://github.com/espressif/esp-idf/issues/9448
2022-10-31 13:57:23 +00:00
David Čermák
b52e796654 Merge branch 'bugfix/wifi_netif_const_correct' into 'master'
esp-wifi/netif: Made esp_netif_create_wifi() const correct

Closes IDFGH-8500

See merge request espressif/esp-idf!20745
2022-10-31 21:31:30 +08:00
zhiweijian
29e4fab59e Fixed BLE array access out of bounds 2022-10-31 20:03:41 +08:00
Mahavir Jain
6f10bb39d8 Merge branch 'docs/psram_heap_integrity_int_wdt' into 'master'
heap: Added note to increase INT_WDT timeout for integrity-check APIs

See merge request espressif/esp-idf!20852
2022-10-31 15:40:49 +08:00
liuning
57c394c4e0 esp_wifi: add protection for mac reset 2022-10-31 06:41:42 +00:00
yuanjianmin
e05d61d075 esp_http_server: Add support to enable TCP keepalive config
Closes https://github.com/espressif/esp-idf/issues/9848
2022-10-31 14:37:05 +08:00
Darian Leung
4e84212077 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-10-31 13:56:59 +08:00
Darian Leung
e17e066828 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-10-31 13:56:59 +08:00
Tomas Rezucha
27078ac34c 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-10-31 13:56:44 +08:00
Kapil Gupta
7278cf3e16 Merge branch 'feature/move_eloop_to_pptask' into 'master'
wpa_supplicant: Run eloop timer in ppTask context

Closes WIFI-4981

See merge request espressif/esp-idf!20481
2022-10-31 12:48:43 +08:00
zwl
de3f7888c6 Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2 2022-10-31 11:44:50 +08:00
Nachiket Kukade
f5bffc284c Merge branch 'bugfix/softap_pmf_espnow_issues' into 'master'
Fix some SoftAP PMF and espnow issues

Closes WIFI-4623

See merge request espressif/esp-idf!20734
2022-10-30 14:36:10 +08:00
Laukik Hase
d0b1b5a8aa
heap: Added note to increase INT_WDT timeout for integrity-check APIs
- When PSRAM is enabled, the heap integrity check APIs
  (`heap_caps_check_integrity` and `heap_caps_check_integrity_all`)
  take more time to execute and keep the interrupts disabled for a
  longer time.
2022-10-30 10:36:01 +05:30
Wang Meng Yang
d938cb7e28 Merge branch 'bugfix/spp_50005_crash' into 'master'
bt: Fixed L2CAP ERTM tx window size being too large causing memory exhaustion in case of multiple SPP connections

Closes BT-2411

See merge request espressif/esp-idf!20228
2022-10-28 17:12:44 +08:00
Island
dd127151b8 Merge branch 'bugfix/fix_trans_optional_info_using_group_addr' into 'master'
ble_mesh: stack: Fix can't trans optional info to group address

See merge request espressif/esp-idf!20731
2022-10-28 17:05:18 +08:00
Kapil Gupta
b52659dd87 Merge branch 'bugfix/eloop_timer_crash' into 'master'
wpa_supplicant: Validate eloop struct before deleting it

Closes WIFI-4968

See merge request espressif/esp-idf!20818
2022-10-28 12:18:16 +08:00
Omar Chebib
65ecbb1b9b Merge branch 'contrib/github_pr_10027' into 'master'
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR)

Closes IDFGH-8578

See merge request espressif/esp-idf!20827
2022-10-28 12:04:36 +08:00
Armando (Dou Yiwen)
72a9bbebd3 Merge branch 'feature/united_sar_periph_ctrl' into 'master'
rtc: united sar peripheral control

Closes IDF-6110

See merge request espressif/esp-idf!20750
2022-10-28 10:46:54 +08:00
xiongweichao
01a67d001e bt: Keep the maximum number of credits unchanged 2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597 bt: Replaced the tx queue in SPP VFS mode with ringbuffer 2022-10-27 19:45:25 +08:00
xiongweichao
ea41a21b0e bt: Split SPP application layer data packets according to the MTU of the peer 2022-10-27 19:45:25 +08:00
xiongweichao
a0ec1c8291 bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size 2022-10-27 19:45:25 +08:00
Rahul Tank
fe5d4e0f39 Nimble: Add LE Power CTRL changes 2022-10-27 16:30:44 +05:30
Ivan Grokhotkov
47ba2b48ea
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-10-27 11:38:49 +02:00
Armando
260ee86c37 rtc: united sar peripheral control 2022-10-27 16:51:25 +08:00
Aditya Patwardhan
bd18096cb4 Merge branch 'refactor/merge_esp_hmac_headers_into_one' into 'master'
esp_hw_support: Merge HMAC layer into one

Closes IDF-3803

See merge request espressif/esp-idf!18742
2022-10-27 16:39:32 +08:00
harshal.patil
5feb4696be fix: esp_http_client fix behaviour when disable_auto_redirect is enabled 2022-10-27 14:04:54 +05:30
Zim Kalinowski
0954c5e5d0 Merge branch 'refactor/nvs_define_ns_name_len' into 'master'
refactor(nvs): using define for namespace len instead of magic number

Closes IDFGH-8174

See merge request espressif/esp-idf!20353
2022-10-27 14:53:30 +08:00
zwj
d600496800 support BLE memory release on ESP32C3 and ESP32S3 2022-10-27 14:22:15 +08:00
Guillaume Souchere
ce895b87ab Merge branch 'feature/tlsf-dynamic-control-size' into 'master'
heap: Update to the new tlsf implementation of dynamic metadata size

See merge request espressif/esp-idf!20584
2022-10-27 13:54:45 +08:00
Aditya Patwardhan
f9565fd31d soc/esp_ds.h: Unify esp_ds error codes for all targets 2022-10-27 11:09:25 +05:30
Aditya Patwardhan
1fe32efae6 Add esp_hmac.c file 2022-10-27 11:08:01 +05:30