Aditya Patwardhan
546e9e0b6e
Merge branch 'bugfix/anti_rollback_check_regression_v5.2' into 'release/v5.2'
...
fix(bootloader_support): check the secure version only for app image (v5.2)
See merge request espressif/esp-idf!29127
2024-02-20 23:30:04 +08:00
Simon H
7e9fdf598e
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
...
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.
Closes https://github.com/espressif/esp-idf/pull/12867
[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-20 19:43:12 +08:00
morris
7fafe4a9f4
Merge branch 'feature/usb_host_collective_backport_v5.2' into 'release/v5.2'
...
USB Host: Collective backport to v5.2
See merge request espressif/esp-idf!28095
2024-02-20 18:51:26 +08:00
Marius Vikhammer
08a50af080
Merge branch 'bugfix/heap_task_includes_v5.2' into 'release/v5.2'
...
fix(heap): fixed missing include in esp_heap_task_info.h (v5.2)
See merge request espressif/esp-idf!29116
2024-02-20 18:24:30 +08:00
Mahavir Jain
b2cdc06789
fix(bootloader_support): check the secure version only for app image
...
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.
Regression introduced in recent commit-id: 3305cb4d
Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 14:45:27 +05:30
Shu Chen
dbbe2cf173
Merge branch 'backport5.2/openthread_backport' into 'release/v5.2'
...
some openthread changes backport to release/v5.2
See merge request espressif/esp-idf!28637
2024-02-20 17:01:36 +08:00
Marius Vikhammer
cb270eebd6
Merge branch 'bugfix/remove_o0_bootloader_v5.2' into 'release/v5.2'
...
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4 (v5.2)
See merge request espressif/esp-idf!28752
2024-02-20 16:52:33 +08:00
Jiang Jiang Jian
5cb1e9f6f4
Merge branch 'feat/support_get_bluedroid_status_v5.2' into 'release/v5.2'
...
Support get status of bluedroid host (backport v5.2)
See merge request espressif/esp-idf!28881
2024-02-20 14:33:46 +08:00
aditi_lonkar
a3ba6b299d
fix(wpa_supplicant):Add MBO config flag for mbo apis
2024-02-20 13:54:20 +08:00
Rahul Tank
768bd4750d
Merge branch 'feat/ble_gap_dev_auth_v5.2' into 'release/v5.2'
...
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)
See merge request espressif/esp-idf!29079
2024-02-20 12:38:35 +08:00
Marius Vikhammer
6b1413c3e9
fix(heap): fixed missing include in esp_heap_task_info.h
...
Would fail to compile if esp_heap_task_info.h was included without/before freertos includes
2024-02-20 12:04:45 +08:00
morris
1156370c00
Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.2' into 'release/v5.2'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.2)
See merge request espressif/esp-idf!28332
2024-02-20 11:25:00 +08:00
zwx
fff9980a5b
feat(openthread): disable the rx on when idle in coex scenario
2024-02-20 10:41:10 +08:00
zwx
cb04df5ddf
fix(openthread): fix RCP handle timeout crashing issue
...
* update openthread upstream
2024-02-20 10:41:00 +08:00
zwx
a64744883d
fix(openthread): support uart ISR in IRAM
2024-02-20 10:32:10 +08:00
zwx
3a9bf62ed6
fix(802154): fix pending tx will be delayed issue
2024-02-20 10:32:00 +08:00
Shu Chen
c923dd4df4
feat(ieee802154): make the receive done handler feature mandatory
2024-02-20 10:31:29 +08:00
Shu Chen
1085fece61
feat(ieee802154): remove the ieee802154 lib submodule
2024-02-20 10:31:29 +08:00
zwx
51bc01b557
feat(openthread): support openthread radio caps rx on when idle
2024-02-20 10:31:29 +08:00
xiaqilin
dfb75ff2ac
fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex
2024-02-20 10:31:29 +08:00
zwx
f978fc10c0
feat(802.15.4): introduce pending tx while rx feature
2024-02-20 10:31:29 +08:00
zwx
4184b48aa8
feat(openthread): integrate console command with ot command
2024-02-20 10:31:29 +08:00
Xu Si Yu
06cca86017
feat(openthread): add menuconfig for openthread address query
2024-02-20 10:31:29 +08:00
Xu Si Yu
4ddb253788
fix(openthread): set spinel frame buffer to member variables
2024-02-20 10:31:29 +08:00
Xu Si Yu
936bba8073
feat(openthread): support esp openthread radio spinel
2024-02-20 10:31:29 +08:00
Darshan Dobariya
d9de786520
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)
2024-02-19 16:27:45 +05:30
Rahul Tank
e0944287f3
Merge branch 'bugfix/backport_ble_nimble_fixes_5.2' into 'release/v5.2'
...
fix(nimble) : Bugfix/backport ble nimble fixes 5.2
See merge request espressif/esp-idf!29098
2024-02-19 18:04:35 +08:00
Darian Leung
471fe41828
refactor(soc): Remove soc/usb_types.h
...
This header has been removed for the following reasons:
- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-02-19 15:45:04 +08:00
Darian Leung
b07a43e630
refactor(soc): Rename usb_otg_periph to usb_dwc_periph
...
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-02-19 15:45:04 +08:00
Darian Leung
50b3a35c52
refactor(soc): Deprecate usb pin mappings
...
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-02-19 15:45:03 +08:00
Darian Leung
86fb02efa4
refactor(hal): Remove usb_hal and usb_ll
...
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-02-19 15:45:03 +08:00
Tomas Rezucha
f57ef07e14
feat(usb/host): Calculate FIFO sizes based on USB configuration
2024-02-19 15:45:02 +08:00
Darian Leung
2f6e45c79b
refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
...
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-02-19 15:45:02 +08:00
Darian Leung
f0219b73f9
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-19 15:45:02 +08:00
Darian Leung
f2ede42191
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-19 15:45:01 +08:00
Darian Leung
c1f0823795
refactor(hal/usb): Remove usage of old USB OTG config macros
2024-02-19 15:45:01 +08:00
Darian Leung
d08b90c5cc
refactor(soc/host): Update USB OTG struct fields
...
This commit updates the "*_struct.h" files for the USB OTG peripheral:
- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-19 15:45:00 +08:00
Darian Leung
bf9706dc31
refactor(hal/usb): Fix USB OTG compilation dependency
...
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2024-02-19 15:45:00 +08:00
Darian Leung
3964fb2d04
refactor(usb/host): reformat code with astyle_py
2024-02-19 15:45:00 +08:00
Tomas Rezucha
1e2c271bd0
fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
...
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2024-02-19 15:44:59 +08:00
Tomas Rezucha
0ce4aa114e
fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
...
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2024-02-19 15:44:59 +08:00
Island
1c2a6712e3
Merge branch 'bugfix/ble_update_lib_20240125_v5.2' into 'release/v5.2'
...
Bugfix/ble update lib 20240125 v5.2
See merge request espressif/esp-idf!28710
2024-02-19 15:29:25 +08:00
Island
d4dd0d4201
Merge branch 'bugfix/fix_some_ble_issue_v5.2' into 'release/v5.2'
...
Bugfix/fix some ble issue v5.2(backport v5.2)
See merge request espressif/esp-idf!28617
2024-02-19 15:19:24 +08:00
gaoxu
7ab43c0fbd
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy)
2024-02-19 15:02:30 +08:00
Kapil Gupta
3d8fd79a10
fix(wifi): add low memory options for eap enterprise
2024-02-19 14:33:55 +08:00
Sumeet Singh
d9561b8fc7
fix(nimble): Out of order messages during SMP causing DOS vulerability (v5.2)
2024-02-19 09:27:55 +05:30
Rahul Tank
bc3dcdfc0d
fix(nimble): Merge hci_common.h file for all chips
2024-02-19 09:27:09 +05:30
Roshan Bangar
012506114e
feat(nimble): Nimble Host only mode over uart
2024-02-19 09:26:34 +05:30
SumeetSingh19
e23a61a47a
feat(nimble): client presentation and aggregate format descriptor support
2024-02-19 09:24:34 +05:30
SumeetSingh19
c0f48a19fc
feat(nimble): signed write support
2024-02-19 09:24:30 +05:30
SumeetSingh19
7d6f5fa71d
feat(nimble): additional AD types for advertisements
2024-02-19 09:24:26 +05:30
SumeetSingh19
16acdf1bbb
feat(nimble): authorization permission on gatt read and write
2024-02-19 09:24:21 +05:30
SumeetSingh19
e16882f0cd
fix(nimble): allow auto connection and observer role
2024-02-19 09:24:14 +05:30
Jiang Jiang Jian
7e6e769aed
Merge branch 'bugfix/ble_bug_backport_20240205' into 'release/v5.2'
...
Bugfix/ble bug backport 20240205 (backport v5.2)
See merge request espressif/esp-idf!28901
2024-02-19 11:07:29 +08:00
Jiang Jiang Jian
8ab1027fee
Merge branch 'bugfix/fix_ble_tx_2m_problem_causing_by_phy_wifi_enable_set_v5.2' into 'release/v5.2'
...
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set() (backport v5.2)
See merge request espressif/esp-idf!28762
2024-02-19 11:04:45 +08:00
Jiang Jiang Jian
65d127da88
Merge branch 'feature/supplicant_bss_extmem_v5.2' into 'release/v5.2'
...
WiFi: Add support to move supplicant BSS to external memory (v5.2)
See merge request espressif/esp-idf!28743
2024-02-19 11:04:24 +08:00
Jiang Jiang Jian
e8548e7a1a
Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.2' into 'release/v5.2'
...
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.2)
See merge request espressif/esp-idf!28666
2024-02-19 11:03:52 +08:00
Jiang Jiang Jian
6bfe219bb1
Merge branch 'ci/enable_ip101_jobs_v5.2' into 'release/v5.2'
...
ci(esp_eth): enabled Ethernet ip101 jobs (v5.2)
See merge request espressif/esp-idf!28613
2024-02-19 11:02:42 +08:00
Jiang Jiang Jian
4f5c87a294
Merge branch 'fix/ble_mesh_reject_node_reset_v5.2' into 'release/v5.2'
...
fix(ble_mesh): reject node-reseting when provision link is active (v5.2)
See merge request espressif/esp-idf!28235
2024-02-19 11:00:18 +08:00
Jiang Jiang Jian
5a557bb595
Merge branch 'bugfix/lan8720_ci_speed_v5.2' into 'release/v5.2'
...
feat(esp_eth): added ioctl option to read/write PHY registers - v5.2
See merge request espressif/esp-idf!27098
2024-02-19 10:59:46 +08:00
Jiang Jiang Jian
2b084b1f6b
Merge branch 'feature/support_gdma_retention_v5.2' into 'release/v5.2'
...
feature: support gdma retention in pd_top lightsleep (v5.2)
See merge request espressif/esp-idf!29090
2024-02-19 10:56:16 +08:00
Darian Leung
b7c3f01ac8
change(usb/host): Remove some handler function event flags
...
This commit removes internal event flags in the USB Host Library event handling
functions (i.e., usb_host_lib_handle_events() and usb_host_client_handle_events()).
Previously, these flags were added to reduce the number of times semaphores
were given. However, these flags were removed as the performance gain is
negligible and made the logic more complicated.
For usb_host_client_handle_events(), the following flags were removed:
- Remove 'events_pending' flag. The semaphore is now always given
- Remove 'blocked' flag. The 'handling_events' flag is already sufficient
- Critical sections are now shortened due to simplication of semaphore usage.
For usb_host_lib_handle_events(), the following flags were removed:
- Remove 'process_pending' flag. The semaphore is now always given
- Renamed 'blocked' flag to 'handling_events'
2024-02-19 06:57:31 +08:00
Darian Leung
d9de61cbad
change(usb/host): Remove data buffer headers from URBs
...
This commit removes the ability to reserve a header in the data buffer of an
allocated URB. The header was required for a now defunct implementation of a
synchronous USB Host library API. Thus, headers are no longer required in
URB data buffers.
2024-02-19 06:57:30 +08:00
morris
8d2c1a6265
Merge branch 'bugfix/fix_integral_div_calc_in_hal_util_v5.2' into 'release/v5.2'
...
fix(hal_utils): add division range check in integral algorithm (v5.2)
See merge request espressif/esp-idf!28628
2024-02-18 16:08:17 +08:00
wuzhenghui
2cd8335818
feat(esp_hw_support): support gdma register context sleep retention
2024-02-18 15:57:15 +08:00
Roland Dobai
202c60bf6b
Merge branch 'bugfix/kconcheck_file_checks_v5.2' into 'release/v5.2'
...
Bugfix/kconcheck file checks v5.2
See merge request espressif/esp-idf!28976
2024-02-18 15:33:12 +08:00
Roland Dobai
04ce3affe9
Merge branch 'coredump_traverse_state_lists_v5.2' into 'release/v5.2'
...
Improve the probability of accessing healthy TCBs (v5.2)
See merge request espressif/esp-idf!28662
2024-02-18 15:32:18 +08:00
InfiniteYuan
e8d7ecaec8
feat: ble mesh: improve ble mesh deinit when nimble enable
2024-02-18 11:35:47 +08:00
morris
81dc597d1f
Merge branch 'bugfix/fix_incorrect_regbase_name_of_i2s_v5.2' into 'release/v5.2'
...
fix(i2s): fixed incorrect reg base name on C3 (v5.2)
See merge request espressif/esp-idf!28629
2024-02-18 11:29:42 +08:00
morris
a65db35c13
Merge branch 'bugfix/bod_threshold_v5.2' into 'release/v5.2'
...
fix(bod): Fix BOD threshold value on ESP32H2(backport v5.2)
See merge request espressif/esp-idf!28622
2024-02-18 11:00:47 +08:00
morris
9875bee9d8
Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2_v5.2' into 'release/v5.2'
...
fix(cache): fix wrong dcache size 0 configuration issue on s2 (v5.2)
See merge request espressif/esp-idf!28289
2024-02-18 10:58:20 +08:00
morris
eae7bba46f
Merge branch 'feature/usb_hs_support_v5.2' into 'release/v5.2'
...
feat(usb/host): Add High Speed enumeration types (backport v5.2)
See merge request espressif/esp-idf!28058
2024-02-18 10:57:33 +08:00
morris
df558f4f39
Merge branch 'feature/bytes_encoder_config_update_v5.2' into 'release/v5.2'
...
feat(rmt): support update bytes encoder configurations at runtime (v5.2)
See merge request espressif/esp-idf!28381
2024-02-18 10:54:54 +08:00
morris
715df99f8c
Merge branch 'contrib/github_pr_12908_v5.2' into 'release/v5.2'
...
spi_lcd: add flag to control the DC level in cmd/param/data phase separately (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28240
2024-02-18 10:53:28 +08:00
morris
9961629d58
Merge branch 'feature/rmt_encoder_memory_allocator_v5.2' into 'release/v5.2'
...
feat(rmt): added a help function for allocating encoder memory (v5.2)
See merge request espressif/esp-idf!28790
2024-02-18 10:52:39 +08:00
morris
de6aecf2ab
Merge branch 'contrib/github_pr_13020_v5.2' into 'release/v5.2'
...
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28810
2024-02-18 10:52:27 +08:00
morris
48e3103c8c
Merge branch 'bugfix/mcpwm_reset_generator_gpio_v5.2' into 'release/v5.2'
...
fix(mcpwm): reset GPIO used by generator after delete (v5.2)
See merge request espressif/esp-idf!28831
2024-02-18 10:51:52 +08:00
Marius Vikhammer
2c0d846eaf
Merge branch 'bugfix/rtc_i2c_not_in_od_mode_v5.2' into 'release/v5.2'
...
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs (v5.2)
See merge request espressif/esp-idf!28931
2024-02-18 10:47:55 +08:00
Marius Vikhammer
709d8ef685
Merge branch 'fix/heap-trace-hash-map-remove_v5.2' into 'release/v5.2'
...
fix(heap): prevent double traversal of hashmap in map_find_and_remove (backport v5.2)
See merge request espressif/esp-idf!28062
2024-02-18 10:47:04 +08:00
Marius Vikhammer
47b7e61dc3
Merge branch 'contrib/github_pr_12785_v5.2' into 'release/v5.2'
...
Provide ulp_adc_deinit() API to fix ADC1 handle leakage (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28455
2024-02-18 10:41:30 +08:00
Marius Vikhammer
6b6ca2d1ca
Merge branch 'bugfix/linenoise_calculates_negative_prompt_len_v5.2' into 'release/v5.2'
...
fix(console): Fixed linenoise prompt length calculation (v5.2)
See merge request espressif/esp-idf!28526
2024-02-18 10:40:37 +08:00
Marius Vikhammer
0d48a7cda4
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4
...
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE doesnt really have many use cases, but it will
force us to keep increasing bootloader segment sizes just to allow for building this options.
Deprecate this config for new chips.
2024-02-18 10:40:27 +08:00
Marius Vikhammer
228c9a7538
Merge branch 'bugfix_lp_i2c_not_in_od_mode_v5.2' into 'release/v5.2'
...
fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode (v5.2)
See merge request espressif/esp-idf!28770
2024-02-18 10:39:56 +08:00
Wang Meng Yang
9e984cd49e
Merge branch 'bugfix/no_wakeup_sleep_v5.2' into 'release/v5.2'
...
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.2)
See merge request espressif/esp-idf!28720
2024-02-18 09:53:01 +08:00
Wang Meng Yang
ee4fdf8447
Merge branch 'bugfix/spp_disc_connect_btqabr2023_156_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fixed SPP connection failure(v5.2)
See merge request espressif/esp-idf!28524
2024-02-18 09:50:25 +08:00
Wang Meng Yang
406e11bea2
Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fix dangling pointer issue when logging removed section (backport v5.2)
See merge request espressif/esp-idf!28961
2024-02-18 09:45:39 +08:00
Darshan Dobariya
6ce28ee59b
fix(nimble): Added support for address resolution during inquiry.
2024-02-16 20:51:24 +05:30
Roshan Bangar
c1efc55584
feat(nimble): Gatt caching support
2024-02-16 18:15:56 +05:30
Rahul Tank
99552ebd15
Merge branch 'bugfix/handle_task_lock_v5.2' into 'release/v5.2'
...
fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled (v5.2)
See merge request espressif/esp-idf!28417
2024-02-16 20:41:19 +08:00
Mahavir Jain
b43aa0404a
Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled_v5.2' into 'release/v5.2'
...
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled (v5.2)
See merge request espressif/esp-idf!29067
2024-02-16 18:22:01 +08:00
Rahul Tank
600bd44c72
fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled
2024-02-16 15:33:24 +05:30
Rahul Tank
8b1c532754
Merge branch 'bugfix/reattempt_conn_feat_extended_v5.2' into 'release/v5.2'
...
fix(nimble): Support for reattempt connection in ext connect (v5.2)
See merge request espressif/esp-idf!28305
2024-02-16 17:58:17 +08:00
Mahavir Jain
1181f59158
Merge branch 'fix/packed-attribute-definition' into 'release/v5.2'
...
fix(esp_attr): Remove semiclon from PACKED attribute
See merge request espressif/esp-idf!29021
2024-02-16 15:06:07 +08:00
harshal.patil
5862b981ed
fix(mbedtls/gcm): Avoid using GCM hardware when config MBEDTLS_HARDWARE_GCM is disabled
2024-02-16 11:54:39 +05:30
harshal.patil
38f13b15d3
fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled
2024-02-16 11:54:37 +05:30
Rahul Tank
71932c99fc
fix(nimble): Support for reattempt connection in ext connect
2024-02-16 11:32:15 +05:30
Rahul Tank
2d36710ca1
Merge branch 'bugfix/enable_addr_resol_across_reboot_v5.2' into 'release/v5.2'
...
fix(nimble): Enable address resolution across reboot (v5.2)
See merge request espressif/esp-idf!28214
2024-02-16 14:01:14 +08:00
Mahavir Jain
d7f19c4a37
Merge branch 'bugfix/ota_anti_rollback_checks_2_v5.2' into 'release/v5.2'
...
feat(bootloader_support): Read secure_version under sha256 protection (v5.2)
See merge request espressif/esp-idf!29059
2024-02-16 13:55:13 +08:00
Mahavir Jain
3549a154b0
Merge branch 'bugfix/fix_http_auth_without_qop_v5.2' into 'release/v5.2'
...
fix(esp_http_client): Fix http digest auth without qop (v5.2)
See merge request espressif/esp-idf!28757
2024-02-16 13:50:46 +08:00
Mahavir Jain
4beadd4c57
Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length_v5.2' into 'release/v5.2'
...
feat(bootloader_support): Encrypt only the app image instead of the whole partition (v5.2)
See merge request espressif/esp-idf!28265
2024-02-16 13:49:01 +08:00
Mahavir Jain
51d2f67f02
Merge branch 'bugfix/fix_http_client_error_v5.2' into 'release/v5.2'
...
esp_http_client: Fix reset errno to 0 before call esp_transport_read(backport v5.2)
See merge request espressif/esp-idf!28329
2024-02-16 13:48:43 +08:00
Mahavir Jain
1bd76ee0da
Merge branch 'bugfix/update_jtag_disabling_api_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG (v5.2)
See merge request espressif/esp-idf!28492
2024-02-16 13:48:36 +08:00
Mahavir Jain
360ecf5613
Merge branch 'feature/update_mbedtls_v5.2' into 'release/v5.2'
...
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2 (v5.2)
See merge request espressif/esp-idf!28892
2024-02-16 13:48:28 +08:00
Mahavir Jain
cc2db3d190
Merge branch 'bugfix/soc_cpu_subsys_region_v5.2' into 'release/v5.2'
...
fix(soc): change debug addr range to CPU subsystem range (v5.2)
See merge request espressif/esp-idf!28671
2024-02-16 13:47:49 +08:00
Mahavir Jain
4c95aa445d
fix(ota): additional checks for secure version in anti-rollback case
...
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).
- Read secure_version under sha256 protection
- First check has been added in the bootloader to ensure correct secure
version after application verification and loading stage. This check
happens before setting up the flash cache mapping and handling over
the final control to application. This check ensures that application
was not swapped (e.g., to lower security version but valid image) just
before the load stage in bootloader.
- Second check has been added in the application startup code to ensure
that currently booting app has higher security version than the one
programmed in the eFuse for anti-rollback scenario. This will ensure
that only the legit application boots-up on the device for
anti-rollback case.
2024-02-15 15:08:26 +02:00
Ondrej Kosta
79d34bf5d5
feat(esp_eth): added SPI Ethernet module polling mode
...
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-14 10:05:22 +01:00
Guillaume Souchere
8fbc34a356
fix(esp_attr): Remove semiclon from PACKED attribute
...
When the macro was introduced, a semicolon was added at the end
of the definition and merged like that in v5.2 release. The semicolon
was then removed in master but the change was never backported in v5.2.
This commit removes the semicolon to the definition of the PATCKED_ATTR
macro in v5.2.
Closes https://github.com/espressif/esp-idf/issues/13149
2024-02-12 09:51:10 +01:00
Jakub Kocka
8a6fe49314
fix: Fixed KConfig files that were not succesfully checked
2024-02-07 15:09:35 +01:00
gongyantao
72a8b4e6e8
fix(bt/bluedroid): fix dangling pointer issue when logging remove section
2024-02-07 14:57:28 +08:00
InfiniteYuan
b2dcd46063
ble_mesh: stack: fix the structure init order to meet C++ requirements
2024-02-07 10:09:20 +08:00
morris
cc649ea869
Merge branch 'contrib/github_pr_12998_v5.2' into 'release/v5.2'
...
fix(twai): TWAI_GENERAL_CONFIG_DEFAULT initialize controller_id (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28572
2024-02-06 21:30:26 +08:00
Omar Chebib
e10cbd108b
fix(bootloader): add legacy retained memory CRC calculation
...
* Closes https://github.com/espressif/esp-idf/issues/12849
In former versions of ESP-IDF, the user custom memory data in the retained memory
was taken into account during the CRC calculation. This was changed in a later
commit, the custom memory was ignored, therefore this can seen as a breaking change.
This commit gives the possibility to choose between the former (legacy) or
new way of calculating the CRC.
2024-02-06 16:15:24 +08:00
Sudeep Mohanty
b8139a609b
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs
...
This commit updates the RTC I2C driver in the ULP RISC-V to initialize
all I2C IOs in open-drain mode.
2024-02-06 08:41:55 +01:00
InfiniteYuan
af72c4b94f
ble_mesh: update ble mesh ble adv type
2024-02-06 14:14:57 +08:00
morris
5c30cc24fd
fix(rgb_lcd): relax the check for the data line GPIO
...
There are a bunch of cases you might want some pins not exposed.
Eg.
* Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins
* Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).
* Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.
Removing this validation makes these cases work.
Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:31:33 +08:00
zhiweijian
c924e0cfe4
feat(ble/controller): Add API to get BLE controller status on ESP32
2024-02-05 16:02:07 +08:00
zhiweijian
68d2915377
Fixed xQueueSemaphoreTask assert when deinit host during scan
2024-02-05 16:01:29 +08:00
nilesh.kale
7d358754a2
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2
...
This updates the submodule mbedtls to its latest version 3.5.2.
2024-02-05 12:50:27 +05:30
chenjianhua
024bccbc58
feat(bt/bluedroid): Support get status of bluedroid host
2024-02-04 16:30:15 +08:00
chenjianhua
7af929f825
feat(bt/bluedroid): Make the max number of bond device to be configurable
2024-02-04 16:28:57 +08:00
zhanghaipeng
d0e94733f0
fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
...
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:43:05 +08:00
chenjianhua
861318b138
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
...
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:42:57 +08:00
morris
d4db16058d
fix(mcpwm): reset GPIO used by generator after delete
...
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:47:55 +08:00
Brian Whitman
ab8ab03537
fix(rgb_lcd): don't assume 16 bit width on panels for restart logic
...
Merges https://github.com/espressif/esp-idf/pull/13020
2024-01-31 18:52:27 +08:00
laokaiyao
03fb722ca5
fix(hal_utils): add division range check in integral algorithm
2024-01-31 12:06:43 +08:00
morris
5ad9e6b87f
feat(rmt): added a help function for allocating encoder memory
...
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE
Closes https://github.com/espressif/esp-idf/issues/13032
2024-01-30 17:03:41 +08:00
xiongweichao
0a0aaa23e0
fix(ble): Fixed macro definition error for 136K clock drift
2024-01-30 15:37:59 +08:00
xiongweichao
028f174467
fix(ble): Fixed Bluetooth not waking up due to clock drift
2024-01-30 15:37:44 +08:00
Wu Meng Shi
ed4bf92b8e
fix(ble_mesh): Reject node reset when provisioning link is active
2024-01-30 10:44:13 +08:00
Sudeep Mohanty
a05e40bfe3
fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode
...
This commit fixes an issue where in the LP I2C IO lines were not
initialized in open-drain mode.
Closes https://github.com/espressif/esp-idf/issues/12969
2024-01-29 09:48:16 +01:00
zhiweijian
49eab1da5c
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()
...
1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed wifi boot bug at low temp on ESP32-C6
4. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2024-01-29 14:08:46 +08:00
Mahavir Jain
e173895618
fix(soc): change debug addr range to CPU subsystem range
...
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).
For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.
For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-29 13:57:04 +08:00
Harshit Malpani
302661ed5f
fix(esp_http_client): Fix http digest auth without qop
...
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-29 11:00:58 +05:30
Kapil Gupta
d900eed440
fix(wifi): Add support to move supplicant BSS to external memory
2024-01-27 10:40:54 +05:30
Erhan Kurubas
054f33b386
feat(coredump): improve the probability of accessing healthy TCBs
2024-01-26 22:55:16 +08:00
laokaiyao
66d7410051
fix(i2s): fixed incorrect reg base name on C3
...
Closes https://github.com/espressif/esp-idf/issues/12643
2024-01-26 18:44:38 +08:00
zhanghaipeng
cc254d8ff3
feat(bt/bluedroid): Support ext adv aux option
2024-01-26 16:21:27 +08:00
zhanghaipeng
62b84e3169
fix(bt/bluedroid): Fix BLE malloc internal wrapper fail
2024-01-26 16:21:27 +08:00
Zeke Gustafson
29e1ca5ddd
feat(ble/bluedroid): Add getter for BLE GAP callback
2024-01-26 16:21:27 +08:00
Zeke Gustafson
5ed6abc5e2
feat(ble/bluedroid): Add getter for BLE GATTS callback
2024-01-26 16:21:27 +08:00
zhanghaipeng
9b2e0a2a01
feat(ble/bluedroid): Add getter for BLE GATTC calllback
2024-01-26 16:21:27 +08:00
zhanghaipeng
217ed6c1bf
docs(ble/bluedroid): Optimize documentation for BLE duplicate scan
2024-01-26 16:21:27 +08:00
zhanghaipeng
48abf362c0
fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices
2024-01-26 16:21:27 +08:00
zhanghaipeng
14bb24c3ab
fix(ble/bluedroid): Fix BLE background connection log level
2024-01-26 16:21:27 +08:00
hongshuqing
9373d53ce7
feat(pmu): set fix voltage to different mode for esp32h2
...
h2 remove include
2024-01-26 11:36:57 +08:00
KonstantinKondrashov
64b1bd6cb2
feat(efuse): Adds new efuses for esp32c6
2024-01-26 11:36:57 +08:00
KonstantinKondrashov
bc6072c754
feat(efuse): Adds new efuse for esp32h2
2024-01-26 11:36:56 +08:00
zwl
fdcd6783d7
Update ble lib to eb473dda on ESP32-C6 and ESP32-H2
2024-01-25 20:38:49 +08:00
zwl
410db7f812
feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2
2024-01-25 20:38:43 +08:00
zwl
de5644f88c
feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2
2024-01-25 20:38:34 +08:00