Sudeep Mohanty
a0991dfffa
freertos-smp: Enabled static task cleanup for RISC-V targets with FreeRTOS SMP
...
This commit enables static task clean up for RISC-V targets with
FreeRTOS SMP.
2022-11-10 13:40:40 +01:00
Krzysztof Budzynski
acedae1313
Merge branch 'docs/fix-typo-touch-pad-esp32s2-esp32s3' into 'master'
...
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
Closes DOC-4065
See merge request espressif/esp-idf!20956
2022-11-10 19:24:04 +08:00
Darian Leung
915787249a
freertos(IDF): Provide default value to configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS
...
This commit updates how configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS is defined
by default it to 0 if not defined elsewhere. Dependent code now check for
"configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS == 1" instead.
2022-11-10 18:37:42 +08:00
Darian Leung
fce4ee0b80
freertos(IDF): Sync cosmetic differences to v10.4.3
...
This commit synchronize the cosmetic differences of IDF FreeRTOS to upstream
Vanilla v10.4.3. Comsetic differences include:
- Out of date doxygen API descriptions
- Misnamed parameters
- Missing examples
- Fixed/added missing @cond/@code directives
- Extra/missing comments/lines
- Code formatting (uncrustify)
Other changes:
- Some ESP_PLATFORM directives were also removed
- xTaskIncrementTickOtherCores() now depends on "configNUM_CORES > 1"
- Updated some multi-core dummy variable names in FreeRTOS.h
2022-11-10 18:37:42 +08:00
jiangguangming
618dfaa67a
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-10 16:57:28 +08:00
jiangguangming
8f807d8964
bootloader_support: fix uart1 no printing in the 2nd bootloader stage
2022-11-10 16:24:26 +08:00
wanlei
45cf44e5c8
test: move 'driver/test/esp_serial_slave_link' to 'driver/test-apps/components' and make it be a component
2022-11-10 16:02:03 +08:00
wanlei
f31ecbb42b
test: move spi related unit-test into pytest app
2022-11-10 16:02:03 +08:00
Darian Leung
5e5a40f7ac
freertos: Add Amazon SMP FreeRTOS unit test configuration
2022-11-10 16:01:15 +08:00
wanlei
312bc6cb3a
test: make 'test_common_spi' as a components named 'test_utils_spi'
2022-11-10 15:51:29 +08:00
Vilem Zavodny
747c5993a8
esp_lcd: Add function for register on color done callback.
2022-11-10 08:37:46 +01:00
lly
279ddd2ee9
ble_mesh: stack: Fix typo in directly erase settings event
2022-11-10 06:44:51 +00:00
Darian Leung
ae3383ddc5
freertos: Remove/restore queue locks for multi-core/single-core
...
This commit removes the updates the usage of queue locks in IDF FreeRTOS
Queue locks are present in Vanilla FreeRTOS to ensure that queue functions
behave deterministicly in critical sections (i.e., no walking linked lists
while interrupts are disabled). However, currently in IDF FreeRTOS...
- When configNUM_CORES > 1, IDF FreeRTOS drops the determinism requirement.
Thus, queue functions could be simplified if queue locks were not used at all
(and have a queue function do everything inside the same critical section).
- When configNUM_CORES == 1, the current queue implementation in IDF FreeRTOS
does not meet the determinism requirements, as critical sections are used
(instead of scheduler suspension) when locking/unlocking the queues.
There, this commit updates multiple queue functions so that
- When configNUM_CORES > 1
- Queue locks are no longer used. All actions are done within the same
critical section.
- Affected queue functions now need 40% less CPU clock cycles when blocking
- When configNUM_CORES = 1
- Queue locks are still used.
- Vanilla behavior of suspending the scheduler is restored when locking
the queue. Thus queue fucntions are now deterministic and have the same
behavior as Vanilla FreeRTOS.
- Affected queue functions now takes 36% more CPU clock cycles when
blocking (due to the scheduler suspension/resumption).
2022-11-10 14:39:47 +08:00
Kapil Gupta
93dd1b2175
Merge branch 'bugfix/fixing_memory_leak_in_wps_scan_master' into 'master'
...
Adds improvements to esp_wps code to cover up potential memory leaks.
See merge request espressif/esp-idf!20741
2022-11-10 12:39:26 +08:00
Jiang Jiang Jian
812b9b3221
Merge branch 'bugfix/fix_softap_not_send_null_data_issue' into 'master'
...
esp_wifi:fix some soft ap issues
Closes WIFI-4447
See merge request espressif/esp-idf!19336
2022-11-10 12:08:11 +08:00
Chen Yudong
074e3f39de
CI: Migrate wifi unit tests to componment_ut
2022-11-10 01:17:10 +08:00
muhaidong
cc4be9946d
esp_wifi: fix some softap issues
...
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-11-09 20:47:44 +08:00
Armando
aba9f80cd2
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-09 20:15:17 +08:00
Kevin (Lao Kaiyao)
5bed8fab49
Merge branch 'refactor/rename_h2_to_h4' into 'master'
...
esp32h2: renaming esp32h2 to esp32h4
Closes IDF-6098
See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
morris
7c1ed22ba2
Merge branch 'feature/bringup_spiflash_esp32c6' into 'master'
...
spi_flash: bringup driver for esp32c6
Closes IDF-5333, IDF-4066, IDF-5631, and IDF-5659
See merge request espressif/esp-idf!20692
2022-11-09 18:36:00 +08:00
Michael (XIAO Xufeng)
34e434451a
Merge branch 'bugfix/esp32s3_efuse_wafer_major' into 'master'
...
esp32s3: fixed bug chip v0.0 detected as vX.0
See merge request espressif/esp-idf!20947
2022-11-09 18:20:31 +08:00
Mahavir Jain
b168ba98ae
esp_ds: remove requirement of aligned and DMA capable buffer
...
API `esp_ds_encrypt_params` do not require aligned and DMA capable
output buffer for C3/S3/H2/C6. Implementation in ROM code has been
updated to remove usage of DMA mode.
This commit updates the API documentation.
2022-11-09 15:24:36 +05:30
Mahavir Jain
322301238f
esp_https_server: fix build failure due to syntax error
2022-11-09 15:11:22 +05:30
Marius Vikhammer
b544fae3b5
Merge branch 'bugfix/esp_timer_isr_dispatch_test_fail' into 'master'
...
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
Closes IDFCI-1514
See merge request espressif/esp-idf!21006
2022-11-09 16:45:19 +08:00
Alexey Gerenkov
dbc3409d6c
Merge branch 'bugfix/fix_asm_xtensa_vectors' into 'master'
...
freertos: fix gnu asm extensions.
See merge request espressif/esp-idf!19167
2022-11-09 16:28:50 +08:00
Sudeep Mohanty
0744f4d5a5
freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option
...
This commit removes the unused FreeRTOS kconfig option
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION.
2022-11-09 08:14:16 +01:00
Harshit Malpani
784089bf09
esp_https_ota: Added support for esp_events
2022-11-09 12:30:50 +05:30
Akos Vandra
b60a9e6678
add alpn initializer in esp https server default
2022-11-09 07:55:26 +01:00
Jiang Jiang Jian
e6c57c0d14
Merge branch 'bugfix/modify_wifi_scan_return_value' into 'master'
...
esp_wifi: modify wifi scan return value
Closes WIFI-4734, IDFGH-8236, IDFGH-8250, IDFGH-8436, DOC-3115, DOC-3134, IDFGH-5762, WIFI-4522, and WIFI-4523
See merge request espressif/esp-idf!20021
2022-11-09 13:55:42 +08:00
Jiang Jiang Jian
9be51458ba
Merge branch 'bugfix/wpa_enterprise_reauth' into 'master'
...
esp_wifi: Fix WiFi Enterprise Reauthentication issue
See merge request espressif/esp-idf!20601
2022-11-09 13:53:14 +08:00
Rahul Tank
2a6e789163
Merge branch 'bugfix/notify_gattc_to_gatts' into 'master'
...
NimBLE : Change GATT notify/indicate from gattc to gatts
See merge request espressif/esp-idf!20872
2022-11-09 13:43:03 +08:00
Cao Sen Miao
d9f01ed43c
spi_flash: bringup for esp32c6
2022-11-09 12:50:46 +08:00
Marius Vikhammer
8d24aa1760
ci: fix esp_timer 26 MHz not being assigned to correct runner
2022-11-09 12:30:46 +08:00
muhaidong
e972161b7a
esp_wifi: Modify wifi scan return value.
...
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-09 11:43:09 +08:00
zhangyanjiao
c8d0704f1c
update doc for set channel
2022-11-09 11:42:26 +08:00
zhangyanjiao
3f87a9824a
update wifi reason code
2022-11-09 11:42:26 +08:00
Marius Vikhammer
e9671ee04f
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
2022-11-09 11:17:35 +08:00
Jiang Jiang Jian
5f0cb567cb
Merge branch 'bugfix/wapi_gtk_gcmp_frag_pn' into 'master'
...
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
Closes WIFI-3799 and WIFI-5009
See merge request espressif/esp-idf!20986
2022-11-09 11:04:55 +08:00
Zim Kalinowski
d2d0294714
Merge branch 'bugfix/idf_ci_build_is_not_set' into 'master'
...
ci: Fix environment variable IDF_CI_BUILD is not set
See merge request espressif/esp-idf!20944
2022-11-09 00:47:50 +08:00
Ondrej
0f939e7ace
esp_netif: lwIP bridge FDB add entry minor fix
...
examples: extended Bridge example by interactive console to manage FDB entries
2022-11-08 14:16:21 +00:00
Shreyas Sheth
7de54eabf4
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-08 18:10:28 +05:30
KonstantinKondrashov
1a9ca94ac6
ci: Fix environment variable IDF_CI_BUILD is not set
2022-11-08 18:23:39 +08:00
Mahavir Jain
a2616c0ab5
protocomm: fix multiple coverity warnings
...
- comparing array with NULL
- dereferencing null pointer
- resource leak
2022-11-08 15:50:42 +05:30
Mahavir Jain
afe159bfb9
esp_https_server: fix coverity warning about null pointer dereference
2022-11-08 15:45:44 +05:30
alex.li
67c557f9c4
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-11-08 17:31:44 +08:00
Mahavir Jain
bdefd7fb6b
Merge branch 'esp32c6/add_ecc_support' into 'master'
...
esp32c6: Add support for ECC peripheral
Closes IDF-5820
See merge request espressif/esp-idf!20950
2022-11-08 17:06:53 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
isha.pardikar@espressif.com
b950ddb0fd
NimBLE : Change GATT notify/indicate from gattc to gatts
2022-11-08 14:02:54 +05:30
Jiang Jiang Jian
895d97d765
Merge branch 'feature/add_target_esp32c2_external_coex' into 'master'
...
Support external coexist formal code for C2 & S3, and optimize RX category in external coex.
Closes WIFI-4870
See merge request espressif/esp-idf!18385
2022-11-08 14:38:17 +08:00
C.S.M
86aa012c26
Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
...
I2C: Add i2c support for ESP32C6
Closes IDF-5326 and IDF-5327
See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
alex.li
f463f00454
esp_wifi: Support external coex for C2 & H2.(59313b6c)
2022-11-08 11:31:30 +08:00
alex.li
bc392a87b1
Support external coexist formal code for C2 & S3,
...
and optimize RX category in external coex.
2022-11-08 11:11:41 +08:00
Rahul Tank
e085cfd310
Merge branch 'bugfix/fix_BLE_UUIDy_int_struct_format' into 'master'
...
Nimble: Allows to use `ble_uuid.h` with C++ by changing the BLE_UUIDy_INIT macros
See merge request espressif/esp-idf!19729
2022-11-08 08:20:48 +08:00
Zim Kalinowski
98ff59b394
Merge branch 'bugfix/fix_stack_overflow_on_s3_with_freertos_smp' into 'master'
...
freertos-smp: Fixed stack overflow on esp32s3 with FreeRTOS SMP
Closes IDF-5509 and IDF-4982
See merge request espressif/esp-idf!20932
2022-11-08 03:36:49 +08:00
Jiang Jiang Jian
48e2f381d4
Merge branch 'contrib/github_pr_10082' into 'master'
...
esp_wifi: Fix deprecated CONFIGs still being used, causing WiFi to not work when SPIRAM is enabled (GitHub PR)
Closes IDFGH-8637
See merge request espressif/esp-idf!20893
2022-11-07 23:07:24 +08:00
Akos Vandra
df5a25aa40
allow https server to accept and pass thru alpn protocols to the underlying esp-tls server
2022-11-07 15:27:00 +01:00
Zim Kalinowski
94c0e3bbe2
Merge branch 'bugfix/share_intr' into 'master'
...
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
See merge request espressif/esp-idf!20936
2022-11-07 18:34:53 +08:00
morris
f69a53f56d
Merge branch 'feature/twai_bringup_esp32c6' into 'master'
...
TWAI: initial driver bring up on esp32c6 (TWAI0 only)
Closes IDF-5313 and IDF-5940
See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
morris
9f18a0bb5b
Merge branch 'doc/explain_ledc_callback_return_value' into 'master'
...
ledc: explain the callback return value
Closes IDFGH-8647
See merge request espressif/esp-idf!20916
2022-11-07 17:55:59 +08:00
Zim Kalinowski
9da7deaa7c
Merge branch 'task/update_freertos_smp_kernel_source' into 'master'
...
freertos-smp: Updated the FreeRTOS SMP kernel source to the latest commit
See merge request espressif/esp-idf!20911
2022-11-07 17:32:37 +08:00
muhaidong
4953f59b25
esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM
2022-11-07 17:09:00 +08:00
Ronen Ulanovsky
ccd5a5a866
esp_wifi: replace deprecated CONFIGS with their new versions. Also
...
fixes WiFi when SPIRAM is enabled in certain non esp-idf projects.
2022-11-07 17:08:45 +08:00
Sudeep Mohanty
9bb8f0e38d
freertos-smp: Fixed stack overflow on esp32s3 with FreeRTOS SMP
...
The following changes have been made in this commit:
1. configMINIMAL_STACK_SIZE is now defined as CONFIG_FREERTOS_IDLE_TASK_STACKSIZE.
2. Removed configIDLE_TASK_STACK_SIZE config as it was redundant.
3. Updates the order of allocating the TCB and stack memory to avoid the
stack memory overriding the TCB memory when the stack grows downwards.
4. CONFIG_FREERTOS_IDLE_TASK_STACKSIZE is now incorporated into the
FreeRTOSConfig_smp.h to configure the IDLE0 stack size.
2022-11-07 09:59:02 +01:00
Zim Kalinowski
9d93585f8e
Merge branch 'feature/esp_timer_migrate_from_ut_app_to_test_app' into 'master'
...
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app
Closes IDF-5585
See merge request espressif/esp-idf!20760
2022-11-07 16:27:50 +08:00
Sudeep Mohanty
b05bcf465e
Merge branch 'bugfix/reapply_commit_a65165dd5' into 'master'
...
hal: Fix incorrect spi_hal log usage
Closes IDF-5275 and IDF-5276
See merge request espressif/esp-idf!20939
2022-11-07 16:04:19 +08:00
Jiang Jiang Jian
0c8272b2e0
Merge branch 'feature/optimize_blufi_example' into 'master'
...
blufi: optimize example to send more information
Closes IDFGH-6842 and IDFGH-6809
See merge request espressif/esp-idf!19853
2022-11-07 15:09:58 +08:00
Rahul Tank
1d322f9a8c
Nimble: Allows to use ble_uuid.h
with C++ by changing the BLE_UUIDy_INIT macros
2022-11-07 12:25:34 +05:30
Linda
5406c80d99
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
2022-11-07 14:32:26 +08:00
Cao Sen Miao
803fc3fbe0
I2C: Add i2c support for ESP32C6
2022-11-07 14:12:53 +08:00
Jiang Jiang Jian
9d7facf284
Merge branch 'remove_deprecated_rc4' into 'master'
...
Removed some occurences of the RC4 cipher suite
Closes IDF-4983
See merge request espressif/esp-idf!19856
2022-11-07 13:57:51 +08:00
Darian
598dd5f261
Merge branch 'feature/usb_host_inflight_transfer_check' into 'master'
...
USB Host: Fix usbh_dev_open(), Fix usbh_ep_alloc(), Add USB Host Library check to prevent resubmitting inflight transfers
Closes IDFGH-7145
See merge request espressif/esp-idf!20688
2022-11-07 13:39:07 +08:00
jgujarathi
2272350820
(esp_wifi) : Adds improvements to esp_wps.c to cover up potential memory leaks.
2022-11-07 10:53:44 +05:30
Sachin Parekh
69c8df5e49
esp32c6: Add support for ECC peripheral
2022-11-07 10:42:33 +05:30
liuning
785248b3c7
blufi: update version to 1.3
...
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-11-07 13:11:20 +08:00
zhangyanjiao
a37e3b5271
esp_wifi: report rssi info in wifi event
2022-11-07 13:11:14 +08:00
Jiang Jiang Jian
ed36caabfd
Merge branch 'bugfix/fix_long_time_to_get_ip' into 'master'
...
LWIP: fix the bug that long time to get IP
Closes WIFI-4932
See merge request espressif/esp-idf!20656
2022-11-07 12:17:26 +08:00
Jiang Jiang Jian
6700c041e9
Merge branch 'bugfix/check_ies_in_match_security' into 'master'
...
Adding check for ies in match security
Closes WIFI-4720
See merge request espressif/esp-idf!20537
2022-11-07 11:19:08 +08:00
Michael (XIAO Xufeng)
32ef2b321a
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2022-11-06 02:37:32 +08:00
KonstantinKondrashov
9f41525d99
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app
2022-11-05 22:53:38 +08:00
Mahavir Jain
960a84db47
Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled' into 'master'
...
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
Closes IDF-6136
See merge request espressif/esp-idf!20805
2022-11-04 20:38:24 +08:00
gauri patankar
ef80cf0b65
Adding check for ies in match security
2022-11-04 17:01:30 +05:30
Zim Kalinowski
b354b457c8
Merge branch 'feature/freertos_smp_enable_static_task_cleanup' into 'master'
...
freertos-smp: Enable static task cleanup
See merge request espressif/esp-idf!20870
2022-11-04 19:18:03 +08:00
Kevin (Lao Kaiyao)
48b23b7c46
Merge branch 'feature/support_4_line_pdm_rx_on_esp32s3' into 'master'
...
i2s: support 4 line pdm rx on esp32s3
Closes IDF-6120
See merge request espressif/esp-idf!20753
2022-11-04 18:44:52 +08:00
Zim Kalinowski
8184f03115
Merge branch 'bugfix/esp_rom_const_correctness' into 'master'
...
esp_rom: Fixed writable string issue on Linux implementation
Closes IDF-6187
See merge request espressif/esp-idf!20925
2022-11-04 18:16:33 +08:00
morris
a83165fea0
twai: add initial version of driver component test
2022-11-04 17:40:29 +08:00
morris
a25123f703
twai: bringup on esp32c6
2022-11-04 17:40:29 +08:00
morris
6828c011d9
twai: define clock source name
...
twai clock source is target-specific,
this commit is to define them in the soc layer
2022-11-04 17:40:29 +08:00
morris
f02facbe28
twai: describe peripheral info
...
Describe peripheral informations in the twai_peirph.c, including:
Interrupt number, GPIO matrix signal ID, etc
2022-11-04 17:40:29 +08:00
Rahul Tank
6b213b2c2a
Merge branch 'bugfix/fix_compilation_issue_blufi' into 'master'
...
Blufi: Corrected macro used in memcpy to copy address
See merge request espressif/esp-idf!20929
2022-11-04 17:34:27 +08:00
Jiang Jiang Jian
8facf6fbb1
Merge branch 'feature/support_le_power_control' into 'master'
...
Nimble: Add LE Power control HCI Command / Event
See merge request espressif/esp-idf!15773
2022-11-04 17:21:19 +08:00
Jiang Jiang Jian
6fb6bdf6dd
Merge branch 'bugfix/wpa_sm_cleanup' into 'master'
...
esp_wifi: Remove unnecessary function pointers from wpa_sm_init
See merge request espressif/esp-idf!19833
2022-11-04 16:45:42 +08:00
Darian Leung
cf4fea3206
hal: Fix incorrect spi_hal log usage
...
esp_flash_init_main() can be during startup before the OS has started, thus should use
the EARLY version of logging.
2022-11-04 09:07:30 +01:00
Michael (XIAO Xufeng)
c546de8d82
Merge branch 'feature/apply_new_version_logic' into 'master'
...
all: Apply new version logic (major * 100 + minor)
Closes IDF-4932 and IDF-4939
See merge request espressif/esp-idf!18787
2022-11-04 16:01:32 +08:00
laokaiyao
fa9b022f68
i2s: support 4 line pdm rx on esp32s3
2022-11-04 15:46:34 +08:00
Ivan Grokhotkov
b14116ff95
Merge branch 'feature/partition_api_new_component_2' into 'master'
...
Storage: Partition APIs moved to the new component 'esp_partition'
Closes IDF-1234
See merge request espressif/esp-idf!20747
2022-11-04 14:59:08 +08:00
Marius Vikhammer
1d5d624605
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
...
Mark the vector descriptor source as freed.
2022-11-04 06:39:00 +00:00
Darian
7b90c608fa
Merge branch 'bugfix/freertos_fix_flakey_delay_tests' into 'master'
...
FreeRTOS: Fix flakey vTaskDelayUntil() test
See merge request espressif/esp-idf!20931
2022-11-04 14:24:27 +08:00
Mahavir Jain
4b6d9c8ad3
Merge branch 'feature/esp_tls_add_cert_selection_callback' into 'master'
...
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access...
Closes IDFGH-8363 and IDFGH-8340
Closes https://github.com/espressif/esp-idf/issues/9815
See merge request espressif/esp-idf!20690
2022-11-04 12:47:17 +08:00
laokaiyao
9b8a78153f
i2s: refactor soc caps
2022-11-04 12:31:12 +08:00
Jiang Jiang Jian
4c8f4ff0fd
Merge branch 'feature/bss_retry_cnt' into 'master'
...
esp_wifi: Add config option for AP retry count
See merge request espressif/esp-idf!20879
2022-11-04 12:22:50 +08:00
Kevin (Lao Kaiyao)
75e6c1f3d5
Merge branch 'refactor/unify_adc_dac_api_format' into 'master'
...
dac: update API and file format aligning to the rule
See merge request espressif/esp-idf!20920
2022-11-04 11:29:18 +08:00
Jakob Hasse
a995c83060
Merge branch 'feature/freertos_linux_target_add_features' into 'master'
...
freertos/linux: added event group and stream buffer
Closes IDF-6007
See merge request espressif/esp-idf!20878
2022-11-03 19:05:06 +08:00
Jakob Hasse
44aa3c3a7f
bugfix(esp_rom): Fixed writable string issue on Linux implementation
2022-11-03 11:45:19 +01:00
Rahul Tank
4641f84998
Nimble: Corrected macro used in memcpy to copy address
2022-11-03 15:59:16 +05:30
Darian Leung
95cfd32871
freertos: Fix flakey task delay tests
...
This commit fixes flakey task delay tests when running on IDF FreeRTOS. IN IDF
FreeRTOS, core 1's tick interrupts could be up to (< 1 tick) out of phase from
core 0's tick interrupt, thus the measured delay time on core 1 could last 1
tick longer. This commit makes the test detla 2 ticks for IDF FreeRTOS.
2022-11-03 18:22:58 +08:00
morris
89d0172488
Merge branch 'feature/esp32c6_rom_support_more_components' into 'master'
...
esp_rom: update esp32c6 rom caps
Closes IDF-5632
See merge request espressif/esp-idf!20899
2022-11-03 17:06:15 +08:00
Michael (XIAO Xufeng)
f2aa736c7b
esp32c2: put v2.0 back to development stage
2022-11-03 08:36:23 +00:00
KonstantinKondrashov
1f9260d790
all: Apply new version logic (major * 100 + minor)
2022-11-03 08:36:23 +00:00
Aditya Patwardhan
14e64783e7
esp-tls/Kconfig: Fix dependency for ESP-TLS Server menuconfig option
2022-11-03 07:17:05 +00:00
Aditya Patwardhan
8ad4de7991
esp-tls: Add changes to the Cert selection callback PR.
2022-11-03 07:17:05 +00:00
Akos Vandra
e9e3dc7904
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access to required information so that the application can make a more informed decision on which certificate to serve (such as alpn value, server certificate type, etc.)
...
Closes https://github.com/espressif/esp-idf/pull/9833
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-11-03 07:17:05 +00:00
Sudeep Mohanty
4bc6b9ed7e
freertos-smp: Updated the FreeRTOS SMP kernel source to the latest commit
...
This commit updates the FreeRTOS SMP source to the latest upstream
source at commit 8128208bdee1f997f83cae631b861f36aeea9b1f
2022-11-03 08:01:44 +01:00
Darian
3c18cc482c
Merge branch 'refactor/freertos_uncrustify_code_formatting' into 'master'
...
FreeRTOS: Uncrustify source code using upstream configuration
See merge request espressif/esp-idf!20722
2022-11-03 14:19:00 +08:00
laokaiyao
2cccf3a804
dac: update API and file format aligning to the rule
2022-11-03 13:04:50 +08:00
zhangyanjiao
ff54ae22f7
lwip: fix the bug that long time to get IP
...
Closes WIFI-4932
2022-11-03 12:01:13 +08:00
Chen Jian Xing
4beea93a0e
Merge branch 'optimization/lwip_dhcp_fine_timer' into 'master'
...
lwip timer:optimization dhcp fine timer
Closes AUD-4073
See merge request espressif/esp-idf!20409
2022-11-03 11:51:32 +08:00
morris
999a3d5e6b
ledc: explain the callback return value
...
Closes https://github.com/espressif/esp-idf/issues/10093
2022-11-03 11:01:47 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
David Cermak
dc1f6b3aef
tcp_transport: Fix error propagation on tcp_read()
2022-11-02 18:43:57 +01:00
jiangguangming
15c8f296f4
esp_rom: move esp_rom_spiflash_write_disable to esp32c6.rom.ld
2022-11-02 08:14:58 -07:00
jiangguangming
a8df72745b
esp_rom: esp32c6 rom newlib support normal-formatting version
2022-11-02 08:14:52 -07:00
jiangguangming
14e974fd44
esp_rom: esp32c6 support spiflash driver rom implementation
2022-11-02 08:11:49 -07:00
Sudeep Mohanty
54d0d870a6
Merge branch 'feature/remove_pthread_tls_cleanup_dependency_on_freertos' into 'master'
...
pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook
Closes IDF-4955
See merge request espressif/esp-idf!20869
2022-11-02 21:00:50 +08:00
Darian Leung
ef45a3df7f
freertos: Uncrustify IDF FreeRTOS
...
This commit uncrustifies IDF FreeRTOS source files using the upstream provided
uncrustify.cfg files.
2022-11-02 19:49:40 +08:00
Darian Leung
4b2c8c591b
freertos: Add uncrustiy config files for IDF FreeRTOS v10.4.3
...
This commit adds a copy of upstream vanilla FreeRTOS uncrustify.cfg files from
the following upstream commit:
89e4823a49
Note: "pp_indent_brace" is commented out as that was enabled after v10.4.3
Also also added a note in the ESP-IDF style guide aobut formatting FreeRTOS
source code using Uncrustify.
2022-11-02 19:42:19 +08:00
Sudeep Mohanty
defd6c4ec1
freertos-smp: Enable static task cleanup
...
This commit enables Static task cleanup feature for FreeRTOS SMP.
2022-11-02 11:24:07 +01:00
Tomas Rezucha
d861fdc947
Merge branch 'feature/move_tinyusb_to_pacman' into 'master'
...
tinyusb: Use TinyUSB from component registry
See merge request espressif/esp-idf!20677
2022-11-02 17:42:53 +08:00
Sudeep Mohanty
b3755b751e
pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook
...
This commit removes the need to define the vTaskCleanupTCB hook in
pthread to cleanup the thread-specific data before a thread is deleted.
2022-11-02 09:52:28 +01:00
Darian
8416f0f540
Merge branch 'refactor/freertos_streambuffer_lock_initialization' into 'master'
...
FreeRTOS: Refactor stream buffer spinlock initialization
See merge request espressif/esp-idf!20867
2022-11-02 16:21:32 +08:00
Konstantin Kondrashov
b027332777
Merge branch 'bugfix/time_jump_after_reboot' into 'master'
...
esp_hw_support: Fix time jump after reboot
Closes IDFGH-7930
See merge request espressif/esp-idf!20839
2022-11-02 15:40:20 +08:00
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
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