Commit Graph

22586 Commits

Author SHA1 Message Date
morris
c49e8d3611 Merge branch 'bugfix/i2c_timing_wrong_v4.4' into 'release/v4.4'
i2c: fix a bug in sda sample timing (backport v4.4)

See merge request espressif/esp-idf!23227
2023-04-20 13:11:18 +08:00
morris
2dc6c95859 Merge branch 'bugfix/usb_serial_driver_block_v4.4' into 'release/v4.4'
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v4.4)

See merge request espressif/esp-idf!22831
2023-04-20 11:01:01 +08:00
morris
2b4797703f Merge branch 'bugfix/spi_lcd_max_trans_size_v4.4' into 'release/v4.4'
spi_lcd: maximum transfer size should respect bus configuration (v4.4)

See merge request espressif/esp-idf!23231
2023-04-20 10:28:21 +08:00
Jiang Jiang Jian
6f4799a49b Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v4.4' into 'release/v4.4'
support ble notify and write throughput test at the same time(backport v4.4)

See merge request espressif/esp-idf!23234
2023-04-19 21:10:53 +08:00
Jiang Jiang Jian
5999775329 Merge branch 'bugfix/softap_beacon_process_v4.4' into 'release/v4.4'
esp_wifi: validate softAP interface when sending beacon and add sta_connected callback (Backport v4.4)

See merge request espressif/esp-idf!23255
2023-04-19 20:19:52 +08:00
Ivan Grokhotkov
f87bdd4a9f Merge branch 'bugfix/fixed_sdmmc_high_speed_ddr_timing_issue_on_esp32s3_v4.4' into 'release/v4.4'
sdmmc: fixed incorrect clock phase settings on esp32s3 (v4.4)

See merge request espressif/esp-idf!23261
2023-04-19 17:42:45 +08:00
Jiang Jiang Jian
34475c13cb Merge branch 'feature/add_menuconfig_of_calibration_mode_v4.4' into 'release/v4.4'
Feature/add menuconfig of calibration mode v4.4(Backport v4.4)

See merge request espressif/esp-idf!23262
2023-04-19 17:02:56 +08:00
Mahavir Jain
749a07bdce Merge branch 'fix/esp32s3_ununsed_dcache_as_dram_v4.4' into 'release/v4.4'
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM (v4.4)

See merge request espressif/esp-idf!23269
2023-04-19 16:38:13 +08:00
Sarvesh Bodakhe
9baec826ac esp_wifi: fix some wifi bugs
1. Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
2. Validate softAP interface when sending beacon frame
2023-04-19 12:13:52 +05:30
Laukik Hase
aac8bc9a71
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-04-19 10:35:58 +05:30
Laukik Hase
a2580b3f36
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-04-19 10:35:57 +05:30
muhaidong
0426873a43 esp_phy: add menuconfig of phy calibration mode 2023-04-18 20:18:42 +08:00
muhaidong
b91d25e575 disable reduce PHY TX power when brownout reset 2023-04-18 20:17:20 +08:00
Armando
fb6d9cd741 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-18 20:07:32 +08:00
morris
23f0e7385b 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 13:38:56 +08:00
morris
7225068256 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:36:39 +08:00
zhiweijian
51602a7f10 support ble notify and write throughput test at the same time 2023-04-17 17:48:24 +08:00
Jiang Jiang Jian
7eba5f8002 Merge branch 'bugfix/bt_diable_enbale_crash_v4.4' into 'release/v4.4'
bt:Fixed esp32 controller bug(v4.4)

See merge request espressif/esp-idf!23151
2023-04-17 16:16:23 +08:00
Omar Chebib
6022afc980 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-04-17 16:03:34 +08:00
Jiang Jiang Jian
0e9c393d1b Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep_v4.4' into 'release/v4.4'
esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan;...

See merge request espressif/esp-idf!23200
2023-04-17 15:32:31 +08:00
Island
424ddb34af Merge branch 'bugfix/ble_mesh_fix_heartbeat_set_v4.4' into 'release/v4.4'
ble_mesh: stack: Update the heartbeat filter entry add/remove handling (v4.4)

See merge request espressif/esp-idf!23164
2023-04-14 19:14:47 +08:00
zwj
b69ec22cb9 Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-04-14 12:10:38 +08:00
liuning
081b8ffb18 esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan; coex: fix esp32 wifi interrupted by ble act (d51ef5c0) 2023-04-14 12:00:51 +08:00
liuning
dce377bcfd rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3 2023-04-14 11:59:42 +08:00
Jiang Jiang Jian
e5a41d97a1 Merge branch 'bugfix/espnow_config_channel_v4.4' into 'release/v4.4'
esp_wifi: fix espnow example add peer fail when config channel(v4.4)

See merge request espressif/esp-idf!23178
2023-04-13 16:14:43 +08:00
chenjianxing
89cede3895 esp_wifi: fix espnow example add peer fail when config channel
Closes https://github.com/espressif/esp-idf/issues/9592
2023-04-13 10:53:31 +08:00
wangmengyang
7a7090a46a bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-04-13 10:24:01 +08:00
wangjialiang
ab48bfb5b7 ble_mesh: stack: Update the heartbeat filter entry add/remove handling 2023-04-12 15:03:07 +08:00
xiongweichao
f9bfdd0b1e 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-04-12 09:15:49 +08:00
Jiang Jiang Jian
7534dac3f8 Merge branch 'mesh/bugfix_fix_heap_corrupt_issue_v4.4' into 'release/v4.4'
esp_wifi: fix bugs in LR and mesh (backport v4.4)

See merge request espressif/esp-idf!23127
2023-04-11 21:18:56 +08:00
zhangyanjiao
37ff6b2ac9 Update the ESP-NOW frame length in docs 2023-04-11 14:21:43 +08:00
zhangyanjiao
fc7b5673f7 esp_wifi:
1. wifi_mesh: fix the heap corrupt issue in MTXON task
2. Update tx rate when phymode change from LR to 11N

https://github.com/espressif/esp-idf/issues/11006
2023-04-11 14:21:08 +08:00
Jiang Jiang Jian
8e559452d9 Merge branch 'bugfix/delete_node_during_list_traverse_4.4' into 'release/v4.4'
bugfix: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event (v4.4)

See merge request espressif/esp-idf!23118
2023-04-11 11:37:03 +08:00
Jiang Jiang Jian
43a38fc13e Merge branch 'bugfix/fix_some_wifi_bugs_230403_v4.4' into 'release/v4.4'
esp_wifi: fix some wifi bugs 230403(Backport v4.4)

See merge request espressif/esp-idf!23049
2023-04-10 20:35:22 +08:00
muhaidong
4b3ff10c5d esp_wifi: fix some wifi bugs 230403
1. fix sta auth failed but softap shows it connected issue
2. fix ftm procedure with peer failed status 4 issue
3. send ftm frames immediately
4. send null data when state change from association to run
5. docs: add some details for wifi scan description
2023-04-10 15:08:02 +08:00
Jiang Jiang Jian
b7ddd82ad6 Merge branch 'bugfix/nvs_save_for_new_config_v4.4' into 'release/v4.4'
esp_wifi: Add nvs code for new config params

See merge request espressif/esp-idf!23084
2023-04-10 14:39:05 +08:00
Jin Cheng
3a361bc62f fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-04-08 11:30:35 +08:00
morris
a9c36f277f Merge branch 'bugfix/fix_i2s_mono_stereo_test_failure_v4.4' into 'release/v4.4'
i2s: fixed I2S_mono_stereo_loopback_test (v4.4)

See merge request espressif/esp-idf!23093
2023-04-07 17:26:16 +08:00
Michael (XIAO Xufeng)
e383d14cd0 Merge branch 'bugfix/himem_map_range_block_v4.4' into 'release/v4.4'
himem: fixed incorrect out_ptr when range_offset is given non-zero. (v4.4)

See merge request espressif/esp-idf!23082
2023-04-07 17:14:43 +08:00
laokaiyao
d98b6c640f i2s: fixed I2S_mono_stereo_loopback_test (v4.4) 2023-04-07 11:17:07 +08:00
morris
a6c7d78906 Merge branch 'feature/i80_lcd_allow_skip_command_phase_v4.4' into 'release/v4.4'
i80_lcd: allow skip command phase (v4.4)

See merge request espressif/esp-idf!23092
2023-04-06 19:09:54 +08:00
morris
f373bea201 i80_lcd: support skip command phase
Closes https://github.com/espressif/esp-idf/issues/10794
2023-04-06 14:47:11 +08:00
Jiang Jiang Jian
173676ea8d Merge branch 'bugfix/psram_newlib_time_rom' into 'release/v4.4'
rom: fix newlib time ROM functions being regardless of CONFIG_SPIRAM_CACHE_WORKAROUND (v4.4)

See merge request espressif/esp-idf!23003
2023-04-06 11:24:36 +08:00
jgujarathi
6f340bc902 esp_wifi: Add nvs code for new config params 2023-04-06 07:59:38 +05:30
Xiao Xufeng
4dca4bdc3e 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 02:02:05 +08:00
Mahavir Jain
599bc24483 Merge branch 'feature/update_mbedtls_v2.28.3' into 'release/v4.4'
mbedtls: Update to release v2.28.3 (v4.4)

See merge request espressif/esp-idf!23040
2023-04-04 15:18:58 +08:00
Jiang Jiang Jian
534ec69996 Merge branch 'bugfix/stop_dhcps_before_set_dns_4.4' into 'release/v4.4'
Fixed bug for stop dhcps before set dns for 4.4

See merge request espressif/esp-idf!23048
2023-04-04 13:50:12 +08:00
Jiang Jiang Jian
6852aaa07e Merge branch 'bugfix/lcd_spi_acquire_bus_v4.4' into 'release/v4.4'
spi_lcd: don't release bus if acquire failed (v4.4)

See merge request espressif/esp-idf!23038
2023-04-04 12:10:58 +08:00
Jiang Jiang Jian
d337d9dc0b Merge branch 'bugfix/fixed_incorrect_i2s_channel_format_v4.4' into 'release/v4.4'
i2s: fixed incorrect channel format on ESP32

See merge request espressif/esp-idf!22853
2023-04-04 12:10:37 +08:00
Jiang Jiang Jian
8df9bbd5f4 Merge branch 'bugfix/wifi_config_fixes_v4.4' into 'release/v4.4'
Add APIs to get Assoc id and negotiated phymode.(v4.4)

See merge request espressif/esp-idf!22972
2023-04-04 12:10:23 +08:00