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
Otto Winter
10f500ddfe
bugfix (esp_common): remove infinite recursion in FLAG_ATTR operator
...
Closes https://github.com/espressif/esp-idf/pull/7754
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2023-04-17 18:19:45 +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
hasheddan
e2a59b8bf4
Make custom bootloader message match actual output
...
Fixes the custom bootloader README.md so that the example output matches
what will actually be output by default in the custom bootloader.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2023-04-11 13:41:40 +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
Tomas Rezucha
e09fc3e474
usb: Update CDC and MSC host examples to use drivers from ESP Registry
2023-04-06 08:12:43 +02: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
Jiang Jiang Jian
c0efc25049
Merge branch 'bugfix/fix_hw_ralunderrun_assert_v4.4' into 'release/v4.4'
...
Fixed BLE HW RAL_UNDERRUN asser and backport some bug fix 23-03-30 (back port v4.4)
See merge request espressif/esp-idf!23004
2023-04-04 10:50:25 +08:00
laokaiyao
73ca054b80
i2s: fixed incorrect channel format on ESP32
...
Closes: https://github.com/espressif/esp-idf/issues/9635
2023-04-04 10:00:05 +08:00
aditi_lonkar
dc33626566
esp_wifi: Add APIs to get Assoc id and negotiated phymode.
2023-04-03 18:27:02 +05:30
xueyunfei
2549b9fe36
Fixed bug for stop dhcps before set dns
...
Closes https://github.com/espressif/esp-idf/issues/10762
2023-04-03 20:12:56 +08:00
morris
ea51ee1130
Merge branch 'feature/vfs_serial_fcntl_get_rd_wr_state_v4.4' into 'release/v4.4'
...
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state(v4.4)
See merge request espressif/esp-idf!19335
2023-04-03 19:15:15 +08:00
harshal.patil
617d935b44
mbedtls: Update to release v2.28.3
...
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3
2023-04-03 14:28:12 +05:30
morris
1a6118193c
spi_lcd: don't release bus if acquire failed
...
Closes https://github.com/espressif/esp-idf/issues/10952
2023-04-03 13:17:11 +08:00