jofrev
f2c8de6b1b
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2023-03-03 18:15:26 +08:00
Jakob Hasse
1581c494d3
refactor(esp_rom): miniz test only on FPGA now
2023-03-03 18:15:06 +08:00
wanlei
62e1e2500c
spi_slave: fix io re-config issue
2023-03-03 17:56:23 +08:00
Song Ruo Jing
bdffb4403d
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2023-03-03 17:21:56 +08:00
Simon Arlott
9d34501ad1
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 16:50:26 +08:00
Bradley McFadden
701780891c
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-03 16:45:17 +08:00
Zim Kalinowski
11c59a2e69
Merge branch 'bugfix/fix_psram_kconfig_help_v5.0' into 'release/v5.0'
...
psram: removed deprecated statement about coredump and external BSS (backport v5.0)
See merge request espressif/esp-idf!22562
2023-03-03 13:35:30 +08:00
Jiang Jiang Jian
7d7196d2d2
Merge branch 'ci/add_generic_to_xtal_26mhz_runners_5.0' into 'release/v5.0'
...
Ci: add generic to xtal 26mhz runners 5.0
See merge request espressif/esp-idf!21756
2023-03-02 17:17:47 +08:00
morris
0a5ed6ff9c
Merge branch 'bugfix/fix_btld_app_overlap_c2_v5.0' into 'release/v5.0'
...
ld: fixed bootloader and app potential overlap issue (v5.0)
See merge request espressif/esp-idf!22569
2023-03-02 15:26:02 +08:00
Rahul Tank
2b5f1140dd
Nimble: Added return value (success / failure ) to nimble_port_init
2023-03-02 09:47:03 +05:30
Jakob Hasse
28c325b291
refactor(nvs): custom allocator for all objects allocated in NVS
2023-03-02 10:49:53 +08:00
Armando
fbe7d6fca9
ld: fixed bootloader and app potential overlap issue
2023-03-02 10:45:40 +08:00
Chen Yudong
c8e7ab7f17
CI: add generic to xtal_40mhz jobs
2023-03-01 22:40:32 +08:00
Omar Chebib
e4c94328b9
psram: removed deprecated statement about coredump and external BSS
2023-03-01 19:02:24 +08:00
Armando
aa3cc6ac17
esp_adc: fix continuous mode pm lock release fail issue and add tests
...
Closes https://github.com/espressif/esp-idf/issues/10853
2023-03-01 10:51:19 +08:00
Island
564b94fe5b
Merge branch 'feature/esp32c2_optimize_npl_api_v5.0' into 'release/v5.0'
...
Optimized NPL Freertos API
See merge request espressif/esp-idf!21906
2023-02-28 20:51:49 +08:00
Jiang Jiang Jian
d759ee5aea
Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
...
touch: update examples and tests (v5.0)
See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Mahavir Jain
d56a6e1691
Merge branch 'fix/http_client_disable_auto_redirect_causes_loop_v5.0' into 'release/v5.0'
...
http_client: fixed looping caused when disable_auto_redirect enabled (v5.0)
See merge request espressif/esp-idf!22536
2023-02-28 19:54:31 +08:00
Jiang Jiang Jian
008a4dc54e
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue_v5.0' into 'release/v5.0'
...
NimBLE: Fix incomplete clearing of peer_dev_rec (v5.0)
See merge request espressif/esp-idf!21952
2023-02-28 14:20:48 +08:00
harshal.patil
f39f6011f5
http_client: fixed looping caused when disable_auto_redirect enabled
...
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-28 10:29:24 +05:30
zwl
3eb8a9cf1e
ble: Fixed flow control count error on ESP32-C2
2023-02-27 21:48:19 +08:00
zhiweijian
61c3b96957
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2023-02-27 13:01:13 +00:00
Marius Vikhammer
ca0623e311
Merge branch 'bugfix/freertos_stream_buffer_test_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix stream buffer send-receive test (v5.0)
See merge request espressif/esp-idf!22507
2023-02-27 19:02:04 +08:00
Zim Kalinowski
fd707e1d03
Merge branch 'bugfix/twai_listen_only_errata_v5.0' into 'release/v5.0'
...
twai: Add errata workaround for listen only mode (v5.0)
See merge request espressif/esp-idf!22514
2023-02-27 18:13:11 +08:00
Shen Weilong
0fce029b92
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-27 16:56:05 +08:00
zwl
7b28d40c0a
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-27 16:56:05 +08:00
zwl
530c07a5be
Optimized NPL Freertos API
2023-02-27 16:56:05 +08:00
Sumeet Singh
ace6a3b4bb
NimBLE: Fix incomplete clearing of peer_dev_rec
2023-02-27 14:21:57 +05:30
Jiang Jiang Jian
4abb6efb36
Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v5.0' into 'release/v5.0'
...
sleep: fix gpio wakeup related issues(backport v5.0)
See merge request espressif/esp-idf!22332
2023-02-27 15:12:13 +08:00
Jiang Jiang Jian
5ca38da869
Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'
...
Nimble: Removes global min/max definition causing problems with other libraries (v5.0)
See merge request espressif/esp-idf!21817
2023-02-27 15:11:28 +08:00
Jiang Jiang Jian
1f73b5e4cd
Merge branch 'bugfix/wps_start_state_issue_v5.0' into 'release/v5.0'
...
esp_wifi: Add check for wps start state (v5.0)
See merge request espressif/esp-idf!22025
2023-02-27 15:10:01 +08:00
Jiang Jiang Jian
809aeb77b7
Merge branch 'bugfix/update_esp_rom_rtc_header_v5.0' into 'release/v5.0'
...
update esp rom rtc header (backport to v5.0)
See merge request espressif/esp-idf!21915
2023-02-27 15:09:19 +08:00
Jiang Jiang Jian
2ab97d57f9
Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2_v5.0' into 'release/v5.0'
...
Bugfix/fixed hci uart flow ctrl error on esp32c2 v5.0
See merge request espressif/esp-idf!21887
2023-02-27 15:08:28 +08:00
Jiang Jiang Jian
7c20c3742d
Merge branch 'bugfix/fix_the_bluedroid_hci_crash_on_esp32c2' into 'release/v5.0'
...
Fixed the bluedroid hci crash due to insufficient memory on ESP32C2
See merge request espressif/esp-idf!22056
2023-02-27 15:07:31 +08:00
Jiang Jiang Jian
335ad04cba
Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2_backport_v5.0' into 'release/v5.0'
...
esp32c2: support feature(rtc time) depend on rtc fast mem(backport v5.0)
See merge request espressif/esp-idf!22224
2023-02-27 15:06:31 +08:00
Jiang Jiang Jian
f39c3b286c
Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v5.0' into 'release/v5.0'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v5.0)
See merge request espressif/esp-idf!22094
2023-02-27 15:05:49 +08:00
Jiang Jiang Jian
4cc03645e8
Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!22363
2023-02-27 15:05:38 +08:00
Jiang Jiang Jian
3bc9260dea
Merge branch 'support/release_v5.0_fix_h2_phy_init_when_sw_restart' into 'release/v5.0'
...
esp_phy: fix phy init when SW restart(backport 5.0)
See merge request espressif/esp-idf!22309
2023-02-27 15:04:02 +08:00
morris
491800f144
Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h_v5.0' into 'release/v5.0'
...
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue (v5.0)
See merge request espressif/esp-idf!22488
2023-02-25 17:30:47 +08:00
Darian Leung
3318fac02f
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 19:26:22 +08:00
morris
da46d216df
Merge branch 'bugfix/correct_ext_mem_defs_for_internal_ram_v5.0' into 'release/v5.0'
...
soc: update iram/dram addr range in ext_mem_defs.h (v5.0)
See merge request espressif/esp-idf!22489
2023-02-24 18:35:50 +08:00
Darian Leung
3623dc0fce
freertos: Fix stream buffer send-receive test
...
The stream buffer send-receive test preivously contained the following bugs:
- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
the sender task would cause memory corruption when accessing "tc" structure
allocated on the main task's stack
This commit fixes and simplifies the stream buffer test.
2023-02-24 16:24:25 +08:00
Mahavir Jain
53c66a6dae
Merge branch 'fix/heap-get-allocated-size_v5.0' into 'release/v5.0'
...
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled (backport v5.0)
See merge request espressif/esp-idf!22187
2023-02-24 11:05:41 +08:00
Armando
866d727477
soc: remove unused macro in ext_mem_defs.h
...
ESP_CACHE_TEMP_ADDR is not used in IDF
2023-02-23 12:40:43 +08:00
Armando
86b331b40f
soc: update iram/dram addr range in ext_mem_defs.h
...
IRAM0/DRAM0 addr range update, on s3, c3, c2, h4, c6:
IRAM0_ADDRESS_LOW ~ IRAM0_ADDRESS_HIGH
DRAM0_ADDRESS_LOW ~ DRAM0_ADDRESS_HIGH
now are for the real IRAM0 and DRAM0
2023-02-23 12:39:54 +08:00
Armando
ac86ef31c1
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-23 12:35:52 +08:00
yuanjianmin
c120f5777e
tcp_transport: Add authorization header for websocket client
2023-02-22 16:19:41 +04:00
David Čermák
4c606d3381
Merge branch 'feature/websocket-client-errorhandlin_v5.0' into 'release/v5.0'
...
[ws_transport]-Added `esp_transport_ws_get_upgrade_request_status` API (v5.0)
See merge request espressif/esp-idf!22360
2023-02-22 19:46:47 +08:00
Guillaume Souchere
2ea046c091
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
...
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).
test_malloc.c extended with a new test assuring that heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-22 11:42:02 +01:00
Ivan Grokhotkov
498dc8d09d
Merge branch 'bugfix/nvs_cxx_example_v5.0' into 'release/v5.0'
...
nvs_flash: fixed wrong error check after open_nvs_handle in example (v5.0)
See merge request espressif/esp-idf!22303
2023-02-22 16:39:13 +08:00
morris
6b08f05282
Merge branch 'bugfix/rmt_buffer_allocation_v5.0' into 'release/v5.0'
...
legacy rmt driver: fix wrong buffer allocation (v5.0)
See merge request espressif/esp-idf!22429
2023-02-22 10:23:38 +08:00
Wang Meng Yang
3d80d4b795
Merge branch 'bugfix/sdp_event_status_overwritten_by_handle_v5.0' into 'release/v5.0'
...
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle
See merge request espressif/esp-idf!22213
2023-02-21 18:21:33 +08:00
Wang Meng Yang
8439e6184c
Merge branch 'bugfix/build_err_with_ssr_enabled_v5.0' into 'release/v5.0'
...
bt: Fixed build errors when sniff subrating is enabled (v5.0)
See merge request espressif/esp-idf!22350
2023-02-21 18:20:06 +08:00
Wang Meng Yang
11c65947d8
Merge branch 'bugfix/access_nullptr_when_ble_disconn_v5.0' into 'release/v5.0'
...
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected` (v5.0)
See merge request espressif/esp-idf!21879
2023-02-21 18:18:48 +08:00
isha.pardikar@espressif.com
049cffcb2a
BluFi : Fixed hdr getting free twice
...
Closes IDFGH-9378
2023-02-21 11:44:12 +05:30
Steinbart Andreas (HAU-EDS)
481cca3490
[ws_transport] - Added esp_transport_ws_get_upgrade_request_status
API
2023-02-20 14:12:48 +00:00
Ivan Grokhotkov
82458fd31d
Merge branch 'bugfix/extram_stack_coredump_v5.0' into 'release/v5.0'
...
coredump: add support for stacks in external RAM (backport v5.0)
See merge request espressif/esp-idf!22410
2023-02-20 20:32:19 +08:00
Ivan Grokhotkov
86a75d1d73
Merge branch 'feature/gdbstub_esp32c2_v5.0' into 'release/v5.0'
...
gdb stub: re-enable for ESP32-C2 (v5.0)
See merge request espressif/esp-idf!21770
2023-02-20 17:13:37 +08:00
Marius Vikhammer
18bda1be31
Merge branch 'feature/re-enable-heap-test-c2_v5.0' into 'release/v5.0'
...
heap: re-enable temporarily disabled test on esp32c2 (backport v5.0)
See merge request espressif/esp-idf!21873
2023-02-20 15:34:16 +08:00
Marius Vikhammer
fc3f49d589
Merge branch 'docs/freertos_doc_organization_v5.0' into 'release/v5.0'
...
Docs: Update FreeRTOS documentation organization for IDF and Amazon SMP FreeRTOS (v5.0)
See merge request espressif/esp-idf!22395
2023-02-20 15:26:23 +08:00
Marius Vikhammer
5b718a81a0
Merge branch 'feat/verbose-alloc-failure-abort_v5.0' into 'release/v5.0'
...
heap: print size and caps when malloc fails before calling system abort (backport v5.0)
See merge request espressif/esp-idf!22343
2023-02-20 15:17:51 +08:00
Marius Vikhammer
47bc882caa
Merge branch 'feature/re-enable-intr-alloc-test-c2_v5.0' into 'release/v5.0'
...
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target (backport v5.0)
See merge request espressif/esp-idf!21874
2023-02-20 15:16:36 +08:00
Marius Vikhammer
bca7446a53
Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2_v5.0' into 'release/v5.0'
...
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2 (v5.0)
See merge request espressif/esp-idf!21860
2023-02-20 15:14:56 +08:00
morris
b731bd6a60
rmt: fix rmt buffer allocation issue
2023-02-20 15:12:30 +08:00
Marius Vikhammer
d33d3d7884
Merge branch 'feature/re-enable-newlib-test-c2_v5.0' into 'release/v5.0'
...
newlib: Remove tests using RTC related features from the esp32c2 test set (backport v5.0)
See merge request espressif/esp-idf!21878
2023-02-20 15:11:16 +08:00
Jakob Hasse
1a98df0c93
bugfix(nvs_flash): fixed wrong error check after open_nvs_handle
...
Closes https://github.com/espressif/esp-idf/issues/10240
2023-02-20 14:20:18 +08:00
morris
f58f8116de
Merge branch 'feature/adc_calibration_c2_v5.0' into 'release/v5.0'
...
esp_adc: support adc calibration on esp32c2 (v5.0)
See merge request espressif/esp-idf!22382
2023-02-20 14:13:23 +08:00
Marius Vikhammer
41bf6dab0d
Merge branch 'bugfix/newlib_tz_env_mutex_v5.0' into 'release/v5.0'
...
newlib: Use correct recursive mutex for env and regular mutex for tz (v5.0)
See merge request espressif/esp-idf!22293
2023-02-20 13:04:17 +08:00
Aditya Patwardhan
962d716456
Merge branch 'bugfix/secure_boot_v2_part_size_check_v5.0' into 'release/v5.0'
...
gen_esp32part: allow secure boot v2 based app partition size 4K aligned (v5.0)
See merge request espressif/esp-idf!22284
2023-02-20 12:19:38 +08:00
Armando (Dou Yiwen)
1990335623
Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue_v5.0' into 'release/v5.0'
...
adc: make adc_channel.h macros work with ng driver (v5.0)
See merge request espressif/esp-idf!22020
2023-02-20 11:08:42 +08:00
Armando
d101d9c100
esp_adc: update license
2023-02-20 10:34:34 +08:00
Armando
0f49c8677b
include inttypes.h
2023-02-20 10:34:34 +08:00
Armando
45776dc0cc
esp_adc: add esp32c2 adc high/low test threshold and expected val
2023-02-20 10:34:34 +08:00
Armando
ed98062c66
esp_adc: refacotr tests for all supported attenuations
2023-02-20 10:34:34 +08:00
Armando
a03ca90d4a
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.
2023-02-20 10:34:34 +08:00
Armando
fe0643ca40
esp_adc: support adc calibration on esp32c2
2023-02-20 10:34:34 +08:00
Armando
70d62f5c85
efuse: added adc calibration efuse fields on esp32c2
2023-02-20 10:34:34 +08:00
Armando
d9992320c8
efuse: remove PVT_LOW field on esp32c2
...
PVT_LOW doesn't exist on ESP32C2
2023-02-20 10:34:33 +08:00
zlq
bd7bcbb03b
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
2023-02-20 10:33:25 +08:00
Mahavir Jain
b289b7a1f1
Merge branch 'feature/mbedtls-3.3.0_v5.0' into 'release/v5.0'
...
mbedtls: Update to v3.3.0 (v5.0)
See merge request espressif/esp-idf!22121
2023-02-19 14:41:06 +08:00
Mahavir Jain
a823a4907f
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis_v5.0' into 'release/v5.0'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs (v5.0)
See merge request espressif/esp-idf!22307
2023-02-19 12:10:36 +08:00
Mahavir Jain
c71f9a3e1e
Merge branch 'fix/stack-dram-memory-protection_v5.0' into 'release/v5.0'
...
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled (backport v5.0)
See merge request espressif/esp-idf!22170
2023-02-19 11:57:54 +08:00
Mahavir Jain
ca7045d904
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-02-19 03:53:02 +00:00
Laukik Hase
db99f311fc
mbedtls: Fix build with dynamic buffers feature
2023-02-19 03:53:02 +00:00
Laukik Hase
6384299167
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-02-19 03:53:02 +00:00
Laukik Hase
8b5ab6820f
mbedtls: Update config options as per v3.3.0 release
2023-02-19 03:53:02 +00:00
Laukik Hase
88aa45ff17
mbedtls: Update to v3.3.0
2023-02-19 03:53:02 +00:00
Mahavir Jain
e532de9aa5
partition_table: add tests for checking secure boot part size
2023-02-19 03:50:03 +00:00
Mahavir Jain
33568182d4
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
...
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.
For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.
Relevant:
57b601ab7f
2023-02-19 03:50:03 +00:00
Mahavir Jain
dcae357500
Merge branch 'fix/hardware_ecc_port_v5.0' into 'release/v5.0'
...
mbedtls/ecp: Fix incorrect ECP parameter value
See merge request espressif/esp-idf!22112
2023-02-19 11:49:14 +08:00
Mahavir Jain
395b682aa3
Merge branch 'fix/mbedtls_port_sanity_checks_and_return_values_v5.0' into 'release/v5.0'
...
mbedtls/port: refactor sanity checks and their return values (v5.0)
See merge request espressif/esp-idf!22127
2023-02-19 11:47:47 +08:00
morris
ce0316df99
lcd: support PLL240M as i80 clock source on esp32s3
2023-02-18 15:14:12 +08:00
morris
f603aa7d76
Merge branch 'bugfix/i2s_update_regs_before_start_v5.0' into 'release/v5.0'
...
i2s: fixed rx update stuck bug (v5.0)
See merge request espressif/esp-idf!21776
2023-02-18 15:07:05 +08:00
morris
db8b56c9ac
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX_v5.0' into 'release/v5.0'
...
spi: fix micro SPI_HOST_MAX error (v5.0)
See merge request espressif/esp-idf!22147
2023-02-18 15:06:35 +08:00
morris
3f68b61f3e
Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
...
mcpwm: support non-vararg version of generator functions (v5.0)
See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
morris
15471b450d
Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit_v5.0' into 'release/v5.0'
...
mcpwm: support not reset GPIO config at exit (v5.0)
See merge request espressif/esp-idf!22023
2023-02-18 15:03:13 +08:00
morris
27ca6549d5
Merge branch 'bugfix/gdma_uhci_id_5.0' into 'release/v5.0'
...
gdma: correct the dma trigger of UHCI && fix async memcpy conflict with peripheral DMA (v5.0)
See merge request espressif/esp-idf!22006
2023-02-18 15:02:32 +08:00
morris
10dd0cc4a1
Merge branch 'feature/rmt_no_light_sleep_lock_v5.0' into 'release/v5.0'
...
rmt: avoid auto light sleep when use xtal as the clock source (v5.0)
See merge request espressif/esp-idf!22053
2023-02-18 15:00:56 +08:00
morris
92b1f4fa27
Merge branch 'bugfix/gptimer_pm_lock_xtal_5.0' into 'release/v5.0'
...
gptimer: acquire pm lock for xtal clock source (v5.0)
See merge request espressif/esp-idf!22281
2023-02-18 15:00:24 +08:00
morris
9fb838c0b5
Merge branch 'bugfix/mcpwm_config_name_v5.0' into 'release/v5.0'
...
mcpwm: modify wrong config name (v5.0)
See merge request espressif/esp-idf!22385
2023-02-18 14:58:00 +08:00
Konstantin Kondrashov
8a6fb6df19
Merge branch 'feature/secure_features_are_enabled_correctly_v5.0' into 'release/v5.0'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly (v5.0)
See merge request espressif/esp-idf!22116
2023-02-17 21:40:42 +08:00
Konstantin Kondrashov
08283c213b
Merge branch 'feature/mac_crc_v5.0' into 'release/v5.0'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v5.0)
See merge request espressif/esp-idf!22114
2023-02-17 21:36:59 +08:00
Saurabh Kumar Bansal
75b7202d71
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling_v5.0' into 'release/v5.0'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration (backport v5.0)
See merge request espressif/esp-idf!22324
2023-02-17 21:22:59 +08:00
Darian
6a86124ff5
Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
...
USB Host: Backport multiple feature and refactors to v5.0
See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
Darian
e68bc99347
Merge branch 'bugfix/esp_pm_and_sleep_build_errors_v5.0' into 'release/v5.0'
...
esp_system: Fix various PM and sleep build errors (v5.0)
See merge request espressif/esp-idf!21781
2023-02-17 20:49:22 +08:00
Ivan Grokhotkov
69dd34dfb6
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32_v5.0' into 'release/v5.0'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32 (v5.0)
See merge request espressif/esp-idf!21821
2023-02-17 19:47:58 +08:00
Aditya Patwardhan
b559e2ccb6
Merge branch 'fix/esp_local_ctrl_header_incl_v5.0' into 'release/v5.0'
...
esp_local_ctrl: Fix header inclusion (v5.0)
See merge request espressif/esp-idf!22134
2023-02-17 19:42:25 +08:00
Ivan Grokhotkov
e5f975c5cf
Merge branch 'fix/revert-sdio-slave-gcc11-workaround_v5.0' into 'release/v5.0'
...
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv() (v5.0)
See merge request espressif/esp-idf!22404
2023-02-17 19:41:53 +08:00
Ivan Grokhotkov
66f5a4a497
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_ver' into 'release/v5.0'
...
espcoredump: fix incorrectly defined coredump chip version (v5.0)
See merge request espressif/esp-idf!21967
2023-02-17 19:41:07 +08:00
Aditya Patwardhan
78638641a7
Merge branch 'contrib/github_pr_10378_v5.0' into 'release/v5.0'
...
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22244
2023-02-17 19:36:06 +08:00
Ivan Grokhotkov
0033b02ce5
Merge branch 'fix/efuse-function-declaration_v5.0' into 'release/v5.0'
...
efuse: fix esp_efuse_utility_write_reg() declaration (v5.0)
See merge request espressif/esp-idf!22086
2023-02-17 19:33:22 +08:00
Aditya Patwardhan
3e5ea5a941
Merge branch 'contrib/github_pr_10391_v5.0' into 'release/v5.0'
...
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21767
2023-02-17 19:30:58 +08:00
Aditya Patwardhan
4fc89f445c
Merge branch 'fix/protocomm_kconfig_flag_v5.0' into 'release/v5.0'
...
protocomm: Fix Kconfig flag dependency on wifi_provisioning component (v5.0)
See merge request espressif/esp-idf!22135
2023-02-17 19:26:12 +08:00
Aditya Patwardhan
38917a36b5
Merge branch 'feature/add_bootloader_sector_pad_option_v5.0' into 'release/v5.0'
...
esptool_py: Added a --pad-to-size flag to align the bootloader image (v5.0)
See merge request espressif/esp-idf!21916
2023-02-17 19:02:52 +08:00
Omar Chebib
18125ff7b7
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2023-02-17 10:39:07 +08:00
Omar Chebib
886e98a2c1
Merge branch 'bugfix/support_coredump_stack_xtensa_v5.0' into 'release/v5.0'
...
coredump: custom core dump stack is now supported on Xtensa targets (backport v5.0)
See merge request espressif/esp-idf!21804
2023-02-17 10:35:35 +08:00
Alexey Lapshin
7db42d3a40
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
...
This happened because of passing sdio_slave_hal_send_desc_t** to function
sdio_ringbuf_recv() which is declared to have char** as input parameter
2023-02-16 13:48:58 +07:00
Alexey Lapshin
4005886b8a
Revert "sdio_slave: workaround the sdio_slave crash issue with release config + GCC11"
...
This reverts commit 19add3fb05
.
2023-02-16 13:48:58 +07:00
jingli
ac47b093f6
esp32c2/rtc: fix 8md256 as rtc slow clk not work properly during deep sleep
2023-02-16 10:55:50 +08:00
jingli
eb27e688fb
UT/esp32c2: reenable pm and sleep related UT
2023-02-16 10:54:11 +08:00
jingli
2da8497358
UT/esp32c2: reenable rtc clk calibration compensation UT
2023-02-16 10:52:59 +08:00
jingli
e109c5f998
esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory
2023-02-16 10:52:59 +08:00
Aditya Patwardhan
a4afa44435
versions: Update version to 5.0.1
2023-02-15 12:30:03 +00:00
Darian Leung
912c82fc5a
freertos: Expand CONFIG_FREERTOS_SMP description
...
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2023-02-15 20:16:55 +08:00
Cao Sen Miao
256dd53120
mcpwm: modify wrong config name
2023-02-15 17:55:55 +08:00
chenjianhua
58851cd5cd
bluedroid: support ble privacy by controller
2023-02-14 11:24:02 +08:00
chenjianhua
a13b89a043
bluedroid: add params in GATT connect event
2023-02-14 11:23:50 +08:00
chenjianhua
78437f48ae
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-02-14 11:23:01 +08:00
Saurabh Kumar Bansal
2b665ee327
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-13 17:05:11 +05:30
Darian Leung
6e9500ad13
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-13 17:04:46 +05:30
Tomas Rezucha
3f1cff699d
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-13 17:03:59 +05:30
Jin Cheng
2db423c62b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:26:35 +08:00
Guillaume Souchere
6e35b1eba3
heap: Fix priority in shex() bit shift
2023-02-13 09:03:32 +01:00
Chip Weinberger
6ed2371bd1
[Logs] print size and caps when malloc fails
2023-02-13 09:02:59 +01:00
Harshit Malpani
935661ba4a
esp_http_server: fix return values for httpd_socket_send()
and httpd_socket_recv()
APIs
...
Closes https://github.com/espressif/esp-idf/issues/10658
2023-02-10 10:57:05 +05:30
jingli
7f15980de9
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-09 17:32:13 +08:00
jingli
50feb8f75b
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:29:40 +08:00
Steve Jothen
60f678b736
Use correct recursive mutex for env and regular mutex for tz
2023-02-09 16:02:50 +08:00
zhangwenxu
bddbd66e13
esp_phy: fix phy init when SW restart
2023-02-09 15:11:44 +08:00
morris
de8409fa88
gptimer: acquire pm lock for xtal clock source
2023-02-09 14:10:15 +08:00
Sachin Parekh
f136f16f72
wpa_supplicant: Enable ECC test case
2023-02-08 21:35:49 +05:30
Sachin Parekh
131faba944
mbedtls/ecp: Fix incorrect ECP parameter value
...
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-02-08 21:35:49 +05:30
wangyuanze
5de3f74f5e
touch_sensor: fix touch_sensor_v1 filter issue
2023-02-08 14:32:36 +08:00
wangyuanze
9892fb760b
touch: move unit tests to test_app
2023-02-08 12:26:27 +08:00
wangyuanze
e51845d04c
touch: update touch-related code to compile without -Wno-format flag
2023-02-08 12:23:40 +08:00
Barabas Raffai
c9ce87a1a9
Clean up wifi provisioning in the esp_event thread
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
2023-02-06 18:31:11 +05:30
Shen Weilong
699dde8a38
Fixed the bluedroid hci crash due insufficient memory on ESP32C2
2023-02-03 20:41:23 +08:00
AlbertWDev
a16896af68
bt: fix SDP event status overwritten by handle
2023-02-02 20:13:52 +08:00
Michael (XIAO Xufeng)
885e501d99
Merge branch 'feature/remove_80m_ddr_warning_v5.0' into 'release/v5.0'
...
mspi: remove mspi 80m ddr mode warning regarding to timing tuning (v5.0)
See merge request espressif/esp-idf!21904
2023-02-01 18:24:11 +08:00
jgujarathi
f6e8a4ea90
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 12:51:12 +05:30