Commit Graph

17766 Commits

Author SHA1 Message Date
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
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
Omar Chebib
ed70f1c66b i2c: fix a bug in sda sample timing
* Closes https://github.com/espressif/esp-idf/issues/9777

This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-05-06 08:05:32 +00:00
Marius Vikhammer
798dac6225 gdma: fixed crash from logging when using newlib nano
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.

Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:48:48 +08:00
zwj
cd1b88c97e Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-05-04 06:37:19 +00:00
wangmengyang
239e97ff7e bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-05-04 06:37:19 +00:00
xiongweichao
a83b16f18d bt:Fixed esp32 controller bug
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval

Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-05-04 06:37:19 +00:00
xiongweichao
0624049a60 bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:12:56 +08:00
Laukik Hase
841e033de8
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH value
- As per the memory block diagram for ESP32-S3, the
  internal memory address ranges as follows:
  DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
  IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-05-04 10:54:35 +05:30
Laukik Hase
e0bedd19ab
esp_hw_support: Update memory ptr location/property checks
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3

- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
  the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
  check on that memory pointer, it fails as the address block from 0x3C000000
  corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
  (E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
  the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
  have been updated to acknowledge this memory as a part of the DRAM.

Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-05-04 10:54:34 +05:30
laokaiyao
18d7ecc470 i2s: fix interrupt flag of pdm rx mode
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-05-04 04:23:30 +00:00
KonstantinKondrashov
11e71cd3eb fixup! efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) 2023-05-01 06:23:23 +00:00
KonstantinKondrashov
94ae902d78 efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
    - BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-05-01 06:23:23 +00:00
Jin Chen
0f9ba10f4e ble:fix connection establishemnt timeout issue 2023-04-28 17:47:29 +08:00
Armando
08c77a7eaf sar: init sar periph power state 2023-04-27 10:52:38 +08:00
Adam Múdry
6bb750901d sdmmc: sdio combination cards correct setup
Co-authored-by: Mau Abata <mauabata@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/9822
Closes https://github.com/espressif/esp-idf/issues/10280
2023-04-26 13:28:09 +02:00
isha.pardikar@espressif.com
8aff96d382 wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping. 2023-04-25 15:48:18 +05:30
harshal.patil
35d466b814 mbedtls: fix ci failures for update v3.4.0
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c,
clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang.
- In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public.
- But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`,
only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined.
- added a patch in mbedtls library to fix it.
2023-04-24 12:07:10 +05:30
harshal.patil
c293708409 mbedtls: replace low-level sha apis with md apis in esp_ssl_tls 2023-04-24 12:03:55 +05:30
harshal.patil
8017e23611 mbedtls: Update config options as per release/v3.4.0
- Added a Kconfig option for the newly added mbedtls option MBEDTLS_PKCS7_C
2023-04-24 12:03:55 +05:30
harshal.patil
911c12b7f0 mbedtls: Update to release/v3.4.0
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-24 12:03:55 +05:30
Marius Vikhammer
b2c883f0c0 system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 13:53:34 +08:00
Darian Leung
b79cdd7e54 usb_host: Update docs and comments regarding first configuration enumeration
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113.
2023-04-21 12:50:00 +08:00
Jason
62e1e5b765 Fix usb enumeration stage error for some device 2023-04-21 12:50:00 +08:00
KonstantinKondrashov
b1315b27c5 esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-20 14:49:12 +08:00
wuzhenghui
46a1253022 bugfix: fix deepsleep saradc leakage 2023-04-20 11:45:58 +08:00
Li Shuai
d84cdace52 sleep: fix sleep current issue caused by sar adc 2023-04-20 11:45:58 +08:00
chenjianhua
cceb2b4db6 bluedroid: support get bluetooth device name 2023-04-20 10:54:16 +08:00
chenjianhua
3eb5185b7b bluedroid: report status after clearing the BLE white list 2023-04-20 10:38:23 +08:00
chenjianhua
11147b0473 bluedroid: fix GATTC cache address save 2023-04-20 10:37:13 +08:00
chenjianhua
fa051d8dc4 bluedroid: fix adv and scan state conflict 2023-04-20 10:36:14 +08:00
Armando
85980884d7 adc: improve adc power logic 2023-04-20 10:34:37 +08:00
Armando
1ebeea7763 sdmmc: I/O phase adjustments
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
   with the TRM.
2. Choose input and output phases to satisfy typical timing
   requirements.
3. Move use_hold_reg setting into the host driver, since it is related
   to timing.

Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-19 15:38:57 +08:00
Peter Dragun
9c4282ac5f feat(esptool): allow to set force for write_flash 2023-04-18 13:47:09 +02:00
morris
2b9ca66752 spi_lcd: test spi lcd io can transfer color data to a fixed window region
also test the io tx_param and tx_color can skip the command phase
2023-04-18 10:46:52 +08:00
morris
f4d27b0f92 spi_lcd: maximum transfer size should respect bus configuration
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-18 10:46:52 +08:00
Sudeep Mohanty
dc53189e46 esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
This commit adds symbols from the ringbuf.c file which can be placed in
Flash in order to free up IRAM space.
2023-04-17 16:11:23 +02:00
Mahavir Jain
1a389f4ebb
Fix coverity warning in esp-tls component
The regressions was introduced in the commit: 0abd1cb51f
2023-04-12 17:23:47 +05:30
Mark H. Spatz
ee403a1bb6
[esp-tls] Add addr_family option to esp_tls_cfg_t 2023-04-12 16:02:18 +05:30
wangjialiang
b9f7049bc5 ble_mesh: stack: Update the heartbeat filter entry add/remove handling 2023-04-12 16:11:24 +08:00
Shyamal Khachane
2fe39f79d1 wpa_supplicant : Fix association response processing in OWE 2023-04-07 11:44:23 +05:30
Xiao Xufeng
80e4b67fd1 himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-06 01:46:20 +08:00
Kapil Gupta
c4941e2e75 wpa_supplicant: Get WPS credential in passphrase format
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
isha.pardikar@espressif.com
dbeeaf6a21 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-04-04 17:39:18 +05:30
Yuan Mingfu
3cc5ad7ac4 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-04-04 18:04:12 +08:00
chenjianxing
3f4e4cf964 esp_wifi: fix potential issue when tx fragment pkt. 2023-04-03 17:50:02 +08:00
morris
3afa39b408 spi_lcd: don't release bus if acquire failed
Closes https://github.com/espressif/esp-idf/issues/10952
2023-04-03 13:15:28 +08:00
laokaiyao
3c4c1fe010 lcd_i2c: reduce recommended link size
Closes: https://github.com/espressif/esp-idf/issues/11015
2023-04-03 09:41:18 +08:00
muhaidong
3537da8d85 smartconfig: fix the issue of sending failure and exit 2023-03-31 17:23:31 +08:00
morris
5d11967f2e rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode 2023-03-31 09:59:32 +08:00
Kapil Gupta
f44ce0960a wpa_supplicant: Update WPS API documentation 2023-03-30 20:04:53 +05:30
chenjianxing
97225286ca esp_wifi: improve tx robust for c2/c3/s3 2023-03-30 21:46:07 +08:00
morris
e06bea0445 rmt: use gpio_num_t to define gpio number 2023-03-30 15:52:08 +08:00