Fu Hanxi
4f3610f957
Merge branch 'ci/upload_elf_map_to_minio' into 'master'
...
ci: upload elf map file to s3 server to reduce artifacts size
Closes IDFCI-1385
See merge request espressif/esp-idf!19756
2022-08-30 01:06:11 +08:00
Mahavir Jain
8b8d525a6c
vfs: use recommended esp_cpu_dbgr_is_attached
API
...
This fixes deprecation warning with earlier API
`cpu_hal_is_debugger_attached`.
2022-08-29 22:15:11 +05:30
Jiang Jiang Jian
8d9c51f76d
Merge branch 'feature/add_txpwr_api_on_esp32c2' into 'master'
...
add set/get txpwr api for esp32c2
See merge request espressif/esp-idf!19520
2022-08-29 23:35:25 +08:00
Roland Dobai
1a006cb718
Merge branch 'feature/freertos_smp_sysview' into 'master'
...
sysview: Adds FreeRTOS SMP port
Closes IDF-4995
See merge request espressif/esp-idf!18615
2022-08-29 23:09:42 +08:00
Zhi Wei Jian
4a5662bc25
Merge branch 'feature/add_qa_test_funcs' into 'master'
...
Add QA test Functions for esp32
See merge request espressif/esp-idf!19735
2022-08-29 21:04:02 +08:00
Martin Vychodil
38acc3f7bf
Merge branch 'feature/vfs_driver_interface' into 'master'
...
esp/vfs: VFS semihosting interface support
Closes OCD-98
See merge request espressif/esp-idf!16932
2022-08-29 20:52:17 +08:00
Song Ruo Jing
46886286c4
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
2022-08-29 19:38:13 +08:00
Isha Pardikar
b8fc63d658
wifi_provisioning: Fixed prov_ctx_lock of deinit provisioning manager
2022-08-29 16:08:56 +05:30
Cao Sen Miao
0de699532d
bootloader_flash: Some bootloader flash functions are not put in IRAM
2022-08-29 17:24:05 +08:00
Fu Hanxi
0d7f5b3d84
adc: skip linking static functions when not COMPILER_OPTIMIZATION_DEFAULT
2022-08-29 16:57:31 +08:00
Fu Hanxi
317f6bc024
esp_pm: fix esp32c2 no sleep_enable_memory_retention error
2022-08-29 16:57:31 +08:00
morris
b82d6ce928
md5_hash: fix copyright checker
2022-08-29 15:40:37 +08:00
wuzhenghui
fbeb6195c2
esp_rom: add esp32c6 header files
2022-08-29 15:40:37 +08:00
Kapil Gupta
06db6c2098
Merge branch 'bugfix/wps_ssid_len_validation' into 'master'
...
wpa_supplicant: Add WPS ssid length validation
See merge request espressif/esp-idf!19486
2022-08-29 13:55:17 +08:00
Jiang Jiang Jian
33b51563dc
Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning' into 'master'
...
heap: provide the tlsf_check_hook() definition to implement a check of memory corruption
Closes IDFGH-5643
See merge request espressif/esp-idf!19485
2022-08-29 12:21:43 +08:00
Simon
949ddc3501
Merge branch 'test/add_c2_extflash_test' into 'master'
...
esp_flash: Add EXT flash test on ESP32-C2
See merge request espressif/esp-idf!19700
2022-08-29 11:42:58 +08:00
zwl
30e47072f9
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 11:32:18 +08:00
Michael (XIAO Xufeng)
4fb1ccdd4e
Merge branch 'feature/c2_efuse_with_26mhz' into 'master'
...
efuse(es32c2): Supports 26MHz XTAL
Closes IDF-5427
See merge request espressif/esp-idf!18851
2022-08-29 01:43:57 +08:00
Armando (Dou Yiwen)
49dc1a32c5
Merge branch 'bugfix/remove_esp_adc_wno_flag' into 'master'
...
esp_adc: remove wno flag
Closes IDF-5765
See merge request espressif/esp-idf!19791
2022-08-26 22:32:24 +08:00
Armando (Dou Yiwen)
ac63c0afd7
Merge branch 'feature/basic_mmu_framework' into 'master'
...
mmu: basic mmu driver framework
Closes IDFGH-6659 and IDF-5825
See merge request espressif/esp-idf!19547
2022-08-26 22:19:10 +08:00
morris
ebd3081d97
Merge branch 'bugfix/fix_rtc_gpio_hold' into 'master'
...
gpio: Fix missing set hold bit in rtc gpio register
Closes IDFGH-2489
See merge request espressif/esp-idf!19760
2022-08-26 18:13:14 +08:00
Armando
ebe5861565
esp_psram: added a test for unaligned access
2022-08-26 17:59:06 +08:00
Armando
2d44dc1eed
mmu: driver framework, for vaddr maintenance
...
This commit gives basic mmu driver framework. Now it is able to maintain
mmu virtual address usage on esp32, esp32s2 and esp32s3. Usage to
external virtual address should rely on mmu functions to know which
address range is available, instead of hardcoded.
This commit also improves psram memory that is added to the heap
allocator. Now it's added to the heap, according to the memory
alignment.
Closes https://github.com/espressif/esp-idf/issues/8295
2022-08-26 17:59:06 +08:00
Armando
50a8d8412e
esp_adc: remove wno flag
2022-08-26 15:08:18 +08:00
Guillaume Souchere
4571e19387
heap: Add test to check that the corruption of free memory is detected
...
This commit extends the heap test set by adding a test to check corruption
detection in free memory block.
For each byte of the free block memory, the test changes the value of the byte,
call multi_heap_check(), make sure that the function returns 'corruption detected'
only when comprehensive poisoning is set, restore the good value of the byte, calls
multi_heap_check() again and make sure that it returns 'OK'.
2022-08-26 08:25:39 +02:00
Guillaume Souchere
b9abad7a89
esp-rom: create a patch of tlsf_check() for target(s) supporting ROM implementation of TLSF
...
The tlsf implementation in the ROM does not provide a mechanism
to register a callback to be called in by tlsf_check().
This commit is creating a patch of the tlsf implementation to provide
a definition of the function allowing to register the callback called
in tlsf_check() and add the call of this callback in tlsf_check().
This patch is only compiled for target(s) with ESP_ROM_HAS_HEAP_TLSF
set and ESP_ROM_TLSF_CHECK_PATCH set. For all the other configurations
the environment remains unchanged by those modifications.
2022-08-26 08:25:38 +02:00
Guillaume Souchere
f051da86e2
heap: Provide definition of the tlsf_check_hook() declared in the tlsf submodule
...
Add the definition of tlsf_check_hook() in multi_heap if MULTI_HEAP_POISONING
is set. This definition calls the multi_heap_internal_check_block_poisoning()
to check the memory of a free block for corruption. If the light poisoinng is
set this function returns true. If the comprehensive poisoning is set, this
function will check that all byte of memory in the memory chunk passed as parameter
are set to the right FILL pattern.
2022-08-26 08:20:50 +02:00
Armando
38cc4a2732
adc: use esp_check in adc_legacy.c
2022-08-26 14:08:33 +08:00
Wang Meng Yang
6f677de11c
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_master' into 'master'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled
Closes BT-1915
See merge request espressif/esp-idf!19671
2022-08-26 13:34:11 +08:00
morris
060f3a3b13
Merge branch 'refactor/gptimer_software_capture' into 'master'
...
split gptimer software capture in hal driver
See merge request espressif/esp-idf!19749
2022-08-26 13:25:25 +08:00
Cao Sen Miao
0313d2a5b4
esp_flash: Add ext flash on ESP32-C2
2022-08-26 12:53:56 +08:00
Marius Vikhammer
b844df8c85
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-08-26 11:52:46 +08:00
Marius Vikhammer
e219510c9d
Merge branch 'bugfix/freertos_org_inc_path' into 'master'
...
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path
Closes IDF-4464
See merge request espressif/esp-idf!19757
2022-08-26 11:42:29 +08:00
Michael (XIAO Xufeng)
8e361d3df0
Merge branch 'bugfix/sdio_slave_gcc11_crash' into 'master'
...
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11
Closes IDFCI-1296, IDFCI-1297, and IDFCI-1298
See merge request espressif/esp-idf!19680
2022-08-26 00:39:35 +08:00
Mahavir Jain
9523c784c1
Merge branch 'feature/mbedtls-3.2.1' into 'master'
...
[mbedtls] Update to v3.2.1
Closes IDF-5529, IDF-5715, and IDFGH-7188
See merge request espressif/esp-idf!19072
2022-08-25 21:59:10 +08:00
Armando
dc5cab7730
esp_psram: rename esp_private/mmu.h to mmu_psram_flash.h
...
Prior to this commit, esp_psram/include/esp_private/mmu.h contains some
APIs that is used for:
- copy flash content to psram
- necessary sync APIs used by flash_mmap.c, due to above feature
This commit rename it to mmu_psram_flash.h, therefore mmu.h can be used
for real mmu related APIs.
This commit also moves above mention funcitons in `mmu.c` and
`mmu_psram.c` to `mmu_psram_flash.c`, leaving `mmu.c` to be used for
real mmu driver.
2022-08-25 20:35:20 +08:00
Mahavir Jain
b87bf29537
Merge branch 'ci/migrate_http_server_unit_test_app' into 'master'
...
ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app
Closes IDF-5577
See merge request espressif/esp-idf!19674
2022-08-25 19:19:11 +08:00
Alexey Gerenkov
e5085db5f0
sysview: Adds FreeRTOS SMP port
2022-08-25 13:08:19 +03:00
morris
995b89fbb6
gptimer: add API to get captured count value
2022-08-25 17:55:19 +08:00
morris
e06c230a1d
esp_rom: remove unavailable tjpgd library for esp32c2
2022-08-25 17:49:38 +08:00
Omar Chebib
6f3c6dcd86
Merge branch 'bugfix/i2c_port_unsigned' into 'master'
...
I2C: i2c_port_t type is now an enumeration
Closes IDFGH-7433
See merge request espressif/esp-idf!18230
2022-08-25 17:25:51 +08:00
Marius Vikhammer
c36cd5238c
bootloader: allow skip image validation on C2
...
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-08-25 16:51:44 +08:00
Wan Lei
c5b094a96f
Merge branch 'test/fix_sio_mode_multi_test_faile' into 'master'
...
spi_master: in unit test modify communication bringup flow to fix spi sio mode test failure
See merge request espressif/esp-idf!19712
2022-08-25 16:33:10 +08:00
Alexey Gerenkov
030f3b7534
sysview: Fixes IDLE tasks detection via name comparison
2022-08-25 11:23:21 +03:00
Darian
4a266d165b
Merge branch 'feature/freertos_10.4.3_sync_task_list_functions' into 'master'
...
freertos: (Sync v10.4.3) Update task list functions
See merge request espressif/esp-idf!19323
2022-08-25 14:28:16 +08:00
Nachiket Kukade
c53318f7af
esp_wifi: Update wifi libs
...
Fix scan causing bss overwrite in connect process
2022-08-25 11:52:36 +05:30
Michael (XIAO Xufeng)
bc0ccd9b6d
Merge branch 'bugfix/rtc_periph_ulp_touch' into 'master'
...
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
Closes IDF-4528
See merge request espressif/esp-idf!19209
2022-08-25 12:27:29 +08:00
Michael (XIAO Xufeng)
aff90b9853
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
2022-08-25 12:27:28 +08:00
Rahul Tank
fbf0dff71a
Merge branch 'bugfix/fix_memory_corruption_in_recon_code' into 'master'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code
See merge request espressif/esp-idf!19364
2022-08-25 12:00:04 +08:00
Harshit Malpani
cae004a815
ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app
2022-08-25 03:43:46 +00:00
xiongweichao
697755dfe5
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-08-25 11:36:28 +08:00
Song Ruo Jing
1d95823b83
Merge branch 'feature/add_esp32c6_register_headers' into 'master'
...
ESP32C6: Add soc register header files
See merge request espressif/esp-idf!19642
2022-08-25 11:27:21 +08:00
morris
853a27b491
Merge branch 'refactor/migrate_adc_wifi_test_to_test_app' into 'master'
...
esp_adc: migrate adc wifi test to test app
Closes IDFCI-1405 and IDFCI-578
See merge request espressif/esp-idf!19736
2022-08-25 10:57:07 +08:00
Jakob Hasse
1ab3e64cee
doc (nvs): added note about maximum possible namespaces
2022-08-24 15:42:27 +02:00
Jan Procházka
ebef6bc97e
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-24 13:49:05 +02:00
Marius Vikhammer
38d30548d4
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path
...
FreeRTOS include path was changed, but ORIG_INCLUDE_PATH wasn't updated to reflect this.
2022-08-24 18:43:28 +08:00
muhaidong
3887cac78e
esp_wifi: fix pairwise cipher tkip pmf compability issue.
2022-08-24 18:09:37 +08:00
Jiang Jiang Jian
1c9796b9d4
Merge branch 'bugfix/espnow_clear_key_register' into 'master'
...
esp_wifi: Fix the bug that espnow clear key register fail
Closes WIFI-4696
See merge request espressif/esp-idf!19632
2022-08-24 18:01:09 +08:00
KonstantinKondrashov
f2adee8b28
efuse(es32c2): Supports 26MHz XTAL
2022-08-24 09:10:57 +00:00
Rahul Tank
6e5389b1f8
Nimble: Fix memory corruption in reconnection attempt code
2022-08-24 13:39:27 +05:30
Darian Leung
77f6e8daca
freertos: Synchronize prvAddCurrentTaskToDelayedList() to v10.4.3
...
This commit synchronizes prvAddCurrentTaskToDelayedList() with upstream
v10.4.3. Multi-core modifications are then reapplied to the function.
2022-08-24 16:03:10 +08:00
Darian Leung
fdbf892124
freertos: Synchronize xTaskRemoveFrom...EventList() functions to v10.4.3
...
This commit synchronizes the following xTaskRemoveFrom...EventList() with
upstream v10.4.3. Multi-core modifications are then reapplied to the
functions.
The functions updated are:
- xTaskRemoveFromEventList()
- vTaskRemoveFromUnorderedEventList()
The following multi-core macros have been removed as they are no longer
required.
- tskCAN_RUN_HERE()
- taskYIELD_OTHER_CORE()
2022-08-24 16:03:10 +08:00
Darian Leung
fb960f42b3
freertos: Synchronize vTaskPlaceOnEventList...() functions to v10.4.3
...
This commit synchronizes the following vTaskPlaceOnEventList...() with
upstream v10.4.3.
The functions updated are:
- vTaskPlaceOnEventList()
- vTaskPlaceOnUnorderedEventList()
- vTaskPlaceOnEventListRestricted()
The traceTASK_DELAY_UNTIL() macro has also been updated.
2022-08-24 16:03:10 +08:00
Darian Leung
27c0120c18
freertos: Synchronize prvAddNewTaskToReadyList() to v10.4.3
...
This commit synchronizes prvAddNewTaskToReadyList() with upstream v10.4.3.
Multi-core modifications are then reapplied to the function.
2022-08-24 16:03:10 +08:00
Mahavir Jain
0d5f3081ac
Merge branch 'contrib/github_pr_8224' into 'master'
...
Reduce error log when calling esp_efuse_mac_get_custom() (GitHub PR)
Closes IDFGH-6580
Closes https://github.com/espressif/esp-idf/pull/8224
See merge request espressif/esp-idf!19705
2022-08-24 14:40:02 +08:00
Mahavir Jain
fbd1972318
wpa_supplicant: fix issue with WPA2 enterprise TLS session
...
Usage of `mbedtls_ssl_conf_sig_algs()` was incorrect, it must include signature
algorithm with hash. This change is as per requirement defined in mbedTLS-3.2.1
release.
2022-08-24 11:59:35 +05:30
Sachin Parekh
aa4437d3d3
mbedtls: Override ecp_mul_restartable_internal
...
ECDSA verification uses ecp_mul_restartable_internal instead
of the public API mbedtls_ecp_mul_restartable
2022-08-24 11:59:35 +05:30
Laukik Hase
9b290e3668
mbedtls/port: Fix dynamic buffers feature for v3.2.1
...
Co-authored-by: Li Jingyi <lijingyi@espressif.com>
2022-08-24 11:59:34 +05:30
Laukik Hase
6319970ab7
esp_tls/wpa_supplicant: Updated deprecated mbedtls APIs
2022-08-24 11:59:34 +05:30
Laukik Hase
157fc22ef4
mbedtls: Update to v3.2.1
...
- Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.2.1
- Closes https://github.com/espressif/esp-idf/issues/8787
2022-08-24 11:59:34 +05:30
Armando (Dou Yiwen)
335ca8a687
Merge branch 'refactor/use_esp_check_in_adc_legacy_driver' into 'master'
...
adc: use esp_check in adc_legacy.c
Closes IDF-3657
See merge request espressif/esp-idf!19727
2022-08-24 14:22:51 +08:00
wanlei
0f92a706ba
spi_master: change sio test communication bringup flow to fix testcase failure
...
test failed by slave obtain data incorrectly at the time before master started
2022-08-24 14:20:26 +08:00
Jiang Jiang Jian
08ed16f48c
Merge branch 'bugfix/remove_rc4_3des_tls_cipher_wpa' into 'master'
...
wpa_supplicant: remove RC4 and 3DES ciphers for TLS
Closes IDFGH-8107
See merge request espressif/esp-idf!19718
2022-08-24 14:07:05 +08:00
Rahul Tank
84bbb2ac7f
Merge branch 'bugfix/increase_leading_space_for_alloc' into 'master'
...
Nimble: Add extra space for buffer allocation for ESP IP
See merge request espressif/esp-idf!19574
2022-08-24 11:42:48 +08:00
Wang Yuan Ze
6f00ff6a50
Merge branch 'touch_sensor/fix_touch_sensor_v1_filter_issue' into 'master'
...
touch_sensor: fix touch_sensor_v1 filter issue
Closes IDFCI-1426
See merge request espressif/esp-idf!19644
2022-08-24 11:04:03 +08:00
Omar Chebib
f6ac350337
I2C: i2c_port_t type is now an enumeration
...
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-08-24 10:51:09 +08:00
Marius Vikhammer
7cbc1b3811
Merge branch 'bugfix/gpio_wakeup_docs' into 'master'
...
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
Closes IDFGH-8064
See merge request espressif/esp-idf!19724
2022-08-24 10:50:35 +08:00
Armando
a8c0f1feb6
esp_adc: migrate adc wifi test to test app
2022-08-23 21:23:21 +08:00
zhiweijian
0b4122ecee
Add QA test Functions
2022-08-23 21:20:43 +08:00
Jiang Jiang Jian
3370a14f77
Merge branch 'bugfix/wps_connection_issue' into 'master'
...
wpa_supplicant: Fix WPS connection issue after WPS done
Closes WIFI-4716, WIFI-4709, and WIFI-4507
See merge request espressif/esp-idf!19707
2022-08-23 19:52:39 +08:00
Mahavir Jain
8418fdee2a
Merge branch 'ci/migrate_http_client_unit_test_app' into 'master'
...
ci: Migrate unit-test for esp_http_client to component-test-apps
See merge request espressif/esp-idf!19578
2022-08-23 18:37:32 +08:00
Armando
eaf7fbf35a
adc: use esp_check in adc_legacy.c
2022-08-23 17:47:04 +08:00
Chen Jian Hua
7908025c2d
Merge branch 'bugfix/fix_ble_rpa_gen_for_esp32' into 'master'
...
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
Closes BT-2543
See merge request espressif/esp-idf!19641
2022-08-23 16:50:41 +08:00
Marius Vikhammer
7a900bad7f
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
...
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-23 16:16:43 +08:00
wangyuanze
6ca1db3ef2
touch_sensor: fix touch_sensor_v1 filter issue
2022-08-23 07:34:51 +00:00
Kapil Gupta
964f0ad5ad
wpa_supplicant: remove RC4 and 3DES ciphers for TLS
...
MbedTLS-3.x has dropped support for 3DES and RC4 TLS cipher
suites. Removing them from supplicant as well
Closes https://github.com/espressif/esp-idf/issues/9607
2022-08-23 13:02:05 +05:30
zhangyanjiao
cdf1c69cbc
esp_wifi: Fix the bug that espnow clear key register fail
...
Closes WIFI-4696
2022-08-23 14:47:47 +08:00
Mahavir Jain
4697f751f5
Merge branch 'fix/fix_esp_rsa_sign_alt_modifying_input_params' into 'master'
...
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data...
See merge request espressif/esp-idf!19571
2022-08-23 13:54:31 +08:00
0xFEEDC0DE64
f16d8a3e54
Reduced error log when calling esp_efuse_mac_get_custom()
2022-08-23 04:35:34 +00:00
Rahul Tank
5d087feb6e
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 09:48:23 +05:30
Jakob Hasse
d5b80e6812
Merge branch 'bugfix/linux_target_component_dep' into 'master'
...
build system: add 'linux' component to common requirements
See merge request espressif/esp-idf!19663
2022-08-23 11:18:35 +08:00
gaoxu
ec649b0a30
SPI: a test to verify the SPI halfduplex communicate on quad mod
2022-08-23 10:47:21 +08:00
gaoxu
3610b14aef
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h
...
1.The dummy_bits is set to 4 in ESP32C3/C2, therefore, the data transmission started too early.This commit fix this issue by changing dummy_bits to 8.
2.Put the spi command the spi defintion in spi_types.h
3.Put the function which get spi command or dummy bits in spi_ll.h
2022-08-23 10:46:56 +08:00
Armando (Dou Yiwen)
fec97b6b16
Merge branch 'bugfix/add_adc_oneshot_disable_ulp_enum' into 'master'
...
esp_adc: add adc ulp mode disable enum, and kconfig to enable dac output
Closes IDF-5843 and IDF-5846
See merge request espressif/esp-idf!19683
2022-08-23 10:46:54 +08:00
Kapil Gupta
4df06ed2f0
wpa_supplicant: Fix WPS connection issue after WPS done
...
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-22 20:32:34 +05:30
Ivan Grokhotkov
d5973b8b14
build system: add 'linux' component to common requirements
...
'linux' component provides some of the common header files, such as
'sys/queue.h' and 'sys/lock.h'. For chip targets, it is possible to
include these files without having to add any extra requirements.
With this change, the same behavior will apply for the linux target.
2022-08-22 14:50:19 +02:00
Shu Chen
5573d1395b
Merge branch 'feature/update_openthread_submodule' into 'master'
...
openthread: update OpenThread submodule
See merge request espressif/esp-idf!19633
2022-08-22 19:50:05 +08:00
Harshit Malpani
791d17ac7f
ci: Migrate unit-test for esp_http_client to component-test-apps
2022-08-22 16:57:32 +05:30
Armando
236ba48efc
esp_adc: add a kconfig to disable dac on certain adc IOs
...
Added a kconfig option. By default, when using ADC oneshot
driver, it will disable
DAC channels:
- ESP32: IO25, IO26
- ESP32S2: IO17, IO18
if ADC2 is in use.
You can disable this option, to measure DAC output, via internal ADC.
This is for test usage.
2022-08-22 18:04:55 +08:00
Mahavir Jain
ed6e6ccdaf
Merge branch 'fix/wifi_prov_mgr_update_comment_ragading_sec_params_validity' into 'master'
...
wifi_provisioning: Update API documentation to highlight argument validity...
See merge request espressif/esp-idf!19540
2022-08-22 17:59:48 +08:00
Aditya Patwardhan
2f4a28af46
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash
2022-08-22 15:04:32 +05:30
Song Ruo Jing
72a15e3c7a
Merge branch 'bugfix/gpio_usb_pin_pupd' into 'master'
...
gpio: fix USB D+ pin cannot disable pullup
Closes IDFGH-7984
See merge request espressif/esp-idf!19191
2022-08-22 17:18:05 +08:00
xiongweichao
9ee49832ea
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-22 15:06:48 +08:00
Wei Tian Hua
7c2b137ffe
Merge branch 'contrib/github_pr_9529_mr_master' into 'master'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()
Closes IDFGH-8021
See merge request espressif/esp-idf!19577
2022-08-22 14:46:16 +08:00
Michael (XIAO Xufeng)
0a2e5a7774
Merge branch 'feat/support_esp32c2_uart' into 'master'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL
Closes IDF-5424 and IDF-4332
See merge request espressif/esp-idf!19274
2022-08-22 14:24:26 +08:00
Song Ruo Jing
aae3c7ba08
Merge branch 'bugfix/fix_ledc_timer_update_usage' into 'master'
...
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
See merge request espressif/esp-idf!19637
2022-08-22 14:23:44 +08:00
songruojing
95c31a7074
esp32c6: add soc/ no-gdvs reg files
2022-08-22 12:11:40 +08:00
songruojing
a00f217341
esp32c6: add soc/ reg and struct headers
2022-08-22 12:11:40 +08:00
zhangwenxu
fefb3a9b17
openthread: update OpenThread submodule
...
* support NAT64 ICMP
2022-08-22 11:59:48 +08:00
Michael (XIAO Xufeng)
e7dbfd65cb
Merge branch 'feature/support_7.2.8_soc/pvt-dig' into 'master'
...
rtc: auto adjust LDO voltage based on pvt-dig saved in efuse
Closes IDF-4873
See merge request espressif/esp-idf!16365
2022-08-22 11:43:07 +08:00
Darian
1de6f9662c
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies' into 'master'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath
Closes IDFGH-7728
See merge request espressif/esp-idf!19461
2022-08-22 11:23:17 +08:00
Armando
5e31d4bb2b
esp_adc: add adc ulp mode disable enum
...
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.
After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-22 11:00:28 +08:00
Michael (XIAO Xufeng)
19add3fb05
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11
2022-08-22 10:53:24 +08:00
Zim Kalinowski
f54972d95d
Merge branch 'feature/ulp_mutex' into 'master'
...
ulp-riscv: mutex/lock
Closes IDF-5754
See merge request espressif/esp-idf!19377
2022-08-21 16:27:53 +08:00
Darian Leung
fbcde6777f
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d188e
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-21 15:27:50 +08:00
Jakob Hasse
d6f3666875
Merge branch 'bugfix/nvs_flash_linux_target_cleanups' into 'master'
...
nvs_flash: cleanups related to linux target
See merge request espressif/esp-idf!19570
2022-08-19 21:07:48 +08:00
Ivan Grokhotkov
ea5fda812b
Merge branch 'bugfix/esp_err_linux_target' into 'master'
...
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux target
Closes IDF-2693
See merge request espressif/esp-idf!19569
2022-08-19 20:44:35 +08:00
Song Ruo Jing
0445c87459
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
...
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-08-19 19:07:46 +08:00
Armando (Dou Yiwen)
46a935eee8
Merge branch 'ci/run_psram_test_on_quad_psram_s3_boards' into 'master'
...
ci: run psram test on quad psram s3 boards
See merge request espressif/esp-idf!19658
2022-08-19 18:13:53 +08:00
Wan Lei
d26a99692c
Merge branch 'test/modify_spi_sio_case_name' into 'master'
...
SPI_Master: modify test case name for spi sio mode test
See merge request espressif/esp-idf!19646
2022-08-19 17:06:13 +08:00
Aditya Patwardhan
9b05874388
wifi_provisioning: Update API documentation to highlight argument validity while providing sec_params argument.
2022-08-19 14:02:41 +05:30
Jakob Hasse
bcb34ca7ae
Merge branch 'feature/critical_section_api' into 'master'
...
esp_system: critical section api
Closes IDF-4754
See merge request espressif/esp-idf!19019
2022-08-19 15:30:44 +08:00
songruojing
01143bd732
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-08-19 15:05:28 +08:00
Armando
56e4664d00
ci: add psram test to s3 boards with quad psram
2022-08-19 12:35:15 +08:00
chenjianhua
e6b9b2fe96
soc: remove soc ble config from Kconfig
2022-08-19 11:15:20 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
chenjianhua
0067c28013
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-08-19 11:03:15 +08:00
chenjianhua
eaa9897386
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-08-19 11:03:15 +08:00
Ivan Grokhotkov
c6e9a0c350
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux
2022-08-18 18:16:45 +02:00
Mahavir Jain
a2f028abe7
Merge branch 'feature/app_metadata_to_esp_system' into 'master'
...
app_update: Moved app metadata to new component `esp_app_format`
Closes IDF-4808
See merge request espressif/esp-idf!18862
2022-08-18 21:51:32 +08:00
wanlei
a462022205
spi_master:modify test case name for spi sio mode test
2022-08-18 20:17:15 +08:00
Armando (Dou Yiwen)
6c35aa6868
Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m' into 'master'
...
esp_psram: fix esp32 psram cs hold time issue when under 40m
Closes IDF-5761
See merge request espressif/esp-idf!19393
2022-08-18 19:39:41 +08:00
Jiang Jiang Jian
b738321c7f
Merge branch 'bugfix/add_clear_ap_list_interface' into 'master'
...
esp_wifi:add clear ap list interface
See merge request espressif/esp-idf!19441
2022-08-18 19:18:56 +08:00
Chen Jian Hua
e2d488cf4b
Merge branch 'bugfix/fix_gatt_svc_attrs_count' into 'master'
...
Bluedroid: Configurable option to modify max gatt service attributes count
Closes IDFGH-7861
See merge request espressif/esp-idf!19313
2022-08-18 15:17:11 +08:00
David Čermák
cda6360666
Merge branch 'bugfix/lwip_ipv6_zone_violation' into 'master'
...
lw ip: Fix IPv6 zoning violations
Closes IDF-4856
See merge request espressif/esp-idf!18756
2022-08-18 14:48:57 +08:00
morris
5b48a33ad5
Merge branch 'feature/use_esp_jpeg_for_example' into 'master'
...
examples/tjpgd: Use esp_jpeg component in tjpgd and SPI examples
Closes IDF-5652
See merge request espressif/esp-idf!19464
2022-08-18 14:42:20 +08:00
Wan Lei
60d794501f
Merge branch 'test/add_test_spi_sio_master_all' into 'master'
...
SPI Master: add sio multi-device test case for all chips
Closes IDF-4455
See merge request espressif/esp-idf!19249
2022-08-18 14:41:48 +08:00
David Čermák
1890501ac9
Merge branch 'unit_test_for_C2_tcp_transport' into 'master'
...
Re-enable unit test for C2 tcp_transport
Closes IDF-5144
See merge request espressif/esp-idf!19150
2022-08-18 13:50:17 +08:00
Wan Lei
8226806295
Merge branch 'feature/reduce-overhead-of-xQueueSendFromISR' into 'master'
...
SPI Master: add callback feature to reducing overhead
Closes IDFGH-7584
See merge request espressif/esp-idf!18969
2022-08-18 11:02:17 +08:00
morris
31d4ab6e04
Merge branch 'bugfix/mcpwm_operator_naming_issue_with_cxx' into 'master'
...
mcpwm: don't use keyword operator
Closes IDFGH-8000
See merge request espressif/esp-idf!19581
2022-08-18 10:56:15 +08:00
morris
2cea860318
Merge branch 'contrib/github_pr_9491' into 'master'
...
[gpio] calloc in critical section (GitHub PR)
Closes IDFGH-7980
See merge request espressif/esp-idf!19380
2022-08-18 10:49:41 +08:00
David Čermák
8033878507
Merge branch 'bugfix/esp_netif_remove_slip' into 'master'
...
esp_netif: Migrate SLIP interface to user-space
Closes IDF-5678
See merge request espressif/esp-idf!19202
2022-08-18 03:53:30 +08:00
Rocha Euripedes
1231e1bce0
Merge branch 'module_logging_tag_lower_case' into 'master'
...
Replaced logging tags with lower case in tcp_transport component
See merge request espressif/esp-idf!19298
2022-08-17 23:56:12 +08:00
Vilem Zavodny
a00e8771a7
tjpgd: Remove ROM patches and tests.
2022-08-17 14:42:45 +02:00
Ivan Grokhotkov
4e0fa26e64
nvs_flash: link the host test against libbsd when building on Linux
...
...and clean up the linking rule
2022-08-17 12:20:37 +02:00
Ivan Grokhotkov
7a1e19edf1
nvs_flash: replace strncpy + manual null termination with strlcpy
...
Since libbsd is now a build dependency on Linux, strncpy can be
replaced with the safer and less verbose strlcpy.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
bee241b0e2
nvs_flash: remove leftover ESP_ERROR_CHECKS
...
Similar to the asserts, these are replaced by error checks.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
02661081be
nvs_flash: make nvs_flash_init usable for Linux target
...
Since the partition API is now supported for Linux target builds,
this function can now be used.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
bfb6f31872
nvs_flash: remove unnecessary check that the data pointer is in DROM
...
spi_flash driver knows how to write data from cache (DROM or PSRAM)
into flash, so the extra check in nvs_flash is unnecessary.
Besides, the hardcoded address limit (0x3ff00000) is wrong for some
of the newer chips.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
08e41973f0
nvs_flash: update intrusive_list for compatibility with C++17
...
std::iterator is deprecated since C++17, the code produces a warning
when compiled with clang and libc++.
2022-08-17 12:20:36 +02:00