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
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
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