Commit Graph

17821 Commits

Author SHA1 Message Date
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
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
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
muhaidong
32f629d8db esp_wifi: fix sta auth failed but softap shows it connected issue 2023-05-12 14:43:29 +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
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
chenjianhua
90f52cf0c7 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-11 20:47:45 +08:00
chenjianhua
d7a927190b bluedroid: fix ble adv data construct for device name 2023-05-11 20:47:36 +08:00
chenjianhua
dcd8427529 bluedroid: fix ble smp key distribution setting 2023-05-11 20:47:27 +08:00
chenjianhua
0cb5a90663 bluedroid: report disconnect event after BLE link closed 2023-05-11 20:47:09 +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
muhaidong
3bb3ef8920 esp_phy: add menuconfig of phy calibration mode 2023-05-11 09:27:50 +00:00
muhaidong
b2383c57cc disable reduce PHY TX power when brownout reset 2023-05-11 09:27:50 +00:00
Jiang Jiang Jian
c323399520 Merge branch 'bugfix/fix_hw_ralunderrun_assert_v5.0' into 'release/v5.0'
Fixed BLE HW RAL_UNDERRUN assert and backport some bug fix 23-03-30 (back port v5.0)

See merge request espressif/esp-idf!22989
2023-05-11 17:27:32 +08:00
Jiang Jiang Jian
0117a6e7b1 Merge branch 'bugfix/hf_cind_ind_index_v5.0' into 'release/v5.0'
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v5.0)

See merge request espressif/esp-idf!23560
2023-05-11 17:25:27 +08:00
Jiang Jiang Jian
bc2b5f52e2 Merge branch 'bugfix/bt_diable_enbale_crash_v5.0' into 'release/v5.0'
bt:Fixed esp32 controller bug (v5.0)

See merge request espressif/esp-idf!23154
2023-05-11 17:23:48 +08:00
Jiang Jiang Jian
26a5a98912 Merge branch 'bugfix/i2s_fix_intr_flag_for_pdm_rx_v5.0' into 'release/v5.0'
i2s: fix interrupt flag of pdm rx mode (v5.0)

See merge request espressif/esp-idf!23126
2023-05-11 17:23:30 +08:00
Jiang Jiang Jian
a6d818b85b Merge branch 'fix/sdio_sd_cards_not_detected_correctly_v5.0' into 'release/v5.0'
sdmmc: sdio combination cards correct setup (v5.0)

See merge request espressif/esp-idf!23479
2023-05-11 17:21:43 +08:00
Jiang Jiang Jian
65c71e9c12 Merge branch 'rebase/fix_conn_estab_tmo_issue' into 'release/v5.0'
ble:fix conn establishment timeout issue

See merge request espressif/esp-idf!23524
2023-05-11 17:21:17 +08:00
Jiang Jiang Jian
ed815995f3 Merge branch 'bugfix/wifi_prov_deinit_github_v5.0' into 'release/v5.0'
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping. (v5.0)

See merge request espressif/esp-idf!23437
2023-05-11 17:20:14 +08:00
Jiang Jiang Jian
d84fc1ea4e Merge branch 'feature/write_blob_v5.0' into 'release/v5.0'
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN (v5.0)

See merge request espressif/esp-idf!22993
2023-05-11 17:18:22 +08:00
Jiang Jiang Jian
f0426aed56 Merge branch 'bugfix/deinit_ble_v5.0' into 'release/v5.0'
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM (backport v5.0)

See merge request espressif/esp-idf!23067
2023-05-11 17:17:10 +08:00
Jiang Jiang Jian
60e68189c4 Merge branch 'bugfix/esp_nimble_config_v5.0' into 'release/v5.0'
NimBLE : Fixed config options in esp_nimble_cfg.h (v5.0)

See merge request espressif/esp-idf!23070
2023-05-11 17:13:19 +08:00
Jiang Jiang Jian
34f12c429d Merge branch 'bugfix/wps_phassphrase_v5.0' into 'release/v5.0'
wpa_supplicant: Get WPS credential in passphrase format(v5.0)

See merge request espressif/esp-idf!23076
2023-05-11 17:10:29 +08:00
Jiang Jiang Jian
aa92f108f0 Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod_v5.0' into 'release/v5.0'
bt: Optimized the document for GAP API: esp_bt_gap_set_cod (v5.0)

See merge request espressif/esp-idf!22994
2023-05-11 17:09:31 +08:00
Jiang Jiang Jian
e7ebd81eb0 Merge branch 'bugfix/fix_sc_send_failure_and_exit_issue_v5.0' into 'release/v5.0'
smartconfig: fix the issue of sending failure and exit (Backport v5.0)

See merge request espressif/esp-idf!23026
2023-05-11 17:04:17 +08:00
Jiang Jiang Jian
7c0d6d4b41 Merge branch 'bugfix/improve_tx_robust_v5.0' into 'release/v5.0'
esp_wifi: improve tx robust for c2/c3/s3(v5.0)

See merge request espressif/esp-idf!23008
2023-05-11 17:03:34 +08:00
Jiang Jiang Jian
d841134da0 Merge branch 'bugfix/update_wps_api_documentation_v5.0' into 'release/v5.0'
wpa_supplicant: Update WPS API documentation (v5.0)

See merge request espressif/esp-idf!23013
2023-05-11 17:03:12 +08:00
Mahavir Jain
3ac5d6a2dd Merge branch 'fix/esp32s3_ununsed_dcache_as_dram_v5.0' into 'release/v5.0'
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM (v5.0)

See merge request espressif/esp-idf!23268
2023-05-11 16:48:32 +08:00
morris
e8500751a8 Merge branch 'bugfix/spi_lcd_max_trans_size_v5.0' into 'release/v5.0'
spi_lcd: maximum transfer size should respect bus configuration (v5.0)

See merge request espressif/esp-idf!23230
2023-05-11 16:14:28 +08:00
xiongweichao
22eeaf2f70 bt: Deleted some redundant variables in HFP_AG 2023-05-11 06:12:38 +00:00
xiongweichao
d19ecff036 bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-11 06:12:38 +00:00
xiongweichao
ff3377ddd1 bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT 2023-05-11 06:12:38 +00:00
KonstantinKondrashov
861a5fb863 esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
It makes multicore app runnable by unicore bootloader

Closes https://github.com/espressif/esp-idf/issues/10714
2023-05-11 05:55:32 +00:00
Mahavir Jain
daeb413adc Merge branch 'contrib/github_pr_10967_v5.0' into 'release/v5.0'
[esp-tls] Add addr_family option to esp_tls_cfg_t (GitHub PR) and related coverity fixes (v5.0)

See merge request espressif/esp-idf!23169
2023-05-11 12:08:36 +08:00
Mahavir Jain
3d36df31cf Merge branch 'bugfix/block9_can_not_be_used_for_fe_v5.0' into 'release/v5.0'
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) (v5.0)

See merge request espressif/esp-idf!23290
2023-05-11 12:07:39 +08:00
Mahavir Jain
a1dd8403d6 Merge branch 'feature/update_mbedtls_v5.0' into 'release/v5.0'
mbedtls: Update to release/v3.4.0 (v5.0)

See merge request espressif/esp-idf!23400
2023-05-11 12:06:23 +08:00
term_est
e670b60126 Fix possible conversion errors by using __builtin_ffsll instead of __builtin_ffs
Signed-off-by: term_est <62337595+term-est@users.noreply.github.com>
2023-05-11 11:16:53 +08:00
Armando
23cbe3c008 mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 2023-05-11 11:16:33 +08:00
morris
889787c7ca Merge branch 'refactor/improve_adc_power_maintanance_v5.0' into 'release/v5.0'
adc: improve adc power maintanance (v5.0)

See merge request espressif/esp-idf!23273
2023-05-11 11:09:31 +08:00
chenjianhua
c48debf246 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed remote mic error during encryption procedure
2023-05-11 10:58:43 +08:00
chenjianhua
8c17ef00b1 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-11 10:57:30 +08:00
zhiweijian
70c30cad3d Disable controller 5.0 feature bits if host 5.0 feature is not enabled 2023-05-11 02:45:56 +00:00
zwj
4c506a9eea improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3 2023-05-11 02:45:56 +00:00
chenjianhua
2279603842 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-11 02:45:56 +00:00
zwj
d8e4bdc69e Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3 2023-05-11 02:45:56 +00:00
zwj
45a72222d6 If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED 2023-05-11 02:45:56 +00:00
zhiweijian
f0c6c5962a set BT_CTRL_BLE_MAX_ACT default value to 6 2023-05-11 02:45:56 +00:00
zhiweijian
b9e9a60c4f Fixed ATT Ignore wrong response error 2023-05-11 02:45:56 +00:00
zwj
0e5c6144b7 - Support ESP32C3 and ESP32S3 new BLE lib
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-05-11 02:45:56 +00:00
zwj
c6942be321 Merge ESP32C3 and ESP32S3 BLE bt.c files to one 2023-05-11 02:45:56 +00:00
Marius Vikhammer
b7ad0e0ad1 Merge branch 'bugfix/make_clean_files_v5.0' into 'release/v5.0'
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES (v5.0)

See merge request espressif/esp-idf!23662
2023-05-11 10:39:58 +08:00
Marius Vikhammer
7d24b991f8 Merge branch 'bugfix/gdma_log_nano_v5.0' into 'release/v5.0'
gdma: fixed crash from logging when using newlib nano (v5.0)

See merge request espressif/esp-idf!23586
2023-05-11 10:38:05 +08:00
morris
98d26d3c5e Merge branch 'refactor/lcd_i2c_panel_reduce_link_size_v5.0' into 'release/v5.0'
lcd_i2c: reduce recommended link size (v5.0)

See merge request espressif/esp-idf!23035
2023-05-11 10:32:09 +08:00
morris
0e3b746aeb Merge branch 'bugfix/fix_esp32_psram_2t_mode_build_fail_v5.0' into 'release/v5.0'
esp_psram: fix compile error for SPI PSRAM 2T mode (v5.0)

See merge request espressif/esp-idf!22964
2023-05-11 10:31:44 +08:00
morris
4a6c52708d Merge branch 'bugfix/fixed_sdmmc_high_speed_ddr_timing_issue_on_esp32s3_v5.0' into 'release/v5.0'
sdmmc: fixed incorrect clock phase settings on esp32s3 (v5.0)

See merge request espressif/esp-idf!23259
2023-05-11 10:31:16 +08:00
morris
c465097d9f Merge branch 'contrib/github_pr_11113_v5.0' into 'release/v5.0'
Fix usb enumeration stage error for some device (GitHub PR) (v5.0)

See merge request espressif/esp-idf!23333
2023-05-11 10:30:04 +08:00
morris
9716101e7d rmt: check filter and idle threashold
Closes https://github.com/espressif/esp-idf/issues/11262
2023-05-11 02:29:26 +00:00
morris
9d26757763 rmt_onewire: refactor example with component manager
Closes https://github.com/espressif/esp-idf/issues/10790
2023-05-11 02:28:54 +00:00
morris
0542983ed8 rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes https://github.com/espressif/esp-idf/issues/11200
2023-05-11 02:28:31 +00:00
morris
54733abf56 i80_lcd: support skip command phase
Closes https://github.com/espressif/esp-idf/issues/10794
2023-05-11 02:27:49 +00:00
morris
8d0df0a19f Merge branch 'bugfix/rmt_calarify_mem_block_symbols_v5.0' into 'release/v5.0'
Bugfix/rmt calarify mem block symbols (v5.0)

See merge request espressif/esp-idf!23000
2023-05-11 10:27:13 +08:00
morris
754274c41b Merge branch 'bugfix/lcd_spi_acquire_bus_v5.0' into 'release/v5.0'
spi_lcd: don't release bus if acquire failed (v5.0)

See merge request espressif/esp-idf!23037
2023-05-11 10:26:02 +08:00
Marius Vikhammer
b0e5fc994d Merge branch 'bugfix/esp32_pico_v3_2_chip_info_v5.0' into 'release/v5.0'
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram (v5.0)

See merge request espressif/esp-idf!23394
2023-05-11 10:24:59 +08:00
Marius Vikhammer
d20a9c1a93 Merge branch 'bugfix/static_ram_size_v5.0' into 'release/v5.0'
system: fixed USE_FIXED_STATIC_RAM_SIZE option (v5.0)

See merge request espressif/esp-idf!23108
2023-05-11 10:18:49 +08:00
Zim Kalinowski
afe2a2e9cd Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis_v5.0' into 'release/v5.0'
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active (v5.0)

See merge request espressif/esp-idf!23306
2023-05-11 02:52:47 +08:00
Zim Kalinowski
525da26363 Merge branch 'feature/esp_ringbuf_place_functions_in_flash_v5.0' into 'release/v5.0'
esp_ringbuf: Added functions to linker.lf file which can be placed in Flash (v5.0)

See merge request espressif/esp-idf!23101
2023-05-11 02:51:59 +08:00
Zim Kalinowski
9206cd4fc0 Merge branch 'feature/fix_load_efuses_from_flash_when_real_fe_is_on_v5.0' into 'release/v5.0'
efuse(virtual mode): Fix load_efuses_from_flash when FE is on (v5.0)

See merge request espressif/esp-idf!22968
2023-05-11 02:50:42 +08:00
Roland Dobai
cd56601138 Merge branch 'esptool_extrav5.0' into 'release/v5.0'
feat(esptool): allow to set force for write_flash (v5.0)

See merge request espressif/esp-idf!23256
2023-05-11 00:37:14 +08:00
Ivan Grokhotkov
5181de8ac5 versions: Update version to 5.0.2 2023-05-10 09:59:18 +02:00
laokaiyao
4dd5909b13 i2s_tdm: fixed half sample bit calculation and add check for slot mask 2023-05-10 12:28:52 +08:00
laokaiyao
f0c13fc7a8 i2s_std: fixed mclk check for 24-bit data and enable left alignment as default 2023-05-10 12:25:35 +08:00
morris
49c83f112d mcpwm: can't apply the same delay module to multiple generators
This is a hardware limitation, one delay module can only be used by one generator at one time.

Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-10 10:10:16 +08:00
Marius Vikhammer
124a43e9ec build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-10 09:56:15 +08:00
Song Ruo Jing
f9f0dfa134 uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config 2023-05-09 12:09:18 +00:00