jasta
1885379ae3
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
...
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true. Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.
This contributes greatly to #10615 , but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works. Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.
Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/10865
2023-04-23 20:27:20 +05:30
zhangwenxu
1d101f67e4
esp_phy: remove esp32h4 phylib
2023-04-23 12:03:07 +00:00
zhangwenxu
c05b9403f7
ieee802154: remove libieee802154.a for target esp32h4
2023-04-23 12:03:07 +00:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
Michael (XIAO Xufeng)
59a899230c
Merge branch 'feature/support_fosc_calibration_c6_eco1' into 'master'
...
ESP32C6: Fix fosc calibration fail bug for ECO1 & Above
Closes IDF-7093
See merge request espressif/esp-idf!23215
2023-04-23 18:04:28 +08:00
chenjianhua
0f7446f93f
bluedroid: support gatts show local database
2023-04-23 17:22:04 +08:00
Song Ruo Jing
6700630ccb
Merge branch 'refactor/ledc_driver_refactor' into 'master'
...
ledc: Improvement made on the LEDC driver
See merge request espressif/esp-idf!22971
2023-04-23 16:43:52 +08:00
zwj
7d1e7d2766
Fixed no error report when own address type is rpa_random and no random address setting
2023-04-23 16:15:39 +08:00
hongshuqing
e3148369f3
support c6 eco1 fosc calibration
...
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
Apply suggestion
Apply
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
2023-04-23 13:36:20 +08:00
C.S.M
e1149f018a
Merge branch 'contrib/github_pr_10811' into 'master'
...
i2c: I2c cmdnum fix (GitHub PR)
Closes IDFGH-9444
See merge request espressif/esp-idf!22473
2023-04-23 11:29:46 +08:00
Zhang Xiao Yan
2c24513d86
Merge branch 'docs/update_components_log_readme' into 'master'
...
add description related to thread safety to component/log/readme
See merge request espressif/esp-idf!23162
2023-04-23 11:11:25 +08:00
Zhang Xiao Yan
9ba5004dab
add description related to thread safety to component/log/readme
2023-04-23 11:11:24 +08:00
Darian
2fdba8ec19
Merge branch 'feature/freertos_add_create_task_with_caps' into 'master'
...
FreeRTOS: Add xTaskCreateWithCaps()
Closes IDFGH-9922
See merge request espressif/esp-idf!23191
2023-04-21 22:33:03 +08:00
KonstantinKondrashov
a622ac43eb
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
...
This option reserves an area in RTC FAST memory for the following features:
- "Skip image validation when exiting deep sleep"
- "Reserve RTC FAST memory for custom purposes"
- "GPIO triggers factory reset"
2023-04-21 21:09:10 +08:00
Roland Dobai
1bf382a3e1
Merge branch 'monitor_win_color' into 'master'
...
bug(idf_monitor, hints): fix monitor colors on windows with hints
Closes IDF-5863
See merge request espressif/esp-idf!22070
2023-04-21 20:15:38 +08:00
Hanno
8f1cf01ec8
i2c: introduce chip specific cmd register number
...
Merges https://github.com/espressif/esp-idf/pull/10811
2023-04-21 19:22:53 +08:00
xieqinan
f4446d8819
openthread: fix the spi conflict between ot-spinel and ethernet
2023-04-21 19:12:47 +08:00
wanlei
15e8c04f7b
spi: change linker file let spi hal able to out from iram
2023-04-21 18:58:36 +08:00
wanlei
b519eed230
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
2023-04-21 18:57:06 +08:00
Kapil Gupta
a189bdbc7d
Merge branch 'bugfix/init_wpsreg_in_APSTA_mode' into 'master'
...
esp_wifi:Enable wpsreg to initialize in APSTA mode
Closes WIFI-5436
See merge request espressif/esp-idf!23034
2023-04-21 17:15:00 +08:00
radek.tandler
13a305656d
host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash
2023-04-21 10:45:17 +02:00
radek.tandler
0078025d7b
fatfs: host test migrated to CMake and esp_partition emulation for linux
2023-04-21 10:45:07 +02:00
Song Ruo Jing
fcc6514dde
ledc: Add an all-in-one HAL function to set fade parameters, and refactor ledc_ll_get_max_duty function
2023-04-21 16:40:54 +08:00
Song Ruo Jing
64aec54308
ledc: Add timer selection check to the driver, and leave space for future clk tree management
2023-04-21 16:40:54 +08:00
Darian Leung
948010dc0b
freertos: Add task creation with caps functions
...
This commit adds the corresponding CreateWithCaps functions for tasks:
- xTaskCreatePinnedToCoreWithCaps()
- xTaskCreateWithCaps()
- vTaskDeleteWithCaps()
Documentation and migraiton guide have been updated accordingly.
Closes https://github.com/espressif/esp-idf/issues/11216
2023-04-21 15:43:08 +08:00
C.S.M
a97d480f1f
Merge branch 'bugfix/bod_intr' into 'master'
...
brownout: Disable the hardware BOD reset when BOD interrupt is enabled
Closes IDF-7234
See merge request espressif/esp-idf!23192
2023-04-21 14:44:29 +08:00
Darian
836755679e
Merge branch 'feature/bt_uses_creationg_with_caps_functions' into 'master'
...
BT: Remove "create static" calls from OSI
See merge request espressif/esp-idf!23187
2023-04-21 12:39:10 +08:00
Zhi Wei Jian
a2b2cdadf8
Merge branch 'bugfix/fix_disable_controller_50_feature' into 'master'
...
Disable controller 5.0 feature bits if host 5.0 feature is not enabled on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!23307
2023-04-21 12:11:11 +08:00
Zhi Wei Jian
89bf31f458
Merge branch 'bugfix/fix_disconnect_due_to_consecutive_crc_error_in_first_6_intervals' into 'master'
...
Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32
Closes CBLE50Y23-4
See merge request espressif/esp-idf!23207
2023-04-21 12:01:14 +08:00
zhangwenxu
1a73ff1db1
openthread: fix platform udp send rules for OT netif
2023-04-21 10:52:02 +08:00
Cao Sen Miao
a3d962d89a
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-04-21 10:22:59 +08:00
Ivan Grokhotkov
2a28061eaa
Merge branch 'contrib/github_pr_11117' into 'master'
...
test_nvs_host: fix asan reported bugs (GitHub PR)
Closes IDFGH-9860
See merge request espressif/esp-idf!23172
2023-04-20 22:37:42 +08:00
Kevin (Lao Kaiyao)
4fd62bce13
Merge branch 'refacor/remove_esp32h4_target_stage1' into 'master'
...
esp32h4: remove esp32h4 target (stage 1)
See merge request espressif/esp-idf!23237
2023-04-20 20:29:58 +08:00
David Čermák
e888bb0cf8
Merge branch 'bugfix/esp_netif_recieve_returns' into 'master'
...
esp_netif: Report error if esp_netif_receive() fails
Closes IDFGH-9398
See merge request espressif/esp-idf!22936
2023-04-20 17:47:28 +08:00
Shreyas Sheth
5524aad43f
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-04-20 14:48:14 +05:30
Tomas Rezucha
197c888611
Merge branch 'fix/usb/host/pytests' into 'master'
...
usb_host: Use up-to-date syntax in pytest
See merge request espressif/esp-idf!23280
2023-04-20 16:45:09 +08:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
zhiweijian
f10de13df7
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-04-20 14:55:35 +08:00
Island
2300982af9
Merge branch 'bugfix/esp32c6_conn_lost_packet' into 'master'
...
Ble: bugfix for packet loss issue during connection on ESP32C6
Closes BLEQABR23-63 and BLEQABR23-55
See merge request espressif/esp-idf!23223
2023-04-20 12:00:29 +08:00
morris
d2473d0662
Merge branch 'feature/esp_rom_update_cpu_freq' into 'master'
...
esp_rom: add common ROM API to update CPU tick rate
See merge request espressif/esp-idf!23266
2023-04-20 10:59:16 +08:00
Zim Kalinowski
5d0838506a
Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis' into 'master'
...
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
Closes IDFGH-9122 and IDFGH-9500
See merge request espressif/esp-idf!22566
2023-04-20 04:54:11 +08:00
Zim Kalinowski
db6ba5155c
Merge branch 'feature/heap-trace-perf-improvment' into 'master'
...
heap: Allow for hashmap placement in external memory
Closes IDFGH-9845
See merge request espressif/esp-idf!23184
2023-04-20 04:37:52 +08:00
Ondrej Kosta
c231c79fc8
HAL: wrapped emac_ll functions to emac_hal
...
Closes #9934
2023-04-19 12:46:45 +00:00
Mahavir Jain
359da9ce63
Merge branch 'bugfix/efuse_hal_api_update' into 'master'
...
efuse: add efuse hal api
Closes IDF-7215
See merge request espressif/esp-idf!23217
2023-04-19 18:45:13 +08:00
KonstantinKondrashov
91fcced0fb
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-19 17:42:38 +08:00
Tomas Rezucha
f2f6278ba6
usb_host: Use up-to-date syntax in pytest
2023-04-19 11:06:25 +02:00
Guillaume Souchere
6ce1ccd964
heap: Add trace configuration to allow hash map placement in external RAM bss section when possible
...
- Remove the size limit for the hash_map array from the CONFIG_HEAP_TRACE_HASH_MAP_SIZE
- Add test case for heap tracing using hashmap
- Update heap_debug.rst to document the newly added configurations in the heap component
Closes https://github.com/espressif/esp-idf/issues/11172
2023-04-19 10:30:59 +02:00
Jakob Hasse
d82eb6942c
Merge branch 'contrib/github_pr_11025' into 'master'
...
Enable support for C++23 in esp-idf (GitHub PR)
Closes IDFGH-9684
See merge request espressif/esp-idf!23144
2023-04-19 15:53:46 +08:00
Jakob Hasse
852c60fee0
Merge branch 'refactor/pthread_iram' into 'master'
...
pthread: removed IRAM code from pthread
Closes IDF-7147
See merge request espressif/esp-idf!23213
2023-04-19 15:31:19 +08:00
morris
cae3ef45e1
Merge branch 'contrib/github_pr_10950' into 'master'
...
esp_system: Add reset reasons for USB_UART and USB_JTAG (GitHub PR)
Closes IDFGH-9601
See merge request espressif/esp-idf!22675
2023-04-19 15:30:01 +08:00
Darian
0bb3342491
Merge branch 'refactor/xtensa_move_common_source_files' into 'master'
...
Xtensa: Separate files according to Xtensa RTOS porting layer
See merge request espressif/esp-idf!21672
2023-04-19 15:15:21 +08:00
Jiang Jiang Jian
5a603a6612
Merge branch 'bugfix/improve_scan_performance_when_scan_and_sync_coexist' into 'master'
...
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
Closes CBLE50Y23-5, BLEQABR23-57, and BT-3094
See merge request espressif/esp-idf!23211
2023-04-19 13:52:55 +08:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
Nebojsa Cvetkovic
67e9db7cf5
esp_system: Add reset reasons for USB_UART and USB_JTAG
...
Merges https://github.com/espressif/esp-idf/pull/10950
2023-04-19 10:09:19 +08:00
Ivan Grokhotkov
690aa433a2
Merge branch 'contrib/github_pr_10987' into 'master'
...
Allow to config the maximum number of VFS entries. (GitHub PR)
Closes IDFGH-9641
See merge request espressif/esp-idf!23171
2023-04-19 04:52:50 +08:00
Ivan Grokhotkov
9adafb0f26
Merge branch 'feature/newlib_fsync_without_vfs' into 'master'
...
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
See merge request espressif/esp-idf!21390
2023-04-19 02:47:53 +08:00
Darian
f93bb3a63c
Merge branch 'contrib/github_pr_11113' into 'master'
...
Fix usb enumeration stage error for some device (GitHub PR)
Closes IDFGH-9778
See merge request espressif/esp-idf!23233
2023-04-19 02:19:26 +08:00
Jiang Jiang Jian
c8983219b9
Merge branch 'feature/esp32c6_espnow_support_11ax_rate' into 'master'
...
esp_wifi: espnow support using 11ax rate to send frame
See merge request espressif/esp-idf!22754
2023-04-19 02:05:14 +08:00
Aditya Patwardhan
823322f988
Merge branch 'feature/update_mbedtls_v3.4.0' into 'master'
...
mbedtls: Update to release/v3.4.0
Closes IDF-7158
See merge request espressif/esp-idf!23058
2023-04-18 21:29:28 +08:00
zwj
9d9252acbc
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-04-18 20:36:04 +08:00
Roland Dobai
a05b306782
Merge branch 'esptool_extra' into 'master'
...
feat(esptool): allow to force flash chip
Closes IDF-6838 and IDF-5381
See merge request espressif/esp-idf!23097
2023-04-18 19:35:32 +08:00
xuxiao
0848938868
esp_wifi: espnow support using 11ax rate to send frame
2023-04-18 18:06:52 +08:00
Xu Xiao
ddb57be1bc
Merge branch 'bugfix/store_softap_nvs_authmode_wpa3' into 'master'
...
esp_wifi: Bugfix softAP store wpa3 sae authmode in nvs
Closes WIFI-5749
See merge request espressif/esp-idf!23203
2023-04-18 17:56:31 +08:00
Ivan Grokhotkov
35ea136d5a
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
...
This feature allows calling fsync even if the vfs component is not
used.
The second part of the commit adds an fsync call in the panic test app
enabling it to be used over usb-serial-jtag.
2023-04-18 11:19:36 +02:00
Martin Vychodil
81d814b42f
Merge branch 'bugfix/fatfs_open_O_CREAT_fails' into 'master'
...
fatfs: fix "open("xx",O_CREAT|O_WRONLY,0666)" call failure
See merge request espressif/esp-idf!23045
2023-04-18 16:33:00 +08:00
Ivan Grokhotkov
274fa56e71
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
...
system: support USB_OTG CDC console on ESP32-S3
Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835
See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Armando (Dou Yiwen)
4adef05163
Merge branch 'test/temporarily_removed_emmc_esp32_ut' into 'master'
...
emmc: temporarily removed esp32 emmc ut_017
See merge request espressif/esp-idf!23244
2023-04-18 16:18:07 +08:00
Sachin Billore
c3e701588e
efuse: add efuse hal api
...
Closes IDF-7215
2023-04-18 13:47:00 +05:30
Darian Leung
6587e75251
xtensa: Add bare metal port stub functions for G0 build test
...
This commit adds "bare metal stubs" xtensa_rtos.h glue layer to mimic a bare
metal OS port. The bare metal stubs don't access any components outside of the
G0 group.
2023-04-18 15:51:38 +08:00
Darian Leung
5fde889a3d
xtensa: Remove OS agnostic files from Amazon SMP FreeRTOS port
...
The previous commit moved the OS agnostic files from the IDF FreeRTOS port to
the xtensa component, thus can be accessed by both IDF and Amazon SMP FreeRTOS.
This commit removes the redudant copies in the Amazon SMP FreeRTOS port.
2023-04-18 15:51:38 +08:00
Darian Leung
b2c074bb70
xtensa: Move Xtensa RTOS porting layer files to xtensa component
...
When porting an RTOS to the Xtensa architecture, there are a few files that
are common to all Xtensa RTOS ports. These files form the Xtensa RTOS porting
layer (e.g., "xtensa_vectors.S", "xtensa_context.S"). An Xtensa RTOS port is
expected to provide an RTOS specific "xtensa_rtos.h" header to interface with
the Xtensa RTOS porting layer.
Previously, the Xtensa RTOS porting layer files were placed in the FreeRTOS
component. This commit does the following:
1. Moves the Xtensa RTOS porting layer files from the `freertos` component to
the `xtensa` component. The following files were moved:
- xtensa_asm_utils.h
- xtensa_context.S
- xtensa_loadstore_handler.S
- xtensa_vectors.S
2. Refactored xtensa component include paths to separate Xtensa RTOS porting
layer headers.
- Xtensa HAL headers included via `#include <xtensa/...h>`
- Xtensa RTOS porting layer headers included via `#include <...h>`
Note: The xtensa files in the Amazon SMP FreeRTOS port are not moved/deleted in
this commit to ensure the moved files retain a clean diff history.
2023-04-18 15:28:05 +08:00
Shu Chen
e033d34baa
Merge branch 'openthread/add_lock_check' into 'master'
...
openthread: Add check for lock acquire and release
See merge request espressif/esp-idf!23204
2023-04-18 15:17:38 +08:00
Zim Kalinowski
05cbd19f25
Merge branch 'feature/pthread_rwlock_try_functions' into 'master'
...
pthread: added pthread_rwlock_tryrd/rwlock()
Closes IDFGH-7685
See merge request espressif/esp-idf!23228
2023-04-18 14:43:54 +08:00
Ivan Grokhotkov
f64ac33554
nvs: fix string/blob comparison lengths in host tests
2023-04-18 08:02:38 +02:00
Sonika Rathi
b31b68fc68
bugfix: fix for fatfs "open("xx",O_CREAT|O_WRONLY,0666)" call failure
...
fatfs 'open' with only O_CREAT flag fails to creat new file
Closes https://github.com/espressif/esp-idf/issues/1817
2023-04-18 09:57:44 +05:30
Song Ruo Jing
9cfc9757b9
Merge branch 'bugfix/allow_no_specify_uart_clk_src' into 'master'
...
uart: Allow omitting source_clk parameter to uart_param_config
Closes IDF-6951
See merge request espressif/esp-idf!23208
2023-04-18 11:34:11 +08:00
Armando
2225087756
emmc: temporarily removed esp32 emmc ut_017
2023-04-18 10:11:36 +08:00
Mahavir Jain
6773ad6431
Merge branch 'fix/esp32s3_ununsed_dcache_as_dram' into 'master'
...
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM
Closes IDF-7103
See merge request espressif/esp-idf!22904
2023-04-18 02:16:30 +08:00
morris
90c2786803
Merge branch 'bugfix/rmt_encode_state_init' into 'master'
...
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes IDFGH-9881 and IDFGH-9882
See merge request espressif/esp-idf!23222
2023-04-17 21:22:20 +08:00
WanqQixiang
3ac08425f2
openthread: Add check for lock acquire and release
2023-04-17 19:56:49 +08:00
zwl
c4ec33e7ef
Ble: bugfix for packet loss issue during connection on ESP32C6
2023-04-17 19:37:00 +08:00
Peter Dragun
faa82b060c
feat(esptool): allow to set force for write_flash
2023-04-17 12:53:01 +02:00
Shreyas Sheth
1a0633646e
esp_wifi: Bugfix store authmode security in NVS
2023-04-17 15:16:21 +05:30
Peter Dragun
bebd2cec4a
bug(idf_monitor): fix color on windows with hints
...
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-17 11:18:42 +02:00
Darian Leung
525de5bd21
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-17 17:06:54 +08:00
Kevin (Lao Kaiyao)
96f2d215a2
Merge branch 'bugfix/i2s_output_wrong_freq_after_switch' into 'master'
...
i2s: workaround for inaccurate PLL frequency after switching
Closes IDF-6705 and IDFCI-1669
See merge request espressif/esp-idf!22975
2023-04-17 16:26:18 +08:00
Jakob Hasse
e7312cccea
pthread: added pthread_rwlock_tryrd/wrlock()
...
Closes https://github.com/espressif/esp-idf/issues/9229
2023-04-17 16:16:11 +08:00
morris
2a5ee5c3e2
Merge branch 'bugfix/spi_lcd_max_trans_size' into 'master'
...
spi_lcd: maximum transfer size should respect bus configuration
Closes IDF-6901 and IDF-4829
See merge request espressif/esp-idf!23149
2023-04-17 16:13:57 +08:00
Song Ruo Jing
3f2bed1f5c
uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config
2023-04-17 15:43:06 +08:00
harshal.patil
c403affd98
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-17 12:55:04 +05:30
harshal.patil
9c3a6c4f53
mbedtls: replace low-level sha apis with md apis in esp_ssl_tls
2023-04-17 12:50:15 +05:30
harshal.patil
f30b58f665
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-17 12:50:15 +05:30
harshal.patil
002a451bf8
mbedtls: Update to release/v3.4.0
...
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-17 12:50:15 +05:30
Wan Lei
029b56dc1c
Merge branch 'ci/pytest_case_tester_script_fix' into 'master'
...
ci: pytest automation script increase timeout time
See merge request espressif/esp-idf!23201
2023-04-17 15:03:23 +08:00
Omar Chebib
3bc3f87209
Merge branch 'bugfix/i2c_timing_wrong' into 'master'
...
i2c: fix a bug in sda sample timing
Closes IDFGH-8295
See merge request espressif/esp-idf!23185
2023-04-17 15:00:42 +08:00
morris
b19a3e3e56
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
...
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 14:50:51 +08:00
Laukik Hase
11d5550da3
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-17 10:49:06 +05:30
Laukik Hase
f6aadd1e39
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-17 10:42:04 +05:30