Ivan Grokhotkov
22dd730a7c
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
6d1f573945
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
228dbe103f
esp_rom: add USB_OTG "port" number for S2 and S3
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
c7b409aa94
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
2c341a8557
console: minor fixes
...
- wrong comment
- duplicated setvbuf
2023-11-21 17:33:29 +01:00
sonika.rathi
633a3b06db
fix(vfs/uart): add UART VFS select callback in IRAM
...
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-21 14:17:08 +01:00
luomanruo
d24f7d9f12
ble(fix): deinit crash issue
2023-11-21 15:05:22 +08:00
zwl
9cf6280eea
fix(ble): fixed ble occasional rx exception issue
2023-11-21 15:03:38 +08:00
luomanruo
11f26f3319
ble: update controller log module
2023-11-21 15:03:38 +08:00
luomanruo
fcc8ce5de5
ble: update c6 h2 lib to 5b1dfd2b, c2 lib to db4e1fb2
2023-11-21 15:03:38 +08:00
luomanruo
2984e14eba
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
...
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:03:38 +08:00
Aditya Patwardhan
514cd783a3
Merge branch 'bugfix/esp32h2_ecdsa_hardware_k_v5.1' into 'release/v5.1'
...
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose (v5.1)
See merge request espressif/esp-idf!27271
2023-11-21 13:57:38 +08:00
Rahul Tank
6965a11570
fix(nimble): Generate a new unique Local IRK for each chip
2023-11-21 10:23:42 +05:30
Rahul Tank
4d88e7b9a7
Merge branch 'bugfix/remove_bond_v5.1' into 'release/v5.1'
...
fix(nimble):Handled IRK/LTK deletion based on key availability (v5.1)
See merge request espressif/esp-idf!26597
2023-11-21 12:47:54 +08:00
morris
64e7343e40
Merge branch 'bugfix/fix_adc_read_zero_h2_v5.1' into 'release/v5.1'
...
ADC: fix adc raw data get 0 because of signal delay on ESP32H2(v5.1)
See merge request espressif/esp-idf!26976
2023-11-21 11:08:57 +08:00
Jiang Jiang Jian
0fa38244cb
Merge branch 'bugfix/newlib_test_correct_assertions_v5.1' into 'release/v5.1'
...
fix(newlib,ci): wrong floating point number handling in tests (v5.1)
See merge request espressif/esp-idf!27090
2023-11-21 11:08:32 +08:00
Jiang Jiang Jian
de81da8b53
Merge branch 'bugfix/fix_espcoredump_compilation_warning_v5.1' into 'release/v5.1'
...
fix(espcoredump): fixed compilation warning (v5.1)
See merge request espressif/esp-idf!26591
2023-11-21 11:07:57 +08:00
Jiang Jiang Jian
2277c3c9dd
Merge branch 'feature/pseudo_exccause_to_openocd_v5.1' into 'release/v5.1'
...
Feature/pseudo exccause to openocd (v5.1)
See merge request espressif/esp-idf!26544
2023-11-21 11:06:41 +08:00
Jiang Jiang Jian
58344b1517
Merge branch 'backport-v5.1/gcov-write-fix' into 'release/v5.1'
...
fix(app_trace): fix host file write API return value
See merge request espressif/esp-idf!26421
2023-11-21 11:06:04 +08:00
morris
6bc8a025d5
Merge branch 'bugfix/ledc_max_duty_cycle_v5.1' into 'release/v5.1'
...
fix(ledc): fix ledc driver 100% duty cycle configuration (backport v5.1)
See merge request espressif/esp-idf!27179
2023-11-21 10:58:16 +08:00
Jiang Jiang Jian
e718b603e4
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.1)
See merge request espressif/esp-idf!27188
2023-11-21 10:52:54 +08:00
Jiang Jiang Jian
0e1ec38785
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.1)
See merge request espressif/esp-idf!27205
2023-11-21 10:51:11 +08:00
Abhinav Kudnar
533b4a2e02
fix(nimble): Handled IRK/LTK deletion based on key availability
2023-11-21 07:15:56 +05:30
Rahul Tank
c75bab8fcb
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing
2023-11-20 20:22:48 +05:30
Rahul Tank
3b30594eef
Merge branch 'bugfix/ble_gap_unpair_oldest_peer_v5.1' into 'release/v5.1'
...
fix(nimble): Fixed incorrect handling of bonded devices (v5.1)
See merge request espressif/esp-idf!26939
2023-11-20 22:41:11 +08:00
Mahavir Jain
bb1376ff5d
fix(api-docs): include in the ECDSA APIs for doxygen build
2023-11-20 16:17:11 +05:30
Mahavir Jain
d9abb44049
docs: add ECDSA peripheral chapter for H2/P4
...
- Add ECDSA peripheral chapter and instructions to program efuse key block
- Update security guide for ECDSA peripheral mention for device identity
- Link with ESP-TLS guide about using ECDSA peripheral in TLS connection
2023-11-20 16:13:35 +05:30
Mahavir Jain
2cd1635b86
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-20 16:05:15 +05:30
Mahavir Jain
0ccfa4b0c2
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
...
In ESP32-H2, the ECDSA peripheral by default uses the TRNG (hardware)
generated k value but it can be overridden to software supplied k.
This can happen through by overriding the `ECDSA_SOFTWARE_SET_K` bit
in the configuration register. Even though the HAL API is not exposed
for this but still it could be achieved by direct register
programming. And for this scenario, if sufficiently random k is not
supplied by the software then it could posses a security risk.
In this change, we are unconditionally programming the efuse
`ESP_EFUSE_ECDSA_FORCE_USE_HARDWARE_K` bit during startup security
checks itself. Additionally, same is ensured in the `esp_efuse_write_key`
API as well. This always enforces the hardware k mode in the ECDSA
peripheral and ensures strongest possible security.
2023-11-20 16:03:29 +05:30
Mahavir Jain
ecd485be87
Merge branch 'feat/ecdsa_perph_while_mutual_auth_v5.1' into 'release/v5.1'
...
Feat/ecdsa perph while mutual auth v5.1
See merge request espressif/esp-idf!27245
2023-11-20 18:03:19 +08:00
Arno Moonen
c6913fa397
fix(build): fix build failure if CMAKE_EXECUTABLE_SUFFIX is set
...
From: Arno Moonen <arno.moonen@airios.eu>
Follows original message from Arno Moonen <arno.moonen@airios.eu>
While integrating the ESP-IDF into our existing CMake structure,
I've come across quite some hurdles. Most I've been able to fix
in our CMake files, however this one I could not.
Most of the targets created by the esptool_py component assume
that the EXECUTABLE IDF build property (which contains the name
of the CMake executable target) always equals the name of the
created binary.
This is however not always true. For instance, in our setup we use
CMAKE_EXECUTABLE_SUFFIX_C and CMAKE_EXECUTABLE_SUFFIX_CXX in our
toolchain file (both set to .elf). If we do add_executable(my_app),
the target binary file would actually be my_app.elf.
In order to fix this, I've updated it to use the TARGET_FILE generated
expression. That way we also no longer need the EXECUTABLE_DIR IDF build
property here.
I've fixed this on v5.0.1 (as that's the ESP-IDF version I'm currently
trying to integrate), but I assume it should be easy to apply the same
fix to newer versions and the master branch as well.
Note that this problem might exist in multiple places where EXECUTABLE
is being used. While going through the ESP-IDF code base, I even noticed
that a few places actually already seem to use the TARGET_FILE expression.
To be honest the property name might be somewhat confusing as well, as it
is actually the executable target.
Closes https://github.com/espressif/esp-idf/pull/12558
2023-11-20 10:49:02 +01:00
Jiang Jiang Jian
5719d882d1
Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v5.1' into 'release/v5.1'
...
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v5.1)
See merge request espressif/esp-idf!27215
2023-11-20 17:37:03 +08:00
Jiang Jiang Jian
ea081e04b9
Merge branch 'bugfix/dpp_config_memset_v5.1' into 'release/v5.1'
...
Wi-Fi: Fixed some DPP issues (v5.1)
See merge request espressif/esp-idf!27192
2023-11-20 16:52:20 +08:00
Jiang Jiang Jian
2348a0a61d
Merge branch 'bufix/Backport_some_lwip_bugs_for_5.1_1115' into 'release/v5.1'
...
Bufix/backport some lwip bugs for 5.1 1115
See merge request espressif/esp-idf!27149
2023-11-20 16:09:30 +08:00
darshan
ca4ba28613
fix(nimble): Fixed incorrect handling of bonded devices
2023-11-20 12:27:18 +05:30
Rahul Tank
a08c557001
Merge branch 'bugfix/validate_random_address_v5.1' into 'release/v5.1'
...
fix(nimble): Added check to validate allowed random address (v5.1)
See merge request espressif/esp-idf!26928
2023-11-20 14:48:33 +08:00
Wang Meng Yang
00936f9434
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.1' into 'release/v5.1'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.1)
See merge request espressif/esp-idf!27230
2023-11-20 14:07:56 +08:00
Jin Cheng
b9a0ca6feb
fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP
2023-11-20 11:59:05 +08:00
Jin Cheng
e4ab4499b0
fix(bt/bluedroid): Added some argument check in APIs of HFP AG
2023-11-20 11:59:01 +08:00
Rahul Tank
7e21aff12c
fix(nimble): Added check to validate allowed random address
2023-11-20 08:19:38 +05:30
Abhinav Kudnar
c91c8a1197
fix(nimble): Handled crash caused due to incorrect use of reattempt_idx
2023-11-18 17:16:17 +05:30
Rahul Tank
54e3737202
Merge branch 'feature/protocomm_update_params_v5.1' into 'release/v5.1'
...
fix(protocomm): added Protocomm BLE Event Structure and Event Handling (v5.1)
See merge request espressif/esp-idf!26899
2023-11-18 16:16:48 +08:00
Island
4023a22512
Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs (backport v5.1)
See merge request espressif/esp-idf!27196
2023-11-17 20:21:57 +08:00
Harshit Malpani
37836b3c62
feat: ECDSA peripheral while performing http connection with mutual auth
2023-11-17 16:24:10 +05:30
Island
7f63951872
Merge branch 'backport/fix_ble_scan_rsp_v5.1' into 'release/v5.1'
...
Backport/fix ble scan rsp v5.1(backport v5.1)
See merge request espressif/esp-idf!27007
2023-11-17 18:18:29 +08:00
morris
1b3713f7cd
Merge branch 'feature/support_adc_calibration_on_h2_v5.1' into 'release/v5.1'
...
adc_cali: supported adc calibration v1 on ESP32H2 (v5.1)
See merge request espressif/esp-idf!26963
2023-11-17 16:41:00 +08:00
morris
ddb6d22468
Merge branch 'feature/gpio_dump_io_info_v5.1' into 'release/v5.1'
...
feat(gpio): add a dump API to dump IO configurations (v5.1)
See merge request espressif/esp-idf!26870
2023-11-17 16:30:22 +08:00
morris
ceb0aec0cc
Merge branch 'bugfix/rmt_stop_issue_v5.1' into 'release/v5.1'
...
fix(rmt): a disabled channel may pick up a pending transaction (v5.1)
See merge request espressif/esp-idf!26779
2023-11-17 16:27:21 +08:00
morris
a32f0cf11e
Merge branch 'feature/mcpwm_trigger_driver_v5.1' into 'release/v5.1'
...
feature(MCPWM): Add MCPWM trigger driver (v5.1)
See merge request espressif/esp-idf!26787
2023-11-17 16:17:34 +08:00
Ilia Lutchenko
71d08e38db
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
...
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.
2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.
Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-17 15:57:28 +08:00
Song Ruo Jing
03299962f6
fix(ledc): fix ledc driver 100% duty cycle configuration
...
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.
Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12593
Closes https://github.com/espressif/esp-idf/issues/12083
2023-11-17 12:38:32 +08:00
Wang Meng Yang
472718d2cd
Merge branch 'bugfix/fix_ble_bond_error_after_reboot_v5.1' into 'release/v5.1'
...
fix(ble/bluedroid): fixed BLE bond error after reboot (backport v5.1)
See merge request espressif/esp-idf!27120
2023-11-17 10:43:08 +08:00
Jin Cheng
ac4ee1d2d6
fix(bt/bluedroid): Fix the crash of invalid access to released resources
...
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-17 10:38:55 +08:00
gaoxu
95d24edd3e
ci(adc): add a test that adc read zero after getting done signal
2023-11-17 02:16:21 +00:00
gaoxu
1179d9859f
fix(adc): fix h2 adc oneshot read zero and add delay after getting done signal v5.1
2023-11-17 02:16:21 +00:00
wuzhenghui
6b14ca55d5
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 20:40:04 +08:00
wuzhenghui
eb45eec5db
change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE
2023-11-16 20:40:03 +08:00
Alexey Lapshin
ff3ca9300a
riscv: remove outdated macros
2023-11-16 20:37:09 +08:00
Alexey Lapshin
b6b8b0bd1f
riscv: fix trigger add from trap handlers
2023-11-16 20:37:08 +08:00
Alexey Lapshin
a5091276e4
riscv: fix & refactor triggers add/delete
2023-11-16 20:37:08 +08:00
wuzhenghui
6ae596c764
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 20:03:30 +08:00
Ivan Grokhotkov
4db9dbb3e8
fix(console): switch USB PHY to OTG when OTG is used for console
...
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.
Closes https://github.com/espressif/esp-idf/issues/12437
2023-11-16 19:05:26 +08:00
chenjianhua
b862072372
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
...
- Fixed power state setting when entering modem sleep
2023-11-16 16:40:31 +08:00
chenjianhua
981d3d2336
Update bt lib for ESP32-C3 and ESP32-S3(f817304)
...
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-16 16:40:18 +08:00
zhanghaipeng
a6de577573
fix(ble/controller): Fix bugs in setting adv data and scan response data
2023-11-16 16:40:04 +08:00
chenjianhua
565c2e9d92
update esp32 bt-lib (6458728)
...
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-16 16:39:46 +08:00
chenjianhua
aaf6f7433d
feat(bt/bluedroid): support clear legacy advertising
2023-11-16 16:39:33 +08:00
Kapil Gupta
0c3440a5bc
fix(wifi): Disallow DPP and WPS concurrency
2023-11-16 12:35:19 +05:30
Kapil Gupta
5d5dac7754
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-16 12:35:15 +05:30
wuzhenghui
4e73c23e98
ci(ulp_test): fix fake sleep of the maincore in ulp pytest cases
2023-11-16 11:49:40 +08:00
wuzhenghui
61bb3fb67f
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-16 11:49:40 +08:00
wuzhenghui
46dae91a39
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-16 03:20:27 +00:00
wuzhenghui
e6bc722b38
change(esp_pm): improve POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP description
2023-11-16 03:20:27 +00:00
linruihao
11d32279a0
fix(esp_coex): Fix deprecated configuration options not rename to new one
2023-11-16 03:16:15 +00:00
linruihao
f57826e239
fix(esp_coex): Fix dependency errors in coexist configuration
2023-11-16 03:16:15 +00:00
xueyunfei
989e0371db
Fix(lwip):bugfix for add config for tcp ooseq bufs
2023-11-15 20:35:25 +08:00
zhanghaipeng
fd478346fb
fix(bt/bluedroid): Fix BLE remove bond list status
2023-11-15 07:18:04 +00:00
zhiweijian
e01f4c4d24
fix(ble/bluedroid): fixed BLE bond error after reboot
2023-11-15 07:18:04 +00:00
morris
bfeae3857c
feat(rmt): support calling rmt_receive in ISR callback
2023-11-15 05:57:45 +00:00
morris
d260d43168
fix(rmt): a disabled channel may pick up a pending transaction
...
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-11-15 05:57:45 +00:00
Chen Jichang
0ce2683d81
feature(MCPWM): Add MCPWM trigger driver and test
...
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-11-15 05:57:37 +00:00
gaoxu
dd9da56dfe
ci(adc): increase adc performance test threshold on c6 v5.1
2023-11-15 05:53:31 +00:00
Mahavir Jain
b7db75e845
Merge branch 'fix/wifi_prov_mgr_retry_auth_expire_v5.1' into 'release/v5.1'
...
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event (v5.1)
See merge request espressif/esp-idf!26901
2023-11-15 12:32:35 +08:00
xueyunfei
6b4c560d7d
Fix(tcp):optimize tcp connection
2023-11-15 11:39:28 +08:00
Ivan Grokhotkov
684a0936df
Merge branch 'contrib/github_pr_12052_v5.1' into 'release/v5.1'
...
Two small patches for build system and fatfs (GitHub PR) (v5.1)
See merge request espressif/esp-idf!26431
2023-11-14 17:16:43 +08:00
Marius Vikhammer
3d296723f3
Merge branch 'bugfix/fix_freertos_system_task_names_v5.1' into 'release/v5.1'
...
fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix (v5.1)
See merge request espressif/esp-idf!26118
2023-11-14 16:35:25 +08:00
Jiang Jiang Jian
55f5b427ee
Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.1)
See merge request espressif/esp-idf!27077
2023-11-14 15:36:42 +08:00
Jiang Jiang Jian
87f58d5cd6
Merge branch 'bugfix/move_fe_32m_to_adc_fe_common_clock_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): move fe_32m to fe/adc common clock (backport v5.1)
See merge request espressif/esp-idf!27058
2023-11-14 15:36:04 +08:00
Wang Meng Yang
c46775031e
Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs 20231020 (backport v5.1)
See merge request espressif/esp-idf!26604
2023-11-14 15:35:55 +08:00
Jiang Jiang Jian
9c5b538f05
Merge branch 'bugfix/remove_iram_attr_from_ceva_files_v5.1' into 'release/v5.1'
...
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file (v5.1)
See merge request espressif/esp-idf!26839
2023-11-14 15:34:26 +08:00
Jiang Jiang Jian
d1842fa99b
Merge branch 'bugfix/ota_fail_on_octal_flash_v5.1' into 'release/v5.1'
...
fix(ota): Fixed OTA fail on octal flash with 32MB memory (backport v5.1)
See merge request espressif/esp-idf!26811
2023-11-14 15:34:06 +08:00
Jiang Jiang Jian
c21d2b254b
Merge branch 'bugfix/increase_esp32h2_slow_clock_calibration_wdt_threshold_v5.1' into 'release/v5.1'
...
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold (backport v5.1)
See merge request espressif/esp-idf!26920
2023-11-14 15:33:43 +08:00
Jiang Jiang Jian
cee24a6ce1
Merge branch 'bringup/support_callback_mechanism_in_lightsleep_flow_v5.1' into 'release/v5.1'
...
feat(pm): support callback mechanism in lightsleep flow(backport v5.1)
See merge request espressif/esp-idf!26365
2023-11-14 15:33:19 +08:00
Jiang Jiang Jian
0172c33818
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.1' into 'release/v5.1'
...
Bugfix/fix deinit init wifi scan fail issue v5.1(Backport v5.1)
See merge request espressif/esp-idf!27064
2023-11-14 15:25:54 +08:00
Jiang Jiang Jian
8f4c9bdc03
Merge branch 'backport/fix_ble_bugs_v5.1' into 'release/v5.1'
...
Backport/fix ble bugs v5.1(backport v5.1)
See merge request espressif/esp-idf!26762
2023-11-14 15:15:40 +08:00
Jiang Jiang Jian
93a6cb9ddf
Merge branch 'bugfix/spi_master_fifo_use_dma_v5.1' into 'release/v5.1'
...
fix(spi): fixed undesired touching to DMA (v5.1)
See merge request espressif/esp-idf!26769
2023-11-14 15:13:35 +08:00
Jiang Jiang Jian
378bb1f0d1
Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v5.1' into 'release/v5.1'
...
fix(bt&ble): fix BLE unable to load bonded device info after reboot. (backport v5.1)
See merge request espressif/esp-idf!26465
2023-11-14 15:10:38 +08:00
Jiang Jiang Jian
822aa69a4b
Merge branch 'feature/support_esp32c2_rom_mbedtls_v5.1' into 'release/v5.1'
...
feat(mbedtls): support c2 mbedtls can use crypto algorithm in ROM (backport v5.1)
See merge request espressif/esp-idf!26698
2023-11-14 15:10:20 +08:00
Jiang Jiang Jian
84cd6e8691
Merge branch 'bugfix/napt_updatesV5.1' into 'release/v5.1'
...
feat(lwip): Fixes and Improvements for NAPT and SBOM Support (v5.1)
See merge request espressif/esp-idf!26334
2023-11-14 15:09:57 +08:00
Jiang Jiang Jian
1ed40720d6
Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down_v5.1' into 'release/v5.1'
...
backport v5.1: In the LP ACTIVE state, the slow clock power domain is by default in a powered-off state
See merge request espressif/esp-idf!26601
2023-11-14 15:09:02 +08:00
Wang Meng Yang
0f15eecd2c
Merge branch 'feature/include_hf_and_ag_in_single_build_v5.1' into 'release/v5.1'
...
Feature/include hf and ag in single build v5.1
See merge request espressif/esp-idf!26841
2023-11-14 15:05:52 +08:00
morris
efafacae40
Merge branch 'feature/mcpwm_timer_change_freq_v5.1' into 'release/v5.1'
...
feat(mcpwm): support update timer period dynamically (v5.1)
See merge request espressif/esp-idf!26624
2023-11-13 17:55:52 +08:00
morris
d0f84285b7
Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.1' into 'release/v5.1'
...
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.1)
See merge request espressif/esp-idf!26967
2023-11-13 16:50:11 +08:00
morris
37fd9f4050
Merge branch 'bugfix/fix_adc_oneshot_do_not_spilt_clk' into 'release/v5.1'
...
fix(adc): fix ADC oneshot mod don't divide clk (v5.1)
See merge request espressif/esp-idf!26675
2023-11-13 15:18:18 +08:00
Jakob Hasse
0da35bffbc
fix(newlib,ci): wrong floating point number handling in tests
2023-11-13 13:51:53 +08:00
gaoxu
df46426321
docs(adc): added adc calibration doc on h2
2023-11-13 03:04:03 +00:00
gaoxu
c5e107c53d
feat(adc_cali): Add ADC calibration support for ESP32H2
2023-11-13 03:04:03 +00:00
Marius Vikhammer
afd53b0b16
Merge branch 'feature/esp32h2_adds_adc_calib_efuses_v5.1' into 'release/v5.1'
...
feat(efuse): Adds efuse ADC calibration data for ESP32H2 (v5.1)
See merge request espressif/esp-idf!26977
2023-11-13 11:03:18 +08:00
Wang Mengyang
8f24e2731f
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true
2023-11-10 21:08:08 +08:00
wuzhenghui
51b03d3812
fix(esp_hw_support): move fe_32m to fe/adc common clock
2023-11-10 15:39:08 +08:00
muhaidong
abfd0cbebc
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-10 11:15:49 +08:00
muhaidong
666ba33829
fix(wifi): fix deinit init wifi scan fail issue
2023-11-10 11:15:38 +08:00
Aditya Patwardhan
482a8fb2d7
change(version): Update version to 5.1.2
2023-11-10 07:51:59 +05:30
Jiang Jiang Jian
9f2a2dbda6
Merge branch 'bugfix/ble_update_lib_1027_5.1' into 'release/v5.1'
...
ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175
See merge request espressif/esp-idf!26711
2023-11-09 16:37:36 +08:00
Jiang Jiang Jian
5b3a8ac503
Merge branch 'bugfix/hal_memcpy_v5.1' into 'release/v5.1'
...
fix(hal): Fix incorrect behavior of hal_memcpy (v5.1)
See merge request espressif/esp-idf!26910
2023-11-09 14:47:18 +08:00
zhanghaipeng
e8dc62913b
fix(bt/bluedroid): Fix ble keysize check
2023-11-08 19:46:23 +08:00
zhanghaipeng
253d19bfde
fix(bt/bluedroid): Fix ble adv report evt type
2023-11-08 19:46:19 +08:00
luomanruo
287255026e
change(ble): update c2 lib to 6ed444f2
...
update c6 and h2 lib to 77d09ce0
2023-11-08 18:09:39 +08:00
luomanruo
00f51f74e3
ble: update c2 rom.ld
2023-11-08 18:03:48 +08:00
cjin
8353ea3a09
change(ble): added option for msys buffer source
2023-11-08 18:03:48 +08:00
luomanruo
88af68f3c1
ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175
2023-11-08 18:03:48 +08:00
KonstantinKondrashov
d9b776c59a
feat(efuse): Adds efuse ADC calibration data for ESP32H2
2023-11-07 15:41:59 +08:00
Armando
6de9757a4b
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
...
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:09:21 +08:00
wuzhenghui
263a27b26b
bugfix(esp_hw_support): allow reject for lightsleep
2023-11-07 11:10:14 +08:00
Cao Sen Miao
bb7544e65a
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-06 10:49:06 +08:00
wuzhenghui
b31a07bc67
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold
2023-11-03 19:03:48 +08:00
Song Ruo Jing
4892c481b5
feat(gpio): add a dump API to dump IO configurations
...
Merges https://github.com/espressif/esp-idf/pull/12511
2023-11-03 16:21:31 +08:00
KonstantinKondrashov
7e2e82a4a0
fix(hal): Fix incorrect behavior of hal_memcpy
...
Closes https://github.com/espressif/esp-idf/issues/12489
2023-11-03 15:49:35 +08:00
Laukik Hase
6dce3d79d6
fix (wifi_prov): Retry provisioning on WIFI_AUTH_EXPIRE
event
...
- Closes https://github.com/espressif/esp-idf/issues/11749
2023-11-03 11:50:13 +05:30
darshan
b9528ba4c9
fix(protocomm): added Protocomm BLE Event Structure and Event Handling
2023-11-03 11:42:40 +05:30
zwx
a1ceb251a0
feat(openthread): add config for radio statistic feature
2023-11-03 11:02:56 +08:00
Lou Tianhao
9b3e40c9d1
feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN
2023-11-03 11:02:56 +08:00
Jiang Jiang Jian
b6fa48e3b9
Merge branch 'bugfix/fixed_ble_disconnect_under_temp_change_v5.1' into 'release/v5.1'
...
fix(ble): fixed ble disconnection issue under temperature change
See merge request espressif/esp-idf!26828
2023-11-03 07:21:35 +08:00
Lou Tianhao
42ec7a5e37
change(pm): Change sleep callback implement
2023-11-02 11:05:38 +00:00
Lou Tianhao
925da11115
feat(PowerManagement/lightsleep): Support ESP_SLEEP_EVENT_CALLBACKS
2023-11-02 11:05:38 +00:00
Lou Tianhao
15f66392d3
feat(PowerManagement/lightsleep): Support PM_LIGHT_SLEEP_CALLBACKS
2023-11-02 11:05:38 +00:00
Lou Tianhao
dce3b64411
feat(PowerManagement/lightsleep): Define and export a strong symbol of rv_core_critical_regs_restore
2023-11-02 11:05:38 +00:00
Jiang Jiang Jian
e20f68d773
Merge branch 'backport/bugfix/fix_c6_wrong_reg_offset' into 'release/v5.1'
...
fix(coex): fix esp32c6 wrong reg offset(backport v5.1)
See merge request espressif/esp-idf!26764
2023-11-02 14:19:53 +08:00
Jiang Jiang Jian
8df1e1ae66
Merge branch 'bugfix/install_key_issue_v5.1' into 'release/v5.1'
...
WiFI: Fix key install issue in PTK renew (v5.1)
See merge request espressif/esp-idf!26851
2023-11-02 14:18:42 +08:00
Jiang Jiang Jian
358c53e6c2
Merge branch 'bugfix/supplicant_tls_fix_v5.1' into 'release/v5.1'
...
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() (v5.1)
See merge request espressif/esp-idf!26846
2023-11-02 14:04:38 +08:00
zwl
f58e8b3eb4
fix(ble): fixed ble disconnection issue under temperature change
2023-11-02 08:55:33 +08:00
Jiang Jiang Jian
2a96eb9f8f
Merge branch 'bugfix/fix_wifi_enabled_macro_v5.1' into 'release/v5.1'
...
Bugfix/fix wifi enabled macro( v5.1)
See merge request espressif/esp-idf!26774
2023-11-02 08:46:58 +08:00
Kapil Gupta
ed9d5e7db8
fix(wifi): Fix key install issue in PTK renew
2023-11-01 19:49:06 +05:30
Kapil Gupta
095eae5fa3
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
2023-11-01 18:02:29 +05:30
Rahul Tank
9c44a4e1ec
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file
2023-11-01 17:36:54 +05:30
Jin Cheng
716a47074a
feat(bt/bluedroid): Support to build HID Host and HID Device in single binary
2023-11-01 19:32:13 +08:00
Wang Mengyang
8d9035c202
feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary
2023-11-01 19:31:18 +08:00
Jiang Jiang Jian
8dd9310925
Merge branch 'bugfix/fix_compilation_issue_v5.1' into 'release/v5.1'
...
fix(wpa_supplicant): Fix compilation issue in EAP disabled (v5.1)
See merge request espressif/esp-idf!26727
2023-11-01 15:40:55 +08:00
Shreyas Sheth
6c5b3c5d4c
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished
2023-10-31 15:47:07 +05:30
alanmaxwell
7e1b2a2442
fix(phy): Fix ESP32C6 rx pkts fail in light sleep mode
2023-10-31 15:56:54 +08:00
alanmaxwell
85fbfae5d2
fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro
2023-10-31 15:56:21 +08:00
Xiao Xufeng
653008f4c7
fix(spi): fixed undesired touching to DMA
...
Closes https://github.com/espressif/esp-idf/issues/12241
2023-10-31 15:52:26 +08:00
Xu Si Yu
b1ba1dbcb1
fix(coex): fix esp32c6 wrong reg offset
2023-10-31 15:28:38 +08:00
zhanghaipeng
4aa8a733ad
feat(bt/bluedroid): Display BLE permission check handle in error trace
2023-10-31 14:38:42 +08:00
zhanghaipeng
568919e1c3
feat(bt/bluedroid): Support BLE gattc notify registration number
2023-10-31 14:38:42 +08:00
zhanghaipeng
bb587cd763
fix(bt/bluedroid): Fix key size check in BLE smp
2023-10-31 14:38:42 +08:00
zhanghaipeng
b35c41aee0
fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices
2023-10-31 14:38:42 +08:00
zhanghaipeng
35afc37f1a
fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices
2023-10-31 14:38:42 +08:00
Jiang Jiang Jian
179bfaca4d
Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable_v5.1' into 'release/v5.1'
...
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
See merge request espressif/esp-idf!26683
2023-10-31 14:32:28 +08:00
Kapil Gupta
d9b36afbe6
fix(wpa_supplicant): Fix compilation issue in EAP disabled
2023-10-27 18:08:16 +05:30
Jiang Jiang Jian
f5fec8a720
Merge branch 'bugfix/esp32c6_phy_coex_sleep_issue_v5.1' into 'release/v5.1'
...
fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug (backport v5.1)
See merge request espressif/esp-idf!26668
2023-10-27 20:00:59 +08:00
Jiang Jiang Jian
162e04a641
Merge branch 'backport/support_qa_test_ot_host_config' into 'release/v5.1'
...
fix(openthread): fix host interface mdoe none(Backport v5.1)
See merge request espressif/esp-idf!26596
2023-10-27 20:00:44 +08:00
Jiang Guang Ming
336bb85806
feat(mbedtls): add new option CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for mbedtls pytest
2023-10-26 20:26:08 +08:00
Jiang Guang Ming
92b9474a71
feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM
2023-10-26 20:25:53 +08:00
Kapil Gupta
99e7db4ce5
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
2023-10-26 13:30:01 +05:30
gaoxu
b9cdadc5c6
fix(adc): fix adc oneshot mod do not split clk
2023-10-26 11:17:12 +08:00
xiaqilin
d6314b44cc
fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug
2023-10-25 16:18:35 +08:00
Li Shuai
9d97513147
change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize
2023-10-24 17:15:10 +08:00
morris
9b4a42e728
feat(mcpwm): support update timer period dynamically
...
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:11:47 +08:00
zhiweijian
1d1939a1e4
Update BLE lib on ESP32-C3 and ESP32-S3
...
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-20 16:49:15 +08:00
zhiweijian
5677692187
feat: add config to disable ble hci uart flow control
2023-10-20 16:48:33 +08:00
zhiweijian
51ebdfcbfa
change: enable pll track by default on ESP32
2023-10-20 16:47:18 +08:00
zhiweijian
95e3dbcffe
Add mesh adv type for exception list
2023-10-20 16:43:25 +08:00
chenjianhua
74a64755eb
Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
...
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-10-20 16:24:38 +08:00
chenjianhua
0a57fb4183
Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
...
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-10-20 16:24:09 +08:00
zhiweijian
567bf57805
Add new mesh types for exception list on ESP32-C3 and ESP32-S3
2023-10-20 16:23:15 +08:00
zhiweijian
15f8e677a2
Fixed bluedroid host build warning when log is disabled
2023-10-20 16:18:00 +08:00
gongyantao
f54e3ebea4
fix(bt/bluedroid): update the newest active device in bluetooth
...
1: update the newest active device when an ACL link is established and
the remote device info is not in bond list. This updates will not stored
into NVRAM until a new device is paired.
2023-10-20 14:44:54 +08:00
zwx
ad75dc5aea
fix(openthread): fix host interface mdoe none
2023-10-20 14:09:29 +08:00
Rahul Tank
4675e34f7e
fix(espcoredump): fixed compilation warning
...
Added conditional compilation for logging stack usage only when CONFIG_ESP_COREDUMP_LOGS is
enabled.
Closes: https://github.com/espressif/esp-idf/issues/12318
2023-10-20 11:23:33 +05:30
Jack
8c6114d0d2
Merge branch 'feature/free_bt_memory_v5.1' into release/v5.1
...
feat(bt): Frees BLE memory when no longer in use
See merge request espressif/esp-idf!26570
2023-10-20 08:41:19 +08:00
Jiang Jiang Jian
be63dddab4
Merge branch 'bugfix/fix_max_cccds_compilation_issue_v5.1' into 'release/v5.1'
...
fix(nimble): Fix compilation warnings when max bonds or cccd is set to 0 (v5.1)
See merge request espressif/esp-idf!26415
2023-10-20 08:15:48 +08:00
Jiang Jiang Jian
9e2a1b3109
Merge branch 'bugfix/deepfree' into 'release/v5.1'
...
fix(ble_mesh): fix compilation failure on using scene model.
See merge request espressif/esp-idf!26356
2023-10-20 08:15:20 +08:00
Jiang Jiang Jian
ae3c28fcc4
Merge branch 'bugfix/update_ble_lib_1018_5_1' into 'release/v5.1'
...
change(ble): update ble lib on c6 h2 and c2 chip
See merge request espressif/esp-idf!26543
2023-10-20 08:13:01 +08:00
Jiang Jiang Jian
90f9e7a193
Merge branch 'backport/phy_pll_track_corner' into 'release/v5.1'
...
fix(esp_phy): fix pll track corner case(Backport v5.1)
See merge request espressif/esp-idf!26548
2023-10-19 21:33:40 +08:00
Jiang Jiang Jian
fdacde73e9
Merge branch 'bugfix/deep_sleep_force_to_sleep_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): Return deep sleep APIs to the original behavior (v5.1)
See merge request espressif/esp-idf!26554
2023-10-19 17:48:43 +08:00
Shen Weilong
ea06b047c2
feat(bt): Frees BLE memory when no longer in use
...
It will free libble.a & libbt all txt, data and bss segment memory.
This memory is combined into one large memory and put into the heap
pool.
2023-10-19 14:52:29 +08:00
luomanruo
eccf07022e
fix(ble): fixed ble connection timeout issue on ESP32H2
2023-10-19 14:29:52 +08:00
Jiang Jiang Jian
55d3bc2d37
Merge branch 'bugfix/wps_condition_chain_v5.1' into 'release/v5.1'
...
fix(wifi): Fix static analyzer warning for WPS code (v5.1)
See merge request espressif/esp-idf!26494
2023-10-19 13:51:57 +08:00
zwx
99d68570a6
fix(esp_phy): fix pll track corner case
2023-10-19 10:57:38 +08:00
Kapil Gupta
5457c4c0b8
fix(wifi): Fix static analyzer warning for WPS code
2023-10-18 17:54:40 +05:30
KonstantinKondrashov
315d4864bb
fix(esp_hw_support): Return deep sleep APIs to the original behavior
...
Closes https://github.com/espressif/esp-idf/issues/12359
2023-10-18 18:18:49 +08:00
luomanruo
bacd3f40bb
ble: update controller log module for ESP32-C6, ESP32-H2 and ESP32-C2
2023-10-18 18:11:34 +08:00
zwl
f3447f256f
fix(ble): fixed ble connection timeout issue on ESP32H2
2023-10-18 17:10:28 +08:00
luomanruo
20533dccce
ble: update controller log module for ESP32-C2
2023-10-18 17:10:28 +08:00
luomanruo
85bc272490
ble: update controller log module for ESP32-H2 and ESP32-C6
2023-10-18 17:10:28 +08:00
cjin
1d693ee133
change(ble): update ble lib on c6 h2 and c2 chip
2023-10-18 17:10:19 +08:00
Jiang Jiang Jian
ee6ea577e2
Merge branch 'feature/mbedtls_3_5_0_update_v5.1' into 'release/v5.1'
...
feat(mbedtls): update to 3.5.0 release (v5.1)
See merge request espressif/esp-idf!26475
2023-10-18 17:06:00 +08:00
Jiang Jiang Jian
4fef94cde2
Merge branch 'bugfix/spurious_beacon_timeout_v51' into 'release/v5.1'
...
Fixes some WiFi issues(v5.1)
See merge request espressif/esp-idf!26529
2023-10-18 17:03:43 +08:00
Erhan Kurubas
b07702b6ad
feat(panic): send pseudo exccause to openocd
2023-10-18 10:31:42 +02:00