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
Jin Cheng
042fd5f895
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-31 11:08:15 +00: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
Cao Sen Miao
b4964279d4
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
...
Closes https://github.com/espressif/esp-idf/pull/9566
2022-10-31 11:05:36 +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
Rahul Tank
7ca82b1b29
Support BLE memory release on ESP32C2
2022-10-27 18:00:01 +05:30
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
Aditya Patwardhan
c8a788ca24
esp_hw_support: Merge HMAC source files into one
2022-10-27 10:59:54 +05:30
Aditya Patwardhan
a5f1820120
esp_hw_support: Merge esp_hmac.h file for different targets into one
2022-10-27 10:59:54 +05:30
Mahavir Jain
b32a665f2c
Merge branch 'bugfix/esp32_hardware_mpi_fix' into 'master'
...
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain
Closes IDFGH-7102, IDFGH-7842, IDFGH-7714, IDFCI-1452, and IDF-6029
See merge request espressif/esp-idf!20647
2022-10-27 12:19:27 +08:00
Kapil Gupta
79b6e32ea7
wpa_supplicant: Validate eloop struct before deleting it
2022-10-27 09:16:18 +05:30
morris
37c2b64f06
Merge branch 'feature/put_rom_tlsf_patch_code_to_iram' into 'master'
...
esp_rom: put rom tlsf patch code in iram by default
See merge request espressif/esp-idf!20801
2022-10-27 11:19:48 +08:00
morris
b7e4a403a1
Merge branch 'test/freertos_in_flash_test_driver' into 'master'
...
driver: test with non-isr freertos functions in the flash
Closes IDF-6091
See merge request espressif/esp-idf!20788
2022-10-27 11:06:42 +08:00
Andrei Safronov
847462a578
freertos: fix gnu asm extensions.
...
The llvm asm pasrser doesn't support some gnu asm extensions,
like using "&" with macro arguments. So, replace such code with
code which could be compiled by llvm.
2022-10-27 00:27:50 +03:00
Guillaume Souchere
508194be50
heap: Remove size check in multi_heap.c when registering a new heap
...
The tlsf now checks for size validity when creating a new heap.
The check previously done in multi_heap_register_impl() is no longer
valid since the tlsf_size() is not known at this time (as the metadata
size is linked ot the size of the memory region passed as parameter
when calling tlsf_create_with_pool())
The tlsf_create_with_pool() will return a null pointer if the size
of the memory is not big enough to hold the metadata overhead and
at least a small block.
Update the test according to the changes in TLSF API
2022-10-26 18:15:42 +02:00
Guillaume Souchere
6f11d0f297
heap: Update target and host tests after incorporation of the new TLSF implementation
...
- update the target and host tests to consider the new TLSF api and the metadata size
only when the target is not using the rom implementation of the TLSF
2022-10-26 18:15:40 +02:00
Mahavir Jain
5863fdf560
Merge branch 'bugfix/wifi_prov_sec2_bluedroid' into 'master'
...
protocomm: Increase Bluedroid-BLE maximum buffer size
See merge request espressif/esp-idf!20744
2022-10-26 23:09:10 +08:00
Rahul Tank
a6251da049
Merge branch 'feature/LE_Conn_Subrating' into 'master'
...
Nimble: Stack support for Connection subrating
See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
jiangguangming
e41f4055ae
esp_rom: put rom tlsf patch code in iram by default
2022-10-26 20:41:15 +08:00
Kapil Gupta
404aa30290
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-26 18:09:25 +05:30
Konstantin Kondrashov
554f3bdc38
Merge branch 'feature/efuse_migrate_from_ut_app_to_test_app' into 'master'
...
efuse: Migrate efuse unit tests from unit-test-app to component test app
Closes IDF-5570
See merge request espressif/esp-idf!20756
2022-10-26 18:25:20 +08:00
Zim Kalinowski
8dd900d949
Merge branch 'feature/freertos_disable_mutex_owner_check_for_smp' into 'master'
...
freertos-smp: Disable CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER for FreeRTOS SMP
Closes IDF-5296
See merge request espressif/esp-idf!20782
2022-10-26 17:47:37 +08:00
Island
afeb7dbbd8
Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram' into 'master'
...
Feature/esp32c2 optimize npl os freertos ram
Closes IDF-6100
See merge request espressif/esp-idf!20775
2022-10-26 16:52:35 +08:00
Omar Chebib
009d15e59d
Merge branch 'staging/esp_timer_restart' into 'master'
...
esp_timer: add a function to restart timers
See merge request espressif/esp-idf!20386
2022-10-26 16:37:33 +08:00
Laukik Hase
c7142f274b
protocomm: Increase Bluedroid-BLE maximum buffer size
...
- For the security2 scheme, the payload size is quite larger
than that for security1.
2022-10-26 13:34:39 +05:30
Jiang Jiang Jian
f191b2f034
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32' into 'master'
...
esp32/rtc: fix xtal unstable in some cases when sleep
Closes ESPCS-869
See merge request espressif/esp-idf!20425
2022-10-26 15:57:48 +08:00
Guillaume Souchere
7de6565722
heap: fix comment and return condition in heap_caps_check_add_region_allowed()
...
(See cd805a5ab1
)
2022-10-26 09:49:43 +02:00
Guillaume Souchere
90ac786cf4
heap: Update the component to incorporate the new TLSF implementation
...
- remove tlsf_platform.h from esp-idf since the fl_index is now calculated
based on the size of the requested heap
- update CMakeLists.txt accordingly
* based on the changes made to the TLSF in https://github.com/espressif/esp-idf/pull/7829
* contributes to fix https://github.com/espressif/esp-idf/issues/7822
2022-10-26 09:47:45 +02:00
KonstantinKondrashov
beba771031
efuse: Migrate efuse unit tests from unit-test-app to component test app
2022-10-26 15:41:48 +08:00
Wang Meng Yang
db9caf4354
Merge branch 'bugfix/spp_vfs_mode_send_data_fail' into 'master'
...
bt: Fixed SPP VFS mode not being able to send data
See merge request espressif/esp-idf!20758
2022-10-26 15:24:41 +08:00
Sudeep Mohanty
d050b2b63c
freertos-smp: Disable CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER for FreeRTOS SMP
...
An explicit check of the mutex owner during a mutex release operation is
not necessary for FreeRTOS SMP as this is checked by default. Hence, the
corresponding Kconfig option is removed.
2022-10-26 09:02:55 +02:00
morris
c25031212d
driver: test with non-isr freertos functions in the flash
2022-10-26 13:43:13 +08:00
jgujarathi
915fb4dfe2
Removed some occurences of the RC4 cipher suite(deprecated now)
2022-10-26 03:02:16 +00:00
Chip Weinberger
b2d1c34a38
[Panic] also print to secondary USB Serial/JTAG Console
2022-10-25 14:04:32 -07:00
Zim Kalinowski
e0077e67d7
Merge branch 'feature/freertos_unit_test_migration' into 'master'
...
FreeRTOS: Migrate unit tests to test app
Closes IDF-5589
See merge request espressif/esp-idf!20625
2022-10-26 03:01:22 +08:00
Zim Kalinowski
09587b84c2
freertos: final test cleanup
2022-10-25 17:41:29 +02:00
Wang Meng Yang
2d2d0ba1f3
Merge branch 'bugfix/handle_issue_of_malloc_fail' into 'master'
...
bugfix/avoid unexpected free when malloc failed
Closes IDFGH-8518
See merge request espressif/esp-idf!20723
2022-10-25 20:16:20 +08:00
laokaiyao
8ef9fd4623
dac: optimize the dma stratege
2022-10-25 17:14:59 +08:00
laokaiyao
f9f9a09dfb
dac: update unit-test docs and examples for driver-NG
2022-10-25 17:00:41 +08:00
laokaiyao
351a18415c
dac: driver-ng framework
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9777c9d5b1
dac: refactor to new api on esp32s2
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9e4ff3d374
dac_dma: Support DAC_DMA on esp32s2
2022-10-25 17:00:41 +08:00
Omar Chebib
8e9b1e8a7a
Merge branch 'bugfix/bt_bss_wrong_address' into 'master'
...
Bluetooth: fix BSS placement in the linker script generated by ldgen
Closes BT-2883
See merge request espressif/esp-idf!20749
2022-10-25 16:34:30 +08:00
zwl
efd10a6af4
Modify ESP32C2's default ble tx output power
2022-10-25 16:29:10 +08:00
zwl
76cd979dbb
Reduced the RAM size of npl_os_freertos.c file
2022-10-25 16:28:38 +08:00
Lu Ai Jun
23cac269f6
Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt' into 'master'
...
Nimble: Allocate memory for ext adv reports from lower priority pool.
See merge request espressif/esp-idf!20678
2022-10-25 15:43:16 +08:00
xiongweichao
bda54af557
bt: Fixed SPP VFS mode not being able to send data
2022-10-25 14:17:45 +08:00
Marius Vikhammer
4a56758547
Merge branch 'bugfix/s3_ulp_riscv_cocpu_trap' into 'master'
...
ulp-riscv: always force COCPU clock on S3
Closes FCS-983
See merge request espressif/esp-idf!20632
2022-10-25 13:50:36 +08:00
Rahul Tank
5a08ba15b5
Nimble: Stack support for Connection subrating feature
2022-10-25 10:21:46 +05:30
Shu Chen
58be27dae2
Merge branch 'support/ieee802154_lib_CI_rules' into 'master'
...
ieee802154: add 154 lib CI initialization
See merge request espressif/esp-idf!20560
2022-10-24 19:19:48 +08:00
morris
5135145f5e
Merge branch 'refactor/remove_deprecated_can_stuffs' into 'master'
...
twai: remove the deprecated "CAN" driver code
See merge request espressif/esp-idf!20746
2022-10-24 18:34:01 +08:00
Omar Chebib
950981906b
Bluetooth: fix BSS placement in the linker script generated by ldgen
2022-10-24 16:37:30 +08:00
zhangwenxu
f3cadb4fab
ieee802154: add 154 lib CI initialization.
2022-10-24 16:19:00 +08:00
Konstantin Kondrashov
daf3da5e4b
Merge branch 'feature/parttable_improve_doc_and_error' into 'master'
...
partition_table: Improve an error msg and doc
Closes IDFGH-8377
See merge request espressif/esp-idf!20687
2022-10-24 16:17:34 +08:00
Darian Leung
96fce0c9c4
freertos: Fix/remove flakey tests after migration
...
This commit fixes/ignores flakey freertos unit tests after migrating them to
the test app:
- Added vTaskDelay() before teardown to prevent memory leaks
- Adjusted the "main" task's priority so that scheudling tasks would work
- pytest now only runs tests that are not ignored
- Reset tests are temporarily ignored. Will be enabled to dedicate reset tests.
- Some flakey tests are fixed by adjusting delays and stack sizes.
2022-10-23 20:02:14 +08:00
Darian Leung
c36e06c45c
freertos: Add test app sdkconfig
...
This commit adds the sdkconfig files for the FreeRTOS test app. These
configurations were dervied from the various legacy unit test app's
config files that included the FreeRTOS component.
This commit tries to keep a 1 to 1 config parity with the legacy test app.
Meaning, if FreeRTOS test were run on a particular target with a particular
config, that config will be represented in one of the test app's
sdkconfig.ci.XXX files.
However, the following configurations were removed for FreeRTOS tests:
- The "freertos_flash" option was removed due to redudancy (already tested in
freertos_options)
2022-10-23 20:02:14 +08:00
Darian Leung
a50a238c18
freertos: Tidy up test organization
...
Some tests were placed in the incorrect test groups (i.e., kernel, port,
performance etc). This commit fixes those placements.
The following redundant tests were also removed:
- "test_panic.c" as behavior is already covered in esp_system tests
2022-10-23 19:56:47 +08:00
Darian Leung
54d7a3bb66
freertos: Migrate misc tests to test app
...
This commit migrates the "misc" tests to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
87c3cc57d1
freertos: Migrate performance tests to test app
...
This commit migrates the "performance" tests to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
df9aa722af
freertos: Migrate port tests to test app
...
This commit migrates the "port" tests to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
df4bfeee5b
freertos: Migrate kernel tests to test app
...
This commit renames the "integration" tests to "kernel" test and migrates them
to the test app as a component.
2022-10-23 19:56:47 +08:00
Darian Leung
60edaa4152
freertos: Add blank freertos test app
...
This commit adds a blank FreeRTOS test app in preparation for migrating of
FreeRTOS unit tests to the created test app.
2022-10-23 19:56:47 +08:00
morris
4176cb68de
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-22 18:20:07 +08:00
Jakob Hasse
674fa9377f
refactor(nvs): using define for namespace len instead of magic number
...
Closes https://github.com/espressif/esp-idf/issues/9671
2022-10-21 18:12:24 +02:00
David Cermak
d038a35e96
esp-wifi/netif: Made esp_netif_create_wifi() const correct
2022-10-21 16:29:56 +02:00
Jakob Hasse
ae30c509ef
Merge branch 'refactor/freertos_cmake_file' into 'master'
...
freertos: Refactor/reorder cmake file
See merge request espressif/esp-idf!20623
2022-10-21 20:17:25 +08:00
Mahavir Jain
9abe294064
Merge branch 'ci/migrate_app_update_unit_test_app' into 'master'
...
ci: Migrate app_update unit tests from unit-test-app to component-test-app
Closes IDF-5565
See merge request espressif/esp-idf!20432
2022-10-21 20:00:47 +08:00
Mahavir Jain
d539b2da32
Merge branch 'bugfix/http_cached_data_in_redirection' into 'master'
...
esp_http_client: free cached data in case connection gets closed for redirection
Closes AUD-4158
See merge request espressif/esp-idf!20694
2022-10-21 19:40:04 +08:00
Wang Meng Yang
2cbc83a4c7
Merge branch 'bugfix/fix_gattc_disc_char_by_uuid_panic' into 'master'
...
Bluedroid: correct the length of att read by type pdu
Closes BT-2874
See merge request espressif/esp-idf!20686
2022-10-21 17:24:03 +08:00
Mahavir Jain
dc34d4986a
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-21 14:29:02 +05:30
Mahavir Jain
6c8f6597f9
mbedtls: test_app: keep release config enabled for ESP32
...
Before `test_apps` migration, we had an independent release config,
but we can safely enable it in the default configuration for ESP32
target itself. This helps to catch any potential issues that may
occur in relevant tests because of compiler optimization flags.
2022-10-21 14:29:02 +05:30
Nachiket Kukade
4b60fde252
esp_wifi: Update wifi libs
...
Fix some SoftAP PMF and espnow key management related issues
2022-10-21 14:13:13 +05:30
harshal.patil
9f6e433bb5
ci: Migrate app_update unit tests from unit-test-app to component-test-app
2022-10-21 07:37:37 +00:00
tgotic
cd2492f98b
[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:43:12 +08:00
wangjialiang
7e0b57f9ef
ble_mesh: stack: Fix can't trans optional info to group address
2022-10-21 12:07:53 +08:00
xueyunfei
5cea828f4d
esp_wifi:bugfix sniffer mode can not capture control packet
2022-10-21 08:57:02 +08:00
Wang Meng Yang
af3e6d6398
Merge branch 'bugfix/esp_spp_write_len_0' into 'master'
...
bt: Fixed esp_spp_write() crash when len is 0
Closes IDFGH-8523
See merge request espressif/esp-idf!20659
2022-10-21 07:47:47 +08:00
Jakob Hasse
944576a0fa
refactor(freertos): streamlined freertos CMakeLists.txt
2022-10-20 16:43:24 +02:00
Jiang Jiang Jian
67bb3d0932
Merge branch 'bugfix/revert_commit_da44fc9c' into 'master'
...
Revert "fixed the issue iOS devices cannot initiate connection"
See merge request espressif/esp-idf!20665
2022-10-20 19:18:14 +08:00
Jiang Jiang Jian
d257838b99
Merge branch 'fix/softap_pmf_disconnect' into 'master'
...
Fix deauth and disassoc issue for softap pmf connections
See merge request espressif/esp-idf!20477
2022-10-20 19:02:45 +08:00
KonstantinKondrashov
b5315aec16
partition_table: Improve an error msg and doc
...
Closes https://github.com/espressif/esp-idf/issues/9846
2022-10-20 17:18:01 +08:00
Jiang Jiang Jian
c2fba4b14e
Merge branch 'bugfix/backup_dma_stall_when_sw_rst' into 'master'
...
force clear reset signal to fix the backup dma operation failure
Closes AUD-4051
See merge request espressif/esp-idf!20633
2022-10-20 17:04:35 +08:00
Mahavir Jain
67e080471f
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-20 12:45:06 +05:30
xiongweichao
4e895104ef
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-20 06:18:14 +00:00
Jin Cheng
36d8e0b9ad
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-20 06:17:33 +00:00
morris
f997b81242
mcpwm: support esp32c6
2022-10-20 11:55:03 +08:00
morris
7b425cbcd7
mcpwm: new function to fetch capture resolution
2022-10-20 11:30:14 +08:00
morris
6b941042d8
mcpwm: default clock cource is PLL160M
...
On esp32, the default clock source is also PLL160M
2022-10-20 11:30:14 +08:00
morris
a22aa2d183
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-20 11:30:14 +08:00
Li Shuai
526a9c665a
backup dma: force clear reset signal to fix the backup dma operation failure caused by RTC_SW_CPU_RST
2022-10-20 03:24:49 +00:00
Shyamal Khachane
bedad59e6a
esp_wifi: Fix deauth and disassoc issues for SoftAP PMF
2022-10-20 02:59:19 +00:00
Chen Jian Xing
8cb934ab2e
Merge branch 'bugfix/further_fix_part_of_modem_not_reset_when_power_on' into 'master'
...
Coexistence: remove reset for esp32's modem when PU to avoid SoftAP fail to work in some cases
Closes IDFCI-1493
See merge request espressif/esp-idf!20679
2022-10-20 10:45:09 +08:00
morris
be2b57ff2f
Merge branch 'feature/add_rom_tlsf_function_prototype' into 'master'
...
esp_rom: add rom tlsf function prototype instead of void *
See merge request espressif/esp-idf!20670
2022-10-19 23:46:39 +08:00
chenjianhua
bc1762e806
bluedroid: correct the length of att read by type pdu
2022-10-19 21:58:28 +08:00
Xue Yun Fei
c941691711
Merge branch 'Bugfix/increase_ping_task_stack_size' into 'master'
...
lwip:bugfix for increase ping task stack size
Closes WIFI-4903
See merge request espressif/esp-idf!20664
2022-10-19 19:19:25 +08:00
Song Ruo Jing
c8c9ce0a8b
Merge branch 'feature/esp32c6_gpio_support' into 'master'
...
gpio: bringup driver on esp32c6 FPGA
Closes IDF-5870 and IDF-5937
See merge request espressif/esp-idf!20364
2022-10-19 18:44:30 +08:00
jiangguangming
932045c980
esp_rom: add rom tlsf function prototype instead of void *
2022-10-19 17:54:50 +08:00
jingli
0d8ece50fd
Coexistence: remove reset for esp32's modem when PU to avoid SoftAP fail to work in some cases
2022-10-19 17:26:26 +08:00
Rahul Tank
2abc451d90
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-19 14:11:46 +05:30
Martin Vychodil
ba0eb09895
Merge branch 'fix/usb_midi_tinyusb_refactor' into 'master'
...
usb: Refactor USB MIDI example
Closes IDF-5690
See merge request espressif/esp-idf!19399
2022-10-19 16:27:53 +08:00
morris
f89b68e22a
Merge branch 'bugfix/update_duty_on_tez_tep' into 'master'
...
mcpwm: update compare value on both tep and tez
Closes IDFGH-8438
See merge request espressif/esp-idf!20631
2022-10-19 16:27:20 +08:00
Sudeep Mohanty
7a58ffa972
Merge branch 'feature/freertos_enable_port_optimized_task_selection_on_riscv_targets' into 'master'
...
freertos: Enable configUSE_PORT_OPTIMISED_TASK_SELECTION for RISC-V targets
See merge request espressif/esp-idf!20652
2022-10-19 16:19:19 +08:00
Mahavir Jain
dd76328927
Merge branch 'feature/wpa_supp_mbedtls_private_cleanup' into 'master'
...
wpa_supplicant: `MBEDTLS_PRIVATE` & `MBEDTLS_ALLOW_PRIVATE_ACCESS`-related cleanup
Closes IDF-5861
See merge request espressif/esp-idf!20171
2022-10-19 12:13:14 +08:00
Jiang Jiang Jian
f51e5d69fc
Merge branch 'optimize/fast_recycle_of_tcp_pcb_when_close_tcp' into 'master'
...
Lwip:add TCP Fin2 timeout configuration
See merge request espressif/esp-idf!19881
2022-10-19 12:00:09 +08:00
Mathis
ca024c119d
Blufi: Add function for blufi management inside custom gap event handler
2022-10-19 09:24:40 +05:30
Mathis
140f40a1d9
Blufi: use blufi_env.conn_id instead of local variable
2022-10-19 09:21:45 +05:30
xueyunfei
8c17b04cef
lwip:bugfix for increase ping task stack size
2022-10-19 10:49:13 +08:00
Marius Vikhammer
978c03c0c3
Merge branch 'feature/test_apps_def_config' into 'master'
...
CI: add common debug helper sdkconfig that can be used in test apps
See merge request espressif/esp-idf!20213
2022-10-19 10:37:48 +08:00
Tomas Rezucha
446daa9865
Merge branch 'feature/usb/voltage_monitoring' into 'master'
...
tinyusb: Add voltage monitoring feature
Closes IDFGH-6065 and IDF-5229
See merge request espressif/esp-idf!20296
2022-10-18 22:41:24 +08:00
Adam Múdry
169d746c49
usb: Refactor USB MIDI example
2022-10-18 15:09:09 +02:00
Ivan Grokhotkov
11ec9d392d
Merge branch 'bugfix/storage_wformat' into 'master'
...
storage: fix and re-enable -Wformat warnings
See merge request espressif/esp-idf!20486
2022-10-18 20:21:53 +08:00
Wang Meng Yang
55f92ec268
Merge branch 'bt/opt_audio_datapath' into 'master'
...
bt/optimized a2dp_sink audio datapath
Closes IDFGH-8124 and AUD-4106
See merge request espressif/esp-idf!20592
2022-10-18 19:27:29 +08:00
morris
ab20e3e5d5
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues' into 'master'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
See merge request espressif/esp-idf!20630
2022-10-18 17:18:08 +08:00
Jiang Jiang Jian
b540fb44e1
Merge branch 'bugfix/esprv_intc_int_set_type_error' into 'master'
...
Nimble: Fixed esprv_intc_int_set_type() usage
See merge request espressif/esp-idf!20615
2022-10-18 15:58:43 +08:00
xueyunfei
bfaaa86775
Lwip:add TCP Fin2 timeout configuration
2022-10-18 15:40:43 +08:00
Tomas Rezucha
1410f5a798
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-18 09:18:29 +02:00
Tomas Rezucha
dc705312a3
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-18 09:18:29 +02:00
morris
78dfb58295
mcpwm: update compare value on both tep and tez
...
Closes https://github.com/espressif/esp-idf/issues/9904
2022-10-18 06:29:53 +00:00
Simon
cb28fcff0f
Merge branch 'feature/flash_mode_select_auto' into 'master'
...
spi_flash: Support select flash mode automatically at run time(Quad flash or Octal flash)
Closes IDF-4716
See merge request espressif/esp-idf!20321
2022-10-18 14:11:47 +08:00
Omar Chebib
c8614a0dbf
esp_timer: add a function to restart timer
...
Timers, periodic or not, can now be restarted thanks to esp_timer_restart function.
This is done atomically, which can be used to feed a periodic timer, or simply change the period.
2022-10-18 04:42:27 +00:00
Song Ruo Jing
6d24e8bcf4
gpio: Add support for esp32c6
2022-10-18 12:38:36 +08:00
Cao Sen Miao
2c9bb4eb7d
spi_flash: Support select flash mode automatically at run time(Quad flash or Octal flash)
2022-10-18 11:25:35 +08:00
Marius Vikhammer
439455b440
Merge branch 'feature/esp_event_pytest' into 'master'
...
esp_event: move tests to pytest framework
Closes IDF-5574
See merge request espressif/esp-idf!20533
2022-10-18 11:18:18 +08:00
Jiang Jiang Jian
e08e2f071f
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on' into 'master'
...
Coexistence: fix part of modem module not reset when power up
See merge request espressif/esp-idf!19849
2022-10-18 11:13:10 +08:00
Marius Vikhammer
7b5bdcf077
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-18 03:06:05 +00:00
jiangguangming
7daadc5a92
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:04:01 +08:00
Armando (Dou Yiwen)
542bdea689
Merge branch 'feature/adc_calibration_on_c2' into 'master'
...
esp_adc: support adc calibration on esp32c2
Closes IDF-5203 and IDF-5899
See merge request espressif/esp-idf!20044
2022-10-18 10:50:59 +08:00
Marius Vikhammer
099b0b6421
Merge branch 'feature/c6_doc_build' into 'master'
...
docs: add support for building C6 docs
Closes IDF-5829
See merge request espressif/esp-idf!19721
2022-10-18 09:37:30 +08:00
Sudeep Mohanty
70070989f0
freertos: Enable configUSE_PORT_OPTIMISED_TASK_SELECTION for RISC-V targets
...
This commit enables the config option
configUSE_PORT_OPTIMISED_TASK_SELECTION on RISC-V targets for legacy
FreeRTOS (IDF-FreeRTOS).
2022-10-17 16:47:21 +02:00
Jin Cheng
0459cf3963
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-10-17 20:57:19 +08:00
morris
3b0354acb8
Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue' into 'master'
...
esp_rom: fix esp32s3 rom ets_printf bug
See merge request espressif/esp-idf!20590
2022-10-17 17:54:02 +08:00
Armando
d592d983ce
esp_adc: added esp32c2 adc runners
2022-10-17 16:23:22 +08:00
Wan Lei
f98a37f571
Merge branch 'docs/add_flash_to_psram_feature' into 'master'
...
docs: add the flash content moved to psram feature
Closes IDF-5885
See merge request espressif/esp-idf!19908
2022-10-17 14:51:15 +08:00
Darian
54d286de67
Merge branch 'bugfix/freertos_fpu_isr_pins_task' into 'master'
...
FreeRTOS: Fix bug where FPU usage in ISR pins the interrupted task.
Closes IDF-6068
See merge request espressif/esp-idf!20573
2022-10-15 00:40:04 +08:00
morris
316493969a
Merge branch 'docs/update_uart_read_bytes_description' into 'master'
...
docs: update the description of uart_read_bytes
Closes DOC-3798
See merge request espressif/esp-idf!20611
2022-10-14 21:54:44 +08:00
morris
ad1bd82002
Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter' into 'master'
...
bugfix: esprv_intc_int_set_type() should not use bitmap parameter
See merge request espressif/esp-idf!20599
2022-10-14 21:21:36 +08:00
Jiang Jiang Jian
6e65b61c8a
Merge branch 'bugfix/esp32c2_scan_assert' into 'master'
...
Fixed occasional crash during scanning
Closes BT-2784
See merge request espressif/esp-idf!20578
2022-10-14 18:02:06 +08:00
Island
7ddbaae318
Merge branch 'feature/Add_IVI_recovery_option' into 'master'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
See merge request espressif/esp-idf!20500
2022-10-14 17:21:25 +08:00
Island
beb8a7cf34
Merge branch 'bugfix/fix_fast_interval_prov_adv' into 'master'
...
ble_mesh: stack: Fix send fast interval prov_adv failed
See merge request espressif/esp-idf!20520
2022-10-14 17:20:40 +08:00
Rahul Tank
63e44eef2c
Nimble: esprv_intc_int_set_type() will set bit_map in rom, the parameter
...
intr_num should be the interrupt number directly
2022-10-14 14:06:14 +05:30
Linda
837d29cca0
docs: update the description of uart_read_bytes
2022-10-14 15:55:40 +08:00
Mahavir Jain
10dfabe650
Merge branch 'ecc/improve_mbedtls_ecdsa' into 'master'
...
mbedtls: Added performance test for ECP and ECDSA operation
See merge request espressif/esp-idf!19337
2022-10-14 15:49:22 +08:00
jiangguangming
8774db59f0
esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART
2022-10-14 14:06:40 +08:00
jiangguangming
4c3ce9f21d
esp_rom: fix esp32s3 rom ets_printf bug
2022-10-14 11:43:46 +08:00
wuzhenghui
6b96534c68
bugfix: esprv_intc_int_set_type() should not use bitmap parameter
2022-10-14 11:31:22 +08:00
Marius Vikhammer
d73e1d9754
esp_event: move tests to pytest framework
2022-10-14 11:07:58 +08:00
Mahavir Jain
835bb4acb1
Merge branch 'ci/fix_esp32s2_mbedtls_psram_ta' into 'master'
...
ci: Fix `esp32s2.psram.test_mbedtls_psram` UT
Closes IDFCI-1487 and IDFCI-1488
See merge request espressif/esp-idf!20577
2022-10-14 10:10:07 +08:00
Aditya Patwardhan
37a69f6880
Merge branch 'update/update_certs_bundle' into 'master'
...
Update esp_crt_bundle certificates
See merge request espressif/esp-idf!20575
2022-10-14 00:35:47 +08:00
Ivan Grokhotkov
989d9e831f
Merge branch 'bugfix/replace_port_get_runtime_counter_usage' into 'master'
...
freertos, app_trace: use esp_cpu_get_cycle_count to get ccount
Closes IDF-4744
See merge request espressif/esp-idf!20443
2022-10-13 21:40:07 +08:00
Armando
9cb1006b2b
esp_adc: make c2 atten0 calibration experimental
2022-10-13 21:03:51 +08:00
Armando
f905f6ab7c
esp_adc: add esp32c2 adc high/low test threshold and expected val
2022-10-13 21:03:51 +08:00
Armando
508935c457
esp_adc: refacotr tests for all supported attenuations
2022-10-13 21:03:51 +08:00
Armando
f29eda26e6
esp_adc: replace hardcoded calibration version to a macro
...
On esp32c3 and esp32s3, we support calibration version 1. This commit
replace it with ESP_EFUSE_ADC_CALIB_VER to avoid hardcode.
2022-10-13 21:03:51 +08:00
Armando
ccfbba5994
esp_adc: support adc calibration on esp32c2
2022-10-13 21:03:51 +08:00
Ivan Grokhotkov
659460525f
Merge branch 'test/spiffs_component_test_app' into 'master'
...
spiffs: move tests from unit-test-app to a component test app
Closes IDF-5602
See merge request espressif/esp-idf!20485
2022-10-13 20:01:39 +08:00
Chen Jian Xing
b813476a51
Merge branch 'bugfix/fix_ignore_rx_sub_ampdu_int_issue' into 'master'
...
esp_wifi: fix ignore rx sub ampdu interrupt issue
Closes ESPCS-854
See merge request espressif/esp-idf!20564
2022-10-13 19:34:24 +08:00
Mahavir Jain
f4773d64e4
Merge branch 'bugfix/fix_mbedlts_ds_memory_leak' into 'master'
...
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled
Closes ESPCS-872
See merge request espressif/esp-idf!20563
2022-10-13 19:13:57 +08:00
Mahavir Jain
836dc4ae80
Merge branch 'bugfix/fix_wifi_retry' into 'master'
...
wifi_provisioning: fix error codes for wifi connect retry
See merge request espressif/esp-idf!20558
2022-10-13 19:02:42 +08:00
Ivan Grokhotkov
c4be293e23
Merge branch 'test/fatfs_test_app_readme' into 'master'
...
fatfs: add missing readme file for the test apps
See merge request espressif/esp-idf!20522
2022-10-13 17:53:11 +08:00
Jiang Jiang Jian
0ebae990a0
Merge branch 'bugfix/use_nonblocking_coex_callback' into 'master'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
See merge request espressif/esp-idf!20413
2022-10-13 14:57:08 +08:00
yuanjianmin
ddbe6aa42a
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled
2022-10-13 14:17:42 +08:00
Laukik Hase
80204ecab2
ci: Fix esp32s2.psram.test_mbedtls_psram
UT
...
- When PSRAM is enabled, the interrupt watchdog timeout value
needs to be increased to 800 ms from the default 500 ms.
2022-10-13 10:27:05 +05:30
Marius Vikhammer
ca4ad3ce7c
docs: add support for building C6 docs
2022-10-13 04:39:16 +00:00
Sachin Parekh
130ada60ec
mbedtls: Added performance tests for ECP and ECDSA operations
2022-10-13 10:01:06 +05:30
Jiang Jiang Jian
72a70f08b9
Merge branch 'bugfix/reason_code_pmk_flush' into 'master'
...
Prevent pmk flush for unspecified reasoncode
Closes WIFI-4796
See merge request espressif/esp-idf!20459
2022-10-13 11:51:48 +08:00
zwl
07d844f565
Fixed occasional crash during scanning
2022-10-13 11:48:50 +08:00
muhaidong
c2fe257ad6
esp_wifi: fix ignore rx sub ampdu interrupt issue
2022-10-13 11:40:13 +08:00
Jiang Jiang Jian
55eaf66a94
Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
Espressif BOT
91bd4a1f80
Update esp_crt_bundle certificates
2022-10-13 10:00:11 +08:00
Jiang Guang Ming
6cfa88ed49
Merge branch 'bugfix/update_esp_rom_caps' into 'master'
...
esp_rom: update esp_rom_caps.h
See merge request espressif/esp-idf!20565
2022-10-13 06:02:37 +08:00
Ivan Grokhotkov
8a45ff0957
Merge branch 'bugfix/reenable_ut_c2_fatfs_vfs_spi_flash' into 'master'
...
vfs, spi_flash: re-enable unit tests for C2
Closes IDF-5137 and IDF-5139
See merge request espressif/esp-idf!20444
2022-10-13 05:40:12 +08:00
Darian Leung
423fb361e7
freertos: Enable FPU ISR core pinning test for IDF FreeRTOS
2022-10-12 22:45:56 +08:00
Darian Leung
9f7f964363
freertos: Fix FPU ISR core pinning bug
...
This commit fixes a bug where if an unpinned task is interrupted by a level 1
ISR that users the FPU, the FPU usage will cause the interrupted task to
become pinned to the current core.
Note: This bug was already fixed in SMP FreeRTOS in commit
d69361779e
. This commit simply backports the
fix to IDF FreeRTOS.
2022-10-12 22:45:56 +08:00
Darian
96058c25ab
Merge branch 'refactor/freertos_fpu_unit_tests' into 'master'
...
FreeRTOS: Refactor FPU unit tests
See merge request espressif/esp-idf!20526
2022-10-12 22:36:46 +08:00
Rahul Tank
2ec9f47aa0
Merge branch 'bugfix/close_stack_callback_during_ble_stop' into 'master'
...
Nimble: Added check to deregister stack callback with controller during stack deinit
See merge request espressif/esp-idf!20421
2022-10-12 21:03:26 +08:00
Wang Meng Yang
3965dc23a6
Merge branch 'support/Update_sdkdefaultconfig_BLE_only_flag' into 'master'
...
BLE: Cleanup Bluedroid example sdkconfig.defaults
Closes BT-1939
See merge request espressif/esp-idf!19226
2022-10-12 20:56:39 +08:00
Mahavir Jain
40368b17c6
Merge branch 'bugfix/http_coverity_warnings' into 'master'
...
Fix Coverity Reported Warning in HTTP server and client
See merge request espressif/esp-idf!20521
2022-10-12 20:40:10 +08:00
jiangguangming
0ed7927520
esp_rom: update esp_rom_caps.h
2022-10-12 20:12:56 +08:00
David Čermák
950800be9e
Merge branch 'update/lwip_sntp_comment_i32_timestamp' into 'master'
...
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
Closes IDF-5956 and IDF-5592
See merge request espressif/esp-idf!20283
2022-10-12 20:06:42 +08:00
morris
9408e1372b
Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf' into 'master'
...
i2s: fix tx incomplete auto clear
Closes IDFGH-8416
See merge request espressif/esp-idf!20536
2022-10-12 18:15:49 +08:00
Ivan Grokhotkov
7b709aacc9
spiffs: move tests from unit-test-app to a component test app
2022-10-12 12:08:13 +02:00
morris
b8471380b6
Merge branch 'feature/spi_lcd_cs_active_high' into 'master'
...
spi_lcd: support CS active high
Closes IDFGH-8415
See merge request espressif/esp-idf!20518
2022-10-12 18:04:12 +08:00
Roland Dobai
ac315adc2c
Merge branch 'bugfix/remove-fatfsgen-kconfig-option' into 'master'
...
fatfsgen.py: removed unused options in Kconfig
Closes IDF-6038
See merge request espressif/esp-idf!20418
2022-10-12 17:28:03 +08:00
Ivan Grokhotkov
7e2f261a58
freertos, app_trace, heap: use esp_cpu_get_cycle_count to get ccount
...
portGET_RUN_TIME_COUNTER_VALUE should only be used in the kernel.
2022-10-12 11:20:55 +02:00
Ivan Grokhotkov
0a352a6ff2
vfs, spi_flash: re-enable unit tests for C2
2022-10-12 11:09:36 +02:00
Darian Leung
d69361779e
freertos: Refactor FPU unit tests
...
This commit refactors the existing FPU unit tests as follows
- Rename them from coproc to FPU
- Reorganize test placement
- Make existing tests work on both IDF and SMP FreeRTOS
- Update test documentation
- Remove old "test_float_in_isr.c"
2022-10-12 16:29:13 +08:00
Jiang Jiang Jian
f03f3b0a6c
Merge branch 'bugfix/add_security_patches' into 'master'
...
esp_wifi:Adding security patch for SAE side channel attacks
Closes WIFI-4890
See merge request espressif/esp-idf!20426
2022-10-12 16:21:33 +08:00
wangjialiang
50790f88d3
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-12 07:53:15 +00:00
wangjialiang
a6bb092450
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-12 07:38:19 +00:00
Roland Dobai
95c4749a5f
Merge branch 'feature/fatfs-support-detection-minimal-partition-size' into 'master'
...
fatfsgen.py: Support for detection of minimal partition size
Closes IDF-4122
See merge request espressif/esp-idf!20178
2022-10-12 15:21:25 +08:00
Harshit Malpani
9b07007efb
wifi_provisioning: fix error codes for wifi connect retry
...
Closes: https://github.com/espressif/esp-idf/issues/9399
2022-10-12 12:10:21 +05:30
Guillaume Souchere
1bbd524a7c
Merge branch 'fix/add-region-allowed-checks' into 'master'
...
heap: Fix memory boundary condition checks when adding new region
See merge request espressif/esp-idf!20491
2022-10-12 13:33:24 +08:00
Marius Vikhammer
23b5e54974
CI: add common debug helper sdkconfig that can be used in test apps
2022-10-12 11:47:04 +08:00
cjin
071abb4866
fix ble mem leak when sleep is enabled
2022-10-12 11:23:28 +08:00
Sudeep Mohanty
952ba77edb
Merge branch 'tests/migrate_esp_ringbuf_tests_to_pytest' into 'master'
...
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
Closes IDF-5582
See merge request espressif/esp-idf!20476
2022-10-11 23:12:03 +08:00
Satish Solanke
34722483b3
Merge branch 'master' into 'support/Update_sdkdefaultconfig_BLE_only_flag'
...
# Conflicts:
# examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c2
# examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c2
2022-10-11 10:39:15 +00:00
Darian
0cf1477675
Merge branch 'bugfix/freertos_vTaskSuspendAll_test_flakiness' into 'master'
...
FreeRTOS: Fix vTaskSuspendAll unit test falkiness
See merge request espressif/esp-idf!20531
2022-10-11 17:43:37 +08:00
Sudeep Mohanty
6feab513e4
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
...
This commit migrates the esp_ringbuf tests to the pytest framework.
2022-10-11 11:31:04 +02:00
laokaiyao
be7c656f6e
i2s: fix tx incomplete auto clear
...
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-11 16:57:05 +08:00
morris
a8eacd690c
Merge branch 'bugfix/allow_compare_equal_period' into 'master'
...
mcpwm: allow compare equals to period
See merge request espressif/esp-idf!20514
2022-10-11 16:53:27 +08:00
Jing Li
dd2f861b68
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep' into 'master'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
Closes AUD-4032, IDF-5967, and ESPCS-867
See merge request espressif/esp-idf!20197
2022-10-11 16:46:48 +08:00
wangmengyang
7736cdefd8
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-11 16:36:37 +08:00
Jiang Jiang Jian
3b7d9faf78
Merge branch 'bugfix/fix_connect_fail_when_enable_SPIRAM' into 'master'
...
esp_wifi: fix connect fail when enable SPIRAM and ESPNOW send
Closes IDFGH-8189
See merge request espressif/esp-idf!20429
2022-10-11 16:26:54 +08:00
gaoxu
76eef386bb
esp_psram: update flash content moved to psram kconfig description
2022-10-11 15:15:04 +08:00
gaoxu
2cb2ff99af
docs: add description about flash content moved to psram feature
2022-10-11 15:15:04 +08:00
Wang Meng Yang
e0580d2669
Merge branch 'bugfix/update_ctrl_init_config_macro' into 'master'
...
Bugfix/update ctrl init config macro
Closes IDFGH-8441
See merge request espressif/esp-idf!20502
2022-10-11 14:25:37 +08:00
Darian Leung
7b1c0ef22c
freertos: Fix vTaskSuspendAll unit test falkiness
...
This commit fixes falkey unit tests (due to memory leaks) by adding a short
delay at the end of the test to allow the idle task to free task memory.
2022-10-11 14:24:39 +08:00
Wang Meng Yang
6c5c595d6f
Merge branch 'bugfix/blufi_add_host_deinit_api' into 'master'
...
Blufi: Added an API to stop Bluetooth / Blufi profile
See merge request espressif/esp-idf!20360
2022-10-11 14:13:41 +08:00
gauri patankar
84252e4eb8
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-11 11:33:33 +05:30
Darian Leung
2059fb885e
freertos: Move FPU unit tests to correct directory
...
This commit moves the FPU unit tests to the correct directory so that they are
built by the unit tests app.
2022-10-11 14:03:28 +08:00
gauri patankar
c286b0192b
wpa_supplicant: Move SAE modules into dragonfly files
2022-10-11 11:26:39 +05:30
jingli
5f60c4345e
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
2022-10-11 12:11:36 +08:00
jingli
2b8c43df69
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-10-11 12:11:36 +08:00
jingli
128d82eaaa
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-10-11 12:11:36 +08:00
jingli
b903a2253b
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-10-11 12:11:28 +08:00
morris
ad376e2d99
mcpwm: allow compare equals to period
2022-10-11 11:25:33 +08:00
Chen Jian Hua
88b71f6416
Merge branch 'bugfix/fix_esp_hid_auth_fail_crash' into 'master'
...
Fix esp hid crash when auth failed
Closes IDFGH-7417
See merge request espressif/esp-idf!19454
2022-10-11 10:57:26 +08:00
Darian
41d25b20ec
Merge branch 'refactor/freertos_stack_initialization' into 'master'
...
FreeRTOS: Refactor task stack initialization code
See merge request espressif/esp-idf!20310
2022-10-10 18:31:17 +08:00
Ivan Grokhotkov
6a86614d74
fatfs: add missing readme file for the test apps
2022-10-10 12:15:56 +02:00
Mahavir Jain
fffc72d307
esp_http_server: fix few coverity warnings
...
- unreachable code
- uninitialized values
- missing return checks
2022-10-10 15:35:43 +05:30
Mahavir Jain
a7b42be1bd
esp_http_client: fix few coverity warnings
2022-10-10 15:22:23 +05:30
morris
d9bd809d61
spi_lcd: panel_io_spi_tx_color without cmd
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
morris
7d3c9e9f3e
spi_lcd: allow dc gpio set to -1
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
morris
3a5bc50c2f
spi_lcd: support CS active high
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-10-10 16:31:28 +08:00
Laukik Hase
82c5bdcb76
wpa_supplicant: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-10-10 11:48:16 +05:30
Roshan Bangar
aa03ffdc1b
Nimble/blufi: Added an API to stop Bluetooth / Blufi
2022-10-10 04:43:21 +00:00
Armando
e736abdc03
efuse: added adc calibration efuse fields on esp32c2
2022-10-10 11:46:05 +08:00
Armando
d0591f5aa9
efuse: remove PVT_LOW field on esp32c2
...
PVT_LOW doesn't exist on ESP32C2
2022-10-10 11:46:05 +08:00
Armando
ef3d2008fc
esp_adc: remove blank file
...
`adc_lock.c` and `adc_lock.h` are removed.
Content in these two files are moved to `adc_share_hw_ctrl.c` and
`adc_share_hw_ctrl.h`, in commit 4f80c0f2
.
`adc_lock.c` and `adc_lock.h` are left due to auto-solving conflicts.
This commit removes these two blank files.
2022-10-10 11:46:05 +08:00
jingli
101c2c6c3e
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-09 19:59:24 +08:00
jingli
0a44d09f4f
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-09 19:58:58 +08:00
morris
d35bb630ab
Merge branch 'feature/rgb_lcd_restart' into 'master'
...
rgb_lcd: support restart dma transmission manually
Closes IDF-5892
See merge request espressif/esp-idf!20295
2022-10-09 17:39:33 +08:00
Darian Leung
fe0d4f2834
freertos: Refactor riscv port stack initialization code
...
This commit refactors the pxPortInitialiseStack() function of the riscv
FreeRTOS ports (both IDF and SMP FreeRTOS).
- Each stack area is now separated into their own functions
- Each function will individually
- Push the stack pointer to allocate the stack area
- Initiaze the allocated stack area
- Each stack area's size and usage is now clearly documented in code
2022-10-09 14:51:45 +08:00
Darian Leung
282f10d1bc
freertos: Refactor xtensa port stack initialization code
...
This commit refactors the pxPortInitialiseStack() function of the xtensa
FreeRTOS ports (both IDF and SMP FreeRTOS).
- Each stack area is now separated into their own functions
- Each function will individually
- Push the stack pointer to allocate the stack area
- Initiaze the allocated stack area
- Each stack area's size and usage is now clearly documented in code
2022-10-09 14:48:30 +08:00
Wang Meng Yang
a5e19246df
Merge branch 'bugfix/fix_gattc_disc_crash' into 'master'
...
Bluedroid: configurable max gattc cache characteristic count
See merge request espressif/esp-idf!19842
2022-10-09 11:31:59 +08:00
Evan Neidler
54ee184a95
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-09 10:52:04 +08:00
Armando
5fd4dbad12
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-09 02:35:22 +00:00
Zhi Wei Jian
1308ff3d21
Merge branch 'bugfix/fix_esp32_ble_assert_32' into 'master'
...
Fixed ESP32 BLE assert(32 0)
Closes BT-2809
See merge request espressif/esp-idf!20446
2022-10-08 21:51:50 +08:00
Zhi Wei Jian
3b20bc7adc
Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually' into 'master'
...
allow bluedroid host to report adv_ind separately
See merge request espressif/esp-idf!20305
2022-10-08 21:41:31 +08:00
Wang Meng Yang
0fa55c897f
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3' into 'master'
...
Fixed BLE lld_per_adv.c line 401 assert
Closes BT-2624
See merge request espressif/esp-idf!20447
2022-10-08 20:49:43 +08:00
chenjianhua
137a7cb592
bluedroid: configurable max gattc cache characteristic count
2022-10-08 17:47:17 +08:00
zhangyanjiao
a165d5b3ef
esp_wifi: fix connect fail when enable SPIRAM
...
Closes IDFGH-8189
2022-10-08 15:49:02 +08:00
Michael (XIAO Xufeng)
8282dca796
Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug' into 'master'
...
ESP32C3: Fix system not stable bug when dbias storing in efuse is bigger than 27
Closes IDF-6048
See merge request espressif/esp-idf!20453
2022-10-08 14:56:40 +08:00
zwj
01faa7b664
allow bluedroid host to report adv_ind separately
2022-10-08 14:49:36 +08:00
Aditya Patwardhan
6328afdce6
wifi_provisioning/manager.c: Fix small bug introduced in recent MR.
2022-10-07 18:27:08 +05:30
Aditya Patwardhan
acc3dc8bd2
protocomm/esp_srp: Allocate memory for username only when the
...
verification is successful
2022-10-07 18:27:07 +05:30
Aditya Patwardhan
68947b5944
protocommm/esp_srp: Fix small issues reported by coverity.
2022-10-07 18:27:07 +05:30
Guillaume Souchere
cd805a5ab1
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-07 13:22:30 +02:00
morris
05092e2f82
rgb_lcd: support restart dma transmission manually
...
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.
Added a restart function to help the user to make them sync again.
2022-10-07 18:46:05 +08:00
Alexey Lapshin
58ff462611
efuse: fix esp_efuse_utility_write_reg() declaration
2022-10-07 14:30:35 +04:00
Sudeep Mohanty
052dc64616
Merge branch 'feature/ulp_fix_ignore_tests' into 'master'
...
ulp: add all ignored ulp unit tests to the pytest framework
See merge request espressif/esp-idf!20465
2022-10-07 14:17:12 +08:00
Ivan Grokhotkov
23e1ae1bc2
storage: fix and re-enable -Wformat warnings
2022-10-06 16:16:32 +02:00
Martin Vychodil
1abd4eac2c
Merge branch 'test/fatfs_component_test_apps' into 'master'
...
fatfs: migrate unit tests to component test app, re-enable test for C2
Closes IDF-5588 and IDF-5136
See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Sudeep Mohanty
93153bdfe1
ulp: add all 'ignore' tests to pytest framework
...
This commit adds a way to run all 'ignore' tests for ulp using the
pytest framework.
2022-10-06 12:58:11 +02:00
Guillaume Souchere
cc545fbf9a
Merge branch 'feature/heap-fix-ignored-tests' into 'master'
...
heap: add all 'ignore' tests to pytest framework
See merge request espressif/esp-idf!20478
2022-10-06 16:25:18 +08:00
Roland Dobai
a6792c2673
Merge branch 'feature/use_tools_json_to_check_toolchain_ver' into 'master'
...
Tools: use tools.json to double-check toolchain version when building
See merge request espressif/esp-idf!19894
2022-10-06 16:22:41 +08:00
Rahul Tank
81c23740e1
Nimble: Added check to deregister stack callback with controller during
...
stack deinit
2022-10-06 09:31:09 +05:30
Rocha Euripedes
8dff5bbf69
Merge branch 'bugfix/wrong_ws_mask_check' into 'master'
...
[tcp_transport] Bugfix: Remove unecessary mask_key check
See merge request espressif/esp-idf!20366
2022-10-05 21:47:42 +08:00
Guillaume Souchere
2b5a844640
heap: fix the boundary checks when adding a new region
2022-10-05 15:08:21 +02:00
Guillaume Souchere
2cce5e98b1
heap: add dynamic poisoning threshold in pytest env to allow test with known memory leak to pass
2022-10-05 15:07:37 +02:00
Guillaume Souchere
a29627f59d
heap: fix the size of buffers in ignored tests
...
the ignored tests are updated with the minimum required buffer size to create
a new heap using the tlsf heap callocator.
2022-10-05 15:07:06 +02:00
Kapil Gupta
198a4335f2
Remove unnecessary code from disconnect handler
2022-10-04 21:38:59 +05:30
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2
2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
87ea3142ac
Merge branch 'contrib/github_pr_9899' into 'master'
...
Make esp_app_desc a weak symbol (GitHub PR)
Closes IDFGH-8433
See merge request espressif/esp-idf!20461
2022-10-04 13:40:32 +08:00
David Cermak
1f2c16af97
lwip/test: Add SNTP cases to check NTP timestamp overflow
2022-10-03 17:34:42 +02:00
Alexey Lapshin
e6f7b1a3a0
tools: cmake: check tool supported version with idf_tools.py
2022-10-03 19:01:32 +04:00
Rocha Euripedes
d6aacbc9ce
Merge branch 'feature/adjust_log_level' into 'master'
...
[tcp_transport] - Change log level on socket reading timeout
See merge request espressif/esp-idf!20448
2022-10-03 16:41:22 +08:00
Akos Vandra-Meyer
48b50327a0
Make esp_app_desc a weak symbol
...
By doing so, the application will be able to define its own esp_app_desc generated at their discretion, with help of whatever build process they use, and removes the necessity to rebuild esp-idf every time only to have the esp_app_desc updated.
Removes the patch necessary for https://github.com/esp-rs/esp-idf-sys/pull/136 , where we are building esp-idf and basically linking it as a static library. The process building the library doesn't have access to the real application version or the build time, since we are only rebuilding esp-idf if the sdkconfig changes.
2022-10-02 18:46:46 +02:00
Mahavir Jain
5fffe4bba5
Merge branch 'fix/fix_protocomm_security2_backward_compatibility' into 'master'
...
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid...
See merge request espressif/esp-idf!20003
2022-10-02 23:08:01 +08:00
Laukik Hase
8476ba1b7a
Merge branch 'bugfix/https_server_dyn_buf' into 'master'
...
https_server: Fix example when `MBEDTLS_DYNAMIC_BUFFER` is enabled
Closes IDFCI-1479
See merge request espressif/esp-idf!20452
2022-10-01 15:52:08 +08:00
Song Ruo Jing
29363b1af0
Merge branch 'bugfix/ets_update_cpu_frequency_typo_esp32s3' into 'master'
...
esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency
See merge request espressif/esp-idf!20454
2022-10-01 13:09:43 +08:00
Laukik Hase
aeb42ce3a7
https_server: Fix example when MBEDTLS_DYNAMIC_BUFFER
is enabled
...
- While checking if ciphersuite uses RSA key exchange methods,
the APIs `mbedtls_ssl_get_ciphersuite_id_from_ssl` and
`mbedtls_ssl_ciphersuite_from_id` were used to get the ciphersuite
info.
- However, this is incorrect as we need the ciphersuite info from the
handshake instance and not the ssl_session instance.
2022-09-30 23:25:27 +05:30
Michael (XIAO Xufeng)
9bc18ba480
Merge branch 'feat/sdio_slave_disable_hs' into 'master'
...
sdio_slave: allow disabling highspeed mode
Closes IDF-5994
See merge request espressif/esp-idf!20312
2022-10-01 01:52:47 +08:00
Martin Gaňo
21408698e1
fatfsgen.py: Support for detection of minimal partition size
2022-09-30 15:20:49 +02:00
Martin Gaňo
1206d05d36
fatfsgen.py: removed unused options in Kconfig
2022-09-30 14:49:20 +02:00
Song Ruo Jing
4eab31cb82
esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency introduced in 23e37393a7
2022-09-30 20:45:16 +08:00
Kapil Gupta
7a7bdf05d5
Merge branch 'bugfix/eap_hash_key_len_validation' into 'master'
...
esp_wifi:adding hash key length validation
Closes WIFI-4882 and WIFI-4825
See merge request espressif/esp-idf!20438
2022-09-30 19:32:30 +08:00
cje
4dddb6d8e8
fix system not stable bug when dbias storing in efuse is bigger than 27
2022-09-30 19:24:51 +08:00
Aditya Patwardhan
244f4ce1d9
protocomm: Enable security version 2 by default
2022-09-30 16:53:20 +05:30
Aditya Patwardhan
0e3c630f9a
wifi_prov_mgr: Add security version in the proto-ver endpoint.
2022-09-30 16:53:20 +05:30
Aditya Patwardhan
1d8e7fe2d7
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid breaking the usage for sec1
2022-09-30 16:53:06 +05:30
Jiang Jiang Jian
cf9921a9f5
Merge branch 'bugfix/set_ap_rsnxe_while_connect' into 'master'
...
esp_wifi: Set AP rsnxe while connection
See merge request espressif/esp-idf!20046
2022-09-30 18:25:30 +08:00
Jiang Jiang Jian
f881197f15
Merge branch 'bugfix/master_send_data_err_when_retransmit' into 'master'
...
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
Closes BT-2620
See merge request espressif/esp-idf!20430
2022-09-30 18:21:22 +08:00
Mahavir Jain
59a5bf61e9
Merge branch 'protobuf-c/update_submodule_to_v1.4.1' into 'master'
...
protobuf-c: Update submodule to v1.4.1
Closes IDF-6031
See merge request espressif/esp-idf!20435
2022-09-30 17:20:57 +08:00
Euripedes Rocha
456d6a5d17
[tcp_transport] - Change log level on socket reading timeout
...
- Log level set to VERBOSE to reduce noise on debug.
2022-09-30 09:59:08 +02:00
zwj
457006e04e
Fixed BLE lld_per_adv.c line 401 assert
2022-09-30 15:45:37 +08:00
Roland Dobai
a38c63b211
Merge branch 'feature/enable-variable-partition-size-fatfs' into 'master'
...
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
Closes IDF-4130
See merge request espressif/esp-idf!20412
2022-09-30 15:24:26 +08:00
zwj
4ba1dd0a9c
Fixed ESP32 BLE assert(32 0)
2022-09-30 15:07:24 +08:00
Martin Vychodil
dd3cf2513d
Merge branch 'bugfix/fatfsgen-omit-cluster-for-empty-files' into 'master'
...
fatfsgen.py: omit cluster allocation when the file is empty
Closes IDF-6037
See merge request espressif/esp-idf!20441
2022-09-30 14:42:52 +08:00
Martin Vychodil
27601eed24
Merge branch 'feature/ut-fatfs-not-ignore-leading-spaces' into 'master'
...
fatfs/unittest: fatfs ignores leading spaces
Closes IDF-5896
See merge request espressif/esp-idf!20152
2022-09-30 14:38:56 +08:00
Laukik Hase
1fc3db23c1
Merge branch 'feature/wifi_prov_mgr_reprovision' into 'master'
...
wifi_prov_mgr: Added support for re-provisioning
Closes IDFGH-4111 and IDF-5714
See merge request espressif/esp-idf!20027
2022-09-30 14:08:18 +08:00
gauri patankar
c89686647d
esp_wifi:added hash key length validation
2022-09-30 10:40:27 +05:30
Martin Gaňo
7fb62d41d5
fatfsgen.py: omit cluster allocation when the file is empty
2022-09-29 16:18:56 +02:00
Martin Gaňo
41742c2369
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
2022-09-29 16:16:36 +02:00
Kapil Gupta
cc6196ff6a
esp_wifi: Remove unnecessary function pointer from wpa_sm_init
2022-09-29 12:46:53 +00:00
Jakob Hasse
f33ac0a037
Merge branch 'feature/freertos_sim' into 'master'
...
FreeRTOS Single Core Simulator PoC
See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Wu Zheng Hui
511f1d7de4
Merge branch 'feature/update_esp32c6_rom_20220919' into 'master'
...
esp32c6: update freeze rom and memory related
Closes IDF-6022
See merge request espressif/esp-idf!20397
2022-09-29 19:17:57 +08:00
Martin Vychodil
e82adaaaf7
Merge branch 'feature/add-test-coverage-with-review' into 'master'
...
fatfs: add test coverage and comments to the fatfsgen.py related code
Closes IDF-5864
See merge request espressif/esp-idf!19986
2022-09-29 19:17:17 +08:00
Mahavir Jain
47fa64343f
Merge branch 'coredump_support_for_c2' into 'master'
...
espcoredump: Add support for esp32c2
Closes IDF-5050
See merge request espressif/esp-idf!20274
2022-09-29 19:13:27 +08:00
Darian
e925a1444a
Merge branch 'bugfix/intr_alloc_missing_critical_section_exit' into 'master'
...
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE (GitHub PR)
Closes IDFGH-8403
See merge request espressif/esp-idf!20398
2022-09-29 19:08:33 +08:00
Martin Gaňo
f995584a6d
fatfs: unittest fatfs ignores leading spaces
2022-09-29 12:22:53 +02:00
Mahavir Jain
16a123ce8f
Merge branch 'feature/mbedtls_private_cleanup' into 'master'
...
mbedtls: `MBEDTLS_PRIVATE` & `MBEDTLS_ALLOW_PRIVATE_ACCESS`-related cleanup
Closes IDF-5861
See merge request espressif/esp-idf!20163
2022-09-29 18:20:26 +08:00
harshal.patil
a976dd1608
protobuf-c: Update submodule to v1.4.1
2022-09-29 15:35:19 +05:30
David Cermak
ad0da9cd2b
lwip: Migrate unit tests to test_apps
2022-09-29 10:40:28 +02:00
zwl
8a221f0073
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-29 16:26:10 +08:00
tgotic
1a73f5c174
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 14:20:43 +08:00
Jiang Jiang Jian
c61910c267
Merge branch 'bugfix/ble_light_sleep_enter_issue_master' into 'master'
...
Bugfix/ble light sleep enter issue
See merge request espressif/esp-idf!20337
2022-09-29 13:57:39 +08:00
Laukik Hase
d7eb2c7b4e
mbedtls: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-09-29 10:13:14 +05:30
Laukik Hase
b7ae23856a
protocomm: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-09-29 10:13:13 +05:30
Laukik Hase
9bc1cc706e
wifi_prov_mgr: Add support for re-provisioning
...
Closes https://github.com/espressif/esp-idf/issues/5978
2022-09-29 10:12:47 +05:30
wuzhenghui
357490267a
heap: update esp32c6 memory layout
2022-09-29 11:13:06 +08:00
wuzhenghui
66fb86972d
bootloader: update bootloader memory map
2022-09-29 11:13:06 +08:00
wuzhenghui
cf21dfa6a5
rom: update freeze rom and ld (20220919)
2022-09-29 11:13:06 +08:00
Marius Vikhammer
b5c6f4bf24
Merge branch 'bugfix/heap_test_realloc' into 'master'
...
heap: fix random alloc test timing out in CI
Closes IDFCI-1473
See merge request espressif/esp-idf!20365
2022-09-29 10:39:18 +08:00
Martin Gano
1b3fed3b5c
Merge branch 'feature/fatfsgen-enable-512-bytes-sector' into 'master'
...
fatfsgen.py: enabled 512 sized sectors
Closes IDF-5523
See merge request espressif/esp-idf!20344
2022-09-28 23:11:12 +08:00
Mahavir Jain
ed884fece6
espcoredump: enable tests for esp32c2 target
2022-09-28 20:41:01 +05:30
Mahavir Jain
a2db79eb26
espcoredump: add esp32c2 target in test_app
2022-09-28 20:41:01 +05:30
Mahavir Jain
9e6d181557
espcoredump: re-enable test_app build for esp32c2
2022-09-28 20:41:00 +05:30
Harshit Malpani
8fba04638b
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-09-28 20:41:00 +05:30
Shu Chen
45fb699542
Merge branch 'feature/openthread_flash_optimization' into 'master'
...
openthread: Add some flash optimization options
See merge request espressif/esp-idf!20290
2022-09-28 21:43:44 +08:00
WanqQixiang
1d826c7a2b
openthread: Add some flash optimization options for openthread component
...
openthread: use a certain version of esp_openthread_cli_extension managed component
2022-09-28 20:37:44 +08:00
Jiang Jiang Jian
dbdd8ee1a5
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected' into 'master'
...
bugfix/fix the issue that bt can not connect after ble connected
Closes IDFGH-4754 and AUD-4085
See merge request espressif/esp-idf!18542
2022-09-28 15:46:06 +08:00
Jakob Hasse
bfbbd9d790
feat(freertos): Added FreeRTOS POSIX/Linux Simulator
...
* Added port layer from the FreeRTOS POSIX port, added
additional port code for ESP-IDF.
* Created another hello world example using that POSIX
port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Michael (XIAO Xufeng)
507864c4f1
sdio_slave: allow disabling highspeed mode
2022-09-27 18:38:35 +08:00
Martin Gaňo
943f96422b
fatfs: add test coverage and comments to the fatfsgen.py related code
2022-09-27 12:14:32 +02:00
morris
c91f693408
test: fix rmt iram case random failure
2022-09-27 18:03:21 +08:00
Mahavir Jain
7e57cdfcfb
Merge branch 'bugfix/wifi_prov_device_name' into 'master'
...
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0'
See merge request espressif/esp-idf!20340
2022-09-27 17:57:18 +08:00
Euripedes Rocha
56a54afae9
[tcp_transport] Bugfix: Remove unecessary mask_key check
...
- In the processing of WS payload the check for a valid mask_key was
made by checking for a valid address. The address is always valid and
the test is meaningless.
- Mask key is initialized in the process of header reading and set to 0
in case of mask not set.
2022-09-27 11:00:37 +02:00
Marius Vikhammer
1327a82b65
heap: fix random alloc test timing out in CI
2022-09-27 16:51:54 +08:00
Martin Gaňo
2a0ea8703d
fatfsgen.py: enabled 512 sized sectors
2022-09-27 10:18:52 +02:00
morris
88c0053172
Merge branch 'feature/esp32c6_bringup' into 'master'
...
ESP32C6: Introduce new chip target esp32c6
Closes IDF-5247
See merge request espressif/esp-idf!19286
2022-09-27 13:23:21 +08:00
Zim Kalinowski
04ecfacbdd
Merge branch 'feature/migrate-console-tests-to-pytest' into 'master'
...
console: move unit tests to pytest
Closes IDF-5568
See merge request espressif/esp-idf!20192
2022-09-27 00:44:52 +08:00
cjin
0d113fb609
update controller lib for bugfix on light-sleep
2022-09-26 21:25:48 +08:00
cjin
f289710ccf
fix ble compilation error
2022-09-26 20:51:13 +08:00
wuzhenghui
fca7d70e05
esp32c6: add minimal ci support
...
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Song Ruo Jing
1eb9a24a48
esp_system: Minor update for esp32c6
2022-09-26 20:32:13 +08:00
wuzhenghui
5115e31175
driver: Minor update for esp32c6
...
Leave TODO for esp_adc and legacy adc driver
HAL/SOC update for spi and i2s
2022-09-26 20:32:13 +08:00
wuzhenghui
fbc19fad70
memory_utils: Modify esp_ptr_in_diram_iram to be compatible with esp32c6
2022-09-26 20:32:13 +08:00
songruojing
a8b43d197f
esp32c6: skip esp_phy and esp_wifi support
2022-09-26 20:32:13 +08:00
wuzhenghui
6b6bb3a321
esp32c6: add wpa_supplicant support
2022-09-26 20:32:13 +08:00
wuzhenghui
22862d7eb2
esp32c6: add esp_gdb_stub support
2022-09-26 20:32:13 +08:00
wuzhenghui
4a86a6a258
esp32c6: add heap support
2022-09-26 20:32:13 +08:00
wuzhenghui
a7b549acca
esp32c6: add esp_pm support
2022-09-26 20:32:13 +08:00
wuzhenghui
62f9ddcb82
esp32c6: add newlib support
2022-09-26 20:32:13 +08:00
wuzhenghui
ff8dd1e1a8
esp32c6: add spi_flash support
2022-09-26 20:32:13 +08:00
wuzhenghui
23e37393a7
esp32c6: add esp_hw_support
2022-09-26 20:32:13 +08:00
wuzhenghui
21663bd0b9
esp32c6: add efuse support
2022-09-26 20:32:13 +08:00
wuzhenghui
68159feb10
esp32c6: add esp_rom support (rom version: esp32c6-20220901)
2022-09-26 20:32:04 +08:00
wuzhenghui
1c820b0a6d
esp32c6: add bootloader support
2022-09-26 20:24:52 +08:00
Mahavir Jain
a9f15d1556
Merge branch 'bugfix/fix_socket_leak' into 'master'
...
esp-tls: socket will be set to -1 and will not be closed
Closes IDFGH-8378
See merge request espressif/esp-idf!20333
2022-09-26 19:15:05 +08:00
Yuan Jian Min
9a97cfbffc
esp-tls: socket will be set to -1 and will not be closed
...
Closes https://github.com/espressif/esp-idf/issues/9847
2022-09-26 19:15:04 +08:00
Michael (XIAO Xufeng)
03d8059fa5
Merge branch 'feat/essl_extra_component' into 'master'
...
essl: move from esp-idf component to extra component
See merge request espressif/esp-idf!20221
2022-09-26 18:29:07 +08:00
Zim Kalinowski
c37ccfb84e
console: migrate console tests to pytest
2022-09-26 12:02:38 +02:00
Kapil Gupta
6729f870b9
wpa_supplicant: Prevent pmk flush for unspecified reasoncode
2022-09-26 15:09:48 +05:30
Isha Pardikar
57108a7ab1
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-26 15:07:50 +05:30
Roland Dobai
d08898aabc
Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
...
tools: fixed elf symbols load if gdbinit specified
Closes IDF-4991 and GCC-246
See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Michael (XIAO Xufeng)
02a9de904a
essl: move from esp-idf component to extra component
2022-09-26 12:26:55 +08:00
Jin Cheng
da44fc9cbe
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-09-23 17:58:39 +08:00
Martin Vychodil
7d28abae4e
Merge branch 'feature/sdcard_custom_freq' into 'master'
...
[Storage] Enable SD card custom frequency setup
Closes IDFGH-7089
See merge request espressif/esp-idf!19038
2022-09-23 17:45:30 +08:00
Guillaume Souchere
1ecddf5678
Merge branch 'feature/heap_pytest' into 'master'
...
heap: move unit tests to pytest
Closes IDF-5591
See merge request espressif/esp-idf!20229
2022-09-23 17:44:14 +08:00
Chen Jian Hua
76834a767f
Merge branch 'bugfix/fix_ble_adv_tx_power_map' into 'master'
...
Fix ble adv tx power map
Closes IDFGH-8299
See merge request espressif/esp-idf!20225
2022-09-23 16:03:12 +08:00
Song Ruo Jing
82cbcf893a
Merge branch 'bugfix/fix_uart_fake_tx_done_temp_revert' into 'master'
...
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
See merge request espressif/esp-idf!20286
2022-09-23 15:53:45 +08:00
Guillaume Souchere
bf18a05a5f
unit-tests: Move the leak related tests from the heap component to test_utils
2022-09-23 09:49:09 +02:00
Guillaume Souchere
82c98c7f48
heap: Add test_apps configs
2022-09-23 09:49:09 +02:00
Guillaume Souchere
405c26da6d
heap: migrate unit tests to pytest
2022-09-23 09:49:07 +02:00
Rahul Tank
f39869fdf5
Merge branch 'bugfix/reorder_stack_deinit_function' into 'master'
...
Nimble: Removed extra deinit for flow timer
See merge request espressif/esp-idf!20124
2022-09-23 13:43:29 +08:00
Wan Lei
e352382aa8
Merge branch 'feature/no_return_Q_from_isr_for_slave' into 'master'
...
spi_slave: add new flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR
Closes IDF-5971
See merge request espressif/esp-idf!20164
2022-09-23 10:34:07 +08:00
morris
4cc763fbf0
Merge branch 'feature/mcpwm_update_compare_iram_safe' into 'master'
...
mcpwm: make set_compare_value iram safe
Closes IDFGH-8314
See merge request espressif/esp-idf!20254
2022-09-22 22:18:45 +08:00
Roland Dobai
2dcb19515a
Merge branch 'bugfix/fatfsgen-enable-lfn-for-nonascii' into 'master'
...
fatfsgen.py: use lfn record when forbidden character detected in the file name
Closes IDF-5981
See merge request espressif/esp-idf!20180
2022-09-22 18:15:25 +08:00
Mahavir Jain
787c69a2cc
Merge branch 'bugfix/add_so_linger_to_httpd_config' into 'master'
...
esp_http_server: Add struct linger in httpd_config_t
Closes IDFGH-8004
See merge request espressif/esp-idf!20142
2022-09-22 17:18:33 +08:00
Michael (XIAO Xufeng)
eb290ecd12
Merge branch 'doc/usj_sw_reset_alive_bbpll_doc' into 'master'
...
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
See merge request espressif/esp-idf!20096
2022-09-22 15:30:41 +08:00
Shreyas Sheth
48fd5bcda4
esp_wifi: Set AP rsnxe while connection
2022-09-22 12:42:38 +05:30
Song Ruo Jing
701e49278a
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-22 14:30:39 +08:00
Darian
b39435647e
Merge branch 'feature/freertos_task_delay_test_refactor' into 'master'
...
FreeRTOS: Refactor vTaskDelay() tests
See merge request espressif/esp-idf!20271
2022-09-22 12:52:04 +08:00
Harshit Malpani
a3fd6d1070
esp_http_server: Add linger in httpd_config_t
...
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-22 10:11:50 +05:30
morris
57562b3a55
Merge branch 'refactor/migrate_gdma_test_pytest' into 'master'
...
gdma: migrate ut to pytest
Closes IDF-5329
See merge request espressif/esp-idf!20281
2022-09-22 12:30:07 +08:00
jingli
42699637ec
soc: remove unused DR_REG_DPORT_END macro for c2/c3/s2/s3
2022-09-22 11:45:20 +08:00
jingli
cce2af9193
wifi/bt: fix part of modem module not reset when power up
2022-09-22 11:45:20 +08:00
Darian Leung
aaf7547665
freertos: Refactor vTaskDelay() and vTaskDelayUntil() unit tests
...
This commit refactors the existing vTaskDelayUntil() unit test according to
the FreeRTOS unit test guidelines, and adds a new vTaskDelay() unit test.
2022-09-22 11:27:29 +08:00
Darian Leung
193e30bbf7
freertos: Rename vTaskDelayUntil unit test file
2022-09-22 11:27:29 +08:00
Darian Leung
0d9d4f60df
freertos: Add unit test utilities
...
This commit adds "freertos_test_utils.h/c" that contains utility functions
used in FreeRTOS unit tests.
2022-09-22 11:27:29 +08:00
morris
09b511c578
Merge branch 'feature/esp32c6_gpio_sdm_bringup' into 'master'
...
gpio_sdm: bring up SDM driver on esp32c6
Closes IDF-5318
See merge request espressif/esp-idf!20158
2022-09-22 10:54:39 +08:00
morris
ff6855c4b1
gdma: migrate ut to pytest
2022-09-22 10:44:57 +08:00
morris
d609884407
Merge branch 'refactor/esp_rom_pytest' into 'master'
...
esp_rom: migrate ut to pytest
Closes IDF-5583
See merge request espressif/esp-idf!20258
2022-09-22 10:31:37 +08:00
Alexey Lapshin
29655fe22a
tools: fixed elf symbols load if gdbinit specified
...
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-09-21 22:39:03 +04:00
Michael (XIAO Xufeng)
a0bf87ee5d
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 01:36:06 +08:00
Jiang Jiang Jian
5a83ed8b27
Merge branch 'bugfix/bludroid_debug_esp32c2' into 'master'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20029
2022-09-22 00:07:10 +08:00
David Cermak
9e31c5077d
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
2022-09-21 17:38:37 +02:00
Martin Gaňo
567f5f963c
fatfsgen.py: use lfn record when forbidden character detected in the file name
...
The file name is recorded as a LFN when it doesn't fit 8.3 pattern or if it contains characters prohibited in SFN
2022-09-21 15:22:51 +00:00
Martin Vychodil
72de7c512e
Merge branch 'bugfix/increase-total-files-in-dir' into 'master'
...
fatfsgen.py: Increase number of files in directory
Closes IDF-5970
See merge request espressif/esp-idf!20155
2022-09-21 23:22:38 +08:00
Jing Li
db1bbdafea
Merge branch 'bugfix/fix_c2_xtal_unstable_when_wakeup_from_sleep' into 'master'
...
esp_hw_support/esp32c2/rtc: fix c2 xtal unstable when wakeup from sleep
See merge request espressif/esp-idf!20272
2022-09-21 22:53:59 +08:00
Martin Vychodil
4799cc1439
Merge branch 'feature/nvs_partition_parse_tool' into 'master'
...
tools: NVS partition parser
Closes IDF-4049
See merge request espressif/esp-idf!18107
2022-09-21 22:16:13 +08:00
morris
c99edc6715
mcpwm: make set_compare_value iram safe
...
Closes https://github.com/espressif/esp-idf/issues/9793
2022-09-21 13:37:49 +00:00
Martin Gaňo
b187fad076
fatfsgen.py: Increase number of files in directory
...
By starting the ID at the value 1, instead of ord('1') we increase the possible number of files by 49.
2022-09-21 13:30:05 +00:00
cjin
8e348c3f63
update ble controller lib for bugfix on esp32c2
2022-09-21 12:34:41 +00:00
cjin
42a07cf16b
fix err using rpa for confirmation calculation
2022-09-21 12:34:41 +00:00
cjin
872baad9b9
mbuf copy hci data error fix
2022-09-21 12:34:41 +00:00
cjin
b345e89b4a
fix on data len change cmd malfunction
2022-09-21 12:34:41 +00:00
jingli
04530d7112
esp_hw_support/esp32c2/rtc: take a safer xtal buf wait
2022-09-21 12:27:26 +00:00
Darian
9657e687e4
Merge branch 'feature/freertos_10.4.3_sync_various_functions' into 'master'
...
FreeRTOS: (Sync v10.4.3) Update various functions (Remerge)
See merge request espressif/esp-idf!20235
2022-09-21 16:04:06 +08:00
Rocha Euripedes
819dae8008
Merge branch 'feature/mqtt_cmakefile_cleanup' into 'master'
...
Mqtt: Cmakelists.txt file simplification.
See merge request espressif/esp-idf!19966
2022-09-21 15:21:07 +08:00
Jiang Jiang Jian
a0908b1764
Merge branch 'bugfix/fix_xtal32k_error_detect' into 'master'
...
esp_hw_support/clk_cali: fix xtal32k error detect
Closes BT-2621 and IDF-5788
See merge request espressif/esp-idf!19500
2022-09-21 13:50:56 +08:00
Gao Xu
1005c3b9d5
Merge branch 'feature/add_flash_copy_to_psram_example' into 'master'
...
system: add an example showing moving Flash content to PSRAM feature
Closes IDF-5156
See merge request espressif/esp-idf!19340
2022-09-21 12:15:19 +08:00
Rahul Tank
c40fcb1089
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-21 09:40:56 +05:30
wanlei
ee6d3de128
spi_slave: add a flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR
...
if using this flag, driver willn't return the trans-done descriptor from ISR, so
`spi_slave_get_trans_result()` shouldn't be called.
besides, callback is the only way to know transaction status in that case, so a
`post_trans_cb` will be checked mandatory.
2022-09-21 11:56:27 +08:00
Ivan Grokhotkov
4a69a3f7ef
Merge branch 'feature/cmake_use_new_features' into 'master'
...
cmake: use features introduced between 3.5 and 3.16
Closes IDF-5955
See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
jingli
60c1811433
esp_hw_support/clk_cali: remove redundant check for cali value
2022-09-21 03:03:25 +00:00
jingli
05a2fbe810
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 03:03:25 +00:00
Jiang Jiang Jian
292fe7c57f
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2_master' into 'master'
...
Bugfix/ble light sleep error on esp32c2 master
Closes BLE-161 and BLE-162
See merge request espressif/esp-idf!20248
2022-09-21 10:53:18 +08:00
morris
65767769a9
esp_rom: migrate ut to pytest
2022-09-21 10:42:13 +08:00
Darian
5f85f507fb
Merge branch 'feature/freertos_test_reorganization' into 'master'
...
FreeRTOS: Add test reorganization guidelines and initial batch of refactored tests
Closes IDF-5997
See merge request espressif/esp-idf!20233
2022-09-21 00:36:51 +08:00
Kapil Gupta
2bbd5ea69c
Merge branch 'bugfix/wps_connect_to_open_ap' into 'master'
...
esp_wifi: bugfix wps connect to open AP
See merge request espressif/esp-idf!20247
2022-09-20 23:59:47 +08:00
Mahavir Jain
44bee0acfd
Merge branch 'bugfix/esptool_secure_boot_signing_key_path' into 'master'
...
esptool: (re)populate the secure boot signing key path
Closes IDFGH-8075
See merge request espressif/esp-idf!20218
2022-09-20 22:26:34 +08:00
Mo Fei Fei
ec680a2a82
Docs: Add CN translation for nvs_partition_parser/README.rst
2022-09-20 14:02:23 +00:00
Matus Fabo
1c6edff560
add: data classes for parsing NVS binary data
...
add: functions to print formatted NVS data
add: color support via ANSI escape sequences
add: documentation
2022-09-20 14:02:23 +00:00
Jash Gujarathi
ee493e0b45
Merge branch 'bugfix/fix_sta_scan_when_already_connected' into 'master'
...
esp-wifi: Restores station status to connected when no other AP is found for roam
Closes WIFI-4785
See merge request espressif/esp-idf!20120
\[WiFi\]Fixed the bug that station connected to an AP already connected caused subsequent scan fail.
2022-09-20 20:59:44 +08:00
Kapil Gupta
1cfd20c476
Merge branch 'bugfix/wps_connection_optimization' into 'master'
...
wpa_supplicant: Use channel from WPS scan for WPS connect
See merge request espressif/esp-idf!20184
2022-09-20 20:09:31 +08:00
Island
cfbdc55717
Merge branch 'bugfix/lpn_not_recv_message_to_all_node' into 'master'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes
See merge request espressif/esp-idf!19711
2022-09-20 20:03:08 +08:00
Marius Vikhammer
0b0a541c7d
Merge branch 'feature/pthread_pytest' into 'master'
...
pthread: migrate unit tests to pytest test app
Closes IDF-5600
See merge request espressif/esp-idf!20188
2022-09-20 17:58:20 +08:00
Ivan Grokhotkov
66554aa215
cmake: remove unused defines from several host test apps
...
These macros are seemingly only used in the NVS host test, and are not
necessary in the other host test apps.
2022-09-20 11:35:45 +02:00
Ivan Grokhotkov
c392c06216
cmake: remove -D prefix from COMPILE_DEFINITIONS property
...
Unlike COMPILE_OPTIONS, COMPILE_DEFINITIONS CMake property assumes
values without the -D prefix, such as NAME or NAME=VAL.
Previously, IDF build system was passing COMPILE_DEFINITIONS build
property to CMake COMPILE_OPTIONS property, so -D prefix was not
a problem.
Now that COMPILE_DEFINITIONS CMake property is used, -D prefix has
to be removed.
(Note that this doesn't affect 'target_compile_definitions' function,
which strips -D prefix before adding the definition to the property.)
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
72b8ff7f87
cmake: use the ternary generator expressions supported since 3.8
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
2022-09-20 11:08:02 +02:00
Darian Leung
c126b910b6
freertos: Expand CONFIG_FREERTOS_SMP description
...
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2022-09-20 16:46:43 +08:00
Darian Leung
882515fcef
freertos: Add priority scheduling unit tests
...
This commit adds a priority scheduling unit test to test that the scheduler
always schedules the highest priority ready state task. Single core and SMP
variants of the test are both added.
2022-09-20 16:46:43 +08:00
Darian Leung
188c21319d
freertos: Add test reorganization README.md and portTestMacro.h
...
This commit adds a README.md containing guidelines on how to refactor the
FreeRTOS unit tests for upstreaming. A portTestMacro.h header was also added
which contains port implementation specific macros used by the test cases.
2022-09-20 16:46:43 +08:00
Mahavir Jain
59f79a7b92
Merge branch 'bugfix/parttool_commands_extra_partition_subtypes' into 'master'
...
parttool: fix parttool commands attribute parsing
Closes IDF-5879
See merge request espressif/esp-idf!20122
2022-09-20 16:22:53 +08:00
Jiang Jiang Jian
19759d5d33
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail' into 'master'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests
Closes ESPCS-855
See merge request espressif/esp-idf!19794
2022-09-20 15:12:14 +08:00
Chen Jian Hua
6014e92a8d
Merge branch 'bugfix/fix_ble_gen_rpa_by_host' into 'master'
...
Bluedroid: fix ble rpa generate and update by host
See merge request espressif/esp-idf!19617
2022-09-20 14:49:26 +08:00
zwl
16c8a369e6
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:44:00 +08:00
Shreyas Sheth
d12351f7a6
esp_wifi: bugfix wps connect to open AP
...
Set Mac address in correct field
2022-09-20 11:43:53 +05:30
Wang Meng Yang
02aad58856
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed' into 'master'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels
Closes BT-2764, BT-2730, and BT-2649
See merge request espressif/esp-idf!20189
2022-09-20 14:13:27 +08:00
harshal.patil
aca27c8db2
parttool: fix extra_partition_subtypes attribute parsing
2022-09-20 11:28:52 +05:30
jgujarathi
9e44dde2cd
esp_wifi : updated the wifi lib to fix the printf issue on esp32c2
2022-09-20 05:45:30 +00:00
jgujarathi
b5b1a1f31d
esp-wifi : Adds the status connected for station, when the station is already connected to the ap of the same bss- wifi-4785
2022-09-20 05:45:30 +00:00
zwl
f42eed9491
fixed ble can't enter light sleep
2022-09-20 12:08:09 +08:00
Jiang Jiang Jian
9d8d118397
Merge branch 'feature/add_mesh_support_macro' into 'master'
...
ble_mesh: docs: Remove BLE Mesh related reference for C2
Closes IDF-4215
See merge request espressif/esp-idf!19513
2022-09-20 11:06:25 +08:00
Jiang Jiang Jian
09f7589ef2
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err' into 'master'
...
Fixed extend adv tx power range error
See merge request espressif/esp-idf!20191
2022-09-20 10:45:25 +08:00
Jiang Jiang Jian
7df49f05c3
Merge branch 'bugfix/so_linger_close_wait_forever' into 'master'
...
lwip: Fix close() might block forever if SO_LINGER=y
Closes IDF-5851
See merge request espressif/esp-idf!20216
2022-09-20 10:44:49 +08:00
morris
6f1d1409d1
Merge branch 'bugfix/tinyusb_corrected_typo_naming_of_acm' into 'master'
...
tinyusb: fix typo naming of ACM
See merge request espressif/esp-idf!20212
2022-09-20 10:31:21 +08:00
Darian Leung
7e49d67bad
freertos: Move some port functions into flash by default
...
This commit places some functions in port.c and port_common.c into flash by
default. These functions are mostly called once during startup, thus shouldn't
affect applications much when placed into flash instead of the default IRAM.
2022-09-19 23:35:25 +08:00
Darian Leung
aa5d74410b
freertos: Synchronize tasks.c functions (minor changes) to v10.4.3
...
This commit synchronizes multiple functions in tasks.c with upstream v10.4.3
that contain minor differences.
The following functions have had their parameter names or code formatting
updated:
- xTaskCreateStaticPinnedToCore()
- xTaskCreatePinnedToCore()
- prvInitialiseNewTask()
- prvTaskIsTaskSuspended()
- vTaskStartScheduler()
- xTaskResumeAll()
- xTaskCheckForTimeOut()
- uxTaskResetEventItemValue()
The following functions have had their missing "xAlreadyYielded" restored
- xTaskDelayUntil()
- vTaskDelay()
The following functions have had their critical section/interrupt disdable
usage update
- vTaskSuspendAll()
- xTaskGetTickCountFromISR()
- xTaskGetApplicationTaskTagFromISR()
2022-09-19 21:30:52 +08:00
Darian Leung
5742c194e1
freertos: Synchronize tasks.c functions (major changes) to v10.4.3
...
This commit synchronizes multiple functions that contain major differences with
upstream v10.4.3. Multi-core modifications are then reapplied to the function.
Vanilla code uses "pxTCB == pxCurrentTCB" to check whether a task is currently
running. This commit adds the following macros instead.
- taskIS_CURRENTLY_RUNNING()
- taskIS_CURRENTLY_RUNNING_ON_CORE()
The following functions have been updated to use those macros instead.
- eTaskGetState()
- vTaskPrioritySet()
- vTaskResume()
The following functions have been synchronized with upstream v10.4.3.
Multi-core modifications are then reapplied.
- vTaskSuspend()
- vTaskDelete()
- prvGetExpectedIdleTime()
2022-09-19 21:30:47 +08:00
Darian Leung
15d8fc0722
freertos: Restore xAlreadyYielded usage in event_groups
...
This commit restores xAlreadyYielded in various event_group functions to
synchronize with upstream v10.4.3.
2022-09-19 21:30:43 +08:00
Darian Leung
5352ba06fa
freertos: Synchronize xStreamBufferSend() to v10.4.3
...
This commit synchronizes xStreamBufferSend() with upstream v10.4.3.
2022-09-19 21:30:38 +08:00
Darian Leung
77f2eba57e
freeRTOS: Synchronize queue functions to v10.4.3
...
This commit synchronizes multiple functions in queue.c with upstream v10.4.3.
Multi-core modifications are then reapplied to these functions. The following
functions were modified:
prvNotifyQueueSetContainer()
xQueueGenericCreateStatic()
xQueueGenericCreate()
xQueueGetMutexHolder()
xQueueCreateCountingSemaphoreStatic()
xQueueCreateCountingSemaphore()
xQueueGenericSend()
xQueueGenericSendFromISR()
xQueueReceiveFromISR()
uxQueueMessagesWaiting()
prvUnlockQueue()
prvIsQueueFull()
xQueueAddToSet()
xQueueRemoveFromSet()
prvNotifyQueueSetContainer()
Note: The SEGGER_SYSVIEW traceQUEUE_SEND() macro was updated as the
xCopyPosition argument is no longer available in scenarios where the
macro is called.
2022-09-19 21:30:32 +08:00
Island
728654a6d4
Merge branch 'bugfix/memory_leak_init_deinit_blufi_example' into 'master'
...
Fix: blufi example memory leak while init and deinit
Closes BT-2798
See merge request espressif/esp-idf!20196
2022-09-19 20:28:07 +08:00
Marius Vikhammer
46c092c04a
pthread: migrate unit tests to pytest test app
2022-09-19 17:43:33 +08:00
Jiang Jiang Jian
5aeba87e51
Merge branch 'bugfix/change_mblock_size_on_esp32c2' into 'master'
...
change block1 size and num for esp ble controller
Closes BLE-157
See merge request espressif/esp-idf!20183
2022-09-19 17:21:53 +08:00
Euripedes Rocha
736424c366
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-09-19 09:11:15 +00:00
Mahavir Jain
64129c2e51
Merge branch 'ci/migrate_mbedtls_unit_test_app' into 'master'
...
ci: Migrate mbedtls unit tests from unit-test-app to component-test-app
Closes IDF-5593
See merge request espressif/esp-idf!19783
2022-09-19 16:52:02 +08:00
Mahavir Jain
ca851c87cf
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-09-19 11:43:34 +05:30
Marius Vikhammer
cb48a7b9f9
Merge branch 'feature/ulp_fsm_adc_s3' into 'master'
...
ulp-fsm: Update ulp-fsm ADC example with S3 support
Closes IDFGH-6299
See merge request espressif/esp-idf!19924
2022-09-19 14:08:33 +08:00
David Cermak
4959b0a213
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:21:21 +02:00
satish.solanke
77b8276578
Fix: blufi example memory leak while init and deinit
2022-09-19 10:17:50 +05:30
gaoxu
0909f5b230
system: don't disable cache if Flash .text and .rodata are moved to PSRAM
2022-09-19 12:23:23 +08:00
chenjianhua
940ee1f7f4
fix ble adv tx power map
2022-09-19 12:02:40 +08:00
jiangguangming
e147629a02
tinyusb: fix typo naming of ACM
2022-09-19 11:49:21 +08:00
Marius Vikhammer
29830f609d
Merge branch 'docs/misc_broken_link_fixes' into 'master'
...
docs: fixed misc broken links
See merge request espressif/esp-idf!20208
2022-09-19 10:58:58 +08:00
Marius Vikhammer
8540e7a772
docs: fixed misc broken links
2022-09-18 15:03:39 +08:00
Island
f25af53077
Merge branch 'bugfix/relay_friend_cred_message' into 'master'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable.
See merge request espressif/esp-idf!19753
2022-09-18 14:31:05 +08:00
harshal.patil
317eeddce4
fix: memory leaks check added
2022-09-17 14:31:36 +05:30
harshal.patil
146f101289
ci: Migrate mbedtls unit tests from unit-test-app to component-test-app
2022-09-17 14:31:36 +05:30
morris
a2c132c5c3
Merge branch 'docs/update_wakeup_gpio_esp32s2_esp32s3' into 'master'
...
docs: update gpios serving as wakeup source in esp32s2 and esp32s3
Closes DOC-3461
See merge request espressif/esp-idf!20161
2022-09-17 16:25:29 +08:00
morris
f6eba4ccfe
gpio_sdm: bring up SDM driver on esp32c6
2022-09-17 16:15:56 +08:00
morris
b562754a2f
rmt: support esp32c6
2022-09-17 04:56:49 +00:00
morris
c71bd0e4fa
rmt: disable rc_fast clock when it's used up
2022-09-17 04:56:49 +00:00
Martin Gano
e9d7340f3b
Merge branch 'bugfix/fatfsgen-enable-multiple-dots' into 'master'
...
fatfsgen.py: Enable multiple dots in lfn filename
Closes IDF-5969
See merge request espressif/esp-idf!20153
2022-09-17 01:27:43 +08:00
Kevin (Lao Kaiyao)
740a8b5729
Merge branch 'test/add_i2s_tdm_full_duplex_test_app' into 'master'
...
test: add i2s tdm full duplex multi device test app
Closes IDFGH-8003
See merge request espressif/esp-idf!19904
2022-09-17 00:57:21 +08:00
Darian
03b25c6a0d
Merge branch 'bugfix/riscv_interrupt_function_naming' into 'master'
...
riscv: Fix interrupt function naming and redundancy
See merge request espressif/esp-idf!19251
2022-09-17 00:33:33 +08:00
Darian
6d29411db6
Merge branch 'refactor/rename_usb_host_hal_to_dwc2' into 'master'
...
USB Host: Rename struct/ll/hal file and functions to use "usb_dwc" prefix
See merge request espressif/esp-idf!20033
2022-09-17 00:23:44 +08:00
zwj
f95c347013
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:25:22 +08:00
Jiang Jiang Jian
cef946eea6
Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue' into 'master'
...
Bugfix/fix send eapol key request frame when wpa group handshake issue
Closes ESPCS-842, IDFGH-6592, and IDFGH-5563
See merge request espressif/esp-idf!19905
2022-09-16 20:34:40 +08:00
Martin Gaňo
53c2ea2d08
fatfsgen.py: enable multiple dots in the long file name
2022-09-16 13:50:12 +02:00
wangjialiang
6e79d05814
ble_mesh: docs: Remove BLE Mesh related reference for C2
2022-09-16 19:39:51 +08:00
Linda
4723974419
docs: update gpios serving as wakeup source in esp32s2 and esp32s3
2022-09-16 11:23:53 +00:00
Martin Vychodil
952c0f7b23
Merge branch 'bugfix/fatfsparse-fix-ignoring-first-file' into 'master'
...
fatfsparse.py: Fixed ignoring first file in directory
Closes IDF-5968
See merge request espressif/esp-idf!20145
2022-09-16 19:14:01 +08:00
laokaiyao
af0c0bd8ce
i2s: fix the data lagging of slave role
...
Closes https://github.com/espressif/esp-idf/issues/9513
2022-09-16 18:45:02 +08:00
wangyuanze
4d0ac129b4
test: add i2s tdm full duplex multi device test app
2022-09-16 18:45:02 +08:00
Zim Kalinowski
d9df69e815
Merge branch 'feature/bootloader_pytest' into 'master'
...
bootloader support: move unit tests to pytest
Closes IDF-5566
See merge request espressif/esp-idf!20157
2022-09-16 17:35:06 +08:00
chenjianhua
8598610ccd
bluedroid: fix ble rpa generate and update by host
2022-09-16 16:54:58 +08:00
Darian Leung
abf0bc13e6
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-16 16:45:43 +08:00
Darian Leung
0c97fbd5ba
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-16 16:45:43 +08:00
Darian Leung
d333833f59
usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix
...
Following the file renaming to use the "usb_dwc" prefix, this commit
updates the symbol names of those files to use the "usb_dwc" as well.
Some LL functions were also renamed so that the register name is
mentioned.
2022-09-16 16:45:26 +08:00
Darian Leung
d8d4e3acb0
usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix
...
This commit updates the DWC_OTG based struct/ll/hal file names to
use the prefix "usb_dwc". This naming scheme reduces ambiguity if
another USB controller implementation is added.
As a result, "hcd.c" has been renamed to "hcd_dwc.c"
2022-09-16 16:45:26 +08:00
Fu Hanxi
a42849f63c
Merge branch 'test/test_adc_on_dedicated_runners' into 'master'
...
ci: use adc dedicated test runners
See merge request espressif/esp-idf!19164
2022-09-16 15:58:36 +08:00
zwj
e9f4a4e92d
Fixed extend adv tx power range error
2022-09-16 15:45:40 +08:00
Mahavir Jain
961bdde289
Merge branch 'ci/migrate_esp-tls_unit_test_app' into 'master'
...
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
Closes IDF-5571
See merge request espressif/esp-idf!20099
2022-09-16 14:34:44 +08:00
morris
e8a356ec91
Merge branch 'feature/esp32c6_fast_gpio_bringup' into 'master'
...
fast_gpio: bring up fast gpio driver on esp32c6
Closes IDF-5331
See merge request espressif/esp-idf!20159
2022-09-16 14:17:40 +08:00
Jiang Jiang Jian
f03ec22327
Merge branch 'bugfix/fix_vhci_hack_for_external_bt' into 'master'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled
See merge request espressif/esp-idf!19876
2022-09-16 14:16:52 +08:00
Kapil Gupta
3c5c108fa8
wpa_supplicat: Use same channel as found in WPS scan for WPS connect
2022-09-16 10:58:03 +05:30
Kevin (Lao Kaiyao)
04b4bc6cb5
Merge branch 'feature/support_i2s_on_esp32c6' into 'master'
...
i2s: support i2s on esp32c6
See merge request espressif/esp-idf!19989
2022-09-16 12:31:24 +08:00
Armando
7be7a3e996
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-16 03:21:29 +00:00
Armando
eee5085281
ci: use adc dedicated test runners for adc tests
2022-09-16 03:21:29 +00:00
Omar Chebib
4f1a9e436e
Merge branch 'feature/add_int_task_wdt_esp32c2' into 'master'
...
WDT: implement interrupt wdt and task wdt for ESP32-C2
Closes IDF-4035, IDF-4205, and IDF-5055
See merge request espressif/esp-idf!18918
2022-09-16 10:43:34 +08:00
Martin Gaňo
26f7f105c3
fatfsparse.py: Fixed ignoring first file in directory
...
Closes IDF-5968
2022-09-15 19:38:39 +02:00
Martin Vychodil
1146b83bf1
Merge branch 'feature/detect-wl-automatically' into 'master'
...
fatfsparse.py: enable automatic WL detection
Closes IDF-5903
See merge request espressif/esp-idf!20076
2022-09-16 00:23:50 +08:00
laokaiyao
bae4944b90
i2s: bringup i2s on esp32c6
2022-09-15 20:03:39 +08:00
Martin Vychodil
f644d71d26
Merge branch 'bugfix/fatfsgen-add-name-termination' into 'master'
...
fatfsgen.py: fixed missing NULL terminator
Closes IDF-5964
See merge request espressif/esp-idf!20130
2022-09-15 19:58:27 +08:00
laokaiyao
7197e987cb
i2s: add XTAL clock source
2022-09-15 19:32:06 +08:00
morris
77ce37f235
Merge branch 'feature/check_mcpwm_sync_direction' into 'master'
...
mcpwm: check sync direction is valid
See merge request espressif/esp-idf!20134
2022-09-15 19:05:57 +08:00
Martin Gaňo
30dd0fbf30
fatfsparse.py: enable automatic WL detection
2022-09-15 10:51:48 +00:00
wangjialiang
5242f63080
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-15 09:34:13 +00:00
wangjialiang
f736d9cb3f
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-15 09:27:10 +00:00
Mahavir Jain
98747ceeb6
Merge branch 'bugfix/fix_custom_certificate_test_case' into 'master'
...
mbedtls: fix custom certificate bundle test case
See merge request espressif/esp-idf!19758
2022-09-15 15:33:00 +08:00
Marius Vikhammer
7cef82e0df
bootloader support: move unit tests to pytest
2022-09-15 15:19:42 +08:00
Omar Chebib
6798bfc4b0
TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog
2022-09-15 14:37:59 +08:00
Omar Chebib
30d12af191
TWDT: refactor the TWDT to be driver agnostic
...
This refactoring brings a private API for the TWDT implementation, which
can now use a hardware timer (Timer Group) or a software timer (esp_timer)
2022-09-15 14:37:59 +08:00
Omar Chebib
53c7dd4efc
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
morris
fd325c9fa2
fast_gpio: bring up fast gpio driver on esp32c6
2022-09-15 11:02:31 +08:00
Martin Gaňo
131b28314e
fatfsgen.py: fixed missing NULL terminator
2022-09-14 16:55:13 +02:00
morris
5f550b2a13
rmt,gptimer: don't support rc_fast clock source for c6 and h2
...
The RC_FAST clock source on ESP32C6 and ESP32H2 can't be calibrated.
Which makes it impossible to work stable for peripherals like timer, RMT
2022-09-14 14:40:28 +00:00
zwl
9f940f14f6
change block1 size and num for esp ble controller
2022-09-14 20:02:09 +08:00
Harshit Malpani
d78fddd81a
mbedtls: fix custom certificate bundle test case
2022-09-14 14:20:29 +05:30
morris
52576faa9e
Merge branch 'bugfix/update_esp_rom_c6_caps' into 'master'
...
esp_rom: update esp32c6 rom caps
See merge request espressif/esp-idf!20133
2022-09-14 15:01:39 +08:00
harshal.patil
aaf8b5d98e
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
2022-09-14 12:03:49 +05:30
morris
1fc458b3f7
mcpwm: check sync direction is valid
2022-09-14 11:49:37 +08:00
Simon
2f13368c63
Merge branch 'feature/gd_e_hpm_support' into 'master'
...
spi_flash: Add GD25QxxE and ZBit flash HPM(120M) support
Closes IDF-5848
See merge request espressif/esp-idf!19741
2022-09-14 11:16:08 +08:00
jiangguangming
b2a1b13958
esp_rom: update esp32c6 rom caps
2022-09-14 10:38:54 +08:00
Wan Lei
f7748beb4d
Merge branch 'bugfix/spi2_add_device_cs_more_than_3' into 'master'
...
spi_master: fix error when use `spi_bus_add_device` add more than 3 devices
Closes IDFGH-7288
See merge request espressif/esp-idf!19798
2022-09-14 10:33:37 +08:00
Ivan Grokhotkov
16dbb8f249
Merge branch 'feature/ulp_binutils_multi_target' into 'master'
...
ulp: support the new multi-target ULP-FSM binutils
Closes IDFGH-4618
See merge request espressif/esp-idf!19818
2022-09-13 21:35:53 +08:00
wanlei
241f182408
spi_master: add test for spi_bus_add_device() more than 3 device
...
1.add 6 devices freely to check master can mount 6 devices
2.replace each one by a real device to check they can work
2022-09-13 19:20:07 +08:00
Zim Kalinowski
889b5fbea3
Merge branch 'bugfix/fix_tlsf_patch_esp32c2' into 'master'
...
TLSF: fix the patch for tlsf_check function in ROM
Closes IDFCI-1442 and IDFCI-1441
See merge request espressif/esp-idf!19839
2022-09-13 18:32:40 +08:00
Cao Sen Miao
421e77d773
spi_flash: Add several flash chips HPM(120M) support
2022-09-13 17:06:43 +08:00
Alexey Lapshin
a9bd454529
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 12:55:48 +04:00
Mahavir Jain
f684ab62e5
Merge branch 'feature/esp_http_client_support_setting_server_common_name' into 'master'
...
tcp_transport: Add support of setting the common name for the TLS
Closes IDFGH-8194
See merge request espressif/esp-idf!20102
2022-09-13 16:06:46 +08:00
Song Ruo Jing
0b048387bc
Merge branch 'test/move_rtcio_test_to_test_app' into 'master'
...
rtcio: Move unit test to gpio test_apps
Closes IDF-5618
See merge request espressif/esp-idf!19919
2022-09-13 14:33:42 +08:00
Kevin (Lao Kaiyao)
8880d38522
Merge branch 'bugfix/add_error_check_for_esptimer_in_touch_sensor' into 'master'
...
touch_sensor: add esp_timer error check
Closes IDF-5905
See merge request espressif/esp-idf!20072
2022-09-13 14:09:18 +08:00
Aditya Patwardhan
4904d57fd9
esp_http_client: Added support to set server common name.
2022-09-13 05:31:43 +00:00
Aditya Patwardhan
ce32183749
tcp_transport: Add support of setting the common name fot the TLS
...
context
2022-09-13 05:31:43 +00:00
wangyuanze
ad8d6cdedd
rtcio: Move rtcio test cases from unit-test-app to gpio test_app, and enable the tests for ESP32S3
2022-09-13 12:13:51 +08:00
Song Ruo Jing
de0401047c
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.
2022-09-13 12:13:51 +08:00
morris
a1030307f1
gptimer: bringup driver on esp32c6
2022-09-13 10:50:58 +08:00
Martin Gano
890a84dcc4
Merge branch 'bugfix/fix-corrpted-content-full-partition' into 'master'
...
fatfsparse.py: Limit the file content size to correct number
Closes IDF-5947
See merge request espressif/esp-idf!20048
2022-09-13 05:46:26 +08:00
Martin Vychodil
56f2001317
sdmmc/sdspi: allow custom setup of SD card frequency
...
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit
Closes https://github.com/espressif/arduino-esp32/issues/6225
2022-09-12 17:08:36 +02:00
radek.tandler
723adae0ec
spiffs: convert host tests from Make to CMake
2022-09-12 14:14:09 +00:00
Martin Gaňo
37178dfa74
fatfsparse.py: limit the file content size to correct number
2022-09-12 14:13:03 +00:00
Ivan Grokhotkov
0332b8db07
Revert "Merge branch 'feature/freertos_10.4.3_sync_various_functions' into 'master'"
...
This reverts merge request !19761
2022-09-12 19:53:09 +08:00
Dai Zi Yan
3ca44d4d0f
Merge branch 'docs/update_get-started' into 'master'
...
docs: updated gpio and sync up line numbers
Closes DOC-3350 and DOC-3390
See merge request espressif/esp-idf!19959
2022-09-09 17:24:32 +08:00
Darian
c575dec8f3
Merge branch 'feature/freertos_10.4.3_sync_various_functions' into 'master'
...
freeRTOS: (Sync v10.4.3) Update various functions
See merge request espressif/esp-idf!19761
2022-09-09 15:53:44 +08:00
Armando (Dou Yiwen)
2c2384e39c
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue' into 'master'
...
spi_bus_lock: fix a concurrency bug
Closes IDFGH-6528
See merge request espressif/esp-idf!19925
2022-09-09 15:42:24 +08:00
laokaiyao
91c2928ff5
touch_sensor: add esp_timer error check
2022-09-09 14:59:42 +08:00
daiziyan
49aaea7509
docs: updated gpio and sync up line numbers
2022-09-09 02:39:35 +00:00
gaoxu
5934ba731e
SPI: Fix SPI wrong dummy bits on ESP32H2
2022-09-09 01:54:53 +00:00
morris
96d03461ae
Merge branch 'feature/esp32c6_bringup_pcnt' into 'master'
...
pcnt: support esp32c6
Closes IDF-5806
See merge request espressif/esp-idf!19882
2022-09-09 08:58:16 +08:00
Martin Gano
99f836e07a
Merge branch 'feature/fatfsparse-enable-automatic-detection-wl-lfn' into 'master'
...
fatfsparse.py: enable automatic detection of lfn
Closes IDF-5622
See merge request espressif/esp-idf!20007
2022-09-09 01:10:43 +08:00
Omar Chebib
3ffa2ad39c
Merge branch 'feature/bootloader_date_log' into 'master'
...
Bootloader: print date and time to the banner on boot
Closes IDFGH-8229
See merge request espressif/esp-idf!20002
2022-09-08 22:39:18 +08:00
Tomas Rezucha
cf59a8a2bd
Merge branch 'feature/usb_v5_qol' into 'master'
...
usb: USB IDF v5 update
Closes IDF-4690 and IDF-5767
See merge request espressif/esp-idf!19875
2022-09-08 19:50:22 +08:00
Island
71bc1a28cc
Merge branch 'fix/DOC_3566' into 'master'
...
Updating doc for the issue doc_3566
Closes DOC-3566
See merge request espressif/esp-idf!19971
2022-09-08 19:27:18 +08:00
Jiang Jiang Jian
e2f57ecff1
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3' into 'master'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3
Closes BT-2760, BT-2733, BT-2687, BT-2588, BT-2574, BT-2470, and BT-2355
See merge request espressif/esp-idf!19970
2022-09-08 18:52:40 +08:00
morris
6539aa2275
pcnt: support esp32c6
2022-09-08 18:26:04 +08:00
Martin Gaňo
72acbeb921
fatfsparse.py: enable automatic detection of lfn
2022-09-08 10:53:04 +02:00
Omar Chebib
3a429b8b7a
Bootloader: print date and time to the banner on boot
...
* Closes https://github.com/espressif/esp-idf/issues/9718
2022-09-08 06:08:49 +00:00
Rahul Tank
95c057861d
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-08 05:52:34 +00:00
morris
892437d829
Merge branch 'bugfix/fix_touch_test_wdt_timeout' into 'master'
...
touch_sensor: fixed timer period
Closes IDFCI-1454
See merge request espressif/esp-idf!20018
2022-09-08 13:17:33 +08:00
morris
aa6408502a
Merge branch 'bugfix/wrong_bpp_for_rgb666' into 'master'
...
lcd: fix wrong bpp size of rgb666 format
Closes IDFGH-8241
See merge request espressif/esp-idf!20000
2022-09-08 12:36:02 +08:00
Island
a3b7751981
Merge branch 'bugfix/adapt_new_btc' into 'master'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used
See merge request espressif/esp-idf!19964
2022-09-08 11:27:22 +08:00
Jiang Jiang Jian
735063c508
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting' into 'master'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
Closes BT-2699
See merge request espressif/esp-idf!19993
2022-09-08 10:41:47 +08:00
Darian Leung
bb5e189d2b
freertos: Synchronize tasks.c functions (minor changes) to v10.4.3
...
This commit synchronizes multiple functions in tasks.c with upstream v10.4.3
that contain minor differences.
The following functions have had their parameter names or code formatting
updated:
- xTaskCreateStaticPinnedToCore()
- xTaskCreatePinnedToCore()
- prvInitialiseNewTask()
- prvTaskIsTaskSuspended()
- vTaskStartScheduler()
- xTaskResumeAll()
- xTaskCheckForTimeOut()
- uxTaskResetEventItemValue()
The following functions have had their missing "xAlreadyYielded" restored
- xTaskDelayUntil()
- vTaskDelay()
The following functions have had their critical section/interrupt disdable
usage update
- vTaskSuspendAll()
- xTaskGetTickCountFromISR()
- xTaskGetApplicationTaskTagFromISR()
2022-09-07 23:34:52 +08:00
Darian Leung
d382a2c952
freertos: Synchronize tasks.c functions (major changes) to v10.4.3
...
This commit synchronizes multiple functions that contain major differences with
upstream v10.4.3. Multi-core modifications are then reapplied to the function.
Vanilla code uses "pxTCB == pxCurrentTCB" to check whether a task is currently
running. This commit adds the following macros instead.
- taskIS_CURRENTLY_RUNNING()
- taskIS_CURRENTLY_RUNNING_ON_CORE()
The following functions have been updated to use those macros instead.
- eTaskGetState()
- vTaskPrioritySet()
- vTaskResume()
The following functions have been synchronized with upstream v10.4.3.
Multi-core modifications are then reapplied.
- vTaskSuspend()
- vTaskDelete()
- prvGetExpectedIdleTime()
2022-09-07 23:34:52 +08:00
Darian Leung
9b5392e8e8
freertos: Restore xAlreadyYielded usage in event_groups
...
This commit restores xAlreadyYielded in various event_group functions to
synchronize with upstream v10.4.3.
2022-09-07 23:34:52 +08:00
Darian Leung
c6b054693b
freertos: Synchronize xStreamBufferSend() to v10.4.3
...
This commit synchronizes xStreamBufferSend() with upstream v10.4.3.
2022-09-07 23:34:52 +08:00
Darian Leung
48e03e4cbd
freeRTOS: Synchronize queue functions to v10.4.3
...
This commit synchronizes multiple functions in queue.c with upstream v10.4.3.
Multi-core modifications are then reapplied to these functions. The following
functions were modified:
prvNotifyQueueSetContainer()
xQueueGenericCreateStatic()
xQueueGenericCreate()
xQueueGetMutexHolder()
xQueueCreateCountingSemaphoreStatic()
xQueueCreateCountingSemaphore()
xQueueGenericSend()
xQueueGenericSendFromISR()
xQueueReceiveFromISR()
uxQueueMessagesWaiting()
prvUnlockQueue()
prvIsQueueFull()
xQueueAddToSet()
xQueueRemoveFromSet()
prvNotifyQueueSetContainer()
Note: The SEGGER_SYSVIEW traceQUEUE_SEND() macro was updated as the
xCopyPosition argument is no longer available in scenarios where the
macro is called.
2022-09-07 23:34:52 +08:00
laokaiyao
586a14af63
touch_sensor: fixed timer period
2022-09-07 19:13:39 +08:00
Mahavir Jain
38c0740509
Merge branch 'bugfix/http_server_sess_count' into 'master'
...
http_server: Increment active socket count for SSL session
Closes IDFGH-8188
See merge request espressif/esp-idf!19991
2022-09-07 18:09:58 +08:00
satish.solanke
50ec07c45d
updating doc for the issue doc_3566
2022-09-07 15:05:49 +05:30
Marius Vikhammer
77ba84eeb7
ulp-fsm: Update ulp-fsm ADC example with S3 support
...
Closes https://github.com/espressif/esp-idf/issues/7963
2022-09-07 16:48:06 +08:00
Armando (Dou Yiwen)
ee2ae1d589
Merge branch 'contrib/github_pr_9715' into 'master'
...
adc: esp32s2: fix unit to offset calculation (GitHub PR)
Closes IDFGH-8226 and IDFGH-8212
See merge request espressif/esp-idf!19969
2022-09-07 13:58:57 +08:00
morris
8e2d307c52
lcd: fix wrong bpp size of rgb666 format
...
Closes https://github.com/espressif/esp-idf/issues/9729
2022-09-07 13:22:20 +08:00
Laukik Hase
463b02eeec
http_server: Increment active socket count for SSL session
...
- The callback `open_fn` is used for creating a new SSL session
with httpd_sess_new.
- If the call fails, the active socket count (httpd_data->hd_sd_active_count)
is not incremented. But, httpd_sess_delete is called, which decrements the
count, resulting in a negative value for several failed session creations
in a row.
Closes https://github.com/espressif/esp-idf/issues/9683
2022-09-07 10:27:22 +05:30
zwj
c6b7bbdab9
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of usage of PLL track related baseband IRQsFixed 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-07 12:20:01 +08:00
Jiang Jiang Jian
15e0606ca0
Merge branch 'bugfix/esp32c2_rom_aes_128_cmac_decrypt' into 'master'
...
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
See merge request espressif/esp-idf!19929
2022-09-07 12:10:29 +08:00
Wang Meng Yang
a026d9816a
Merge branch 'feature/sink_support_mono' into 'master'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data
Closes BT-2698
See merge request espressif/esp-idf!19759
2022-09-07 11:59:57 +08:00
Simon
c6610ec4c2
Merge branch 'bugfix/fix_the_duplicated_type_name_in_i2s' into 'master'
...
i2s: fix the duplicated type name in i2s
Closes IDF-5891
See merge request espressif/esp-idf!19960
2022-09-07 10:53:28 +08:00
Rahul Tank
639612269e
Merge branch 'bugfix/fix_data_overwrite' into 'master'
...
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
See merge request espressif/esp-idf!19861
2022-09-07 00:43:03 +08:00
zwj
2942a98f5d
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:12:30 +08:00
Pavlo Hamov
726e985b34
adc: esp32s2: fix unit to offset calculation
...
eFuse offset is screwed up 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-06 20:35:39 +08:00
morris
885b25d775
Merge branch 'feature/add_esp32c6_esp_system_support' into 'master'
...
ESP32C6: Add esp_system related support
See merge request espressif/esp-idf!19923
2022-09-06 19:24:42 +08:00
Kevin (Lao Kaiyao)
e55464c26e
Merge branch 'bugfix/touch_sensor_v1_timer_expired_after_deleted' into 'master'
...
touch_senser: fixed ci issue timer expired after it is deleted
Closes IDFCI-1426
See merge request espressif/esp-idf!19850
2022-09-06 18:24:12 +08:00
Rahul Tank
730b932de0
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 15:15:21 +05:30
wuzhenghui
308e4dcbfa
esp32c6: add esp_timer support
2022-09-06 09:13:20 +00:00
wuzhenghui
ab09c07fdd
esp32c6: add esp_system support
2022-09-06 09:13:20 +00:00
wuzhenghui
c5d8e94898
freertos, ulp: Fix header inclusion to be compatible with new esp32c6 target
2022-09-06 09:13:20 +00:00
Armando
3c8f6dd1cf
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-06 16:59:02 +08:00
Sudeep Mohanty
867745a05c
Merge branch 'feature/ulp-rtc-i2c-driver-support' into 'master'
...
ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3
Closes IDF-1715 and IDF-5798
See merge request espressif/esp-idf!19549
2022-09-06 16:43:36 +08:00
Marius Vikhammer
572e79530c
Merge branch 'bugfix/c2_skip_validate' into 'master'
...
bootloader: allow skip image validation on C2
Closes IDF-5827
See merge request espressif/esp-idf!19755
2022-09-06 14:21:15 +08:00
laokaiyao
3bdcf2edf5
i2s: add notes for the read task of i2s basic examples
2022-09-06 10:29:30 +08:00
laokaiyao
648a75dbed
i2s: fixed the duplicated type name
2022-09-06 10:27:52 +08:00
Darian Leung
89f828ee02
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-05 20:15:03 +02:00
Tomas Rezucha
dfdb814644
usb: Remove -Wno-format compile option
2022-09-05 20:14:56 +02:00
muhaidong
0960aa8d87
wpa_supplicant: try install gtk before send 2 of 2
2022-09-05 21:28:19 +08:00
wangjialiang
289ed8bca8
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-05 20:27:57 +08:00
laokaiyao
045b65e85d
touch_senser: fixed ci issue timer expired after it is deleted
2022-09-05 18:25:32 +08:00
Shreyas Sheth
4e830d843a
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
2022-09-05 14:27:06 +05:30
Marius Vikhammer
0ecf0af5a1
Merge branch 'gdbstub/unused_handle' into 'master'
...
gdbstub: fixed build-error due to potentially uninitialized variable on -O2
Closes IDFGH-8213
See merge request espressif/esp-idf!19939
2022-09-05 16:54:52 +08:00
Sudeep Mohanty
4fde033a5f
ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3
...
This commit adds support for using the RTC I2C peripheral on the ULP
RISC-V core for esp32s2 and esp32s3. It also adds an example to demonstrate the
usage of the RTC I2C peripheral.
This commit also modifies the rtc_i2c register structure files to enable
the use of bitfields in the ULP RISC-V RTC I2C driver.
2022-09-05 10:21:43 +02:00
Mahavir Jain
6193e4c8e8
Merge branch 'bugfix/stringop_overflow_warning' into 'master'
...
bootloader_support: fix stringop-overflow warning with `PERF` compiler optimization
See merge request espressif/esp-idf!19932
2022-09-05 16:04:15 +08:00
Wang Meng Yang
4eb98adf43
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable' into 'master'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes IDFGH-8175 and BT-2744
See merge request espressif/esp-idf!19859
2022-09-05 13:38:18 +08:00
Mahavir Jain
4aaf02b093
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 10:42:11 +05:30
Marius Vikhammer
326b6a929e
Merge branch 'bugfix/bootloader_assert' into 'master'
...
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
Closes IDFGH-5811
See merge request espressif/esp-idf!19915
2022-09-05 12:30:26 +08:00
Mu Hai Dong
681c538d77
Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue' into 'master'
...
esp_wifi: fix set country code before wifi start issue.
Closes IDFGH-8011
See merge request espressif/esp-idf!19631
2022-09-05 12:17:11 +08:00
Mahavir Jain
ec5df3efe2
Merge branch 'feature/wifi_prov_mgr_is_provisioned_api_change' into 'master'
...
wifi_provisioning: decouple `wifi_prov_mgr_is_provisioned` from manager state
Closes IDF-5878
See merge request espressif/esp-idf!19911
2022-09-05 12:11:51 +08:00
wanlei
96aa2792f8
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-05 12:10:22 +08:00
Marius Vikhammer
f4a220b3f9
gdbstub: fixed build-error due to potentially uninitialized variable on -O2
...
Closes https://github.com/espressif/esp-idf/issues/9706
2022-09-05 10:55:29 +08:00
morris
7bc264ed80
Merge branch 'bugfix/build-ulp-riscv-uart-printf-for-s2-s3-only' into 'master'
...
ulp: temporarily disables SOC_RISCV_COPROC_SUPPORTED from esp32c6
See merge request espressif/esp-idf!19928
2022-09-05 10:08:05 +08:00
muhaidong
067f4df513
esp_wifi: add small UT for country code
2022-09-03 20:31:37 +08:00
muhaidong
6f25e37ccb
esp_wifi: fix set country code before wifi start issue.
2022-09-03 20:31:23 +08:00
Song Ruo Jing
0637ea91a3
Merge branch 'bugfix/fix_gpio_intr_lost' into 'master'
...
gpio: Fix interrupt lost issue
Closes IDFGH-5069
See merge request espressif/esp-idf!19625
2022-09-02 18:54:17 +08:00
Rahul Tank
f57356fcc9
Merge branch 'bugfix/change_log_level_for_print' into 'master'
...
Nimble : updated debug level for a print to avoid unwanted console log.
See merge request espressif/esp-idf!19108
2022-09-02 18:10:47 +08:00
Sudeep Mohanty
42214abbf5
ulp: temporarily disable SOC_RISCV_COPROC_SUPPORTED for esp32c6
...
This commit diables SOC_RISCV_COPROC_SUPPORTED capability for esp32c6
until the feature is supported on this target.
2022-09-02 12:10:07 +02:00
Konstantin Kondrashov
15ec31e902
Merge branch 'bugfix/clobbering_freertos_base_priority' into 'master'
...
spi_flash: fix issue linked with raising of task priority while priority is already raised
Closes IDFGH-5881
See merge request espressif/esp-idf!19037
2022-09-02 12:37:36 +08:00
Marius Vikhammer
a77dce6979
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
...
Closes https://github.com/espressif/esp-idf/pull/7518
2022-09-02 11:01:50 +08:00
Simon
e923c15859
Merge branch 'refactor/i2c_hal' into 'master'
...
I2C: Refactor i2c hal and ll(pre-MR of I2C driver-NG)
See merge request espressif/esp-idf!19750
2022-09-02 10:47:35 +08:00
Mahavir Jain
83d15ffb1b
Merge branch 'bugfix/httpd_ssl_config_default' into 'master'
...
esp_https_server: fix issue with default initialization through `HTTPD_SSL_CONFIG_DEFAULT`
Closes IDFGH-8157
See merge request espressif/esp-idf!19906
2022-09-01 23:56:09 +08:00
Mahavir Jain
251faf98f9
Merge branch 'ci/migrate_protocomm_unit_test_app' into 'master'
...
ci: Migrate protocomm unit tests from unit-test-app to component-test-app
Closes IDF-5599
See merge request espressif/esp-idf!19781
2022-09-01 23:16:36 +08:00
Jakob Hasse
4905fbff32
Merge branch 'doc/remove_esp_event_deprecation_notes' into 'master'
...
doc (esp_event): removed deprecation notes
See merge request espressif/esp-idf!19855
2022-09-01 22:42:26 +08:00
Mahavir Jain
bc2334d403
Merge branch 'bugfix/fix_calling_cb_func_before_perform' into 'master'
...
esp_https_ota: fix bug where `http_client_init_cb` is called after esp_http_client_perform()
Closes IDFGH-8080
See merge request espressif/esp-idf!19897
2022-09-01 20:09:17 +08:00
Marius Vikhammer
0a3131998f
Merge branch 'bugfix/miniz_header_doc' into 'master'
...
esp-rom: fixed error in miniz header documention for tdefl_init
Closes IDFGH-6808
See merge request espressif/esp-idf!19871
2022-09-01 18:11:02 +08:00
Mahavir Jain
025a8378ef
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-01 15:24:19 +05:30
Mahavir Jain
46bc5eedb6
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-01 15:01:37 +05:30
Martin Vychodil
58c5c15f7e
Merge branch 'doc/nvs_max_num_namespaces' into 'master'
...
doc (nvs): added note about maximum possible namespaces
See merge request espressif/esp-idf!19737
2022-09-01 17:17:25 +08:00
Omar Chebib
779d880580
Merge branch 'bugfix/rtc_retain_mem_always_erased' into 'master'
...
Bootloader: retained memory can now be kept after reboot when custom data enabled
See merge request espressif/esp-idf!19809
2022-09-01 16:42:54 +08:00
morris
7b2c491064
Merge branch 'feature/add_esp32c6_g0_components' into 'master'
...
ESP32C6: Add G0 components support (hal, soc, riscv, esp_common)
See merge request espressif/esp-idf!19826
2022-09-01 16:11:40 +08:00
Song Ruo Jing
61282cc5dd
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-01 16:01:01 +08:00
Cao Sen Miao
31b88a4c88
I2C: Refactor i2c hal and ll
2022-09-01 15:53:59 +08:00
KonstantinKondrashov
aea2fe0816
freertos: Adds new APIs to set/get and restore base priority
...
Closes https://github.com/espressif/esp-idf/issues/7580
2022-09-01 07:07:08 +00:00
Harshit Malpani
1c92feae38
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-01 12:04:40 +05:30
Marius Vikhammer
5e47c7ce13
Merge branch 'docs/malloc_header' into 'master'
...
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT)
Closes IDFGH-5971
See merge request espressif/esp-idf!19889
2022-09-01 14:31:58 +08:00
morris
e2634b5223
Merge branch 'feature/rgb_lcd_yuv_converter' into 'master'
...
RGB-YUV converter
Closes IDF-4598
See merge request espressif/esp-idf!19094
2022-09-01 13:41:14 +08:00
Nachiket Kukade
86c4094f1d
Merge branch 'bugfix/fast_scan_profile_issue' into 'master'
...
Fix repeated scans causing bss overwrite in connect process
See merge request espressif/esp-idf!19353
2022-09-01 13:22:30 +08:00
Roshan Bangar
c401efa7bb
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-01 05:03:40 +00:00
harshal.patil
a17313ad32
ci: Migrate protocomm unit tests from unit-test-app to component-test-app
2022-09-01 10:24:33 +05:30
Song Ruo Jing
06b517efcb
ci: Modify build-test-rules.yml enable' to
disable` to exclude preview targets
2022-09-01 12:38:00 +08:00
Song Ruo Jing
158b53e777
esp32c6: mmu & cache related g0 components changes
2022-09-01 12:38:00 +08:00
wuzhenghui
1d299a8976
esp32c6: add hal support
2022-09-01 12:37:51 +08:00
songruojing
688fb18faa
esp32c6: add soc/ xxx_periph, xxx_channel, xxx_pins, etc. files
2022-09-01 12:28:06 +08:00
songruojing
9d515185d0
esp32c6: clean up existing soc files and header file inclusion in IDF to be compatible with the new chip
2022-09-01 12:28:06 +08:00
wuzhenghui
d6d44b4781
perfmon: fix xtensa_perfmon build target
2022-09-01 12:28:00 +08:00
xiongweichao
80e3d965ae
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-01 11:47:46 +08:00
Marius Vikhammer
e1f27cf31b
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 11:39:34 +08:00
Wang Meng Yang
cf8abdb554
Merge branch 'bugfix/remove_bt_dft_init_semicolon' into 'master'
...
bt: Remove trailing semicolon from bt dft initializer
Closes IDFGH-8058
See merge request espressif/esp-idf!19773
2022-09-01 11:30:21 +08:00
morris
82f2ad9b6d
Merge branch 'bugfix/propagate_isr_allocation_failure' into 'master'
...
Fix MCPWM multiplication overflow
Closes IDFGH-8151 and IDFGH-8155
See merge request espressif/esp-idf!19829
2022-09-01 10:44:15 +08:00
morris
6088f53966
Merge branch 'refactor/add_ledc_i2c_soc_caps' into 'master'
...
soc_caps: Introduce SOC_LEDC_SUPPORTED and SOC_I2C_SUPPORTED caps to IDF
See merge request espressif/esp-idf!19885
2022-08-31 23:42:24 +08:00
Jakob Hasse
95a05cd83d
doc (esp_event): removed deprecation notes
...
We decided the corresponding functions will remain in regular use.
2022-08-31 17:20:11 +02:00
morris
4daa04481b
Merge branch 'bugfix/usb_serial_jtag_console_crash' into 'master'
...
console: fix a crash when initializing usb_serial_jtag console
Closes IDFGH-8166
See merge request espressif/esp-idf!19866
2022-08-31 22:17:16 +08:00
Song Ruo Jing
6a60ecf780
soc_caps: Introduce SOC_LEDC_SUPPORTED and SOC_I2C_SUPPORTED caps to IDF
...
Wrap the ledc, i2c source files with the new caps in CMakeLists and linker.lf.
This could avoid potential source file not found warning during linking time.
2022-08-31 20:43:22 +08:00
Ivan Grokhotkov
4d9018e925
Merge branch 'feature/ulp_cmake_cleanups' into 'master'
...
ulp: CMake and python cleanups
See merge request espressif/esp-idf!19817
2022-08-31 17:59:05 +08:00
morris
731db1c873
mcpwm: fix multiplication overflow in converting us to compare ticks
...
Closes https://github.com/espressif/esp-idf/issues/9648
2022-08-31 17:38:29 +08:00
morris
a0d03a60cd
legacy_timer: propagate isr register failure
...
Closes https://github.com/espressif/esp-idf/issues/9651
2022-08-31 17:18:55 +08:00
jincheng
1282eda148
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-08-31 16:24:59 +08:00
Omar Chebib
0b5ab940ae
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-08-31 13:30:10 +08:00
Marius Vikhammer
acc8b8ee0a
esp-rom: fixed error in miniz header documention for tdefl_init
...
Closes https://github.com/espressif/esp-idf/issues/8435
2022-08-31 11:36:56 +08:00
Omar Chebib
26c4550e6d
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-08-31 03:23:30 +00:00
wuzhenghui
c31aaeda2a
ll: add reset interface to rtc_cntl_ll
2022-08-31 01:59:36 +00:00
wuzhenghui
82ffe7e438
replacing reset by register operations with ROM interfaces to decouple the effects of register name changes
2022-08-31 01:59:36 +00:00
wuzhenghui
88c123f805
esp_rom: add esp_rom_software_reset and esp_rom_software_reset_cpu interface
2022-08-31 01:59:36 +00:00
Ivan Grokhotkov
5b88c6b142
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-08-30 19:37:15 +02:00
Ivan Grokhotkov
c1d5717013
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-08-30 19:16:51 +02:00
Mahavir Jain
0a93ee1337
Merge branch 'bugfix/ctx_lock_wifi_prov' into 'master'
...
Fixed provisioning manager deinit
Closes IDFGH-8171
See merge request espressif/esp-idf!19828
2022-08-30 23:09:29 +08:00
Marius Vikhammer
dfaaefe2ce
Merge branch 'bugfix/uart_sclk_freq' into 'master'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled
Closes IDFGH-8144
See merge request espressif/esp-idf!19792
2022-08-30 16:24:38 +08:00
morris
1ca3fad458
Merge branch 'bugfix/gpio_ut_usj' into 'master'
...
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
See merge request espressif/esp-idf!19838
2022-08-30 14:09:45 +08:00
Gao Xu
0da21aca0d
Merge branch 'bugfix/fix_spi_hd_quad_issue_esp32c3' into 'master'
...
essl_spi: fix wrong dummy cycle under quad spi mode ant add a test to verify spi quad mod
Closes IDF-5182 and IDF-5181
See merge request espressif/esp-idf!18680
2022-08-30 10:53:11 +08:00
Simon
f8c3d093f0
Merge branch 'bugfix/btld_flash_ram' into 'master'
...
bootloader_flash: Some bootloader flash functions are not put in IRAM
See merge request espressif/esp-idf!19832
2022-08-30 10:51:52 +08:00
Ivan Grokhotkov
9aecfe2b9d
ulp: fix typo in peripherals ld file names
2022-08-30 02:34:28 +02:00
Ivan Grokhotkov
2916bf9b6c
ulp: esp32ulp_mapgen: remove the special case for RISC-V, cleanup
...
There are multiple changes in this commit:
1. Unify the RISC-V and ULP-FSM code paths in esp32ulp_mapgen.py.
It seems that these were originally introduced because `nm` output
for the RISC-V case contained symbol sizes, while for the ULP-FSM
no symbol sizes were reported. This makes sense, because the
ULP-FSM object files are produced from assembly source, symbol
sizes have to be added manually using the .size directive.
In the case of RISC-V, the object files are built from C sources
and the sizes are automatically added by the compiler.
Now 'posix' output format is used for both RISC-V and ULP-FSM.
2. Move BASE_ADDR out of esp32ulp_mapgen.py. This now has to be passed
from CMake, which should make it easier to modify if a new chip
with a different RTC RAM base address is added.
3. Add C++ guards to the generated header file.
4. Switch from optparse to argparse for similarity with other IDF
tools.
5. Add type annotations.
2022-08-30 02:34:28 +02:00
Ivan Grokhotkov
4b03e233d0
ulp: cmake: simplify the dependency on the generated LD script
...
* "dummy loop to force pre-processed linker file generation" seems to
be unnecessary. It looks like the idea was copied from the
dependency of ULP-FSM preprocessed source files on the LD script.
* Can use add_dependencies instead of
set_target_properties(...LINK_DEPENDS...) which is more readable
* Use target_link_options instead of target_link_libraries, which is
supported starting from CMake 3.13. Unlike target_link_libraries,
it doesn't require manually quoting the pats.
2022-08-30 02:34:28 +02:00
Ivan Grokhotkov
67bd7a300a
ulp: cmake: add the target early, use target_* commands everywhere
...
Instead of collecting options in various variables, use CMake
commands like target_sources and target_link_options.
2022-08-30 02:34:28 +02:00
Ivan Grokhotkov
1a73374f82
ulp: move the expected ULP-FSM toolchain version from .mk to CMake
...
toolchain_ulp_version.mk is a remnant of the time when we had two
build systems, and CMake had to read the expected version from a
makefile.
2022-08-30 02:34:28 +02:00
Ivan Grokhotkov
b7efde18c6
Merge branch 'bugfix/vfs_build_warning' into 'master'
...
vfs: use recommended `esp_cpu_dbgr_is_attached` API
See merge request espressif/esp-idf!19843
2022-08-30 07:18:40 +08:00
Fu Hanxi
4f3610f957
Merge branch 'ci/upload_elf_map_to_minio' into 'master'
...
ci: upload elf map file to s3 server to reduce artifacts size
Closes IDFCI-1385
See merge request espressif/esp-idf!19756
2022-08-30 01:06:11 +08:00
Mahavir Jain
8b8d525a6c
vfs: use recommended esp_cpu_dbgr_is_attached
API
...
This fixes deprecation warning with earlier API
`cpu_hal_is_debugger_attached`.
2022-08-29 22:15:11 +05:30
Jiang Jiang Jian
8d9c51f76d
Merge branch 'feature/add_txpwr_api_on_esp32c2' into 'master'
...
add set/get txpwr api for esp32c2
See merge request espressif/esp-idf!19520
2022-08-29 23:35:25 +08:00
Roland Dobai
1a006cb718
Merge branch 'feature/freertos_smp_sysview' into 'master'
...
sysview: Adds FreeRTOS SMP port
Closes IDF-4995
See merge request espressif/esp-idf!18615
2022-08-29 23:09:42 +08:00
Zhi Wei Jian
4a5662bc25
Merge branch 'feature/add_qa_test_funcs' into 'master'
...
Add QA test Functions for esp32
See merge request espressif/esp-idf!19735
2022-08-29 21:04:02 +08:00
Martin Vychodil
38acc3f7bf
Merge branch 'feature/vfs_driver_interface' into 'master'
...
esp/vfs: VFS semihosting interface support
Closes OCD-98
See merge request espressif/esp-idf!16932
2022-08-29 20:52:17 +08:00
Song Ruo Jing
46886286c4
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
2022-08-29 19:38:13 +08:00
Isha Pardikar
b8fc63d658
wifi_provisioning: Fixed prov_ctx_lock of deinit provisioning manager
2022-08-29 16:08:56 +05:30
Cao Sen Miao
0de699532d
bootloader_flash: Some bootloader flash functions are not put in IRAM
2022-08-29 17:24:05 +08:00
Fu Hanxi
0d7f5b3d84
adc: skip linking static functions when not COMPILER_OPTIMIZATION_DEFAULT
2022-08-29 16:57:31 +08:00
Fu Hanxi
317f6bc024
esp_pm: fix esp32c2 no sleep_enable_memory_retention error
2022-08-29 16:57:31 +08:00
morris
b82d6ce928
md5_hash: fix copyright checker
2022-08-29 15:40:37 +08:00
wuzhenghui
fbeb6195c2
esp_rom: add esp32c6 header files
2022-08-29 15:40:37 +08:00
Kapil Gupta
06db6c2098
Merge branch 'bugfix/wps_ssid_len_validation' into 'master'
...
wpa_supplicant: Add WPS ssid length validation
See merge request espressif/esp-idf!19486
2022-08-29 13:55:17 +08:00
Jiang Jiang Jian
33b51563dc
Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning' into 'master'
...
heap: provide the tlsf_check_hook() definition to implement a check of memory corruption
Closes IDFGH-5643
See merge request espressif/esp-idf!19485
2022-08-29 12:21:43 +08:00
Simon
949ddc3501
Merge branch 'test/add_c2_extflash_test' into 'master'
...
esp_flash: Add EXT flash test on ESP32-C2
See merge request espressif/esp-idf!19700
2022-08-29 11:42:58 +08:00
zwl
30e47072f9
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 11:32:18 +08:00
Michael (XIAO Xufeng)
4fb1ccdd4e
Merge branch 'feature/c2_efuse_with_26mhz' into 'master'
...
efuse(es32c2): Supports 26MHz XTAL
Closes IDF-5427
See merge request espressif/esp-idf!18851
2022-08-29 01:43:57 +08:00
Armando (Dou Yiwen)
49dc1a32c5
Merge branch 'bugfix/remove_esp_adc_wno_flag' into 'master'
...
esp_adc: remove wno flag
Closes IDF-5765
See merge request espressif/esp-idf!19791
2022-08-26 22:32:24 +08:00
Armando (Dou Yiwen)
ac63c0afd7
Merge branch 'feature/basic_mmu_framework' into 'master'
...
mmu: basic mmu driver framework
Closes IDFGH-6659 and IDF-5825
See merge request espressif/esp-idf!19547
2022-08-26 22:19:10 +08:00
morris
ebd3081d97
Merge branch 'bugfix/fix_rtc_gpio_hold' into 'master'
...
gpio: Fix missing set hold bit in rtc gpio register
Closes IDFGH-2489
See merge request espressif/esp-idf!19760
2022-08-26 18:13:14 +08:00
Armando
ebe5861565
esp_psram: added a test for unaligned access
2022-08-26 17:59:06 +08:00
Armando
2d44dc1eed
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
2022-08-26 17:59:06 +08:00
Armando
50a8d8412e
esp_adc: remove wno flag
2022-08-26 15:08:18 +08:00
Guillaume Souchere
4571e19387
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-08-26 08:25:39 +02:00
Guillaume Souchere
b9abad7a89
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-08-26 08:25:38 +02:00
Guillaume Souchere
f051da86e2
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-08-26 08:20:50 +02:00
Armando
38cc4a2732
adc: use esp_check in adc_legacy.c
2022-08-26 14:08:33 +08:00
Wang Meng Yang
6f677de11c
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_master' into 'master'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled
Closes BT-1915
See merge request espressif/esp-idf!19671
2022-08-26 13:34:11 +08:00
morris
060f3a3b13
Merge branch 'refactor/gptimer_software_capture' into 'master'
...
split gptimer software capture in hal driver
See merge request espressif/esp-idf!19749
2022-08-26 13:25:25 +08:00
Cao Sen Miao
0313d2a5b4
esp_flash: Add ext flash on ESP32-C2
2022-08-26 12:53:56 +08:00
Marius Vikhammer
b844df8c85
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-08-26 11:52:46 +08:00
Marius Vikhammer
e219510c9d
Merge branch 'bugfix/freertos_org_inc_path' into 'master'
...
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path
Closes IDF-4464
See merge request espressif/esp-idf!19757
2022-08-26 11:42:29 +08:00
Michael (XIAO Xufeng)
8e361d3df0
Merge branch 'bugfix/sdio_slave_gcc11_crash' into 'master'
...
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11
Closes IDFCI-1296, IDFCI-1297, and IDFCI-1298
See merge request espressif/esp-idf!19680
2022-08-26 00:39:35 +08:00
Mahavir Jain
9523c784c1
Merge branch 'feature/mbedtls-3.2.1' into 'master'
...
[mbedtls] Update to v3.2.1
Closes IDF-5529, IDF-5715, and IDFGH-7188
See merge request espressif/esp-idf!19072
2022-08-25 21:59:10 +08:00
Armando
dc5cab7730
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-25 20:35:20 +08:00
Mahavir Jain
b87bf29537
Merge branch 'ci/migrate_http_server_unit_test_app' into 'master'
...
ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app
Closes IDF-5577
See merge request espressif/esp-idf!19674
2022-08-25 19:19:11 +08:00
Alexey Gerenkov
e5085db5f0
sysview: Adds FreeRTOS SMP port
2022-08-25 13:08:19 +03:00
morris
995b89fbb6
gptimer: add API to get captured count value
2022-08-25 17:55:19 +08:00
morris
e06c230a1d
esp_rom: remove unavailable tjpgd library for esp32c2
2022-08-25 17:49:38 +08:00
Omar Chebib
6f3c6dcd86
Merge branch 'bugfix/i2c_port_unsigned' into 'master'
...
I2C: i2c_port_t type is now an enumeration
Closes IDFGH-7433
See merge request espressif/esp-idf!18230
2022-08-25 17:25:51 +08:00
Marius Vikhammer
c36cd5238c
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-08-25 16:51:44 +08:00
Wan Lei
c5b094a96f
Merge branch 'test/fix_sio_mode_multi_test_faile' into 'master'
...
spi_master: in unit test modify communication bringup flow to fix spi sio mode test failure
See merge request espressif/esp-idf!19712
2022-08-25 16:33:10 +08:00
Alexey Gerenkov
030f3b7534
sysview: Fixes IDLE tasks detection via name comparison
2022-08-25 11:23:21 +03:00
Darian
4a266d165b
Merge branch 'feature/freertos_10.4.3_sync_task_list_functions' into 'master'
...
freertos: (Sync v10.4.3) Update task list functions
See merge request espressif/esp-idf!19323
2022-08-25 14:28:16 +08:00
Nachiket Kukade
c53318f7af
esp_wifi: Update wifi libs
...
Fix scan causing bss overwrite in connect process
2022-08-25 11:52:36 +05:30
Michael (XIAO Xufeng)
bc0ccd9b6d
Merge branch 'bugfix/rtc_periph_ulp_touch' into 'master'
...
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
Closes IDF-4528
See merge request espressif/esp-idf!19209
2022-08-25 12:27:29 +08:00
Michael (XIAO Xufeng)
aff90b9853
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
2022-08-25 12:27:28 +08:00
Rahul Tank
fbf0dff71a
Merge branch 'bugfix/fix_memory_corruption_in_recon_code' into 'master'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code
See merge request espressif/esp-idf!19364
2022-08-25 12:00:04 +08:00
Harshit Malpani
cae004a815
ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app
2022-08-25 03:43:46 +00:00
xiongweichao
697755dfe5
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-08-25 11:36:28 +08:00
Song Ruo Jing
1d95823b83
Merge branch 'feature/add_esp32c6_register_headers' into 'master'
...
ESP32C6: Add soc register header files
See merge request espressif/esp-idf!19642
2022-08-25 11:27:21 +08:00
morris
853a27b491
Merge branch 'refactor/migrate_adc_wifi_test_to_test_app' into 'master'
...
esp_adc: migrate adc wifi test to test app
Closes IDFCI-1405 and IDFCI-578
See merge request espressif/esp-idf!19736
2022-08-25 10:57:07 +08:00
Jakob Hasse
1ab3e64cee
doc (nvs): added note about maximum possible namespaces
2022-08-24 15:42:27 +02:00
Jan Procházka
ebef6bc97e
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-24 13:49:05 +02:00
Marius Vikhammer
38d30548d4
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-24 18:43:28 +08:00
muhaidong
3887cac78e
esp_wifi: fix pairwise cipher tkip pmf compability issue.
2022-08-24 18:09:37 +08:00
Jiang Jiang Jian
1c9796b9d4
Merge branch 'bugfix/espnow_clear_key_register' into 'master'
...
esp_wifi: Fix the bug that espnow clear key register fail
Closes WIFI-4696
See merge request espressif/esp-idf!19632
2022-08-24 18:01:09 +08:00
KonstantinKondrashov
f2adee8b28
efuse(es32c2): Supports 26MHz XTAL
2022-08-24 09:10:57 +00:00
Rahul Tank
6e5389b1f8
Nimble: Fix memory corruption in reconnection attempt code
2022-08-24 13:39:27 +05:30
Darian Leung
77f6e8daca
freertos: Synchronize prvAddCurrentTaskToDelayedList() to v10.4.3
...
This commit synchronizes prvAddCurrentTaskToDelayedList() with upstream
v10.4.3. Multi-core modifications are then reapplied to the function.
2022-08-24 16:03:10 +08:00
Darian Leung
fdbf892124
freertos: Synchronize xTaskRemoveFrom...EventList() functions to v10.4.3
...
This commit synchronizes the following xTaskRemoveFrom...EventList() with
upstream v10.4.3. Multi-core modifications are then reapplied to the
functions.
The functions updated are:
- xTaskRemoveFromEventList()
- vTaskRemoveFromUnorderedEventList()
The following multi-core macros have been removed as they are no longer
required.
- tskCAN_RUN_HERE()
- taskYIELD_OTHER_CORE()
2022-08-24 16:03:10 +08:00
Darian Leung
fb960f42b3
freertos: Synchronize vTaskPlaceOnEventList...() functions to v10.4.3
...
This commit synchronizes the following vTaskPlaceOnEventList...() with
upstream v10.4.3.
The functions updated are:
- vTaskPlaceOnEventList()
- vTaskPlaceOnUnorderedEventList()
- vTaskPlaceOnEventListRestricted()
The traceTASK_DELAY_UNTIL() macro has also been updated.
2022-08-24 16:03:10 +08:00
Darian Leung
27c0120c18
freertos: Synchronize prvAddNewTaskToReadyList() to v10.4.3
...
This commit synchronizes prvAddNewTaskToReadyList() with upstream v10.4.3.
Multi-core modifications are then reapplied to the function.
2022-08-24 16:03:10 +08:00
Mahavir Jain
0d5f3081ac
Merge branch 'contrib/github_pr_8224' into 'master'
...
Reduce error log when calling esp_efuse_mac_get_custom() (GitHub PR)
Closes IDFGH-6580
Closes https://github.com/espressif/esp-idf/pull/8224
See merge request espressif/esp-idf!19705
2022-08-24 14:40:02 +08:00
Mahavir Jain
fbd1972318
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-24 11:59:35 +05:30
Sachin Parekh
aa4437d3d3
mbedtls: Override ecp_mul_restartable_internal
...
ECDSA verification uses ecp_mul_restartable_internal instead
of the public API mbedtls_ecp_mul_restartable
2022-08-24 11:59:35 +05:30
Laukik Hase
9b290e3668
mbedtls/port: Fix dynamic buffers feature for v3.2.1
...
Co-authored-by: Li Jingyi <lijingyi@espressif.com>
2022-08-24 11:59:34 +05:30
Laukik Hase
6319970ab7
esp_tls/wpa_supplicant: Updated deprecated mbedtls APIs
2022-08-24 11:59:34 +05:30
Laukik Hase
157fc22ef4
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-24 11:59:34 +05:30
Armando (Dou Yiwen)
335ca8a687
Merge branch 'refactor/use_esp_check_in_adc_legacy_driver' into 'master'
...
adc: use esp_check in adc_legacy.c
Closes IDF-3657
See merge request espressif/esp-idf!19727
2022-08-24 14:22:51 +08:00
wanlei
0f92a706ba
spi_master: change sio test communication bringup flow to fix testcase failure
...
test failed by slave obtain data incorrectly at the time before master started
2022-08-24 14:20:26 +08:00
Jiang Jiang Jian
08ed16f48c
Merge branch 'bugfix/remove_rc4_3des_tls_cipher_wpa' into 'master'
...
wpa_supplicant: remove RC4 and 3DES ciphers for TLS
Closes IDFGH-8107
See merge request espressif/esp-idf!19718
2022-08-24 14:07:05 +08:00
Rahul Tank
84bbb2ac7f
Merge branch 'bugfix/increase_leading_space_for_alloc' into 'master'
...
Nimble: Add extra space for buffer allocation for ESP IP
See merge request espressif/esp-idf!19574
2022-08-24 11:42:48 +08:00
Wang Yuan Ze
6f00ff6a50
Merge branch 'touch_sensor/fix_touch_sensor_v1_filter_issue' into 'master'
...
touch_sensor: fix touch_sensor_v1 filter issue
Closes IDFCI-1426
See merge request espressif/esp-idf!19644
2022-08-24 11:04:03 +08:00
Omar Chebib
f6ac350337
I2C: i2c_port_t type is now an enumeration
...
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-08-24 10:51:09 +08:00
Marius Vikhammer
7cbc1b3811
Merge branch 'bugfix/gpio_wakeup_docs' into 'master'
...
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
Closes IDFGH-8064
See merge request espressif/esp-idf!19724
2022-08-24 10:50:35 +08:00
Armando
a8c0f1feb6
esp_adc: migrate adc wifi test to test app
2022-08-23 21:23:21 +08:00
zhiweijian
0b4122ecee
Add QA test Functions
2022-08-23 21:20:43 +08:00
Jiang Jiang Jian
3370a14f77
Merge branch 'bugfix/wps_connection_issue' into 'master'
...
wpa_supplicant: Fix WPS connection issue after WPS done
Closes WIFI-4716, WIFI-4709, and WIFI-4507
See merge request espressif/esp-idf!19707
2022-08-23 19:52:39 +08:00
Mahavir Jain
8418fdee2a
Merge branch 'ci/migrate_http_client_unit_test_app' into 'master'
...
ci: Migrate unit-test for esp_http_client to component-test-apps
See merge request espressif/esp-idf!19578
2022-08-23 18:37:32 +08:00
Armando
eaf7fbf35a
adc: use esp_check in adc_legacy.c
2022-08-23 17:47:04 +08:00
Chen Jian Hua
7908025c2d
Merge branch 'bugfix/fix_ble_rpa_gen_for_esp32' into 'master'
...
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
Closes BT-2543
See merge request espressif/esp-idf!19641
2022-08-23 16:50:41 +08:00
Marius Vikhammer
7a900bad7f
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-23 16:16:43 +08:00
wangyuanze
6ca1db3ef2
touch_sensor: fix touch_sensor_v1 filter issue
2022-08-23 07:34:51 +00:00
Kapil Gupta
964f0ad5ad
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-23 13:02:05 +05:30
zhangyanjiao
cdf1c69cbc
esp_wifi: Fix the bug that espnow clear key register fail
...
Closes WIFI-4696
2022-08-23 14:47:47 +08:00
Mahavir Jain
4697f751f5
Merge branch 'fix/fix_esp_rsa_sign_alt_modifying_input_params' into 'master'
...
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data...
See merge request espressif/esp-idf!19571
2022-08-23 13:54:31 +08:00
0xFEEDC0DE64
f16d8a3e54
Reduced error log when calling esp_efuse_mac_get_custom()
2022-08-23 04:35:34 +00:00
Rahul Tank
5d087feb6e
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 09:48:23 +05:30
Jakob Hasse
d5b80e6812
Merge branch 'bugfix/linux_target_component_dep' into 'master'
...
build system: add 'linux' component to common requirements
See merge request espressif/esp-idf!19663
2022-08-23 11:18:35 +08:00
gaoxu
ec649b0a30
SPI: a test to verify the SPI halfduplex communicate on quad mod
2022-08-23 10:47:21 +08:00
gaoxu
3610b14aef
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h
...
1.The dummy_bits is set to 4 in ESP32C3/C2, therefore, the data transmission started too early.This commit fix this issue by changing dummy_bits to 8.
2.Put the spi command the spi defintion in spi_types.h
3.Put the function which get spi command or dummy bits in spi_ll.h
2022-08-23 10:46:56 +08:00
Armando (Dou Yiwen)
fec97b6b16
Merge branch 'bugfix/add_adc_oneshot_disable_ulp_enum' into 'master'
...
esp_adc: add adc ulp mode disable enum, and kconfig to enable dac output
Closes IDF-5843 and IDF-5846
See merge request espressif/esp-idf!19683
2022-08-23 10:46:54 +08:00
Kapil Gupta
4df06ed2f0
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-22 20:32:34 +05:30
Ivan Grokhotkov
d5973b8b14
build system: add 'linux' component to common requirements
...
'linux' component provides some of the common header files, such as
'sys/queue.h' and 'sys/lock.h'. For chip targets, it is possible to
include these files without having to add any extra requirements.
With this change, the same behavior will apply for the linux target.
2022-08-22 14:50:19 +02:00
Shu Chen
5573d1395b
Merge branch 'feature/update_openthread_submodule' into 'master'
...
openthread: update OpenThread submodule
See merge request espressif/esp-idf!19633
2022-08-22 19:50:05 +08:00
Harshit Malpani
791d17ac7f
ci: Migrate unit-test for esp_http_client to component-test-apps
2022-08-22 16:57:32 +05:30
Armando
236ba48efc
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-22 18:04:55 +08:00
Mahavir Jain
ed6e6ccdaf
Merge branch 'fix/wifi_prov_mgr_update_comment_ragading_sec_params_validity' into 'master'
...
wifi_provisioning: Update API documentation to highlight argument validity...
See merge request espressif/esp-idf!19540
2022-08-22 17:59:48 +08:00
Aditya Patwardhan
2f4a28af46
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-22 15:04:32 +05:30
Song Ruo Jing
72a15e3c7a
Merge branch 'bugfix/gpio_usb_pin_pupd' into 'master'
...
gpio: fix USB D+ pin cannot disable pullup
Closes IDFGH-7984
See merge request espressif/esp-idf!19191
2022-08-22 17:18:05 +08:00
xiongweichao
9ee49832ea
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-22 15:06:48 +08:00
Wei Tian Hua
7c2b137ffe
Merge branch 'contrib/github_pr_9529_mr_master' into 'master'
...
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()
Closes IDFGH-8021
See merge request espressif/esp-idf!19577
2022-08-22 14:46:16 +08:00
Michael (XIAO Xufeng)
0a2e5a7774
Merge branch 'feat/support_esp32c2_uart' into 'master'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL
Closes IDF-5424 and IDF-4332
See merge request espressif/esp-idf!19274
2022-08-22 14:24:26 +08:00
Song Ruo Jing
aae3c7ba08
Merge branch 'bugfix/fix_ledc_timer_update_usage' into 'master'
...
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
See merge request espressif/esp-idf!19637
2022-08-22 14:23:44 +08:00
songruojing
95c31a7074
esp32c6: add soc/ no-gdvs reg files
2022-08-22 12:11:40 +08:00
songruojing
a00f217341
esp32c6: add soc/ reg and struct headers
2022-08-22 12:11:40 +08:00
zhangwenxu
fefb3a9b17
openthread: update OpenThread submodule
...
* support NAT64 ICMP
2022-08-22 11:59:48 +08:00
Michael (XIAO Xufeng)
e7dbfd65cb
Merge branch 'feature/support_7.2.8_soc/pvt-dig' into 'master'
...
rtc: auto adjust LDO voltage based on pvt-dig saved in efuse
Closes IDF-4873
See merge request espressif/esp-idf!16365
2022-08-22 11:43:07 +08:00
Darian
1de6f9662c
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies' into 'master'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath
Closes IDFGH-7728
See merge request espressif/esp-idf!19461
2022-08-22 11:23:17 +08:00
Armando
5e31d4bb2b
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-22 11:00:28 +08:00
Michael (XIAO Xufeng)
19add3fb05
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11
2022-08-22 10:53:24 +08:00
Zim Kalinowski
f54972d95d
Merge branch 'feature/ulp_mutex' into 'master'
...
ulp-riscv: mutex/lock
Closes IDF-5754
See merge request espressif/esp-idf!19377
2022-08-21 16:27:53 +08:00
Darian Leung
fbcde6777f
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
24c20d188e
).
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-21 15:27:50 +08:00
Jakob Hasse
d6f3666875
Merge branch 'bugfix/nvs_flash_linux_target_cleanups' into 'master'
...
nvs_flash: cleanups related to linux target
See merge request espressif/esp-idf!19570
2022-08-19 21:07:48 +08:00
Ivan Grokhotkov
ea5fda812b
Merge branch 'bugfix/esp_err_linux_target' into 'master'
...
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux target
Closes IDF-2693
See merge request espressif/esp-idf!19569
2022-08-19 20:44:35 +08:00
Song Ruo Jing
0445c87459
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-19 19:07:46 +08:00
Armando (Dou Yiwen)
46a935eee8
Merge branch 'ci/run_psram_test_on_quad_psram_s3_boards' into 'master'
...
ci: run psram test on quad psram s3 boards
See merge request espressif/esp-idf!19658
2022-08-19 18:13:53 +08:00
Wan Lei
d26a99692c
Merge branch 'test/modify_spi_sio_case_name' into 'master'
...
SPI_Master: modify test case name for spi sio mode test
See merge request espressif/esp-idf!19646
2022-08-19 17:06:13 +08:00
Aditya Patwardhan
9b05874388
wifi_provisioning: Update API documentation to highlight argument validity while providing sec_params argument.
2022-08-19 14:02:41 +05:30
Jakob Hasse
bcb34ca7ae
Merge branch 'feature/critical_section_api' into 'master'
...
esp_system: critical section api
Closes IDF-4754
See merge request espressif/esp-idf!19019
2022-08-19 15:30:44 +08:00
songruojing
01143bd732
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-19 15:05:28 +08:00
Armando
56e4664d00
ci: add psram test to s3 boards with quad psram
2022-08-19 12:35:15 +08:00
chenjianhua
e6b9b2fe96
soc: remove soc ble config from Kconfig
2022-08-19 11:15:20 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
chenjianhua
0067c28013
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-08-19 11:03:15 +08:00
chenjianhua
eaa9897386
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-08-19 11:03:15 +08:00
Ivan Grokhotkov
c6e9a0c350
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux
2022-08-18 18:16:45 +02:00
Mahavir Jain
a2f028abe7
Merge branch 'feature/app_metadata_to_esp_system' into 'master'
...
app_update: Moved app metadata to new component `esp_app_format`
Closes IDF-4808
See merge request espressif/esp-idf!18862
2022-08-18 21:51:32 +08:00
wanlei
a462022205
spi_master:modify test case name for spi sio mode test
2022-08-18 20:17:15 +08:00
Armando (Dou Yiwen)
6c35aa6868
Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m' into 'master'
...
esp_psram: fix esp32 psram cs hold time issue when under 40m
Closes IDF-5761
See merge request espressif/esp-idf!19393
2022-08-18 19:39:41 +08:00
Jiang Jiang Jian
b738321c7f
Merge branch 'bugfix/add_clear_ap_list_interface' into 'master'
...
esp_wifi:add clear ap list interface
See merge request espressif/esp-idf!19441
2022-08-18 19:18:56 +08:00
Chen Jian Hua
e2d488cf4b
Merge branch 'bugfix/fix_gatt_svc_attrs_count' into 'master'
...
Bluedroid: Configurable option to modify max gatt service attributes count
Closes IDFGH-7861
See merge request espressif/esp-idf!19313
2022-08-18 15:17:11 +08:00
David Čermák
cda6360666
Merge branch 'bugfix/lwip_ipv6_zone_violation' into 'master'
...
lw ip: Fix IPv6 zoning violations
Closes IDF-4856
See merge request espressif/esp-idf!18756
2022-08-18 14:48:57 +08:00
morris
5b48a33ad5
Merge branch 'feature/use_esp_jpeg_for_example' into 'master'
...
examples/tjpgd: Use esp_jpeg component in tjpgd and SPI examples
Closes IDF-5652
See merge request espressif/esp-idf!19464
2022-08-18 14:42:20 +08:00
Wan Lei
60d794501f
Merge branch 'test/add_test_spi_sio_master_all' into 'master'
...
SPI Master: add sio multi-device test case for all chips
Closes IDF-4455
See merge request espressif/esp-idf!19249
2022-08-18 14:41:48 +08:00
David Čermák
1890501ac9
Merge branch 'unit_test_for_C2_tcp_transport' into 'master'
...
Re-enable unit test for C2 tcp_transport
Closes IDF-5144
See merge request espressif/esp-idf!19150
2022-08-18 13:50:17 +08:00
Wan Lei
8226806295
Merge branch 'feature/reduce-overhead-of-xQueueSendFromISR' into 'master'
...
SPI Master: add callback feature to reducing overhead
Closes IDFGH-7584
See merge request espressif/esp-idf!18969
2022-08-18 11:02:17 +08:00
morris
31d4ab6e04
Merge branch 'bugfix/mcpwm_operator_naming_issue_with_cxx' into 'master'
...
mcpwm: don't use keyword operator
Closes IDFGH-8000
See merge request espressif/esp-idf!19581
2022-08-18 10:56:15 +08:00
morris
2cea860318
Merge branch 'contrib/github_pr_9491' into 'master'
...
[gpio] calloc in critical section (GitHub PR)
Closes IDFGH-7980
See merge request espressif/esp-idf!19380
2022-08-18 10:49:41 +08:00
David Čermák
8033878507
Merge branch 'bugfix/esp_netif_remove_slip' into 'master'
...
esp_netif: Migrate SLIP interface to user-space
Closes IDF-5678
See merge request espressif/esp-idf!19202
2022-08-18 03:53:30 +08:00
Rocha Euripedes
1231e1bce0
Merge branch 'module_logging_tag_lower_case' into 'master'
...
Replaced logging tags with lower case in tcp_transport component
See merge request espressif/esp-idf!19298
2022-08-17 23:56:12 +08:00
Vilem Zavodny
a00e8771a7
tjpgd: Remove ROM patches and tests.
2022-08-17 14:42:45 +02:00
Ivan Grokhotkov
4e0fa26e64
nvs_flash: link the host test against libbsd when building on Linux
...
...and clean up the linking rule
2022-08-17 12:20:37 +02:00
Ivan Grokhotkov
7a1e19edf1
nvs_flash: replace strncpy + manual null termination with strlcpy
...
Since libbsd is now a build dependency on Linux, strncpy can be
replaced with the safer and less verbose strlcpy.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
bee241b0e2
nvs_flash: remove leftover ESP_ERROR_CHECKS
...
Similar to the asserts, these are replaced by error checks.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
02661081be
nvs_flash: make nvs_flash_init usable for Linux target
...
Since the partition API is now supported for Linux target builds,
this function can now be used.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
bfb6f31872
nvs_flash: remove unnecessary check that the data pointer is in DROM
...
spi_flash driver knows how to write data from cache (DROM or PSRAM)
into flash, so the extra check in nvs_flash is unnecessary.
Besides, the hardcoded address limit (0x3ff00000) is wrong for some
of the newer chips.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
08e41973f0
nvs_flash: update intrusive_list for compatibility with C++17
...
std::iterator is deprecated since C++17, the code produces a warning
when compiled with clang and libc++.
2022-08-17 12:20:36 +02:00
Jakob Hasse
3f95fdcb15
feat (esp_system): simple os abstraction layer for critical sections
2022-08-17 10:04:35 +02:00
wanlei
4757efe21d
spi_master: fix config check of both in&out phases used in half-duplex mode
...
Add a check in spi_master driver to prevent using both 'trans->length'
and 'trans->rxlength' on chips other than ESP32 and ESP32S2 which hardware
not support using both TX and RX phases in half-duplex mode
2022-08-17 15:52:08 +08:00
wanlei
6864f72ab7
test: add new spi-sio multi-board test for all chip
...
test sio master only, and splited into master input & output ability
slave device work on full duplex mode to provide input/output source only
2022-08-17 15:52:08 +08:00
xueyunfei
b9a0a3d5c4
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-17 15:43:40 +08:00
xueyunfei
601982ccad
esp_wifi:add clear ap list interface
2022-08-17 15:32:47 +08:00
wanlei
5726f3d8cb
spi_master: add check for 'post_cb' when flag 'SPI_DEVICE_NO_RETURN_RESULT' is set
...
There are two ways to know which transaction descriptor is finished,
by either calling `spi_device_get_trans_result`, or getting it from `post_cb`.
When `SPI_DEVICE_NO_RETURN_RESULT` is set, driver will not push finished
transaction descriptors into the queue. So you can't get it from
`spi_device_get_trans_result`. The only way to know this is via `post_cb`.
update document for function `spi_bus_add_device`
2022-08-17 15:08:06 +08:00
chenjianhua
e29170bce9
Bluedroid: Configurable option to modify max gatt service attributes count
2022-08-17 14:36:12 +08:00
morris
fc1aa2848b
rgb_lcd: support yuv converter
2022-08-17 06:33:06 +00:00
morris
2c5a866ea3
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
morris
104b9c3fb1
Merge branch 'feature/introduce_lcd_color_space_enum' into 'master'
...
lcd: deprecate esp_lcd_color_space_t
See merge request espressif/esp-idf!19576
2022-08-17 14:19:12 +08:00
Laukik Hase
85d00a4dac
ci: Fix host-test failures
2022-08-17 10:59:32 +05:30
Laukik Hase
fb93901d5b
esp_app_format: Added test-app
2022-08-17 10:59:31 +05:30
Laukik Hase
0071ea498f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-17 10:59:31 +05:30
Laukik Hase
0519f604db
app_update: Moved app metadata to new component esp_app_format
2022-08-17 10:59:25 +05:30
Jing Li
b51d4dfacd
Merge branch 'bugfix/fix_clk_cali_logic_for_c2' into 'master'
...
esp32c2/clk_cali: fix rtc slow clk cali logic
See merge request espressif/esp-idf!19553
2022-08-17 11:11:19 +08:00
Armando
02fb570253
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-17 10:38:49 +08:00
Ivan Grokhotkov
512b59f388
Merge branch 'test/newlib_blksize' into 'master'
...
newlib: add test for st_blksize and FILE buffer size
See merge request espressif/esp-idf!19366
2022-08-16 23:02:59 +08:00
Pedro
792186a3da
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-08-16 11:48:17 -03:00
David Cermak
83b8556f10
esp_netif: Migrate SLIP interface to user-space
2022-08-16 14:08:15 +00:00
Ivan Grokhotkov
985f44c158
Merge branch 'bugfix/partition_api_linux_test' into 'master'
...
spi_flash: convert Linux partition API test to Unity, bug fixes
See merge request espressif/esp-idf!19567
2022-08-16 21:28:41 +08:00
David Cermak
14c6d3a889
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 13:03:53 +00:00
Kevin (Lao Kaiyao)
38bb2debea
Merge branch 'feature/touch_element_sleep' into 'master'
...
touch_element: add low-power support and example into touch element
Closes IDF-3027 and IDF-4353
See merge request espressif/esp-idf!13001
2022-08-16 18:57:46 +08:00
Mu Hai Dong
cd39088c9c
Merge branch 'bugfix/fix_init_memory_leak_issue' into 'master'
...
esp_wifi: done beacon monitor timer when call pm deattach
Closes WIFI-4675, WIFI-4676, WIFI-4694, and WIFI-4695
See merge request espressif/esp-idf!19375
2022-08-16 17:43:17 +08:00
Mahavir Jain
6c2c05e8a0
Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
...
Push out esp-cryptoauthlib to component manager
See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
AndriiFilippov
5433abebfa
Re-enable unit test for C2 tcp_transport
2022-08-16 08:45:20 +00:00
AndriiFilippov
0013ad5bb9
Replaced logging tags with lower case in tcp_transport component to unite all tags under common structure.
2022-08-16 08:38:57 +00:00
morris
bc372f8f55
rgb_lcd: deprecate esp_lcd_color_space_t
2022-08-16 14:35:08 +08:00
Alex Lisitsyn
c7558690ca
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues' into 'master'
...
driver: uart rs485 fix test sync issues and fail threshold
See merge request espressif/esp-idf!19556
2022-08-16 13:10:13 +08:00
Alex Lisitsyn
c78f126eed
driver: uart rs485 fix test sync issues and fail threshold
2022-08-16 13:10:13 +08:00
Michael (XIAO Xufeng)
746f4b814c
uart: move frequency of clock sources out of HAL
2022-08-15 18:55:43 +00:00
Ivan Grokhotkov
ab02e15601
spi_flash: use Unity fixture in the partition API test
2022-08-15 18:15:19 +02:00
Ivan Grokhotkov
91d0e016a1
spi_flash: fix build for Linux target
...
CONFIG_MMU_PAGE_SIZE is not defined for the Linux target, add a
fallback definition.
2022-08-15 18:15:19 +02:00
Ivan Grokhotkov
1ac3fc79b7
unity: add linux port
...
This allows using unity fixture in Linux host tests
2022-08-15 18:15:19 +02:00
Wang Meng Yang
4f4edef113
Merge branch 'bugfix/fix_ble_sch_arb_assert' into 'master'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3
Closes IDFGH-7620, IDFGH-7694, and BT-2637
See merge request espressif/esp-idf!19519
2022-08-15 21:54:07 +08:00
Sudeep Mohanty
d9445638fe
Merge branch 'bugfix/incorrect_base_addr_for_rtcio_on_esp32s3' into 'master'
...
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3
See merge request espressif/esp-idf!19552
2022-08-15 20:41:09 +08:00
laokaiyao
62ab4456a8
touch_sleep: complete the support for touch sleep
2022-08-15 20:04:57 +08:00
Kang Zuoling
0f1eb82acd
add touch element deep sleep example and auto sleep example
2022-08-15 20:03:12 +08:00
Kang Zuoling
82bf6c0935
add skip calibration and wakeup channel, fix isr in sleep mode
2022-08-15 20:03:12 +08:00
zlq
80c821a9aa
1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq
2022-08-15 18:03:55 +08:00
Michael (XIAO Xufeng)
f11de46bfc
Merge branch 'bugfix/fix_c2_rtc_ldo_too_low_bug' into 'master'
...
ESP32C2: Fix system not stable bug when rtc voltage too low
Closes IDF-5539
See merge request espressif/esp-idf!19217
2022-08-15 17:34:36 +08:00
Sudeep Mohanty
6b010612a2
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 10:46:40 +02:00
jingli
c70094f64a
esp32c2/clk_cali: fix rtc slow clk cali logic
2022-08-15 16:31:54 +08:00
morris
1d4c08cef4
mcpwm: added enable/disable functions
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-15 14:46:56 +08:00
morris
970d4cab09
driver: add doc on how to unregister event callbacks
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-15 14:46:56 +08:00
morris
0d881fc9e0
driver: specify the interrupt priority
...
Closes https://github.com/espressif/esp-idf/issues/9520
2022-08-15 14:46:56 +08:00
meawoppl
677a0c438d
spi_master: added a device flag "SPI_DEVICE_NO_RETURN_RESULT"
...
Add this flag to select if returning done transaction descriptors from ISR.
You should get the finished transaction descriptor by the callback "post_cb"
if you using this flag, if not, same as the past.
Close https://github.com/espressif/esp-idf/pull/9141
2022-08-15 12:10:50 +08:00
Darian
a28fd95051
Merge branch 'feature/freertos_10.4.3_revert_critical_section_macro' into 'master'
...
freertos: (Sync v10.4.3) Revert common critical section macro (2)
See merge request espressif/esp-idf!19527
2022-08-12 23:41:44 +08:00
Roland Dobai
571a074dd9
Merge branch 'fix/flake8_v5_warnings' into 'master'
...
Tools: Fix flake8 version 5 warnings
See merge request espressif/esp-idf!19488
2022-08-12 23:27:14 +08:00
Roland Dobai
8c10a14782
Merge branch 'refactor/remove_dependency_on_future' into 'master'
...
Remove the dependency on the future package
See merge request espressif/esp-idf!18925
2022-08-12 21:38:35 +08:00
Jiang Jiang Jian
aa065707f3
Merge branch 'bugfix/bt_invalid_workqueue_num' into 'master'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid
See merge request espressif/esp-idf!19508
2022-08-12 18:55:54 +08:00
Darian
c0f5e123c5
Merge branch 'contrib/github_pr_9497' into 'master'
...
Move xSemaphoreGive out of configASSERT (GitHub PR)
Closes IDFGH-7988
See merge request espressif/esp-idf!19522
2022-08-12 17:43:46 +08:00
Darian Leung
e22e7dd670
freertos: Revert critical section macro
...
This commit reverts the previous "taskENTER_CRTIICAL();" so that the argument
is now provided for better code readability. The names of the spinlocks have
also been updated.
2022-08-12 16:17:45 +08:00
Roland Dobai
bab3830797
Tools: Fix flake8 version 5 warnings
2022-08-12 08:13:13 +00:00
Roland Dobai
656936d32a
Merge branch 's3_sysview_irq_names' into 'master'
...
Fix ESP32-S3 interrupt names used by SystemView
See merge request espressif/esp-idf!19373
2022-08-12 16:01:19 +08:00
Mahavir Jain
203830e12b
esp-cryptoautlib: remove submodule and use from IDF component manager
2022-08-12 11:24:02 +05:30
morris
6f2ac1ce2a
rmt: add iram safe test
...
Closes https://github.com/espressif/esp-idf/issues/9487
2022-08-12 11:30:14 +08:00
morris
f24983a942
unity_utils: added helper function to disable cache and run user function
2022-08-12 11:29:52 +08:00
tgotic
60bdc4a023
update code to use osi_free()
2022-08-11 18:14:35 +02:00
Darian
2761ad4865
Merge branch 'feature/freertos_10.4.3_sync_yielding' into 'master'
...
freertos: Add new macro to check for yielding
Closes IDF-5735
See merge request espressif/esp-idf!19316
2022-08-11 22:57:05 +08:00
zwj
788f7265c0
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-11 21:29:26 +08:00
zwj
e414dd7e07
fix extend adv set remove failed
2022-08-11 20:50:15 +08:00
Martin Vychodil
d7e3072040
Merge branch 'fix/sdspi_no_cs' into 'master'
...
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1)
Closes IDFGH-6175
See merge request espressif/esp-idf!19420
2022-08-11 20:17:26 +08:00
chenjianhua
453ecbe9f2
fix esp hid crash when auth failed
2022-08-11 19:41:35 +08:00
Erhan Kurubas
66e3a6f6a3
esp32s3: fix interrupt names used by SystemView
2022-08-11 11:23:03 +02:00
Erhan Kurubas
f8d439dee3
replace CAN with TWAI in the esp_isr_names table
2022-08-11 11:23:03 +02:00
Island
fd8101498b
Merge branch 'bugfix/fix_bluetooth_cap_define_and_doc' into 'master'
...
Bugfix/fix bluetooth cap define and doc
Closes BC-1298 and BC-1297
See merge request espressif/esp-idf!19149
2022-08-11 16:51:08 +08:00
Darian
236d910be8
Merge branch 'bugfix/light_sleep_deadlock' into 'master'
...
esp_hw_support: Fix light sleep deadlock
Closes IDFCI-1329 and IDFCI-1330
See merge request espressif/esp-idf!19278
2022-08-11 16:24:44 +08:00
wangmengyang
9a6101bfed
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-11 16:09:44 +08:00
Darian Leung
287ab7566b
freertos: Use check yielding macros
...
This commit updates various FreeRTOS functions to call the newly added
prvCheckForYield() and prvCheckForYieldUsingPriority() when checking for
yielding. This allows the source code to match upstream more closely.
2022-08-11 16:02:48 +08:00
Darian Leung
0fd305da2d
freertos: Add new macro to check for yielding
...
When a FreeRTOS function unblocks a task, that function will check whether
the unblocked task requires a yield to be called. This is currently done by
having each function individually check if the unblocked task has a higher
priority than the both cores, and yielding the appropriate core.
This commit adds the macros list below to abstract away the yielding checking
procedure. This will allow the code to match upstream more closely.
- prvCheckForYield()
- prvCheckForYieldUsingPriority()
2022-08-11 16:02:48 +08:00
chaijie@espressif.com
b250589f2f
set fosc div to 1 to make chip run stablly for C2
2022-08-11 14:28:11 +08:00
Sachin Parekh
3a050cde26
Merge branch 'fix/s3_world_controller_headers' into 'master'
...
esp32s3: Update world controller headers
Closes IDF-5648
See merge request espressif/esp-idf!19219
2022-08-11 13:38:53 +08:00
morris
6aa08af572
Merge branch 'bugfix/remove_format_warnings_in_driver' into 'master'
...
driver: remove -Wno-format flag
Closes IDF-5764
See merge request espressif/esp-idf!19401
2022-08-11 12:19:50 +08:00
wangjialiang
e814f57b0f
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-10 14:12:37 +00:00
wangjialiang
3632250884
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-10 14:12:37 +00:00
wangjialiang
59c1e9a25d
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-10 14:12:37 +00:00
wangjialiang
0cb883b407
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-10 14:12:37 +00:00
wangjialiang
ee7d448e3c
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-10 14:12:37 +00:00
wangjialiang
5830ac8b12
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-10 14:12:37 +00:00
wangjialiang
fc9edce9bc
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-10 14:12:37 +00:00
wangjialiang
bd418e7a76
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-10 14:12:37 +00:00
Darian Leung
a73dd07d12
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-10 18:52:32 +08:00
Darian Leung
2a6c6c18f7
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-10 18:52:32 +08:00
Darian Leung
5804d2b6a7
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-10 16:54:25 +08:00
Sachin Parekh
41c5359703
esp32s3: Update world controller headers
2022-08-10 07:22:02 +00:00
Kapil Gupta
51f785fabe
wpa_supplicant: Add WPS ssid length validation
2022-08-10 12:08:40 +05:30
satish.solanke
42743a7189
Update_sdkdefaultconfig_BLE_only_flag ESP32C2
2022-08-09 16:28:01 +00:00
Wang Yuan Ze
debf2c0b70
Merge branch 'test/move_touch_related_unit_tests_to_test_apps' into 'master'
...
test: move touch related unit tests to test apps
Closes IDFCI-1283, IDFCI-1156, and IDF-5766
See merge request espressif/esp-idf!19348
2022-08-09 23:15:18 +08:00
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
muhaidong
36feb95a9e
esp_wifi: done beacon monitor timer and eloop timer when deinit
2022-08-09 17:22:39 +08:00
Liu Ning
f444aa4a7c
Merge branch 'bugfix/esp32s2_fail_to_scan_after_recv_disassoc' into 'master'
...
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
Closes WIFI-4539
See merge request espressif/esp-idf!19407
2022-08-09 16:02:26 +08:00
Omar Chebib
d622bcfd46
Merge branch 'contrib/github_pr_9517' into 'master'
...
fix malloc(0) and heap_caps_alloc_failed() (GitHub PR)
Closes IDFGH-8007
See merge request espressif/esp-idf!19421
2022-08-09 15:49:27 +08:00
Island
ee10f25b89
Merge branch 'bugfix/friend_and_lpn_issues' into 'master'
...
ble_mesh: stack: Fix friend and lpn issues
See merge request espressif/esp-idf!19378
2022-08-09 14:39:58 +08:00
morris
ad59ae38d8
Merge branch 'bugfix/duplicate_i2s_test_case_name' into 'master'
...
i2s: fixed duplicated test case name
See merge request espressif/esp-idf!19442
2022-08-09 12:01:11 +08:00
Lin Rui Hao
68bd2badf4
Merge branch 'contrib/github_pr_9498' into 'master'
...
bluedroid: fix member typo
Closes IDFGH-7987
See merge request espressif/esp-idf!19436
2022-08-09 11:13:33 +08:00
morris
92a44afeba
Merge branch 'bugfix/cleanup_rom_spiflash' into 'master'
...
esp-rom: remove undefined spi_flash functions from header
Closes IDFGH-109
See merge request espressif/esp-idf!19333
2022-08-09 10:39:14 +08:00
Omar Chebib
c6ddf7288c
heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer
2022-08-09 10:30:36 +08:00
Omar Chebib
790aa40c38
Merge branch 'contrib/github_pr_7144' into 'master'
...
Update i2c.c to consider two I2C buses for clear bus counter (GitHub PR)
Closes IDFGH-5398
See merge request espressif/esp-idf!19093
2022-08-09 10:26:25 +08:00
tgotic
f78298b04a
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-08 16:18:16 +02:00
Mahavir Jain
b1e1411f7d
Merge branch 'bugfix/add_signature_in_image_len' into 'master'
...
bootloader_support: consider signature sector in image length validation
Closes IDF-5617
See merge request espressif/esp-idf!19272
2022-08-08 20:52:59 +08:00
Geng Yuchao
0a1d8c1e09
Fix soc caps define for all chips
2022-08-08 20:50:28 +08:00
laokaiyao
3c4bc80712
i2s: fixed duplicated test case name
2022-08-08 20:35:47 +08:00
wangjialiang
8f640a3e82
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-08 12:30:44 +00:00
wangjialiang
e797cb54dc
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-08 12:30:44 +00:00
Song Ruo Jing
c7c6910bed
Merge branch 'feature/support_esp32c2_test_pm' into 'master'
...
pm: update pm test cases to support esp32c2
Closes IDF-3822
See merge request espressif/esp-idf!18049
2022-08-08 20:24:17 +08:00
Roland Dobai
819880af64
Merge branch 'bugfix/esp32h2beta2_erase_flash' into 'master'
...
fix(esp32h2beta2): erase flash
Closes IDF-4288
See merge request espressif/esp-idf!19389
2022-08-08 20:22:14 +08:00
linruihao
fe04cdb88c
Fixd union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-08 19:40:25 +08:00
wangyuanze
5e4ab6481f
touch_sensor: move unit tests to test_app
2022-08-08 19:12:56 +08:00
wangyuanze
b239b03aa7
touch_element: move unit tests to test_app
2022-08-08 19:12:56 +08:00
wangyuanze
48ce5d7c01
touch: adapt touch-related code to compile with -Wno-format flag
2022-08-08 19:12:56 +08:00
Adam Múdry
afe78ba0aa
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1)
...
Closes https://github.com/espressif/esp-idf/issues/7852
2022-08-08 09:13:36 +00:00
Marius Vikhammer
cfbe0a035b
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-08 16:34:10 +08:00
morris
d91c8759c0
driver: remove -Wno-format flag
2022-08-08 08:30:09 +00:00
songruojing
4983b2786a
pm: update pm test cases to support esp32c2
2022-08-08 14:45:53 +08:00
Jing Li
c25c254666
Merge branch 'feature/further_support_esp32c2_sleep' into 'master'
...
esp32c2/sleep: further support sleep for esp32c2 with 26MHz XTAL
Closes IDF-5544
See merge request espressif/esp-idf!19017
2022-08-08 13:26:15 +08:00
Michael (XIAO Xufeng)
bba57249ea
Merge branch 'feature/support_7.2.9_soc/pvt_dig' into 'master'
...
esp32c2: support auto adjust LDO voltage based on pvt-dig
Closes IDF-5731 and IDF-4940
See merge request espressif/esp-idf!19267
2022-08-08 12:55:11 +08:00
Guillaume Souchere
16c2cb3f1b
Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
...
heap: Remove TLSF related files and replace them with the TLSF submodule
Closes IDF-4967
See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
Mahavir Jain
384f7cd1da
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-08 03:22:14 +00:00
Omar Chebib
75ede16b38
I2C: Fix the reset counter
2022-08-08 11:05:11 +08:00
tgotic
ee4d15d02f
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-08-08 02:55:50 +00:00
Eckhard Völlm
0257eba526
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-08-08 02:46:13 +00:00
liuning
73817d8889
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
2022-08-06 09:54:27 +00:00
jingli
ee3423834e
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-05 19:12:29 +08:00
Marius Vikhammer
ffed60cc93
ulp-riscv: added lock API to provide mutual exclusion when sharing variables between the main CPU and the ULP.
2022-08-05 18:16:31 +08:00
Island
74abb42053
Merge branch 'feature/update_to_the_latest_controller_lib' into 'master'
...
Feature/update to the latest controller lib
See merge request espressif/esp-idf!19372
2022-08-05 17:51:16 +08:00
Island
bd0904c1f3
Merge branch 'document/support_header_defination' into 'master'
...
Support of Micro definition in header file
Closes DOC-3386
See merge request espressif/esp-idf!19211
2022-08-05 17:19:44 +08:00
tgotic
4837ba9b84
rename xHoldSemaphore to result
2022-08-05 10:19:47 +02:00
zlq
7d8f10423e
1.add ldo parameters in efuse table; 2.set ldo dbias based on pvt-efuse; 3.add pll cali stop function; 4. add efuse_ocode
2022-08-05 14:24:51 +08:00
Ondrej Kosta
f6b2414bb5
Merge branch 'bugfix/esp_eth_test_rx' into 'master'
...
component_ut_pytest_esp32_ip101 fix
Closes IDFCI-1313
See merge request espressif/esp-idf!18526
2022-08-05 14:02:39 +08:00
songruojing
6e8ebdb6b7
gpio: fix potential race condition inside gpio_install_isr_service
2022-08-05 11:06:01 +08:00
Wu Zheng Hui
4c3322ed60
Merge branch 'bugfix/fix_esp32s3_cache_data_memory_wrong_attr' into 'master'
...
bugfix: esp32s3 DCache data memory is retention dma inaccessible
Closes IDFCI-1409, IDFCI-1410, IDFCI-1411, IDFCI-1412, and IDFCI-1413
See merge request espressif/esp-idf!19365
2022-08-05 10:42:52 +08:00
Jiang Jiang Jian
33f1747feb
Merge branch 'bugfix/wifi_bt_use_same_clock_source' into 'master'
...
Fix Wi-Fi does not know that Bluetooth has modified the lpclk source
Closes WIFI-4114, BT-1996, and BT-2005
See merge request espressif/esp-idf!15703
2022-08-05 00:20:37 +08:00
tgotic
b513ad9df0
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-04 16:49:55 +02:00
tgotic
480253d659
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-04 16:41:18 +02:00
xiaqilin
5ebbefafc7
esp32h2: disable no_stub option
...
It helps to enable erase flash feature for esp32h2beta2
2022-08-04 19:49:44 +08:00
tgotic
34ff721c92
[gpio] calloc in critical section
...
Remove calloc out of critical section. In critical section, assign allocated memory to gpio_isr_func.
Free resources if gpio_isr_register() fails.
2022-08-04 17:11:32 +08:00
Ivan Grokhotkov
012fafb827
versions: Update version to 5.1.0
2022-08-04 09:55:43 +02:00
zwl
dd05a3754a
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-04 15:19:51 +08:00
Li Shuai
4f2cec8495
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-04 14:11:25 +08:00
Li Shuai
4afc115397
Power Management: fix the issue of sleeping time error beacause external 32kHz xtal does not exist
2022-08-04 14:01:34 +08:00
xiongweichao
bb5e7004b9
make bluetooth and wifi use the same low power clock
2022-08-04 14:01:34 +08:00
xiongweichao
1fec2b9529
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-04 14:01:34 +08:00
xiongweichao
d85d927bb0
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-04 14:01:34 +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
satish.solanke
bedea8b265
Support of Micro defination in header file
2022-08-03 14:56:44 +00: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
wuzhenghui
3ef46780ef
bugfix: malloc retention buffer with MALLOC_CAP_RETENTION caps
2022-08-03 20:07:43 +08:00
wuzhenghui
65f0b1a821
bugfix: DCache data memory is dma accessible but not retention dma accessible
2022-08-03 20:07:39 +08: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
Ondrej Kosta
2a09f887f3
eth test_apps: fixes problem with 'traffic_gen' process hanging
2022-08-03 07:42:38 +00: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
Guillaume Souchere
2a29cdcb71
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-03 08:28:10 +02:00
Guillaume Souchere
d98bfe1b42
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-03 08:28:10 +02:00
Guillaume Souchere
594e58e65a
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-03 08:28:01 +02: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
Shubham Kulkarni
3689035b7c
tests: Fix CI build failures
2022-08-03 05:18:37 +00:00
Shubham Kulkarni
b6d69840e8
partition_table: Support registering custom subtypes
2022-08-03 05:18:37 +00:00
laokaiyao
4c446222e1
i2s_test: fix mono stereo test
2022-08-03 13:14:48 +08:00
laokaiyao
a32a89b002
i2s_legacy_test: fix the clock test issue
2022-08-03 13:14:48 +08:00
Shu Chen
3e4c0a40c2
Merge branch 'feature/update_esp32h2beta2_libphy_libbtbb' into 'master'
...
esp_phy: update esp32h2beta2 libphy and libbtbb
See merge request espressif/esp-idf!19231
2022-08-03 12:46:00 +08:00
Shu Chen
e380704731
Merge branch 'feature/otbr-nat64' into 'master'
...
openthread: add NAT64 and DNS64 support
See merge request espressif/esp-idf!18708
2022-08-03 12:01:23 +08:00
muhaidong
5fd42affdb
esp_wifi: fix disconnect after set country issue
2022-08-03 11:53:37 +08:00
Chen Jian Xing
804bdc1721
Merge branch 'bugfix/fix_deinit_return_ok_when_wifi_no_longer_initialized_issue' into 'master'
...
esp_wifi: fix deinit return wrong value.
Closes IDFGH-7037, IDFGH-7475, and DOC-3220
See merge request espressif/esp-idf!18445
2022-08-03 11:41:20 +08:00
Armando
50229cfe06
ci: raise legacy adc high/low test low thresh
2022-08-03 11:28:52 +08:00
morris
8de9fd8cd7
rmt: only use register to control IDLE state
...
hardware issue: we can't control the IDLE level by the stop item
when loop transmission is enabled.
But we can always control the IDLE state by register.
2022-08-03 10:51:43 +08:00
morris
45524408df
coverity: fix uninit variable issue in driver
...
Related CID:
389832, 389838, 389880, 286743, 286752, 395156, 291011, 396001, 396002
2022-08-03 10:46:50 +08:00
Marius Vikhammer
035924a8f1
ulp: migrate tests to pytest embedded
2022-08-03 09:36:17 +08:00
Ivan Grokhotkov
cd70631f13
newlib: add test for st_blksize and FILE buffer size
...
Inspired by https://github.com/joltwallet/esp_littlefs/pull/91/files#r935872478
2022-08-02 20:42:45 +02:00
morris
480f80868a
mcpwm: test iram safe interrupt
2022-08-02 23:07:06 +08:00
morris
cf4cfc69ed
esp_adc: add test with -O0
2022-08-02 23:07:06 +08:00
morris
a5a171926b
rmt: add test with -O0
2022-08-02 23:07:06 +08:00
morris
031adc01c4
gpio: add test with -O0
2022-08-02 23:07:06 +08:00
morris
ca175857d1
pcnt: add test with -O0
2022-08-02 23:07:06 +08:00
morris
8987164385
i2s: add test with -O0
2022-08-02 23:07:06 +08:00
morris
7faf1bee73
gptimer: add test with -O0
2022-08-02 22:53:36 +08:00
KonstantinKondrashov
3f6a1625bb
efuse: Adds missing header
2022-08-02 22:43:12 +08:00
Roland Dobai
8e88444f29
Merge branch 'bugfix/enable-extending-fat-table' into 'master'
...
fatfsgen.py/fatfsparse.py: enabled extension of the FAT table
Closes IDF-5688 and IDF-5733
See merge request espressif/esp-idf!19299
2022-08-02 22:39:06 +08:00
zhangwenxu
0da97b43d3
esp_phy: update esp32h2beta2 libphy and libbtbb
...
esp32h2beta2 rx performance optimization
2022-08-02 14:01:05 +00:00
Guillaume Souchere
3737bf8322
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-02 12:55:31 +02:00
Karl Wang
2462003fde
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-02 17:40:00 +08:00
wangmengyang
f402778320
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-02 17:40:00 +08:00
Karl Wang
8c756dad23
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-02 17:40:00 +08:00
wangmengyang
85fc8321c8
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-02 17:37:24 +08:00
Jiang Jiang Jian
c47c0097e2
Merge branch 'bugfix/memory_debug_not_work' into 'master'
...
bugfix/fix the dependency error of macro for memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!19233
2022-08-02 15:48:58 +08:00
wangmengyang
9bda2381ea
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-02 14:14:07 +08:00
wangmengyang
5f074e1336
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-02 14:14:07 +08:00
wangmengyang
0a1fa3e204
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-02 14:14:07 +08:00
wangmengyang
9a5f854760
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-02 14:14:07 +08:00
Karl Wang
a075aa564f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
2022-08-02 14:14:07 +08:00
wangmengyang
57336e0a0e
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-02 14:14:07 +08:00
wangmengyang
3c8671f592
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-02 14:14:07 +08:00
wangmengyang
578bfa3600
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-02 14:14:07 +08:00
wangmengyang
c0b86fefc6
component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue"
2022-08-02 14:14:07 +08:00
Karl Wang
eea8a285e3
component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks
2022-08-02 14:14:07 +08:00
wangmengyang
7c1ee339bc
component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once.
2022-08-02 14:14:07 +08:00
wangmengyang
81c87cf4ca
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-02 14:14:07 +08:00
wangmengyang
77e98e468d
component/bt: modify the implementation of osi_thread using freeRTOS queue
2022-08-02 14:14:07 +08:00
Omar Chebib
2f7bae7a6e
Task WDT: add a panic test case for to test panic on both CPU cores
2022-08-02 12:41:14 +08:00
Omar Chebib
e25cda2c40
Task WDT: Interuptee task stack is now used for backtracing, regardless of the CPU core
...
For RISC-V and Xtensa targets, in case a panic needs to happen when
Task WDT is triggered (ESP_TASK_WDT_PANIC), the interruptee's stack
is now used for printing the backtrace.
Abort after Task Watchdog is triggered can happen on APP CPU (second core).
2022-08-02 12:41:14 +08:00
muhaidong
ab8be80c3c
esp_wifi: fix deinit return wrong value
...
1. Deinit does not return ESP_ERR_WIFI_NOT_INIT if the wifi driver is no longer initialized.
2. Fix get wrong channel value use esp_wifi_get_config.
3. Fix bug of missing unlock when wifi stop.
4. Fix annotation error of api esp_wifi_connect.
2022-08-02 11:45:21 +08:00
Jiang Jiang Jian
03a8235098
Merge branch 'bugfix/set_default_authmode_wpa2' into 'master'
...
esp_wifi: set default authmode threshold as wpa2 for STA mode
Closes WIFI-2438
See merge request espressif/esp-idf!19034
2022-08-02 11:10:56 +08:00
Marius Vikhammer
67d0a10548
Merge branch 'bugfix/rtc_brownout_isr_handler_stall' into 'master'
...
system: fix brownout ISR triggering assert on single-core configs.
Closes IDFGH-7939
See merge request espressif/esp-idf!19304
2022-08-02 10:38:29 +08:00
Marius Vikhammer
5d23a757d6
Merge branch 'feature/ulp_uart' into 'master'
...
ulp-riscv: uart print
See merge request espressif/esp-idf!19229
2022-08-02 09:14:48 +08:00
Martin Gaňo
2d173c0777
fatfsgen.py: enabled extension of the FAT table
...
Closes IDF-5688
2022-08-01 20:29:02 +02:00
morris
06b31d487b
Merge branch 'touch_sensor/update_touch_sensor_examples' into 'master'
...
touch_sensor: update touch sensor examples
Closes IDF-3885 and IDFGH-7751
See merge request espressif/esp-idf!19284
2022-08-02 01:25:04 +08:00
Roland Dobai
956f08826f
Merge branch 'fix/esp32c2_gcov_example_build' into 'master'
...
esp32c2: fix gcov example build
See merge request espressif/esp-idf!19201
2022-08-01 20:28:36 +08:00
Wei Tian Hua
b9b047399d
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host' into 'master'
...
component_bt: fix legacy pair controller does not send the link key to the host
Closes BTCI-107
See merge request espressif/esp-idf!14670
2022-08-01 16:59:49 +08:00
morris
20e253e663
Merge branch 'feature/rgb_lcd_rotation' into 'master'
...
rgb_lcd: support mirror and swap axis
See merge request espressif/esp-idf!19059
2022-08-01 16:47:12 +08:00
Marius Vikhammer
0f555b2a1d
system: fix brownout ISR triggering assert on single-core configs.
...
ISR handler was incorrectly calling stall other cpu even on single core systems
Closes https://github.com/espressif/esp-idf/issues/9456
2022-08-01 16:18:30 +08:00
morris
dba813bac4
Merge branch 'bugfix/disable_rom_lgo' into 'master'
...
system: moved placement of disable rom log efuse in startup flow
Closes IDFGH-7940
See merge request espressif/esp-idf!19305
2022-08-01 16:04:20 +08:00
Jiang Jiang Jian
b885499c74
Merge branch 'refactor/move_common_adc_part_to_hw_support' into 'master'
...
esp_adc: move esp_adc out of g1 dependency list
Closes IDF-5637
See merge request espressif/esp-idf!19159
2022-08-01 15:39:45 +08:00
Jiacheng Guo
905856a054
openthread: add NAT64 and DNS64 support
...
* Add required configs and headers for NAT64 and DNS64
* Add hook for DNS name resolution
* Add NAT64 and DNS64 example commands
2022-08-01 15:31:49 +08:00
Mahavir Jain
3fcfc80c17
Merge branch 'bugfix/ulp_adc_miss_cpp_guard' into 'master'
...
ulp: fix missing cpp header guard
Closes IDFGH-7953
See merge request espressif/esp-idf!19303
2022-08-01 14:48:54 +08:00
Wei Tian Hua
aeb9cd267f
Merge branch 'bugfix/memory_copy_bugs_in_bluedroid' into 'master'
...
components_bt/bluedroid: Fix Memory Copy Build Err
Closes IDFGH-7871
See merge request espressif/esp-idf!19182
2022-08-01 14:32:39 +08:00
Ivan Grokhotkov
0d4a533b74
Merge branch 'bugfix/usb_console_reset' into 'master'
...
esp_system: usb_console: fix restart when Wi-Fi is working
Closes IDFGH-5683
See merge request espressif/esp-idf!19289
2022-08-01 13:36:44 +08:00
wangyuanze
4a617e459a
touch_sensor: make touch_element compile on esp32s3
...
Closes: https://github.com/espressif/esp-idf/issues/9292
2022-08-01 13:16:03 +08:00
Guillaume Souchere
8357fc728f
Merge branch 'bugfix/update-doc-freertos-task-header' into 'master'
...
freertos: Update the documentation of the ulBitsToClearOnEntry parameter
Closes IDFGH-5468
See merge request espressif/esp-idf!19277
2022-08-01 13:07:45 +08:00
Kevin (Lao Kaiyao)
6658b7eb0a
Merge branch 'feature/setup_target_test_for_c2_26m' into 'master'
...
ci: setup 26mhz esp32c2 runner
Closes IDF-5526
See merge request espressif/esp-idf!19032
2022-08-01 11:54:09 +08:00
weitianhua
e51df179ad
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 11:37:46 +08:00
Marius Vikhammer
da91fb7a81
system: moved placement of disable rom log efuse in startup flow
...
Functions used for burning this efuse would log, but at this point
esp_log is not initialized. Moved to a later point in the startup process.
Closes https://github.com/espressif/esp-idf/issues/9457
2022-08-01 11:16:17 +08:00
zhouli
13770a2660
rgb_lcd: support mirror and swap axis
2022-08-01 03:05:19 +00:00
Marius Vikhammer
af329784b1
ulp: fix missing cpp header guard
...
https://github.com/espressif/esp-idf/issues/9464
2022-08-01 10:19:32 +08:00
Wan Lei
1265a2db9d
Merge branch 'refactor/add_missing_include_path_for_soc_struct_files' into 'master'
...
Fix check_public_headers violations for soc component
Closes IDF-5397
See merge request espressif/esp-idf!19158
2022-08-01 10:14:04 +08:00
Wu Zheng Hui
7c17a04733
Merge branch 'feature/optimize_chips_memory_allocation' into 'master'
...
system: Optimize chips bootloader and heap memory allocation
Closes IDF-4585 and IDF-4299
See merge request espressif/esp-idf!18807
2022-08-01 10:11:01 +08:00
Kapil Gupta
e9c18ad02f
esp_wifi: set default authmode as wpa2
2022-07-30 10:43:39 +05:30
Shen Weilong
028d071e84
support BLE with 26M xtal for esp32c2
2022-07-29 21:36:33 +08:00
Darian
b66be87f88
Merge branch 'bugfix/increase_ipc_stack_size_for_esp32s3' into 'master'
...
esp_system: Increase IPC stack size for ESP32-S3
Closes IDFCI-1403
See merge request espressif/esp-idf!19250
2022-07-29 21:23:43 +08:00
laokaiyao
4ab8f00b47
ci: setup 26mhz esp32c2 runner
2022-07-29 17:10:34 +08:00
wuzhenghui
5e8ba9cea8
use enum and designated initializers in soc_memory_type define
2022-07-29 17:07:41 +08:00
wuzhenghui
70eabb5492
ci: fix ci
2022-07-29 17:07:41 +08:00
wuzhenghui
7cb9304b65
Clean IRAM and DRAM address space conversion macros
2022-07-29 17:07:39 +08:00
jincheng
ca0d8be5b8
fix the dependency error of macro for memory debug
2022-07-29 17:03:59 +08:00
Omar Chebib
fde4afc67a
Merge branch 'bugfix/queue_use_vtasksettimeoutstate' into 'master'
...
FreeRTOS: Modifying a timeout is now protected on multi-core configuration
Closes IDF-3808
See merge request espressif/esp-idf!19259
2022-07-29 15:33:01 +08:00
Darian Leung
e073fc4254
esp_system: Increase IPC stack size for ESP32-S3
...
ESP32-S3 stacks have currently have less useable space compared to other targets (due to
AI coprocessor context registers). This has caused a stack overflow in the IPC tasks under
some configurations. This commit increases the default IPC stack size for the ESP32-S3.
2022-07-29 15:00:57 +08:00
Kapil Gupta
ebd6a467b4
Merge branch 'bugfix/rsnxe_invalid_pointer_dereference' into 'master'
...
wpa_supplicant: fix invalid pointer free
Closes WIFI-4672, WIFI-4673, and WIFI-4674
See merge request espressif/esp-idf!19287
2022-07-29 14:25:58 +08:00
David Čermák
8d62485a12
Merge branch 'feat/lwip_dhcps_append_opts' into 'master'
...
lw-ip/dhcpserver: Support for adding extra opts
Closes IDFGH-973
See merge request espressif/esp-idf!19115
2022-07-29 14:02:20 +08:00
Marius Vikhammer
32efa1e92d
Add ULP-RISCV print and bitbanged UART tx API
...
Add example to demonstrate the use of this API.
2022-07-29 12:18:01 +08:00
Darian
c22968182a
Merge branch 'bugfix/spinlocks_misused_as_critical_sections' into 'master'
...
esp_hw_support: Fix misuse of spinlocks as critical sections
See merge request espressif/esp-idf!19282
2022-07-29 11:57:28 +08:00
Omar Chebib
692891e773
FreeRTOS: Modifying a timeout is now protected on multi-core configuration
2022-07-29 11:56:06 +08:00
wanlei
bb5a95f1aa
soc: fix register header files not self-contain
2022-07-29 11:18:06 +08:00
Wang Yuan Ze
0acae63317
Merge branch 'spi_flash/fix_hpm_dummy_in_80m_flash_and_psram' into 'master'
...
spi_flash: fix hpm dummy error when using 80m flash and psram
Closes IDF-5696
See merge request espressif/esp-idf!19244
2022-07-29 11:05:47 +08:00
wuzhenghui
65aea5d177
stack/dram is also IRAM0 accessible
2022-07-29 10:51:48 +08:00
wuzhenghui
2ad49a9be5
update bootloader.ld rom_boot ram usage info
2022-07-29 10:51:47 +08:00
wuzhenghui
31183270fb
bugfix: fix SOC_ROM_STACK_START defines
2022-07-29 10:51:47 +08:00
wuzhenghui
21a4eda4d4
Use the entire sharedbuffer space as the heap of the D/IRAM attribute
2022-07-29 10:51:47 +08:00
wuzhenghui
d6461d91e2
update bootloader memory allocation
2022-07-29 10:51:47 +08:00
Ivan Grokhotkov
bf10146a15
esp_system, vfs: fix incomplete blocking reads in vfs_cdcacm
...
Blocking read from cdcacm VFS could return less bytes than requested.
This didn’t match the behaviour of other VFS drivers, and higher level
code could misbehave.
2022-07-28 17:28:08 +02:00
Ivan Grokhotkov
3254f8deae
esp_system: usb_console: fix restart when Wi-Fi is working
...
Previously, reset over USB CDC was done by calling esp_restart from
an interrupt handler. This works only until some restart hook function
is registered using esp_register_shutdown_handler, and the hook
function tries to do something that isn’t allowed in an interrupt
handler. One such case is with Wi-Fi. When Wi-Fi driver is installed,
it registers esp_wifi_stop as a shutdown handler function. However
esp_wifi_stop cannot be called from an ISR, and hence we shouldn’t
call esp_restart from an ISR either.
This commit modifies USB CDC driver to call esp_restart by posting it
to esp_timer task.
Closes https://github.com/espressif/esp-idf/issues/7404
2022-07-28 17:15:03 +02:00
David Čermák
ac0487e8b7
Merge branch 'feature/support_mqtt5_protocol' into 'master'
...
Make MQTT client to comply with mqtt v5.0 spec
See merge request espressif/esp-idf!17345
2022-07-28 21:24:56 +08:00
Kapil Gupta
465996fba5
wpa_supplicant: fix invalid pointer free
2022-07-28 12:47:31 +00:00
Erhan Kurubas
22d771bf51
esp32c2: fix gcov example build
2022-07-28 13:59:29 +02:00
Martin Gano
50626e776e
Merge branch 'bugfix/speedup-fatfsgen-cluster-allocation' into 'master'
...
fatfsgen.py: Speedup FAT cluster allocation in fatfs partition generator
Closes IDF-5243
See merge request espressif/esp-idf!19216
2022-07-28 18:02:11 +08:00
Darian Leung
05ff1039dc
esp_hw_support: Fix misuse of spinlocks as critical sections
...
Spinlocks themselves do not constitute critical sections as after a spinlock is acquired, interrupts
can remain enabled. However, there are some places where spinlocks are used direclty instead of using
the portMUX_TYPE and portENTER_CRITICAL_...() APIs. This commit fixes those calls.
2022-07-28 17:25:00 +08:00
Guillaume Souchere
421a408b42
freertos: Update the docuementation of the ulBitsToClearOnEntry parameter in xTaskGenericNotifyWait() function.
...
Closes https://github.com/espressif/esp-idf/issues/7207
The description of how the xTaskGenericNotifyWait parameter is handled in the
xTaskGenericNotifyWait() function was inaccurate.
In this commit, the description was updated to match the implementation of xTaskGenericNotifyWait().
2022-07-28 10:30:41 +02:00
David Čermák
e7e350d439
Merge branch 'bugfix/lwip_store_esp_netif_ptr' into 'master'
...
esp_netif/lw-ip: Use netif-client-data to store esp_netif ptr
Closes IDFGH-7813 and IDF-5542
See merge request espressif/esp-idf!19075
2022-07-28 14:54:08 +08:00
Jing Li
2c41aae1e7
Merge branch 'bugfix/temp_fix_clk8m_and_cpu_cannot_pd_at_the_same_time' into 'master'
...
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
Closes WIFI-4492 and IDF-5473
See merge request espressif/esp-idf!19196
2022-07-28 14:45:28 +08:00
Rahul Tank
7ed3157351
Merge branch 'bugfix/add_max_procs_config' into 'master'
...
Nimble: Configurable option to modify max gatt procedures allowed for GATT client
See merge request espressif/esp-idf!19197
2022-07-28 14:38:41 +08:00
wangyuanze
8781a50abe
spi_flash: fix hpm dummy error when using 80m flash and psram
2022-07-28 14:32:30 +08:00
yuanjm
66e0171c42
test: Add mqtt5 unit-test
2022-07-28 06:24:43 +00:00
yuanjm
5a7b17ff7d
mqtt: Add mqtt5 Kconfig
2022-07-28 06:24:43 +00:00
xiongweichao
7eedd710c2
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-07-28 14:21:48 +08:00
Jiang Jiang Jian
49348299f0
Merge branch 'bugfix/qatest_spp_crash' into 'master'
...
bugfix/qatest spp crash
Closes BT-1875, BT-2410, BT-2015, and BT-2536
See merge request espressif/esp-idf!19232
2022-07-28 13:44:56 +08:00
Mahavir Jain
c0e096d5b2
Merge branch 'contrib/github_pr_9446' into 'master'
...
Add missing comma (GitHub PR)
Closes IDFGH-7928
See merge request espressif/esp-idf!19271
2022-07-28 12:36:30 +08:00
morris
ef02fb63dd
Merge branch 'bugfix/fix_wrong_mmu_end_addr_check' into 'master'
...
mmu: fix wrong mmu end check in mmu_ll.h
See merge request espressif/esp-idf!19257
2022-07-28 12:00:35 +08:00
Armando
4f80c0f27e
esp_adc: remove esp_adc from g1 component dependencies
2022-07-28 03:49:48 +00:00
Armando
5e6a16380a
esp_adc: move adc common hw related code into esp_hw_support
2022-07-28 03:49:48 +00:00
jingli
7211b0a89a
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-07-28 11:10:58 +08:00
Kevin (Lao Kaiyao)
9a7a1fe61f
Merge branch 'contrib/github_pr_9430' into 'master'
...
Fix offset for cosine wave function generator (GitHub PR)
Closes IDFGH-7911
See merge request espressif/esp-idf!19254
2022-07-28 10:56:43 +08:00
Martin Gaňo
d56e692f2f
fatfsgen.py: Speedup FAT cluster allocation in fatfsgen.py
...
Closes IDF-5243
2022-07-28 01:37:39 +02:00
Roland Dobai
9b87390daf
Merge branch 'bugfix/fix_the_monitor_consol_problem' into 'master'
...
tools: Fix the monitor console problem
Closes IDF-5514 and IDFGH-7913
See merge request espressif/esp-idf!19129
2022-07-28 01:05:48 +08:00
Tomas Rezucha
5bd6696557
Merge branch 'feature/usb_device/hid' into 'master'
...
usb: Add HID device example
Closes IDFGH-7637, IDFGH-5054, IDF-581, and IDFGH-6013
See merge request espressif/esp-idf!19177
2022-07-27 21:18:50 +08:00
David Cermak
64f4f0ac1e
esp_netif/lwip: Use netif-client-data to store esp_netif ptr
...
lwip/netif struct has two places to store user's data
* netif->state (1 void*) but that might be occupied in special cases
* netif->client_dtat (n void*s) but that must be enabled in opts.h
This commit stores esp_netif_t* primarily in state, but if any special
netif is enabled in menuconfig (bridgeif, pppos), it uses netif->client_data.
This commit also fixes incorrect esp_netif that is attached to
IP_EVENT_GOT_IP6 event posted by pppos interfaces in:
c585618b97/components/esp_netif/lwip/esp_netif_lwip_ppp.c (L114)
Closes https://github.com/espressif/esp-idf/issues/9345
2022-07-27 11:55:18 +00:00
morris
96c29841bb
Merge branch 'feature/mcpwm_new_driver' into 'master'
...
⛵ MCPWM Driver-NG
Closes IDF-2471, IDF-2895, IDF-20, and IDF-3945
See merge request espressif/esp-idf!11480
2022-07-27 19:25:06 +08:00
Armando
42dfb5cadd
esp_psram: improve mapping log when physical range is larger
...
After this commit, when physical address is larger than vaddr range,
driver will still map as much as it can, but also give a verbose level
log to show the actual mapped size
2022-07-27 10:22:09 +00:00
Armando
f325ad2211
mmu: fix wrong mmu end check
...
In mmu code, we follow the rule that the `end` address shouldn't be
touched. This commit fix wrong end address check in mmu_ll.h
2022-07-27 10:22:09 +00:00
jincheng
44607e10ea
add protect for bt_util_buf_env buffers when access by task and interrupt
...
ignore the assert_err in rm_bt_clkoff1_setf
2022-07-27 17:56:08 +08:00
FanhuaCloud
a1c04ad6fd
Add missing comma
...
Add missing comma when CONFIG_ESP32S3_DATA_CACHE_16KB is enabled
2022-07-27 17:12:17 +08:00
Rahul Tank
2be66a6151
Nimble: Configurable option to modify max gatt procedures allowed for GATT
...
client
2022-07-27 08:59:37 +00:00
simon.chupin
5468d79382
tools: fix idf.py monitor consol problem
...
Closes https://github.com/espressif/esp-idf/issues/9432
2022-07-27 08:35:30 +00:00
Armando (Dou Yiwen)
1ed5e5130e
Merge branch 'bugfix/increase_overhead_when_test_adc_continuous_iram' into 'master'
...
esp_adc: increase test consumption threshold
Closes IDFCI-1397
See merge request espressif/esp-idf!19206
2022-07-27 16:16:23 +08:00
Ivan Grokhotkov
0330e952d1
Merge branch 'feature/add-wl-support-fatfsparse' into 'master'
...
fatfsparse.py: Add support for WL
Closes IDF-4994 and IDF-5522
See merge request espressif/esp-idf!18760
2022-07-27 16:01:02 +08:00
morris
1571417679
mcpwm: new driver implementation
2022-07-27 15:22:24 +08:00
morris
fd3a1ffc21
mcpwm: deprecate legacy driver
2022-07-27 15:08:58 +08:00
laokaiyao
77a5c209d9
dac_ll: sync PR changes to esp32s2
2022-07-27 14:45:48 +08:00
Florian Loitsch
2f307b8b65
Feedback.
2022-07-27 14:45:48 +08:00
Florian Loitsch
3793e90790
Fix offset for cosine wave function generator
2022-07-27 14:45:48 +08:00
Isha Pardikar
7b1da8ab0a
Merge branch 'feature/rainmaker_BT_configurable' into 'master'
...
Wifi_prov_mgr: Made BT configurable after provisioning is completed
See merge request espressif/esp-idf!18014
2022-07-27 13:59:56 +08:00
Tomas Rezucha
45e8115dc6
usb: Add HID device example
...
Closes https://github.com/espressif/esp-idf/issues/6839
Closes https://github.com/espressif/esp-idf/issues/7700
2022-07-27 05:31:09 +00:00
paul356
1144f752f4
use kconfig to add config options
2022-07-27 05:31:09 +00:00
Martin Gaňo
2ddcda29b3
fatfsparse.py: Add support for WL
2022-07-26 14:50:07 +02:00
Ivan Grokhotkov
c38c153f6a
Merge branch 'bugfix/cpu_utils_watchpoint_num' into 'master'
...
xtensa: fix swapped breakpoint and watchpoint numbers
Closes IDFCI-1315
See merge request espressif/esp-idf!19213
2022-07-26 20:31:10 +08:00
Armando
0e6c8aef19
esp_adc: increase adc continuous iram test time overhead a bit
...
Prior to this commit, overhead is 0us on esp32s2, s3, c3, c2. However
when the conv_done event happens, software takes some time to do
necessary operations.
2022-07-26 18:19:14 +08:00
Isha Pardikar
2cfcae8d41
Merge branch 'feature/rainmaker_BT_configurable' into 'master'
...
Doc: Made bluetooth configurable after wifi provisioning is completed
See merge request espressif/esp-idf!18014
2022-07-26 15:21:27 +05:30
Mahavir Jain
c917219c04
Merge branch 'contrib/github_pr_9408' into 'master'
...
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2 (GitHub PR)
Closes IDFGH-7884
See merge request espressif/esp-idf!19195
2022-07-26 15:48:43 +08:00
David Cermak
b5d13b9837
lwip/dhcpserver: Support for adding extra opts
...
This enables users appending an extra, user defined options in dhcp
server messages. Example of adding captive_portal option (160) to dhcp
offer message is provided:
* Add idf-lwip hook file (project makefile):
idf_component_get_property(lwip lwip COMPONENT_LIB)
target_compile_options(${lwip} PRIVATE "-I${PROJECT_DIR}/main")
target_compile_definitions(${lwip} PRIVATE "-DESP_IDF_LWIP_HOOK_FILENAME=\"add_captive_portal.h\"")
* Implement appending (add_captive_portal.h):
#pragma once
#define LWIP_HOOK_DHCPS_POST_APPEND_OPTS(netif, dhcp, state, pp_opts) \
if ((state)==DHCPOFFER) { *(pp_opts) = append_captive_portal_uri(*(pp_opts)); }
static inline uint8_t *append_captive_portal_uri(uint8_t *optptr)
{
const static uint8_t DHCP_OPTION_CAPTIVE_PORTAL=160;
const static char CAPTIVE_PORTAL_URI[]="my_uri";
int size = sizeof(CAPTIVE_PORTAL_URI) - 1;
*optptr++ = DHCP_OPTION_CAPTIVE_PORTAL;
*optptr++ = size;
for(int i = 0; i < size; ++i) {
*optptr++ = CAPTIVE_PORTAL_URI[i];
}
return optptr;
}
Merges https://github.com/espressif/esp-idf/pull/3308
2022-07-26 07:09:22 +00:00
Marius Vikhammer
4f1046a292
ulp-riscv: made ulp_riscv_delay_cycles more accurate
2022-07-26 14:32:39 +08:00
morris
5e50ec1d66
systimer: add helper functions to convert between tick and us
2022-07-25 16:08:52 +08:00
morris
783e1781bd
esp_rom: patch systimer driver for esp32c2
2022-07-25 16:08:52 +08:00
morris
d94432fea8
systimer: refactor hal to accomodate more xtal choices
2022-07-25 16:08:52 +08:00
Ivan Grokhotkov
a97686f607
xtensa: fix swapped breakpoint and watchpoint numbers
2022-07-25 09:43:10 +02:00
Martin Vychodil
8def7b3e55
Merge branch 'contrib/github_pr_9361' into 'master'
...
Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT (GitHub PR)
Closes IDFGH-7832 and IDFGH-7735
See merge request espressif/esp-idf!19111
2022-07-24 16:49:22 +08:00
Martin Vychodil
a16431c7a9
Merge branch 'feature/vfs_serial_fcntl_get_rd_wr_state' into 'master'
...
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state
See merge request espressif/esp-idf!19168
2022-07-24 16:15:28 +08:00
Chen Jian Xing
feefe820a4
Merge branch 'bugfix/esp32c2_coex_timer_clk_src' into 'master'
...
esp_wifi: select slowclk as coex hardware timer source on esp32c2
See merge request espressif/esp-idf!19170
2022-07-23 11:37:35 +08:00
Jakob Hasse
45b3662c3a
Merge branch 'bugfix/esp_timer_mux_static' into 'master'
...
bugfix (esp_timer): made os spinlock static
See merge request espressif/esp-idf!19112
2022-07-23 05:58:06 +08:00
Fu Hanxi
585e0431c7
Merge branch 'test/spi_param_redund_desc' into 'master'
...
test_spi: fixed redundant quotes in test descriptions
See merge request espressif/esp-idf!19140
2022-07-23 02:22:58 +08:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
John
aaf35889b6
Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT
...
In case of using EXFAT by setting in ffconf.h:
the type FSIZE_t is changing from 4 to 8 bytes.
As a result, ESP_LOGD() in vfs_fat_lseek() does not compile:
error: format '%d' expects argument of type 'int', but argument 8 has type 'FSIZE_t' {aka 'long long unsigned int'} [-Werror=format=]
ESP_LOGD(TAG, "%s: offset=%ld, filesize:=%d", __func__, new_pos, f_size(file));
To solve the problem we need to change %d with %lld conditionally, depending on FF_FS_EXFAT.
Closes https://github.com/espressif/esp-idf/pull/9361
2022-07-22 16:52:14 +01:00
liuning
bc2f2a3100
esp_wifi: select slowclk as coex hardware timer source on esp32c2
2022-07-22 21:44:11 +08:00
Jiang Jiang Jian
88f2f5fdd7
Merge branch 'bugfix/default_config_sae_pwe_value' into 'master'
...
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe
See merge request espressif/esp-idf!19015
2022-07-22 20:30:58 +08:00
Jakob Hasse
bff6826ee1
bugfix (esp_system): made xt_wdt spinlock static
2022-07-22 08:17:59 +00:00
Shreyas Sheth
341a92aaa5
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe
2022-07-22 12:23:13 +05:30
Jiang Jiang Jian
0e874812a0
Merge branch 'bugfix/sync_reg_base' into 'master'
...
esp_wifi: fix crash in esp_wifi_set_ant_gpio()
Closes IDFGH-7720
See merge request espressif/esp-idf!19096
2022-07-22 14:07:33 +08:00
Jiang Jiang Jian
9a6ccb7f57
Merge branch 'bugfix/make_sure_sempher_and_queue_used_in_isr_is_in_DRAM' into 'master'
...
Bugfix/make sure sempher and queue used in isr is in dram
Closes WIFI-3571, IDFGH-7458, IDFGH-7342, and IDFGH-7569
See merge request espressif/esp-idf!19160
2022-07-22 14:04:27 +08:00
Jiang Jiang Jian
371a935e76
Merge branch 'bugfix/wpa2_enterprise_issues' into 'master'
...
esp_wifi: WPA2 enterprise related changes
Closes WIFI-4579
See merge request espressif/esp-idf!19162
2022-07-22 13:56:41 +08:00
Angus Gratton
bb141956df
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2
...
As documented, the limit for NVS format v2 is 4000 bytes for a string.
2022-07-22 15:43:19 +10:00
Jiang Jiang Jian
22b17a3471
Merge branch 'bugfix/schm_process_in_active_crash' into 'master'
...
Coex: fixed crash when calculating end transfer time
See merge request espressif/esp-idf!18330
2022-07-22 11:02:08 +08:00
Cao Sen Miao
ec6a56ed0c
spi_flash: re-enable the HPM mode on several XMC chips
2022-07-22 09:54:56 +08:00
morris
c4e84751a5
driver: fix public header exceptions for driver
2022-07-22 00:12:36 +00:00
morris
9a921ada7f
rmt: const callback event data
2022-07-22 00:12:36 +00:00
morris
741b031e83
soc: added SOC_TOUCH_SENSE_SUPPORTED macro
2022-07-22 00:12:36 +00:00
morris
5dbae0c2cd
esp_adc: fix dead code reported by coverity
2022-07-22 00:12:36 +00:00
Guillaume Souchere
50a58b4a83
esp_hw_support: Fix formatting of intr_alloc.h and test_panic.c
2022-07-22 00:06:06 +08:00
Guillaume Souchere
0bac33ed41
esp_system: Remove deprecate section from esp_cpu.h
...
- Remove esp_cpu_in_ocd_mode() from esp_cpu.h. Users should call esp_cpu_dbgr_is_attached() instead.
- Remove esp_cpu_get_ccount() from esp_cpu.h. Users should call esp_cpu_get_cycle_count() instead.
- Remove esp_cpu_set_ccount() from esp_cpu.h. Users should call esp_cpu_set_cycle_count() instead.
- Other IDF components updated to call esp_cpu_dbgr_is_attached(), esp_cpu_get_cycle_count() and esp_cpu_set_cycle_count() as well.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
dcae121d80
hal: Deprecate soc_hal.h and soc_ll.h interface
...
This commit marks all functions in soc_hal.h and soc_ll.h as deprecated.
Users should use functions from esp_cpu.h instead.
Also added missing wrap funcions for esp_cpu_stall() in test_panic.c files.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Darian Leung
781d06af73
esp_hw_support: Remove compare_set.h API
...
This function removes the following legacy atomic CAS functions:
From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()
From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()
Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.
Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +08:00
Darian Leung
d37fa7e244
esp_hw_support: Update spinlocks to use esp_cpu_compare_and_set()
...
esp_cpu_compare_and_set() abstracts the atomic compare-and-set instruction by
hiding the details of whether the target variable is in internal or external
RAM. This commit updates "spinlocks.h" as follows:
- esp_cpu_compare_and_set() is now called instead of "compare_set.h"
- Refactored spinlock logic to be more optimized and have more stringent sanity checks
2022-07-22 00:06:06 +08:00
Darian Leung
64117a0c59
esp_system: Fix esp_cpu_compare_and_set()
...
This commit fixes esp_cpu_compare_and_set() in the following ways
- Removed call to esp_ptr_external_ram() as it incurred > 80 CPU cycles (due to multiple nested
function calls, and those functions not being in IRAM). We now check manually if the pointer
is in external RAM for increased speed.
- Fixed infinite wait when attempting to get the external_ram_cas_lock. The function should
return immediatley if any part of the compare and set call fails.
- The preprocessor conditions of esp_cpu_compare_and_set() to depend on CONFIG_SPIRAM instead
of SOC_SPIRAM_SUPPORTED. Even if the target supports SPIRAM, we only need the external RAM
compare and set feature if SPIRAM is enabled.
Also fixed incorrect inclusion of esp_intr_alloc.h in esp_cpu.h
2022-07-22 00:06:06 +08:00
shenjun
4cfed490ad
esp_wifi: fix crash in esp_wifi_set_ant_gpio()
2022-07-21 22:18:08 +08:00
morris
454d658309
rgb_lcd: workaround pclk polarity bug by setting mo>=2
2022-07-21 13:06:09 +00:00
morris
a149afb0c0
rgb_lcd: support PLL240MHz clock source
2022-07-21 13:06:09 +00:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Jiang Jiang Jian
7a5f5760fd
Merge branch 'bugfix/optimize_beacon_timeout_issue' into 'master'
...
esp_wifi:bugfix optimize beacon timeout issue
Closes WIFI-4647
See merge request espressif/esp-idf!19153
2022-07-21 19:48:00 +08:00
Jiang Jiang Jian
cf5b097c88
Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
...
system/sleep: further fix spi flash/ram current leakage
Closes IDF-4720
See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Armando (Dou Yiwen)
097e64f8c7
Merge branch 'bugfix/adc2_legacy_oneshot_clk_gating_issue' into 'master'
...
adc: fix legacy oneshot driver clock gating issue on c3 and c2
See merge request espressif/esp-idf!19144
2022-07-21 19:13:20 +08:00
Simon
62bc3348d5
Merge branch 'ci/flash_encryption_test' into 'master'
...
flash_encryption: Add several test environments for flash encryption test
Closes IDF-5530
See merge request espressif/esp-idf!19043
2022-07-21 18:38:18 +08:00
xueyunfei
07d2eaaead
esp_wifi:bugfix optimize beacon timeout issue
2022-07-21 08:23:59 +00:00
Dong Heng
37c18d9ee4
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state
2022-07-21 16:16:44 +08:00
Kapil Gupta
951928960b
esp_wifi: WPA2 enterprise related changes
...
1. Removed DHE ciphers when mbedTLS is disabled since they take
too much processing power.
2. Removed support of SHA384 and SHA512 when mbedTLS is disabled
due to too much processing needed.
3. Fixed bugs in crypto_hash_init API which was causing
EAP connections to fail when mbedTLS was enabled.
4. Cleaned some code of crypto_hash_***
2022-07-21 13:33:18 +05:30
David Cermak
b8fa24d100
esp_netif/openthread: Update ot_br and ot_port libs
...
Add libraries with ot_port, that includes netif/lwip port layers
in esp-openthread
2022-07-21 10:01:19 +02:00
laokaiyao
edee3ee3cd
i2s: add slot sequence table
...
Closes: https://github.com/espressif/esp-idf/issues/9208
When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
92ea22fe81
i2s: support esp32h2
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb
i2s: add basic examples for STD/TDM/PDM mode
2022-07-21 15:52:39 +08:00
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
Jiang Jiang Jian
080ba9a80e
Merge branch 'bugfix/phy_init_failed_when_wifi_deinit' into 'master'
...
bugfix for phy init failed when wifi deinit
Closes WIFI-4631
See merge request espressif/esp-idf!19127
2022-07-21 13:58:20 +08:00
baohongde
db308d2939
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-21 13:56:02 +08:00
baohongde
6d631d14de
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-21 13:50:29 +08:00
Darian
0570c5db1a
Merge branch 'bugfix/freertos_xTaskIncrementTick' into 'master'
...
freertos: Fix xTaskIncrementTick() and xTaskResumeAll()
Closes IDF-4698 and IDF-4705
See merge request espressif/esp-idf!17204
2022-07-21 08:14:30 +08:00
Mahavir Jain
15039f367d
Merge branch 'update/update_certs_bundle' into 'master'
...
Update esp_crt_bundle certificates
See merge request espressif/esp-idf!19132
2022-07-21 06:14:41 +08:00
wangyuanze
ab0c4abd6e
rmt: add open-drain flag on tx channel
2022-07-20 14:12:43 +00:00
morris
8944479bcd
Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
...
⛵ SDM Driver-NG (Sigma-Delta channel allocator)
Closes IDF-5261 and IDF-2877
See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
Sudeep Mohanty
dadafb753f
Merge branch 'bugfix/freertos_oneshot_timer_active_after_expiry' into 'master'
...
freertos: Fixed a bug where xTimerIsTimerActive incorrectly returns pdTRUE from callback
Closes IDFGH-6353
See merge request espressif/esp-idf!19076
2022-07-20 21:06:05 +08:00
David Cermak
e7afdff6ca
esp_netif: Make set_link_speed() conditional on MIB2_STATS
2022-07-20 14:59:34 +02:00
David Cermak
89bb1fdec1
esp_netif: Add error checks to dhcp server state transitions
2022-07-20 14:59:34 +02:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Jiang Jiang Jian
84ae84e3fe
Merge branch 'bugfix/fix_lora_ie_bcn' into 'master'
...
Fix missing LoRa IE length in SoftAP beacon
Closes WIFI-4495
See merge request espressif/esp-idf!18997
2022-07-20 20:23:02 +08:00
David Čermák
e7ccaaf9ca
Merge branch 'feature/update_mqtt_client' into 'master'
...
[MQTT] - Updates esp_mqtt configuration struct
See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Kapil Gupta
b8267a59eb
Merge branch 'bugfix/wps_disable_disconnect' into 'master'
...
WiFi: Do not disconnect in WPS disable API incase WPS is done/scanning
Closes IDFGH-7807
See merge request espressif/esp-idf!19092
2022-07-20 18:47:32 +08:00
Nachiket Kukade
792472c419
esp_wifi: Update wifi libs
...
Add missing LoRa IE length while allocating for Beacon in SoftAP LoRa mode
2022-07-20 09:24:46 +00:00
morris
3277b11c39
Merge branch 'feature/esp_lcd_spi_rx_1' into 'master'
...
Add support SPI rx into LCD component
Closes IDFGH-7661
See merge request espressif/esp-idf!19020
2022-07-20 16:59:44 +08:00
Ivan Grokhotkov
e56b1fd59d
Merge branch 'feature/unity_runner_get_test_list' into 'master'
...
unity: expose some internal functions to allow iterating over tests
See merge request espressif/esp-idf!19056
2022-07-20 16:57:49 +08:00
Armando
638f39ff40
adc: fix legacy oneshot driver clock gating issue on c3 and c2
2022-07-20 16:35:59 +08:00
Michael (XIAO Xufeng)
5d24a207b6
test_spi: fixed redundant quotes in test descriptions
2022-07-20 15:36:10 +08:00
Vilem Zavodny
7b3fe6d832
esp_lcd: Add RX into SPI lcd panel.
2022-07-20 07:07:33 +00:00
Vilem Zavodny
a7bd917c42
esp_lcd: Fix code style.
2022-07-20 07:07:33 +00:00
Slamy
256945997d
fixed misaligned data transfer for ssd1306
...
(cherry picked from commit 46a2bf8ac9
)
2022-07-20 07:07:33 +00:00
morris
edb5600348
sdm: refactor example with new driver
2022-07-20 14:59:50 +08:00
morris
f33428f2e5
sdm: added channel allocator for sigma delta module
2022-07-20 14:59:50 +08:00
morris
e080248141
sdm: deprecate legacy driver
2022-07-20 14:59:50 +08:00
morris
4154eaec93
sdm: clean up soc/hal/ll code
2022-07-20 14:59:50 +08:00
morris
9e532696f4
pcnt: add const qualifier to event data
2022-07-20 14:59:50 +08:00
xueyunfei
b4d11d00ca
bugfix for phy init failed when wifi deinit
2022-07-20 14:16:08 +08:00
GengYuchao
964304b751
Change the selection based on target to function selection
2022-07-20 13:06:56 +08:00
Cao Sen Miao
e69f658ac6
flash_encryption: Add several test environments for flash encryption test
2022-07-20 12:49:42 +08:00
morris
bec44ca2e9
gptimer: test on c2 with xtal 26mhz
2022-07-20 04:40:28 +00:00
Mahavir Jain
075e0729de
Merge branch 'bugfix/mbedtls_dep_on_driver' into 'master'
...
mbedtls: remove dependency on driver component
Closes IDF-1265
See merge request espressif/esp-idf!19081
2022-07-20 12:04:34 +08:00
GengYuchao
298583b116
Fix nimble port api adapt remove esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
GengYuchao
fd055d3ba6
Fix example after removing API esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
GengYuchao
5430ad0519
Remove esp_nimble_hci_and_controller_init function
2022-07-20 11:44:00 +08:00
Darian Leung
38d974aca0
freertos: Update scheduler suspension unit tests
...
This commit updates unit tests for vTaskSuspendAll()/xTaskResumeAll().
2022-07-20 11:32:10 +08:00
Darian Leung
ac38f9aaf1
freertos: Rename scheduler suspension test file
2022-07-20 11:32:10 +08:00
Darian Leung
db26ff2503
freertos: Fix vTaskSuspendAll() and xTaskResumeAll()
...
This commit fixes vTaskSuspendAll() and xTaskResumeAll() in the following ways.
- For vTaskSuspendAll()
- Sync function source code with upstream single core version
- Clearly mark IDF additions
- For xTaskResumeAll()
- Sync function source code with upstream single core version
- Clearly mark IDF additions
- Fix bug where cores other than core 0 were allowed to unwind pended ticks
2022-07-20 11:32:10 +08:00
Darian Leung
5971253971
freertos: Fix vTaskStepTick() and xTaskCatchUpTicks()
...
This commit fixes the following issues:
- Clearly mark IDF additions in vTaskStepTick() and xTaskCatchUpTicks()
- Add back vTaskSuspendAll()/xTaskResumeAll() to xTaskCatchUpTicks(). Scheduler
suspension and resumption is required to unwind the pended ticks.
2022-07-20 11:32:10 +08:00
Darian Leung
7a4e1fee99
freertos: Fix xTaskIncrementTick()
...
Previously, xTaskIncrementTick() would always trigger a yield (i.e., return pdTRUE)
when called on core 1. This would mean core 1 would call vTaskSwitchContext() on
every tick, leading to uneccesary CPU overhead.
This commit fixes xTaskIncrementTick() in the following ways:
- Clearly mark IDF additions in xTaskIncrementTick()
- Moved esp_vApplicationTickHook() to be called direclty in xPortSysTickHandler() in order to
simplify xTaskIncrementTick().
- Only core 0 calls xTaskIncrementTick() in order to simplify the function's logic. Core 0 is
solely responsible for managing xTickCount and xPendedTicks
- All other cores call xTaskIncrementTickOtherCores() instead which is a simplified version of
xTaskIncrementTick() and handles the following:
- Check if core 0 has unblocked a higher priority task to run
- Check if the current core requires time slicing
- Call vApplicationTickHook()
2022-07-20 11:31:50 +08:00
Espressif BOT
72fe927e85
Update esp_crt_bundle certificates
2022-07-20 10:00:11 +08:00
Marius Vikhammer
1315f85e01
docs: fixed misc broken links
2022-07-20 09:43:52 +08:00
Song Ruo Jing
4734b1433b
Merge branch 'bugfix/gpio_hal_coverity_fix' into 'master'
...
gpio: Fix ESP32S3 GPIO48 does not support hold function bug and Fix coverity report
Closes IDF-4901
See merge request espressif/esp-idf!18805
2022-07-19 21:37:15 +08:00
Armando (Dou Yiwen)
9f6f61345b
Merge branch 'feature/adc_driver_ng' into 'master'
...
ADC Driver NG
Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979
See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Sudeep Mohanty
5e1437deb8
freertos: Fixed a bug where xTimerIsTimerActive incorrectly returns pdTRUE from callback
...
This commit fixes the following:
- Fixes a bug wherein the timer status is active for oneshot timers that
expire before they are started.
- Callback calls for periodic timers where made before the timers were
auto-reloaded.
- Timer expiry trace was being set after the timer callback is called.
Closes https://github.com/espressif/esp-idf/issues/8014
2022-07-19 10:42:09 +02:00
Jakob Hasse
1f75fc0aa1
bugfix (esp_timer): made os spinlock static
2022-07-19 15:35:32 +08:00
Marius Vikhammer
12dcb95644
Merge branch 'ci/remove_temp_deepsleep_tag' into 'master'
...
ci: remove temp deepsleep tag runner
Closes IDF-5213
See merge request espressif/esp-idf!18654
2022-07-19 14:58:33 +08:00
Mo Fei Fei
f3a16d5122
Merge branch 'docs/update_nvs_encryption_cn_trans' into 'master'
...
Docs: Update CN translation for nvs encryption docs
Closes DOC-3202
See merge request espressif/esp-idf!18938
2022-07-19 14:47:16 +08:00
Simon
7c14328daa
Merge branch 'fix/i2c_clk_26M' into 'master'
...
I2C: Add the I2C clock tree, and support 26M XTAL on ESP32-C2
Closes IDF-5005, IDF-5415, and IDF-4535
See merge request espressif/esp-idf!19057
2022-07-19 13:34:22 +08:00
Chen Jian Xing
c449abc8cd
Merge branch 'feat/esp32c2_26M_phy_support' into 'master'
...
esp_phy: Support 26M and 40M crystal for esp32c2 phy
See merge request espressif/esp-idf!19010
2022-07-19 13:00:55 +08:00
Marius Vikhammer
e4cbaa6f2b
ci: remove temp deepsleep tag runner
2022-07-19 12:12:46 +08:00
Cao Sen Miao
53580a62b5
I2C: Fullfill the I2C clock tree, and support 26M XTAL on ESP32-C2
2022-07-19 11:41:42 +08:00
Mahavir Jain
508661b03e
Merge branch 'bugfix/ipc_O0_stack' into 'master'
...
ipc: Increase stacksize when compiling with -O0
Closes IDFCI-1372 and IDFCI-1360
See merge request espressif/esp-idf!19083
2022-07-19 00:37:08 +08:00
Mahavir Jain
a94c74c26b
mbedtls: remove dependency on driver component
...
- keep `esp_pm` dependency conditional in mbedtls
- refactor `bt` cmakelist to keep dependencies as private
Related: IDF-1265
2022-07-18 21:10:51 +05:30
David Čermák
5548f5acd6
Merge branch 'bugfix/lwip_ondemand_timers_num_system_timeout' into 'master'
...
lw ip: Fix on-demand timers to update internal system touts
Closes IDFGH-7595
See merge request espressif/esp-idf!18724
2022-07-18 21:56:57 +08:00
morris
9df1b0e3a1
Merge branch 'bugfix/not_test_bounce_buffer_mode_iram_safe' into 'master'
...
rgb_lcd: don't test bounce buffer mode with iram-safe
See merge request espressif/esp-idf!19089
2022-07-18 18:22:53 +08:00
Jiang Jiang Jian
5b771082bd
Merge branch 'bugfix/wifi_owe_memory_leak' into 'master'
...
esp_wifi:bugfix for wifi owe memory leak
Closes WIFI-4589
See merge request espressif/esp-idf!19011
2022-07-18 17:53:51 +08:00
Kapil Gupta
9d98cd8f8d
WiFi: Do not disconnect in WPS disable incase WPS is done/scanning
...
Closes https://github.com/espressif/esp-idf/issues/9341
2022-07-18 14:57:01 +05:30
Jiang Jiang Jian
633a9f744a
Merge branch 'bugfix/OWE_memory_leak' into 'master'
...
esp_wifi : fixed OWE memory leak
See merge request espressif/esp-idf!19061
2022-07-18 17:20:36 +08:00
morris
05c51093c8
rgb_lcd: don't test bounce buffer mode with iram-safe
...
(cherry picked from commit 3ece942704
)
2022-07-18 14:57:50 +08:00
morris
3ece942704
rgb_lcd: don't test bounce buffer mode with iram-safe
2022-07-18 14:55:11 +08:00
intern
4866e91398
docs: update nvs encryption cn trans
2022-07-18 14:40:56 +08:00
Kapil Gupta
882ad4e5e7
Merge branch 'feature/eloop_debug_framework' into 'master'
...
wpa_supplicant: Add debug info for eloop functions
See merge request espressif/esp-idf!18451
2022-07-18 14:17:25 +08:00
Marius Vikhammer
ccc184de51
ipc: Increase stacksize when compiling with -O0
2022-07-18 13:55:03 +08:00
David Čermák
1334011d4f
Merge branch 'bugfix/transport_foundation_intialization' into 'master'
...
tcp_transport: Fix initialition of transport
See merge request espressif/esp-idf!17869
2022-07-16 16:28:49 +08:00
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00
Shyamal Khachane
88db86672d
fix for OWE memory leak
2022-07-15 14:29:32 +05:30
songruojing
145454356b
gpio: Fix ESP32S3 GPIO48 does not support hold function bug
...
GPIO_HOLD_MASK array was missing the last item
Add __Static_assert to check array sizes for all gpio_periph.c files to prevent same mistake in the future.
2022-07-15 16:51:25 +08:00
songruojing
0c4b9a0101
gpio: Fix HAL bad bit shift operation on gpio_num_t reported from coverity
...
All gpio hal and ll functions input arguments gpio_num_t are changed to uint32_t type.
Validation of gpio num should be guaranteed from the driver layer.
2022-07-15 16:51:25 +08:00
David Čermák
c65d818c1d
Merge branch 'bugfix/set_ipv6_dns_error' into 'master'
...
lw ip: Fixed that ipv6 dns cannot work
See merge request espressif/esp-idf!19018
2022-07-15 14:50:02 +08:00
David Čermák
1a7dfa42e6
Merge branch 'bugfix/cpp_include_fix_newlib_net_if_h' into 'master'
...
Add C++ include guard to if.h (to fix linker errors in asio) (GitHub PR)
Closes IDFGH-7718
See merge request espressif/esp-idf!18850
2022-07-15 13:16:47 +08:00
Jiang Jiang Jian
7497a5287c
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow' into 'master'
...
Fixed bluedroid host memory overflow
Closes BT-2397
See merge request espressif/esp-idf!18897
2022-07-15 11:52:33 +08:00
Wang Yuan Ze
b666bdb01e
Merge branch 'example/fix_ir_nec_transceiver_issue' into 'master'
...
example: Fix rmt callback memory issue in ir_nec_transceiver
See merge request espressif/esp-idf!19040
2022-07-15 11:39:36 +08:00
Ivan Grokhotkov
09c70d5781
unity: expose some internal functions to allow iterating over tests
2022-07-14 19:47:46 +02:00
Ondrej Kosta
c0312e3242
Merge branch 'feature/improve_spi_ethernet_init' into 'master'
...
esp_eth: SPI Ethernet modules initialization simplification
Closes IDF-3902
See merge request espressif/esp-idf!18663
2022-07-15 00:02:23 +08:00
Rahul Tank
19bea043fb
Merge branch 'bugfix/os_mbuf_free_c2_h2' into 'master'
...
Fixed os_mbuf_free compilation error for esp32c2 and esp32h2
See merge request espressif/esp-idf!19033
2022-07-14 23:16:59 +08:00
xueyunfei
1f9fa7b1b2
esp_wifi:bugfix for wifi owe memory leak
2022-07-14 20:34:15 +08:00
Euripedes Rocha
5778a7c726
[tcp_transport] Fix initialition of transport
...
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-07-14 12:29:58 +00:00
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
zhiweijian@espressif.com
4bd267ac9a
Fixed bluedroid host memory overflow
2022-07-14 19:35:22 +08:00
wangyuanze
61f19094b0
example: fix rmt callback memory issue in ir_nec_transceiver
2022-07-14 18:59:38 +08:00
Ondrej Kosta
bb6c6aff36
esp_eth: SPI Ethernet modules initialization simplification
2022-07-14 08:46:22 +02:00
David Cermak
adb79a4852
newlib: Fix header issues with C++ guards and implicit inclusion
...
* Added C++ sentinels if missed
* Used #pragma once, removed macro's with leading underscores
* Updated copyright checker to allow "BSD-2-Clause-FreeBSD AND
Apache-2.0" for newlib files
* Fixed minor compilation issues/implicit inclusions
2022-07-14 08:32:04 +02:00
morris
a33a183365
rgb_lcd: support double buffer
...
also cleaned up the bounce buffer code
2022-07-14 14:05:47 +08:00
morris
9ea3f6f3e7
rgb_lcd: support 8bit RGB (SRGB) interface
2022-07-14 14:05:47 +08:00
morris
ad35ed2e58
rgb_lcd: update unit test for more features
...
test 8bit RGB interface
test PCLK can be changed at runtime
test bounce buffer mode
adapted to the new LCD board
2022-07-14 14:05:47 +08:00
morris
4bccd3b635
rgb_lcd: rename relax_on_idle to refresh_on_demand
2022-07-14 14:05:47 +08:00
morris
1dab4af3e8
rgb_lcd: added API to manually refresh the LCD
2022-07-14 14:05:47 +08:00
morris
140536892d
rgb_lcd: added API to get the frame buffer(s)
2022-07-14 14:05:47 +08:00
morris
226bd6bc2d
rgb_lcd: add doc for various frame buffer modes
2022-07-14 14:05:47 +08:00
morris
ada0ba7717
rgb_lcd: unify the way to register event callbacks
2022-07-14 14:05:47 +08:00
0xFEEDC0DE64
48c5b45e99
Add C++ include guard to if.h (to fix linker errors in asio)
2022-07-14 07:48:58 +02:00
David Cermak
58b0def0d9
lwip: Fix on-demand timers to update internal system touts
...
If on-demand timers (IGMP+MLD6) were enabled, idf updated user config
MEMP_NUM_SYS_TIMEOUT. The implementation of these timers are in lwip
project so the internal system timeout shall be updated accordingly,
enabling port layers to modify MEMP_NUM_SYS_TIMEOUT.
Closes https://github.com/espressif/esp-idf/issues/9150
2022-07-14 05:09:53 +00:00
Isha Pardikar
183100fc28
Nimble: Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called.
2022-07-14 09:41:05 +05:30
Chen Jian Xing
27d096fb63
Merge branch 'bugfix/fix_beacon_timeout_timer_assert_issue' into 'master'
...
esp_wifi: fix sta reset beacon timeout timer issue
Closes IDFGH-7489 and IDFCI-1357
See merge request espressif/esp-idf!19021
2022-07-14 11:30:05 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Fu Hanxi
f04a0cc526
fix: bypass Manually-specified variables were not used by the project warning
...
the variable "IDF_TARGET" is only used under a if clause
"if(ULP_C0CPU_IS_RISCV)". while building a non-riscv target,
there will be a cmake warning:
CMake Warning:
Manually-specified variables were not used by the project:
IDF_TARGET
2022-07-14 08:26:01 +08:00
Fu Hanxi
1129bd7587
test: increase test gpio time timeout
2022-07-14 08:26:01 +08:00
Ivan Grokhotkov
230e732018
Merge branch 'feature/system_init_priorities' into 'master'
...
esp_system: introduce priorities for startup functions
Closes IDFGH-5683 and IDF-4954
See merge request espressif/esp-idf!18159
2022-07-14 06:22:25 +08:00
Ivan Grokhotkov
02f28ef32a
Merge branch 'bugfix/esp_error_check_func_addr' into 'master'
...
esp_err: two minor issues
Closes IDFGH-7530
See merge request espressif/esp-idf!18665
2022-07-14 04:14:16 +08:00
Mahavir Jain
20e21fb29d
Merge branch 'refactor/remove_rom_deps' into 'master'
...
RFC: remove dependency to target-specific ROM headers
Closes IDF-1968
See merge request espressif/esp-idf!18206
2022-07-13 16:44:44 +08:00
muhaidong
8daab872c5
esp_wifi: fix sta reset beacon timeout timer issue
2022-07-13 16:35:34 +08:00
Jiang Jiang Jian
b610b47a83
Merge branch 'feature/esp32s3_memprot_additional_improvements' into 'master'
...
[System/Security] Memprot after-merge improvements (v5.0)
Closes IDF-5263 and IDF-5208
See merge request espressif/esp-idf!18893
2022-07-13 15:48:20 +08:00
Jiang Jiang Jian
9a5f9804de
Merge branch 'bugfix/eapol_drop_issue' into 'master'
...
esp_wifi: Clear old keys before going for new connection
Closes WIFI-4542
See merge request espressif/esp-idf!18967
2022-07-13 14:07:50 +08:00
Jiang Jiang Jian
8d98fbe26a
Merge branch 'bugfix/remove_unused_ble_rtc_source_sel' into 'master'
...
Remove can not use wake up source for esp32h2
See merge request espressif/esp-idf!18966
2022-07-13 13:50:26 +08:00
Chen Wu
f65071000a
lwip: Fixed that ipv6 dns cannot work
2022-07-13 11:48:04 +08:00
Mahavir Jain
510515eb7d
Merge branch 'bugfix/flash_encryption_8l_psram' into 'master'
...
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled
Closes IDFGH-7702 and IDFGH-7746
See merge request espressif/esp-idf!18980
2022-07-13 11:38:12 +08:00
Jakob Hasse
33a3616635
refactor (bootloader_support, efuse)!: remove target-specific rom includes
...
The following two functions in bootloader_support are private now:
* esp_secure_boot_verify_sbv2_signature_block()
* esp_secure_boot_verify_rsa_signature_block()
They have been moved into private header files
inside bootloader_private/
* Removed bootloader_reset_reason.h and
bootloader_common_get_reset_reason() completely.
Alternative in ROM component is available.
* made esp_efuse.h independent of target-specific rom header
2022-07-13 10:29:02 +08:00
Ivan Grokhotkov
9a00475bd9
esp_common: include stdlib.h into esp_err.h for 'abort' declaration
...
Closes https://github.com/espressif/esp-idf/issues/9093
2022-07-12 17:01:47 +02:00
Ivan Grokhotkov
ca7c9947fc
esp_system: fix address printed by ESP_ERROR_CHECK
...
...to point to the calling function, not to _esp_error_check_failed.
2022-07-12 17:01:47 +02:00
Ivan Grokhotkov
a334cd50ce
app_trace: perform initialization using ESP_SYSTEM_INIT_FN
2022-07-12 16:58:15 +02:00
Ivan Grokhotkov
0e53b32d2e
esp_hw_support: perform sleep initialization using ESP_SYSTEM_INIT_FN
2022-07-12 16:58:15 +02:00
Ivan Grokhotkov
bb771fb7c4
esp_timer: perform initialization using ESP_SYSTEM_INIT_FN
...
(startup.c still calls esp_timer_early_init directly)
2022-07-12 16:58:15 +02:00
Ivan Grokhotkov
42654927d5
esp_system: add a script to check the startup priorities
2022-07-12 16:58:14 +02:00
Ivan Grokhotkov
523aacd413
esp_system: allow defining priorities for startup functions
...
* Some components have initialization dependencies. To account for
them, simple numeric priority values are introduced.
* esp_system_init_fn_array moved into Flash from DRAM
* System init functions defined using ESP_SYSTEM_INIT_FN now return
an error code. This enables simpler and more consistent error
handling in the init functions. Returning an error from an init
function is now a valid approach — the startup code will print
an error and abort.
2022-07-12 16:58:14 +02:00
Jiang Jiang Jian
258585f50a
Merge branch 'bugfix/correct_blecmd_for_rf_path' into 'master'
...
Bluedroid: Fixed compilation error due to incorrect macro name
See merge request espressif/esp-idf!18983
2022-07-12 19:35:40 +08:00
Kapil Gupta
ff00a1c7a2
esp_wifi: Clear old keys before going for new connection
2022-07-12 16:37:55 +05:30
Jessy Chen
631bf1ad63
esp_phy: Support 26M and 40M crystal for esp32c2 phy
2022-07-12 05:59:26 -04:00
Jiang Jiang Jian
4c1f114eab
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data' into 'master'
...
components/bt: Fix ble sync periodic adv report will lost data
See merge request espressif/esp-idf!18957
2022-07-12 16:18:01 +08:00
Cao Sen Miao
683d92bc88
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled,
...
Closes https://github.com/espressif/esp-idf/issues/9244 ,
Closes https://github.com/espressif/esp-idf/issues/9287
2022-07-12 16:08:57 +08:00
Li Qi Gan
e58bb91c2f
Merge branch 'bugfix/fix_memory_leak_in_hidh' into 'master'
...
Fix memory leak in bt_hidh.c
Closes IDFGH-7786
See merge request espressif/esp-idf!18968
2022-07-12 15:51:56 +08:00
Jiang Jiang Jian
1523a1bdef
Merge branch 'bugfix/fix_esp32_c3_s3_adv_report_duplicate_check' into 'master'
...
Fix esp32c3/s3 adv report duplicate check
Closes BT-2440
See merge request espressif/esp-idf!18961
2022-07-12 14:00:33 +08:00
Omar Chebib
e5c83211a7
Merge branch 'bugfix/interrupt_stack_bss' into 'master'
...
System: move interrupt stack to .bss instead of .data section
Closes IDFGH-7635
See merge request espressif/esp-idf!18697
2022-07-12 13:44:07 +08:00
GengYuchao
df6d3eb602
Remove can not use wake up source for esp32h2
2022-07-12 11:23:59 +08:00
Jiang Jiang Jian
3630713e5f
Merge branch 'docs/esp32c2_sys_feature_api_guides' into 'master'
...
docs: update system API-guides for ESP32-C2
Closes IDF-4202, IDF-4213, and IDF-4222
See merge request espressif/esp-idf!18979
2022-07-12 10:59:12 +08:00
Jiang Jiang Jian
eba22b98fd
Merge branch 'bugfix/fix_beacon_timeout_timer_issue' into 'master'
...
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
Closes IDFGH-7489
See merge request espressif/esp-idf!18963
2022-07-12 10:46:18 +08:00
Jakob Hasse
3010c41dc7
Merge branch 'bugfix/freertos_tasks_unused_var' into 'master'
...
bugfix (freertos): removed unused variable in tasks.c
See merge request espressif/esp-idf!18976
2022-07-12 09:56:31 +08:00
Marius Vikhammer
f463c42791
Merge branch 'bugfix/ringbuf_iram_fix' into 'master'
...
esp_ringbuf: placement in flash is no longer controlled by...
Closes IDFGH-7646
See merge request espressif/esp-idf!18774
2022-07-12 09:56:25 +08:00
Marius Vikhammer
d62421619c
docs: update system API-guides for ESP32-C2
2022-07-12 09:32:43 +08:00
Roland Dobai
3d1508db9d
Tools: Make espcoredump.py executable
...
Closes https://github.com/espressif/esp-idf/issues/9319
2022-07-11 17:32:47 +02:00
muhaidong
52f378ac7b
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
2022-07-11 20:54:25 +08:00
Rahul Tank
ac54468d1b
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-11 16:40:51 +05:30
Jakob Hasse
0adb313441
bugfix (freertos): removed unused variable in tasks.c
2022-07-11 18:18:09 +08:00
Omar Chebib
bac62cfac8
System: move interrupt stack to .bss instead of .data section
...
The interrupt stack for Xtensa targets is now declared in C, automatically moving it to .bss section instead of .data section.
* Closes https://github.com/espressif/esp-idf/issues/9188
2022-07-11 17:49:21 +08:00
xiewenxiang
947d082b44
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:51:22 +08:00
Jiang Jiang Jian
86deb8c0f5
Merge branch 'bugfix/remove_ulp_tsens' into 'master'
...
ulp: remove ESP32 ULP TSENS references
Closes IDF-1485
See merge request espressif/esp-idf!18883
2022-07-11 16:31:43 +08:00
Song Ruo Jing
ea97cc93ea
Merge branch 'feature/c2_systimer_26mhz' into 'master'
...
esp32c2: 26 MHz XTAL support: Kconfig option, systimer support
Closes IDF-5412 and IDF-5413
See merge request espressif/esp-idf!18835
2022-07-11 16:17:25 +08:00
Wang Meng Yang
13d141de27
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg' into 'master'
...
bugfix/fix the issue of functions not defined when enable memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!18802
2022-07-11 15:36:46 +08:00
xiongweichao
b0b6ad21f8
coex: fixed crash when calculating end transfer time
2022-07-11 15:26:53 +08:00
liqigan
ea63a42f15
fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
...
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-11 14:30:00 +08:00
Jiang Jiang Jian
4644e2c302
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert' into 'master'
...
Fixed esp32 BLE ke_mem.c assert
See merge request espressif/esp-idf!18916
2022-07-11 14:02:39 +08:00
Anton Maklakov
22802392bc
Merge branch 'fix/spinlock-performance' into 'master'
...
freertos: fix inlining for xtensa port
Closes IDF-5178, IDF-5221, and IDF-5179
See merge request espressif/esp-idf!18641
2022-07-11 12:33:20 +08:00
Marius Vikhammer
6cc871d793
Merge branch 'feature/ulp_riscv_adc' into 'master'
...
ulp-riscv: add support for using ADC as well as an example show-casing it.
Closes IDFGH-7564 and IDF-1714
See merge request espressif/esp-idf!18767
2022-07-11 12:30:31 +08:00
songruojing
996fb0cce8
G0: hal/regi2c_ctrl.h now defines all REGI2C macros to pass g0_components build test
2022-07-11 12:24:58 +08:00
wuzhenghui
a9c8065030
Kconfig: Update dependencies to avoid invalid configurations
...
1. Since the baud rate in the ROM cannot be changed,
set the default baud rate of the 26Mhz version
of esp32c2 to 74800
2. Since the systimer configuration of the 26Mhz
version requires a non-integer systimer frequency
configuration, and this feature is not supported
in the current ROM, this option is disabled for
the 26Mhz version esp32c2
2022-07-11 12:24:58 +08:00
songruojing
b3d8db3ae2
bootloader, esp_system: esp32c2 console uart to support 26MHz xtal
...
Gets the XTAL frequency from the RTC storage register, remove UART_CLK_FREQ_ROM macro from soc.h
2022-07-11 12:24:58 +08:00
songruojing
ef813b23fa
rtc: esp32c2 support 26MHz xtal in startup code and rtc_clk.c
2022-07-11 12:24:58 +08:00
Ivan Grokhotkov
2e37218ce5
soc, hal: remove XTAL_CLK_FREQ
...
XTAL_CLK_FREQ now depends on the actual XTAL used, remove this macro
and get the XTAL frequency from the RTC register instead.
No uses of XTAL_CLK_FREQ found, other than in the UART LL.
2022-07-11 12:24:58 +08:00
Ivan Grokhotkov
5b54ae76d4
esp_timer, hal: add support for non-integer systimer frequency
...
When ESP32-C2 is paired with a 26 MHz XTAL, the systimer tick
frequency becomes equal to 26 / 2.5 = 10.4 MHz. Previously we always
assumed that systimer tick frequency is integer (and 1 MHz * power of
two, above that!).
This commit introduces a new LL macro, SYSTIMER_LL_TICKS_PER_US_DIV.
It should be set in such a way that:
1. SYSTIMER_LL_TICKS_PER_US / SYSTIMER_LL_TICKS_PER_US_DIV equals the
actual systimer tick frequency,
2. and SYSTIMER_LL_TICKS_PER_US is integer.
For ESP32-C2 this means that SYSTIMER_LL_TICKS_PER_US = 52 and
SYSTIMER_LL_TICKS_PER_US_DIV = 5.
This introduced two possible issues:
1. Overflow when multiplying systimer counter by 5
- Should not be an issue, since systimer counter is 52-bit, so
counter * 5 is no more than 55-bit.
2. The code needs to perform:
- divide by 5: when converting from microseconds to ticks
- divide by 52: when converting from ticks to microseconds
The latter potentially introduces a performance issue for the
esp_timer_get_time function.
2022-07-11 12:24:37 +08:00
Omar Chebib
f5c3c533bb
Merge branch 'bugifx/heap_prefer_call_failed_callback' into 'master'
...
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
Closes IDFGH-7521
See merge request espressif/esp-idf!18427
2022-07-11 11:57:05 +08:00
Jiang Jiang Jian
9873d4d138
Merge branch 'bugfix/s2_s3_stack_extmem_config' into 'master'
...
psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3
See merge request espressif/esp-idf!18894
2022-07-11 10:54:59 +08:00
chenjianhua
42667adf70
fix esp32c3/s3 adv report duplicate check
2022-07-11 10:25:32 +08:00
Marius Vikhammer
e8b5096f52
ulp-riscv: add support for using ADC as well as an example show-casing it.
2022-07-11 09:31:22 +08:00
Marius Vikhammer
fd37129651
esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
...
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
Closes https://github.com/espressif/esp-idf/issues/9198
2022-07-11 09:24:20 +08:00
Jiang Jiang Jian
7087449d43
Merge branch 'doc/ble_deinit' into 'master'
...
components/bt: Add description for de-initialize bt controller
See merge request espressif/esp-idf!17431
2022-07-10 15:37:13 +08:00
Martin Vychodil
0c87ae2a91
System/Security: Memprot API unified (ESP32S3)
...
Added missing features and improvements
2022-07-09 22:57:51 +02:00
Djordje Nedic
0331d0aa63
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-08 13:22:35 +00:00
Jiang Jiang Jian
9ec829f352
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_master' into 'master'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
Closes BCI-303
See merge request espressif/esp-idf!18643
2022-07-08 19:43:10 +08:00
Wei Tian Hua
8699a10929
Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
...
component_bt: Change HF AG API
See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
Jiang Jiang Jian
a7bf3af687
Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
...
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
Closes BT-2402
See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
Ivan Grokhotkov
f0f9890096
bootloader: set the initial XTAL frequency based on the Kconfig option
2022-07-08 15:04:26 +08:00
Ivan Grokhotkov
672e70a023
esp_hw_support: add 26 MHz XTAL option for esp32c2
...
Some esp32c2 boards will be produced with a 26 MHz XTAL. This commit
adds the basic Kconfig option for this type of hardware.
Support for CONFIG_ESP32C2_XTAL_FREQ_26 in other areas of IDF will be
implemented in subsequent commits.
2022-07-08 15:04:17 +08:00
Jiang Jiang Jian
7e2ee82160
Merge branch 'bugfix/fix_qos_null_update_ba_ssn' into 'master'
...
wifi:bugfix fix qos null update ba ssn
Closes IDFGH-6811
See merge request espressif/esp-idf!18882
2022-07-08 14:00:11 +08:00
Mahavir Jain
03c1ada871
Merge branch 'bugfix/netif_interface_reg_sequence_issue' into 'master'
...
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
Closes WIFI-4515 and WIFI-4472
See merge request espressif/esp-idf!18895
2022-07-08 13:23:31 +08:00
xiewenxiang
451a1dd937
doc(bt): Add description for de-initialize bt controller
2022-07-08 10:58:32 +08:00
jincheng
3de3a8b354
fix the issue of functions not defined when enable memory debug
...
Closes https://github.com/espressif/esp-idf/issues/9248
2022-07-08 10:57:29 +08:00
Shen Jun
d09e4d673c
Merge branch 'bugfix/fix_esp32c2_tx_crash_issue' into 'master'
...
esp_wifi: fix esp32c2 tx crash issue
Closes WIFI-4581
See merge request espressif/esp-idf!18911
2022-07-08 10:37:27 +08:00
Roland Dobai
55d95dd813
Merge branch 'fix/esptool_esp32c2_minrev_v2' into 'master'
...
tools: Generate images for ESP32-C2 with required minimal revision
Closes IDF-5303
See merge request espressif/esp-idf!18917
2022-07-08 05:41:57 +08:00
Jiang Jiang Jian
f0172d5ae0
Merge branch 'bugfix/fix_wrong_params_in_hidd' into 'master'
...
Fix wrong parameter of get_report_by_id_and_type in bt_hidd.c
See merge request espressif/esp-idf!18892
2022-07-08 01:10:20 +08:00
zwj
9a46d06532
fix esp32 BLE ke_mem.c assert
2022-07-07 11:23:11 +00:00
Darian
ceffde5cb6
Merge branch 'bugfix/coredump_shebang' into 'master'
...
espcoredump: Fix espcoredump.py shebang and file mode
See merge request espressif/esp-idf!18902
2022-07-07 19:20:15 +08:00
Alexey Lapshin
7e5a7921fe
freertos: fix inlining for xtensa port
2022-07-07 09:04:51 +00:00
Guillaume Souchere
9b8c558e63
Merge branch 'bugfix/backtrace_formatting_add_missing_space' into 'master'
...
Reverts Backtrace: format to what it used to be
Closes IDFGH-7580
See merge request espressif/esp-idf!18783
2022-07-07 16:51:47 +08:00
morris
75bd6fc2d9
Merge branch 'contrib/github_pr_9302' into 'master'
...
ESP32S3 USB external PHY pinout (GitHub PR)
Closes IDFGH-7761
See merge request espressif/esp-idf!18909
2022-07-07 16:17:26 +08:00
Roland Dobai
9ee3661b4b
tools: Generate images for ESP32-C2 with required minimal revision
2022-07-07 15:44:55 +08:00
xueyunfei
95591fdf65
wifi:bugfix fix qos null update ba ssn
2022-07-07 15:23:29 +08:00
Marius Vikhammer
f78d13398e
Merge branch 'bugfix/enable_freertos_tests_c2' into 'master'
...
freertos: re-enable tests disabled for C2
Closes IDF-5140
See merge request espressif/esp-idf!18885
2022-07-07 14:14:46 +08:00
Rahul Tank
020dc7b2ec
Merge branch 'bugfix/fix_extra_event_init_periodic' into 'master'
...
NimBLE: Removed extra event init done during periodic_sync_alloc
See merge request espressif/esp-idf!18494
2022-07-07 13:02:53 +08:00
morris
b0e228f756
soc: update copyright for usb phy pins
2022-07-07 11:50:06 +08:00
Michael (XIAO Xufeng)
a58362a429
Merge branch 'feature/efuse_rev_major_minor' into 'master'
...
efuse: Adds major and minor versions
See merge request espressif/esp-idf!18255
2022-07-07 11:48:54 +08:00
shenjun
988f9b3a59
esp_wifi: fix esp32c2 tx crash issue
2022-07-07 11:32:00 +08:00
Island
0d86ca59a6
Merge branch 'update/esp32h2_h2_beta2_controller_lib_to_cd9dd20' into 'master'
...
Update esp32h2 beta2 lib to controller master
See merge request espressif/esp-idf!18876
2022-07-06 22:13:05 +08:00
Song Ruo Jing
b662f4b74f
Merge branch 'feature/support_26M_32M_xtal_bbpll_c2' into 'master'
...
support c2 26M/32M xtal for bbpll
Closes IDF-5485
See merge request espressif/esp-idf!18769
2022-07-06 21:17:52 +08:00
Darian Leung
5de652bbe2
espcoredump: Fix espcoredump.py shebang and file mode
...
This commit adds back the shebang and executable file mode for
espcoredump.py
2022-07-06 21:03:11 +08:00
lsita
9ceff23c6d
USB external PHY pinout set as in Reference Manual Figure 29-3.
2022-07-06 14:54:35 +02:00
morris
a92cce9861
Merge branch 'bugfix/calib_i2c_clk' into 'master'
...
I2C: Make I2C clock frequency accurate
Closes IDF-5363
See merge request espressif/esp-idf!18686
2022-07-06 20:52:31 +08:00
Zim Kalinowski
5ed792a296
Merge branch 'bugfix/fix_sdio_master_slave_test_with_freertos_smp' into 'master'
...
freertos-smp: Fix sdio driver master slave performance test with FreeRTOS SMP
See merge request espressif/esp-idf!18865
2022-07-06 19:39:03 +08:00
Jiang Jiang Jian
7b3ee47c67
Merge branch 'bugfix/fix_ble_ke_mem_c_assert_on_c3_s3' into 'master'
...
Fixed BLE ke_mem.c assert on esp32c3 and esp32s3
Closes BT-2405, BT-2406, and BCI-302
See merge request espressif/esp-idf!18863
2022-07-06 16:58:07 +08:00
wangmengyang
f86efb2bc2
fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3
2022-07-06 16:24:03 +08:00
wangmengyang
1d55f12c2d
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and clock bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-06 16:23:48 +08:00
morris
627b171a3c
Merge branch 'feature/enable_rpa_modem_reset_function_in_esp32h2' into 'master'
...
Enable rpa_moudle reset function
See merge request espressif/esp-idf!18891
2022-07-06 14:47:37 +08:00
xiongweichao
155c4a5cb3
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-06 14:42:46 +08:00
Zim Kalinowski
ecac5d02fc
Merge branch 'bugfix/fix_esp_event_test_with_freertos_smp' into 'master'
...
freertos-smp: Update performance threshold for esp_event performance test with FreeRTOS SMP
Closes IDF-5449
See merge request espressif/esp-idf!18848
2022-07-06 12:41:05 +08:00
Guo Jia Cheng
fb181e0482
Merge branch 'bugfix/timer-overflow' into 'master'
...
openthread: update library to fix timer overflow
See merge request espressif/esp-idf!18889
2022-07-06 12:21:25 +08:00
Rahul Tank
d3e7d9b090
NimBLE: Removed extra event init done during periodic_sync_alloc
2022-07-06 09:50:17 +05:30
Marius Vikhammer
457e31a715
freertos: re-enable tests disabled for C2
2022-07-06 12:15:04 +08:00
Zim Kalinowski
6062748203
Merge branch 'bugfix/fix_vfs_test_with_freertos_smp' into 'master'
...
freertos-smp: Update performance thresholds for VFS Open, Write, Close test with FreeRTOS SMP
Closes IDF-5448
See merge request espressif/esp-idf!18849
2022-07-06 12:14:19 +08:00
Marius Vikhammer
342f4f315c
psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3
...
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY was always enabled on S2 and S3, but this option is not
compatible with ESP_COREDUMP_ENABLE_TO_FLASH. Make it configurable to allow users to deactive
it so that ESP_COREDUMP_ENABLE_TO_FLASH can be used.
2022-07-06 12:11:15 +08:00
Cao Sen Miao
e218723e0e
I2C: Make I2C clock frequency accurate
2022-07-06 11:58:08 +08:00
Mahavir Jain
f45dbd1f97
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
...
If appropriate interface is not set then RX callback can potentially dereference
null pointer from `s_wifi_netifs` table. This in-fact resulted in `LoadProhibited` exception
in HTTP server example test case.
Order here for setting interface and then registering callback was correct but
it was modified in 0e71a325de
causing this regression.
2022-07-06 09:03:08 +05:30
Song Ruo Jing
2bc0f45d85
Merge branch 'feature/uart_get_free_tx_buffer_size' into 'master'
...
uart: Add a new API to get the free space size of tx buffer
Closes IDFGH-7348 and IDFGH-642
See merge request espressif/esp-idf!18749
2022-07-06 11:18:57 +08:00
Jiang Jiang Jian
5134af1c6b
Merge branch 'bugfix/ext_adv_param_check' into 'master'
...
Bluedroid: fix channel map of ext adv params check
See merge request espressif/esp-idf!18877
2022-07-06 11:02:46 +08:00
Jiang Jiang Jian
8b30b7a489
Merge branch 'contrib/github_pr_9264' into 'master'
...
Fix tinyusb_driver_install (dangling pointer) (GitHub PR)
Closes IDFGH-7723
See merge request espressif/esp-idf!18874
2022-07-06 10:53:38 +08:00
Omar Chebib
c017f006cd
Merge branch 'contrib/github_pr_9255' into 'master'
...
Fix datatype conversion compiler error #9254 (GitHub PR)
Closes IDFGH-7713
See merge request espressif/esp-idf!18872
2022-07-06 10:37:30 +08:00
Marius Vikhammer
cf41c255bb
Merge branch 'bugfix/cache_disabled_log_c3' into 'master'
...
esp_hw_support: always inline cpu_hal_set_vecbase to avoid issues at -O0
See merge request espressif/esp-idf!18630
2022-07-06 09:55:20 +08:00
Zim Kalinowski
613e53f0a1
freertos-smp: Fix sdio driver master slave performance test with FreeRTOS SMP
...
This commit relaxes the performance thresholds for sdio driver test when
FreeRTOS SMP is enabled.
2022-07-05 22:05:33 +02:00
Darian
ee808f55a4
Merge branch 'bugfix/freertos_smp_stack_tcb_allocation_order' into 'master'
...
FreeRTOS: Fix stack and TCB allocation order
See merge request espressif/esp-idf!18841
2022-07-06 03:22:52 +08:00
Jakob Hasse
5a3310ff3b
Merge branch 'refactor/remove_rom_deps_cache_lldesc' into 'master'
...
SOC: removed target-specific ROM dependencies
See merge request espressif/esp-idf!18705
2022-07-06 02:06:30 +08:00
Zim Kalinowski
3d38de9f00
Merge branch 'bugfix/fix_spi_speed_with_freertos_smp' into 'master'
...
freertos-smp: Fix spi_speed test for FreeRTOS SMP
Closes IDF-5464
See merge request espressif/esp-idf!18842
2022-07-06 01:38:05 +08:00
Darian
91fb280d4c
Merge branch 'bugfix/twdt_deinit_freertos_smp' into 'master'
...
TWDT: esp_task_wdt_deinit() should deregister idle hook callback under CONFIG_FREERTOS_SMP
Closes IDF-5461
See merge request espressif/esp-idf!18867
2022-07-06 00:45:58 +08:00
Shu Chen
87f9fbaed1
Merge branch 'feature/hide_build_from_src' into 'master'
...
build: move build_from_src options to env
See merge request espressif/esp-idf!18735
2022-07-05 22:54:18 +08:00
David Čermák
53b9213757
Merge branch 'bugfix/mqtt_ping_timer_restart' into 'master'
...
[MQTT] - Adds esp-timer as dependency and update esp_mqtt.
See merge request espressif/esp-idf!18409
2022-07-05 22:01:32 +08:00
David Čermák
8417079218
Merge branch 'component/asio_migration' into 'master'
...
ASIO: Remove internal component, examples, test and docs
Closes IDF-4625
See merge request espressif/esp-idf!18297
2022-07-05 21:26:48 +08:00
GengYuchao
d145c337e0
Enable rpa_moudle reset function
2022-07-05 20:50:31 +08:00
liqigan
2873cefe78
fix wrong params of get_report_by_id_and_type in bt_hidd.c
2022-07-05 20:50:11 +08:00
Sudeep Mohanty
d447c54513
freertos-smp: Update performance thresholds for VFS Open, Write, Close test with FreeRTOS SMP
...
This commit relaxes performance thresholds for VFS Open, Write and Close
test with FreeRTOS SMP enabled.
2022-07-05 12:13:40 +00:00
Sudeep Mohanty
1da0fe6f9b
freertos-smp: Update performance threshold for esp_event performance test with FreeRTOS SMP
...
This commit updates the performance thresholds for esp_event performance
test with FreeRTOS SMP enabled.
2022-07-05 12:12:45 +00:00
Jiacheng Guo
d02de327b5
openthread: update library to fix timer overflow
...
Closes https://github.com/espressif/esp-idf/issues/9278
2022-07-05 19:28:07 +08:00
songruojing
9d73475e44
uart: Add a new API to get the free space size of tx buffer
...
Closes https://github.com/espressif/esp-idf/issues/8932
Closes https://github.com/espressif/esp-idf/issues/3078
2022-07-05 18:39:22 +08:00
Jiang Jiang Jian
77a7fa77e2
Merge branch 'bugfix/wrong_configuration_of_static_txbuf' into 'master'
...
wifi:bugfix for wrong configuration of static txbuf
Closes IDFGH-7667
See merge request espressif/esp-idf!18852
2022-07-05 18:07:36 +08:00
cje
e16165f263
support c2 26M/32M xtal for bbpll
2022-07-05 17:45:03 +08:00
Marius Vikhammer
3d61c6d7d7
ulp: remove ESP32 ULP TSENS references
...
Due to poor accuracy the ESP32 ULP TSENS instructions is not recommend for use.
We keep the instruction itself to support users which are already using it,
but should remove it from examples and docs to avoid encouring any new usage of it.
2022-07-05 17:37:13 +08:00
Jiang Jiang Jian
f747ffd63a
Merge branch 'bugfix/add_ttl_for_ping_socket' into 'master'
...
lw-ip:bugfix for add ttl for ping socket
Closes WIFI-4340
See merge request espressif/esp-idf!18376
2022-07-05 17:09:53 +08:00
chenjianhua
3a1a5e284a
Bluedroid: fix channel map of ext adv params check
2022-07-05 16:02:37 +08:00
GengYuchao
509ac4e748
Update esp32h2 beta2 lib to master
2022-07-05 15:15:41 +08:00
KonstantinKondrashov
0f8ff5aa15
efuse: Adds major and minor versions and others
2022-07-05 14:38:27 +08:00
Darian Leung
a0ab1c2acd
freertos: Fix stack and TCB allocation order in SMP FreeRTOS
...
This commit fixes the allocation order of task stacks and TCBs in
order to reduce the chance of a stack overflow overwriting a TCB.
2022-07-05 14:27:44 +08:00
xueyunfei
a7ae72e1f5
wifi:bugfix for wrong configuration of static txbuf
2022-07-05 14:02:31 +08:00
Jakob Hasse
f8b5ed5d6c
refactor (soc, esp_rom)!: removed target-specific ROM dependencies
2022-07-05 13:57:58 +08:00
Omar Chebib
a0ca353cda
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
...
heap_caps_*_prefer functions will now only call heaps_caps_alloc_failed
callback if all attempts to allocation memory fail (and not after each attempt
anymore).
* Closes https://github.com/espressif/esp-idf/issues/9086
2022-07-05 05:57:04 +00:00
Omar Chebib
fca7be2ddb
Merge branch 'bugfix/fix_disassembler_interpreting_padding' into 'master'
...
(Xtensa) Build: add .xt.prop to the compiled ELF file
See merge request espressif/esp-idf!17268
2022-07-05 13:48:42 +08:00
Darian Leung
c7fbcd754f
esp_system: TWDT needs to deregister idle hook callback on esp_task_wdt_deinit()
...
This commit fixes a bug in esp_task_wdt_deinit() where under CONFIG_FREERTOS_SMP,
the idle hook callback is not deregistered.
2022-07-05 13:40:46 +08:00
Sudeep Mohanty
5ab7beea4a
freertos-smp: Fix spi_speed test for FreeRTOS SMP
...
Updated performance thresholds for spi_speed test with FreeRTOS SMP is
enabled.
2022-07-05 05:11:16 +00:00
Jiang Jiang Jian
271f4e4c40
Merge branch 'bugfix/rm_deauth_when_first_auth' into 'master'
...
esp_wifi: remove deauth before first auth
Closes IDFGH-6544
See merge request espressif/esp-idf!18803
2022-07-05 12:58:05 +08:00
Omar Chebib
3c9856bdd1
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-07-05 04:39:29 +00:00
xueyunfei
45ad770c37
Icmp: get tos parameter in icmp reply
2022-07-05 11:37:41 +08:00
xueyunfei
b569f4069a
bugfix for add ttl for ping socket
2022-07-05 11:37:41 +08:00
zwj
f15d7d28b5
fix ble ke_mem.c assert on esp32c3 and esp32s3
2022-07-05 03:18:14 +00:00
chenjianxing
ce1ab731be
esp_wifi: remove deauth before first auth
...
1.fix deep sleep can't reconnect to ap when pmf enable
2.fix some ap will ignore auth when rx deauth for some time
2022-07-05 02:42:08 +00:00
GengYuchao
3be5ab7268
Update nimble port init changes
2022-07-05 02:40:49 +00:00
GengYuchao
ee13e58b16
update head files for nimble
...
Remove some useless error printing display
2022-07-05 02:40:49 +00:00
GengYuchao
9e1466a34d
move init func to nimble
2022-07-05 02:40:49 +00:00
Zim Kalinowski
e4b692b6f6
fixing build problem
2022-07-04 22:20:26 +02:00
gabsuren
79d3655106
ASIO: Remove internal component, examples, test and docs
2022-07-04 22:15:24 +04:00
Jiang Jiang Jian
8ab78803d4
Merge branch 'bugfix/s3_wakeup_light_sleep_rtc_wdt_timeout' into 'master'
...
component_bt: Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
See merge request espressif/esp-idf!18757
2022-07-04 18:21:29 +08:00
David Čermák
46fe7dbc8c
Merge branch 'component/mdns_migration' into 'master'
...
mdns: Remove internal component, examples, test and docs
Closes IDF-4074
See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Omar Chebib
cfeaa50b53
Merge branch 'bugfix/esp32c2_missing_eh_frame_sections' into 'master'
...
espsystem: add missing eh_frame sections on esp32c2
See merge request espressif/esp-idf!18629
2022-07-04 17:13:40 +08:00
morris
7863c1bc45
Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
...
Bugfix/fix rtc freq err for h2 beta1
See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Martin Vychodil
29c0703d7e
Merge branch 'bugfix/esp32s3_memprot_wrong_check_unicore' into 'master'
...
System/Security: fix missing checks for CPU-count sensitive Memprot APIs (ESP32S3)
Closes IDF-5401
See merge request espressif/esp-idf!18834
2022-07-04 16:41:45 +08:00
Wang Meng Yang
cb74a64768
Merge branch 'feature/support_for_wr_sugg_data_len_cmd' into 'master'
...
feature/added read-write sugg default datalen cmds
See merge request espressif/esp-idf!17863
2022-07-04 15:17:44 +08:00
Mahavir Jain
a269a704af
Merge branch 'bugfix/main_task_on_cpu1_startup_failure' into 'master'
...
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
Closes IDFGH-7705
See merge request espressif/esp-idf!18755
2022-07-04 14:54:14 +08:00
Jiang Jiang Jian
c154d09c52
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid' into 'master'
...
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
Closes IDFGH-7647
See merge request espressif/esp-idf!18617
2022-07-04 14:12:35 +08:00
Marius Vikhammer
4720607229
Merge branch 'bugfix/c2_mac_address' into 'master'
...
mac addr: fix wrong offset being used for C2 BT mac address
Closes IDF-5046
See merge request espressif/esp-idf!18717
2022-07-04 14:04:13 +08:00
Omar Chebib
7e42038c86
Merge branch 'refactor/move_regi2c_headers' into 'master'
...
Refactor: move regi2c_*.h header files from esp_hw_support to soc component
See merge request espressif/esp-idf!18676
2022-07-04 11:32:30 +08:00
Mahavir Jain
cd1555ec03
Merge branch 'esp32c2_check_ocd_mode' into 'master'
...
esp32c2: check ocd mode before configure memprot
See merge request espressif/esp-idf!18655
2022-07-04 11:22:25 +08:00
Onkar
731a8d357f
feature/added read-write sugg default datalen cmds
2022-07-03 13:50:12 +05:30
Martin Vychodil
ee9aa9a302
System/Security: fix missing checks for CPU-count sensitive Memprot APIs (ESP32S3)
...
Some of the Memory Protection (internal) API functions dealing with per-CPU operations were missing appropriate handling of the CPU count actually configured by CONFIG_FREERTOS_UNICORE. The flaw was fixed across all the places found in the code as the issue was of general type
2022-07-02 20:12:56 +00:00
Wang Meng Yang
73cfc078a0
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env' into 'master'
...
bugfix/restore edr_en and add protect for vhci_env
Closes IDFGH-6254, IDFGH-6766, IDFGH-7605, and AUD-3629
See merge request espressif/esp-idf!18388
2022-07-01 19:31:01 +08:00
Jakob Hasse
daacc19149
Merge branch 'bugfix/fatfs_spiffs_vfs_dep' into 'master'
...
fatfs, spiffs: add missing dependency on vfs
See merge request espressif/esp-idf!18613
2022-07-01 18:13:51 +08:00
Armando (Dou Yiwen)
4cc0492901
Merge branch 'bugfix/reserve_dma_ram_in_segments' into 'master'
...
psram: reserve dma pool in the step of heap max block
Closes IDF-4936
See merge request espressif/esp-idf!18740
2022-07-01 15:48:23 +08:00
Adam Múdry
0e98905e51
Merge branch 'feature/usb_midi_example' into 'master'
...
usb: Added MIDI example + fixed TinyUSB MIDI config
Closes IDFGH-6921
See merge request espressif/esp-idf!17753
2022-07-01 15:03:42 +08:00
Simon
f4eea001c8
Merge branch 'refactor_flash/remove_legacy_driver' into 'master'
...
spi_flash: Totally remove legacy driver (prefix with `spi_flash`) support on V5.0
Closes IDF-4473
See merge request espressif/esp-idf!18026
2022-07-01 14:45:39 +08:00
Li Qi Gan
22c76baaec
Merge branch 'bugfix/fix_sink_wrong_sniff_params' into 'master'
...
Fix A2DP Sink Wrong Sniff Parameters which Caused by HID Porting
See merge request espressif/esp-idf!18730
2022-07-01 14:35:44 +08:00
Darian
c9e7a799ee
Merge branch 'bugfix/freertos_event_group_unblock_race_condition' into 'master'
...
FreeRTOS: Fix event group task list race condition
See merge request espressif/esp-idf!18727
2022-07-01 14:14:45 +08:00
Mahavir Jain
311822da25
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
...
Idle tick hook that indicates completion of scheduler init must be launched
on other core than the one where main task runs. Earlier it was assumed that
main task shall always run on PRO cpu but that behavior can be changed with
ESP_MAIN_TASK_AFFINITY_CPU1 and hence this fix.
Closes https://github.com/espressif/esp-idf/issues/9247
Closes IDFGH-7705
2022-07-01 05:40:46 +00:00
Darian
100ee84b0f
Merge branch 'bugfix/freertos_smp_startup_race_cond' into 'master'
...
freertos: Add SMP FreeRTOS startup race condition workaround
Closes IDF-5284 and IDF-5288
See merge request espressif/esp-idf!18683
2022-07-01 12:14:24 +08:00
Island
c6fc5038eb
Merge branch 'bugfix/no_proxy_beacon_send_after_deinit' into 'master'
...
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
See merge request espressif/esp-idf!18079
2022-07-01 11:35:21 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Cao Sen Miao
d9b4b82edc
spi_flash: Modify documentations
2022-07-01 10:59:34 +08:00
Cao Sen Miao
64147c3794
CXX: Make spi_flash related part works
2022-07-01 10:59:34 +08:00
Cao Sen Miao
435bbb444c
spi_flash: move cache stuff to private
2022-07-01 10:59:34 +08:00
Jiang Jiang Jian
6264fe3f60
Merge branch 'bugfix/close_sniffer_mode_when_wifi_stop' into 'master'
...
wifi:bugfix for close sniffer mode when wifi stop
Closes WIFI-4536
See merge request espressif/esp-idf!18744
2022-07-01 10:42:09 +08:00
Darian Leung
0cf1fd3a5a
freertos: Add multi-core OS startup race condition workaround
...
FreeRTOS uses a single "xSchedulerRunning" variable to tack whether the
scheduler has started, and this variable is set to "pdTRUE" by core 0
via calling vTaskStartScheduler().
However, with SMP FreeRTOS, there is a race condition where core 0 has
already started the scheduler and another core has not called xPortStartScheduler()
yet and calls some FreeRTOS API. Thus the resultant FreeRTOS API can
cause errors as it thinks the scheduler has started.
This commit adds a temporary workaround (by having each core maintain their
own "xSchedulerRunning" variable.
2022-06-30 20:24:53 +08:00
Darian Leung
16e739a09e
freertos: Fix flakey event group unit test
...
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.
This commit updates the test so that
- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleand up by the main task
2022-06-30 20:19:39 +08:00
Darian Leung
1625a3aae2
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-06-30 20:12:26 +08:00
Armando
f0e93ed0f8
psram: reserve dma pool in the step of heap max block
...
As heap block may be allocated into multiple non-contiguous chunks, to
reserve enough memory for dma/internal usage, we do the malloc in the
step of max available block.
On ESP32 we use this way, this commit follows this way, on ESP32S2 and
ESP32S3
2022-06-30 10:18:20 +00:00
Omar Chebib
cd48baf979
Refactor: move regi2c_*.h header files from esp_hw_support to soc component
...
When creating G0 layer, some regi2c_*.h headers were moved out from
esp_hw_support (G1) to soc (G0). In order to be consistent with that change,
move all the remaining regi2c_*.h headers to soc too.
2022-06-30 09:40:44 +00:00
Zhang Xiao Yan
be4d13d888
Merge branch 'docs/add_chiptype_link_gpio' into 'master'
...
docs: Add chip target and link to gpio.h
Closes DOC-3169
See merge request espressif/esp-idf!18623
2022-06-30 17:12:04 +08:00
GengYuchao
10fd1daa10
Add ETM clk gate defines for h2
2022-06-30 17:02:00 +08:00
GengYuchao
95c8d775d0
Update lib for h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
e1d07c0cf2
Support H2 periodic advertiser list option on h2
2022-06-30 17:02:00 +08:00
GengYuchao
07a470bccc
Update ble lib for h2 beta1
2022-06-30 17:02:00 +08:00
GengYuchao
29a2c83173
Fix default option value
2022-06-30 17:02:00 +08:00
Jiang Jiang Jian
af83290002
Merge branch 'bugfix/fix_some_c2_ble_bugs' into 'master'
...
Fixed ESP32C2 BLE bugs
See merge request espressif/esp-idf!18693
2022-06-30 16:39:50 +08:00
xueyunfei
46a68f4d41
wifi:bugfix for close sniffer mode when wifi stop
2022-06-30 15:47:50 +08:00
wangjialiang
45adb0ef24
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-06-30 07:41:23 +00:00
David Čermák
5fcb860a10
Merge branch 'bugfix/lwip_gcc11_warnings' into 'master'
...
lw ip: suppress some GCC 11 warnings
See merge request espressif/esp-idf!18479
2022-06-30 13:48:47 +08:00
Jiang Jiang Jian
927f9e369a
Merge branch 'bugfix/fix_stale_pmf_config' into 'master'
...
Fix stale PMF config in NVS issue
See merge request espressif/esp-idf!18469
2022-06-30 12:32:10 +08:00
Mu Hai Dong
b0b44221ed
Merge branch 'bugfix/fix_deinit_init_connect_fail_issue' into 'master'
...
esp_wifi: clear phy calibrated flag when phy pd memory deinit
Closes WIFI-4467, WIFI-4555, and WIFI-4543
See merge request espressif/esp-idf!18716
2022-06-30 12:13:36 +08:00
Omar Chebib
fa9856c815
espsystem: add missing eh_frame sections on esp32c2
2022-06-30 02:51:37 +00:00
lsita
db90b512a1
Fix tinyusb_driver_install (dangling pointer)
2022-06-29 17:40:19 +02:00
Sudeep Mohanty
3cd2b67f84
Revert "hal: Fix incorrect spi_hal log usage"
...
This reverts commit a65165dd52
.
2022-06-29 14:52:28 +00:00
Adam Múdry
2dfaec3106
usb: Added MIDI example + fixed TinyUSB MIDI config
...
Closes https://github.com/espressif/esp-idf/issues/8541
2022-06-29 14:02:00 +00:00
gabsuren
d413a71f61
mdns: Remove internal component, examples, test and docs
2022-06-29 17:30:34 +04:00
0xFEEDC0DE64
d0c10eb83a
Fix datatype conversion compiler error #9254
2022-06-29 14:39:36 +02:00
Shu Chen
85c668b7c7
build: move build_from_src options to env
2022-06-29 20:26:50 +08:00
xiongweichao
9531fae1d3
Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
2022-06-29 19:56:47 +08:00
Euripedes Rocha
33fccf6405
[MQTT] - Adds esp-timer as dependency and change version.
...
- Current time is now from esp_timer.
2022-06-29 11:50:32 +00:00
Anton Maklakov
d2ce9abb2a
lwip: suppress some GCC 11 warnings
...
Closes https://github.com/espressif/esp-idf/issues/9142
2022-06-29 11:42:09 +00:00
Mahavir Jain
9ee26516a7
Merge branch 'fix/update_docs_for_hmac_api' into 'master'
...
esp_hmac: Fix documentation for API and Programming Guide
See merge request espressif/esp-idf!18703
2022-06-29 16:06:33 +08:00
Armando (Dou Yiwen)
e13d7f8351
Merge branch 'bugfix/s2_ap64_psram_crash_issue' into 'master'
...
psram: fix esp32s2 module with APS6404 PSRAM crash issue
Closes IDF-5361
See merge request espressif/esp-idf!18699
2022-06-29 11:19:17 +08:00
morris
85ab06440b
Merge branch 'bugfix/remove_dc_as_cmd_phase' into 'master'
...
spi_lcd: don't support dc_as_cmd_phase
Closes IDFGH-7026
See merge request espressif/esp-idf!18694
2022-06-29 10:50:36 +08:00
liqigan
3e3a0cdfdb
fix sink wrong sniff params which caused by HID porting
2022-06-29 10:11:56 +08:00
Ondrej Kosta
ed7afd8b73
Merge branch 'feature/eth_phy_common' into 'master'
...
ESP PHY structure refactor
Closes IDF-5149
See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
David Čermák
8678f9a9f4
Merge branch 'bugfix/esp_eth_test_hotfix' into 'master'
...
esp_eth: pytest_esp_eth CI timeout hotfix
See merge request espressif/esp-idf!18666
2022-06-28 23:11:26 +08:00
Eren Terzioglu
f6248ebf0d
esp/vfs: VFS semihosting interface support
2022-06-28 17:04:15 +03:00
Aditya Patwardhan
c6fe3ba7c6
esp_hmac: Fix documentation for API and Programming Guide
2022-06-28 12:47:28 +00:00
Kevin (Lao Kaiyao)
47266d7736
Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
...
touch_sensor: add description to distinguish the API on different target
Closes IDFGH-7499
See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
morris
489d14cf55
spi_lcd: don't support dc_as_cmd_phase
...
The current SPI hardware can't support 9bit SPI data format very well
(i.e. inserting an extra bit before each data byte)
Closes https://github.com/espressif/esp-idf/pull/8644
2022-06-28 17:11:31 +08:00
morris
602e154c12
Merge branch 'refactor/move_gdma_to_hw_support' into 'master'
...
dma: move from driver to hw_support
See merge request espressif/esp-idf!18706
2022-06-28 15:57:56 +08:00
Armando (Dou Yiwen)
4dbd2c7e30
Merge branch 'refactor/move_spi_necessary_private_headers' into 'master'
...
spi: move spi_common_internal to esp_private
See merge request espressif/esp-idf!18146
2022-06-28 15:51:22 +08:00
Marius Vikhammer
4ffb15916e
mac addr: fix wrong offset being used for C2 BT mac address
2022-06-28 15:30:24 +08:00
muhaidong
3ed30a515f
esp_wifi: clear phy calibrated flag when phy pd memory deinit
2022-06-28 15:03:11 +08:00
Marius Vikhammer
5b6fbe6a5c
Merge branch 'bugfix/ulp_fsm_cocpu_trap' into 'master'
...
ulp: only enable relevant wakeup sources for ULP
Closes IDFCI-1323
See merge request espressif/esp-idf!18616
2022-06-28 14:24:23 +08:00
Armando
63d4b52e21
psram: correct psram size log
2022-06-28 14:17:44 +08:00
Armando
c51c1a8651
mmu: fix wrong mmu entry id issue
2022-06-28 14:17:44 +08:00
Armando
31b3f31ef4
ext_mem: make memory region check strict
2022-06-28 14:17:44 +08:00
morris
7fd9a91034
dma: move from driver to hw_support
2022-06-28 14:17:12 +08:00
Marius Vikhammer
a8e9c6b8b2
esp_hw_support: always inline cpu_hal_set_vecbase
2022-06-28 05:53:27 +00:00
Mahavir Jain
827837dce3
Merge branch 'fix/tls-size-esp32c2_esp32c3_esp32h2' into 'master'
...
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
Closes IDFCI-1312, IDFGH-7652, and IDF-1944
See merge request espressif/esp-idf!18554
2022-06-28 13:52:28 +08:00
Mahavir Jain
34e9f54a48
Merge branch 'bugfix/rsa_gen_key_test_c2' into 'master'
...
RSA: only run generate key test if we have MPI HW support
Closes IDFCI-1326
See merge request espressif/esp-idf!18704
2022-06-28 12:57:10 +08:00
morris
eebcce87b9
Merge branch 'feature/esp_lcd_bounce_buffers' into 'master'
...
Add bounce buffer support to esp_lcd
See merge request espressif/esp-idf!17894
2022-06-28 11:56:22 +08:00
Jeroen Domburg
5f8666afb8
Add bounce buffer support to esp_lcd
2022-06-28 11:56:22 +08:00
laokaiyao
d5e55e0563
touch_sensor: add description to distinguish the API on different target
...
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
Marius Vikhammer
61691e332f
RSA: only run generate key test if we have MPI HW support
...
Test would take too long and time out on C2.
2022-06-28 09:39:43 +08:00
Martin Vychodil
0b0befc2a6
Merge branch 'fix/fatfs_ssize_undefined' into 'master'
...
fatfs: Fix undefined ssize member of FATFS struct
Closes IDFGH-7483
See merge request espressif/esp-idf!18667
2022-06-28 07:49:45 +08:00
Martin Vychodil
cd7355007d
Merge branch 'bugfix/app_trace_iram' into 'master'
...
apptrace: move all apptrace related functions to IRAM
Closes IDFGH-7571 and IDFGH-7664
See merge request espressif/esp-idf!18646
2022-06-27 17:46:30 +08:00
Ondrej Kosta
08f421a091
esp_eth: pytest_esp_eth CI timeout hotfix
2022-06-27 11:21:31 +02:00
Adam Múdry
0fac7d1c02
fatfs: Fix undefined ssize member of FATFS struct
2022-06-27 08:57:58 +00:00
zwj
ed593ba168
update ble lib (444e4a2b)
...
- fix rpa entry err if addr resol is disabled
- fix aux connect crash
2022-06-27 14:50:26 +08:00
zwj
004918adbe
fix BLE sleep can not be enabled
2022-06-27 14:21:11 +08:00
Nachiket Kukade
2efe4b791d
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-06-27 11:37:59 +05:30
Alexey Lapshin
69b317368e
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-06-27 03:29:08 +00:00
Shu Chen
a9cccfe317
Merge branch 'bugfix/otbr-example-config' into 'master'
...
openthread: update OpenThread submodule
See merge request espressif/esp-idf!18560
2022-06-25 10:31:18 +08:00
Armando
f31d88e3fe
spi: move spi_common_internal to esp_private
2022-06-24 19:12:13 +08:00
Mahavir Jain
c619e2162d
Merge branch 'feature/memprot_settings_to_soc_caps' into 'master'
...
esp_system: move MEMPROT related configuration to soc capability header
Closes IDF-4506
See merge request espressif/esp-idf!18645
2022-06-24 18:08:19 +08:00
Linda
ca7138e653
docs:add chiptype and link to gpio.h
2022-06-24 17:13:15 +08:00
Erhan Kurubas
480e2ab149
esp32c2: check ocd mode before configure memprot
2022-06-24 09:13:02 +03:00
Ondrej Kosta
43f3904304
esp_eth: IEEE 802.3 PHY MII Management Interface functionality grouped to one common file
2022-06-24 05:51:44 +00:00
Darian
26ca7cbaed
Merge branch 'feature/update_smp_freertos_porting_notes' into 'master'
...
freertos: Update SMP FreeRTOS porting notes
See merge request espressif/esp-idf!18632
2022-06-24 13:33:44 +08:00
Marius Vikhammer
059a0713d7
Merge branch 'bugfix/reenable_c2_system_tests' into 'master'
...
system: enable misc system examples and unit tests for C2
Closes IDF-5054, IDF-5048, IDF-5142, and IDF-5051
See merge request espressif/esp-idf!18533
2022-06-24 12:12:11 +08:00
Marius Vikhammer
50cfd7de22
Revert "Merge branch 'fix/esptool_esp32c2_minrev' into 'master'"
...
This reverts merge request !18633
2022-06-24 11:37:23 +08:00
Marius Vikhammer
42aa4ee3d4
ulp: only enable relevant wakeup sources for ULP
...
Do not enable co-processor trap wakeup source when running ULP FSM, as this
could cause spurious wake-ups.
2022-06-24 02:30:29 +00:00
Darian
7ea4b9d408
Merge branch 'feature/freertos_smp_reduce_iram_usage' into 'master'
...
FreeRTOS: Move some SMP FreeRTOS functions to flash
See merge request espressif/esp-idf!18581
2022-06-24 06:29:54 +08:00
Zim Kalinowski
22ff8c7f78
Merge branch 'feature/update_freertos_kernel_source' into 'master'
...
freertos-smp: update FreeRTOS SMP kernel
Closes IDF-5256
See merge request espressif/esp-idf!18624
2022-06-24 04:19:04 +08:00
Zim Kalinowski
974151bd31
Merge branch 'feature/freertos-smp-rsa-timeouts' into 'master'
...
freertos: adjust rsa test timeouts for SMP
Closes IDF-5253
See merge request espressif/esp-idf!18585
2022-06-23 21:27:36 +08:00
Ivan Grokhotkov
87180907f7
Merge branch 'bugfix/nvs_part_ptr_wrong_init' into 'master'
...
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
Closes IDFGH-7503 and IDFGH-7152
See merge request espressif/esp-idf!18503
2022-06-23 21:23:39 +08:00
Sudeep Mohanty
2c7b4cf8d5
Merge branch 'bugfix/fix_legacy_pcnt_driver_test_with_freertos_smp' into 'master'
...
freertos-smp: Fix legacy_pcnt_driver for FreeRTOS SMP config
Closes IDF-5274
See merge request espressif/esp-idf!18631
2022-06-23 20:19:08 +08:00
Mahavir Jain
dd24639215
Merge branch 'esp32h2/enable_ecc_accelerator' into 'master'
...
esp32h2: Enable ECC accelerator
Closes IDF-3397
See merge request espressif/esp-idf!18647
2022-06-23 20:06:26 +08:00
Sudeep Mohanty
e3e2ac979a
freertos-smp: update FreeRTOS SMP kernel
...
This commit updates the FreeRTOS SMP kernel to commit id 2eff03708
from the upstream smp branch, which is the latest as on date.
2022-06-23 11:56:20 +00:00
Mahavir Jain
9cbf34b53d
Merge branch 'bugfix/configure_link_encryption_for_charac' into 'master'
...
WifiProv: Add configuration support for forcing link encryption
Closes https://github.com/espressif/esp-idf/issues/9201
Closes IDFGH-7649
See merge request espressif/esp-idf!18620
2022-06-23 19:46:47 +08:00
Roland Dobai
6d762ec8b6
Merge branch 'fix/esptool_esp32c2_minrev' into 'master'
...
tools: Generate images for ESP32-C2 with required minimal revision
See merge request espressif/esp-idf!18633
2022-06-23 19:25:35 +08:00