Mahavir Jain
94e139e639
aes: fix DMA descriptor calculation for the alignment case
...
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.
This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.
Test has also been added to cover the specific scenario in the CI.
Closes https://github.com/espressif/esp-idf/issues/11310
2023-06-07 09:26:30 +05:30
Roland Dobai
5b34c34fbc
Merge branch 'feature/remove_coredump_tests_v5.0' into 'release/v5.0'
...
coredump: remove tests (moved to esp-coredump repo) (v5.0)
See merge request espressif/esp-idf!23768
2023-05-17 01:56:21 +08:00
Jiang Jiang Jian
fc4d4f0b8d
Merge branch 'bugfix/espnow_config_channel_v5.0' into 'release/v5.0'
...
esp_wifi: fix espnow example add peer fail when config channel(v5.0)
See merge request espressif/esp-idf!23177
2023-05-16 13:46:40 +08:00
Alexey Lapshin
e092b58696
coredump: remove tests (moved to esp-coredump repo)
2023-05-16 12:49:13 +08:00
Marius Vikhammer
c47e33a1ff
Merge branch 'bugfix/c2_wdt_reset_reason_v5.0' into 'release/v5.0'
...
wdt: fix IWDT reset reason for esp32c2 (v5.0)
See merge request espressif/esp-idf!23741
2023-05-16 10:36:05 +08:00
Marius Vikhammer
3852c15670
Merge branch 'docs/ulp_fsm_example' into 'release/v5.0'
...
ulp: update docs to reflect that ulp_fsm example only supports esp32 (v5.0)
See merge request espressif/esp-idf!23752
2023-05-16 09:22:17 +08:00
Marius Vikhammer
10a98e7e58
Merge branch 'contrib/github_pr_11388_v5.0' into 'release/v5.0'
...
Update esp_cpu.h to include esp_attr.h (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23739
2023-05-16 09:21:45 +08:00
Marius Vikhammer
6ec490016c
Merge branch 'fix/console-build-error_v5.0' into 'release/v5.0'
...
console: Fix building issue when serial JTAG is set (v5.0)
See merge request espressif/esp-idf!23736
2023-05-16 09:21:06 +08:00
Zim Kalinowski
d1280d92f5
Merge branch 'feature/efuse_settings_v5.0' into 'release/v5.0'
...
hal: Explicit setting of efuse time settings (v5.0)
See merge request espressif/esp-idf!23726
2023-05-15 18:48:45 +08:00
Zim Kalinowski
0b8800eaae
Merge branch 'contrib/github_pr_10895_v5.0' into 'release/v5.0'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23691
2023-05-15 18:43:35 +08:00
Marius Vikhammer
ed1feea96f
ulp: update docs to reflect that ulp_fsm example only supports esp32
...
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-15 14:17:15 +08:00
Jiang Jiang Jian
c21a4c9858
Merge branch 'bugfix/fix_esp32_bugs_230511' into 'release/v5.0'
...
Fixed some esp32 bugs(backport v5.0)
See merge request espressif/esp-idf!23704
2023-05-15 13:40:05 +08:00
Jiang Jiang Jian
4eb2cca03d
Merge branch 'bugfix/esp_netif_loopback_v5.0' into 'release/v5.0'
...
esp-netif: Fix non-lwip build using esp_netif loopback (v5.0)
See merge request espressif/esp-idf!22925
2023-05-15 13:38:03 +08:00
Jiang Jiang Jian
cc37362ffb
Merge branch 'bugfix/lwip_no_garp_for_any_addr_v5.0' into 'release/v5.0'
...
lwip: Send Periodic Gratuitous ARP only on valid IPv4 (v5.0)
See merge request espressif/esp-idf!22965
2023-05-15 13:35:46 +08:00
morris
378fa3b792
Merge branch 'doc/update_mcpwm_deadtime_v5.0' into 'release/v5.0'
...
MCPWM: don't allow to apply the same delay module to multiple generators (v5.0)
See merge request espressif/esp-idf!23664
2023-05-15 12:25:13 +08:00
morris
8645981de0
Merge branch 'bugfix/allow_no_specify_uart_clk_src_v5.0' into 'release/v5.0'
...
uart: Allow omitting source_clk parameter to uart_param_config (v5.0)
See merge request espressif/esp-idf!23452
2023-05-15 10:44:18 +08:00
morris
04d2cc841c
Merge branch 'bugfix/himem_map_range_block_v5.0' into 'release/v5.0'
...
himem: fixed incorrect out_ptr when range_offset is given non-zero. (v5.0)
See merge request espressif/esp-idf!23081
2023-05-15 10:43:03 +08:00
morris
6439e0bd85
Merge branch 'feature/i80_lcd_allow_skip_command_phase_v5.0' into 'release/v5.0'
...
i80_lcd: allow skip command phase (v5.0)
See merge request espressif/esp-idf!23091
2023-05-15 10:41:35 +08:00
Marius Vikhammer
633b4cb38b
Merge branch 'bugfix/i2c_timing_wrong_v5.0' into 'release/v5.0'
...
i2c: fix a bug in sda sample timing (backport v5.0)
See merge request espressif/esp-idf!23226
2023-05-15 10:40:01 +08:00
Marius Vikhammer
0e71903b18
Merge branch 'contrib/github_pr_11394_v5.0' into 'release/v5.0'
...
docs: Fix typo in Linux/macOS getting started docs (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23733
2023-05-15 10:35:29 +08:00
Jakob Hasse
5946c6ad16
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-05-15 10:03:12 +08:00
morris
641221a10a
Merge branch 'bugfix/rmt_one-wire_v5.0' into 'release/v5.0'
...
rmt_onewire: refactor example with component registry (v5.0)
See merge request espressif/esp-idf!23510
2023-05-15 10:00:15 +08:00
Marius Vikhammer
3720ea91c3
ci: re-enable reset reason tests for all targets except H2.
2023-05-15 09:58:16 +08:00
Marius Vikhammer
0722386585
esp-system: fixed int WDT reset reason being reported as task WDT on C2
2023-05-15 09:53:18 +08:00
Magnus Sörensen
5f27615587
Update esp_cpu.h
...
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-15 09:51:25 +08:00
Guillaume Souchere
11653cdc9a
console: Fix building issue when serial JTAG is set
...
Closes https://github.com/espressif/esp-idf/issues/10707
2023-05-15 09:49:10 +08:00
Nihal Gonsalves
297fbc9629
Fix typo in Linux/macOS getting started docs
...
`hello_word` -> `hello_world`
2023-05-15 09:34:57 +08:00
morris
cea9f80870
Merge branch 'bugfix/mcpwm_bldc_example_v5.0' into 'release/v5.0'
...
mcpwm: test generator force level with dead time module (v5.0)
See merge request espressif/esp-idf!23715
2023-05-14 14:13:02 +08:00
morris
829cf5aaf6
Merge branch 'bugfix/check_filter_range_v5.0' into 'release/v5.0'
...
rmt: check filter and idle threashold (v5.0)
See merge request espressif/esp-idf!23605
2023-05-14 14:12:47 +08:00
KonstantinKondrashov
bd4802104b
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-12 21:48:05 +08:00
Marius Vikhammer
bfe07cbef9
Merge branch 'feature/unicore_bootloader_can_run_multicore_app_v5.0' into 'release/v5.0'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore (v5.0)
See merge request espressif/esp-idf!23027
2023-05-12 17:49:52 +08:00
Island
21cfccad3a
Merge branch 'feature/add_interface_for_ble_QA_test_5.0' into 'release/v5.0'
...
BLE: Add interface for QA test
See merge request espressif/esp-idf!22980
2023-05-12 16:27:37 +08:00
morris
24a2a98707
Merge branch 'bugfix/rmt_encode_state_init_v5.0' into 'release/v5.0'
...
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t (v5.0)
See merge request espressif/esp-idf!23240
2023-05-12 15:53:22 +08:00
Island
16b2071a4d
Merge branch 'feature/esp32c2_add_hci_buf_get_checking' into 'release/v5.0'
...
Feature/esp32c2 add hci buf get checking
See merge request espressif/esp-idf!22692
2023-05-12 14:47:59 +08:00
morris
a69a6775c9
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-12 14:40:19 +08:00
morris
2b483c98c4
Merge branch 'bugfix/fix_several_bugs_in_i2s_v5.0' into 'release/v5.0'
...
i2s: fix several bugs in std and tdm mode (v5.0)
See merge request espressif/esp-idf!23670
2023-05-12 11:03:37 +08:00
morris
36291f5468
Merge branch 'docs/add_cn_trans_i2s_v5.0' into 'release/v5.0'
...
Docs: add CN translation for i2s.rst (backport v5.0)
See merge request espressif/esp-idf!23636
2023-05-12 11:01:43 +08:00
Mo Fei Fei
ddf36db76a
Docs: add CN translation for i2s.rst (backport v5.0)
2023-05-12 11:01:42 +08:00
Jiang Jiang Jian
6b2d631eac
Merge branch 'bugfix/tx_desc_fragment_v5.0' into 'release/v5.0'
...
esp_wifi: fix potential issue when tx fragment pkt.(v5.0)
See merge request espressif/esp-idf!23043
2023-05-11 23:28:35 +08:00
Island
d2e094d29a
Merge branch 'bugfix/ble_mesh_fix_heartbeat_set_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Update the heartbeat filter entry add/remove handling (v5.0)
See merge request espressif/esp-idf!23165
2023-05-11 21:34:21 +08:00
zhiweijian
35170b7733
fix blufi doc error
2023-05-11 20:14:50 +08:00
zhiweijian
81f9fdb6e6
Fixed BLE disconnection failure on ESP32
2023-05-11 20:04:38 +08:00
zwj
6545c5aad5
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-05-11 20:04:19 +08:00
zwj
21f694dc81
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-11 20:03:39 +08:00
zhiweijian
8e5d95c953
Fixed battery profile wrong condition
2023-05-11 20:03:18 +08:00
zwl
5c0d18b6f5
Add hci uart pin reconfig API
2023-05-11 12:01:21 +00:00
zwl
15d347f8c0
ble: Add assertion checking for bluedroid hci on ESP32-C2 and ESP32-H2
2023-05-11 12:01:21 +00:00
Shen Weilong
6bfeac7b6c
BLE: Add interface for QA test
...
Fix sleep crash issue
2023-05-11 20:01:13 +08:00
morris
19aa6bb56e
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id_v5.0' into 'release/v5.0'
...
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 (v5.0)
See merge request espressif/esp-idf!23692
2023-05-11 18:56:11 +08:00
Jiang Jiang Jian
e7d4c90277
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!23299
2023-05-11 17:28:00 +08:00