Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soc:esp32: Add config allow MbedTLS heap and LVGL Frambuffer use SPI RAM #85979

Closed
wants to merge 53 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
e9a9c17
drivers: ethernet: adin2111: Refactor the code in offload thread
panekmaciej Aug 30, 2024
5111f62
drivers: ethernet: adin2111: Add calculation of EBO in OA mode
panekmaciej Aug 30, 2024
0f6d10a
irq: multilevel: compile 3rd level IRQ APIs only when enabled
ycsin Oct 30, 2024
db78846
mgmt/mcumgr: Add error logs for all error cases
nrbrook Jan 29, 2025
ff1aba4
modules: hal_nxp: Add empty file to support CONFIG_BUILD_ONLY_NO_BLOBS
jerryyang35 Feb 17, 2025
89a8c63
drivers: regulator: npm1300: add reference to anomaly 38
seov-nordic Feb 13, 2025
08a55c8
cmake: mwdt assembler option for imacros
bjorniuppsala Feb 17, 2025
30e405f
doc: mgmt: mcumgr: consolidate TOC for SMP Groups
kartben Feb 17, 2025
b7ea708
dts: st: stm32u5: restore correct `clocks` on multi-bit devices
mathieuchopstm Feb 17, 2025
f91ee52
drivers: clock_control: nrf: Add workaround for XO start anomaly
nordic-krch Feb 17, 2025
18199f6
drivers: i2c: I2C_SAM0_TRANSFER_TIMEOUT depends on I2C_SAM0
nashif Feb 18, 2025
e27cdac
boards: silabs: siwx917: Fix datasheet URL
jhedberg Feb 19, 2025
3d1ee0e
doc: adopt allowlist/blocklist terminology
kartben Feb 17, 2025
3ad63bb
samples: doc: drop obsolete modemanager notice
kartben Feb 17, 2025
0618653
scripts: ci: check_compliance: inclusive language fix
kartben Feb 17, 2025
e68e80c
Bluetooth: Host: drop deprecated BT_LE_SCAN_OPT_FILTER_WHITELIST macro
kartben Feb 17, 2025
0356107
net: ipv6: use inclusive terminology in net_ipv6_pe_filter_cb_t
kartben Feb 17, 2025
5a7307d
gpio: shell: drop an unnecessary forward declaration
fabiobaltieri Feb 17, 2025
21b6eee
gpio: shell: add a missing static qualifier
fabiobaltieri Feb 17, 2025
cb30dd7
gpio: shell: fix a crash where there's less line names than gpios
fabiobaltieri Feb 17, 2025
0d2e100
tests: net: conn_mgr: Use valid LL address in tests
rlubos Feb 17, 2025
3f88a71
net: if: Clear neighbor cache when removing IPv6 addr with active DAD
rlubos Feb 17, 2025
7e5c13e
net: if: Setup DAD timer regardless of DAD query result
rlubos Feb 17, 2025
db85d6e
net: ip: Fix low Zperf UDP throughput with -a
MaochenWang1 Feb 17, 2025
96dfc04
boards: nxp: fix "configurationn" typo
kartben Feb 17, 2025
095a68a
drivers: sensor: fix "Celsius" spelling
kartben Feb 17, 2025
51fcc2b
samples: net: fix spelling of "Celsius"
kartben Feb 17, 2025
38fb9dc
samples: fix spelling of "below"
kartben Feb 17, 2025
25bebe1
tests: fix spelling of "below"
kartben Feb 17, 2025
21ab6f2
arch: arm64: fix spelling of "below"
kartben Feb 17, 2025
ad03d65
drivers: crypto: fix spelling of "below"
kartben Feb 17, 2025
bdb549a
scripts: fix spelling of "below"
kartben Feb 17, 2025
e73b28b
boards: renesas: fix spelling of "available"
kartben Feb 17, 2025
14fdec2
tests: bsim: fix spelling of "corresponding"
kartben Feb 17, 2025
a148a8d
soc: st: stm32: fix spelling of "corresponding"
kartben Feb 17, 2025
a7e8e1b
tests: bsim: fix spelling of "available"
kartben Feb 17, 2025
6b44fb9
fs: fat_fs: fix spelling of "available"
kartben Feb 17, 2025
30dd795
drivers: lora: fix spelling of "operation"
kartben Feb 17, 2025
b8b8f3d
boards: nxp: fix spelling of "configuration"
kartben Feb 17, 2025
90c8dfa
soc: nxp: fix spelling of "configuration"
kartben Feb 17, 2025
b61142d
tests: bsim: fix spelling of "advertisement"
kartben Feb 17, 2025
54f2b71
boards: raytac: fix spelling of "programing"
kartben Feb 17, 2025
5bf1579
drivers: sdhc: fix spelling of "programing"
kartben Feb 17, 2025
e8aa10a
bluetooth: controller: fix spelling of "exactly"
kartben Feb 17, 2025
ece03d7
include: Re-enable warning
thughes Feb 1, 2025
2571b53
twister: terminate_process: use contextlib.suppress
M1cha Feb 19, 2025
4c945a2
twister: terminate_process: fix NoSuchProcess error
M1cha Feb 19, 2025
7b1e6e2
dts: arm: nxp: RT10xx/11xx .dtsi Files: Remove flexram,bank-spec prop…
jacob-wienecke-nxp Jan 29, 2025
3274e6e
tests: kernel: interrupt: Remove MS_TO_US
thughes Feb 13, 2025
ad3aa12
doc: contribute: DTS style guideline updates
mbolivar Feb 11, 2025
1a3ebc1
soc:esp32: Add Config symbol to allow MbedTLS heap use SPI RAM
phb98 Feb 19, 2025
14ab0d7
soc:esp32: Add Config symbol to allow LVGL Framebuffer use SPI RAM
phb98-MS Feb 20, 2025
3e5ed21
Merge branch 'zephyrproject-rtos:main' into esp32_spiram_lvgl_mbed
phb98 Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions soc/espressif/common/Kconfig.spiram
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,24 @@ config SPIRAM_ECC_ENABLE
Enable MSPI Error-Correcting Code function when accessing SPIRAM.
If enabled, 1/16 of the SPI RAM total size will be reserved for error-correcting code.

config ESP_SPIRAM_ALLOC_MBED_HEAP
bool "Place MbedTLS heap into spiram"
depends on ESP_SPIRAM
depends on MBEDTLS_ENABLE_HEAP
select MBEDTLS_HEAP_CUSTOM_SECTION
default n
help
If enable this will place mbedtls_heap into spi ram

config ESP_SPIRAM_LVGL_FRAMEBUFFER
bool "Place LVGL Frambuffer into spiram"
depends on ESP_SPIRAM
depends on LV_Z_BUFFER_ALLOC_STATIC
select LV_Z_VDB_CUSTOM_SECTION
default n
help
If enable this will place LVGL framebuffer into spi ram

if SOC_SERIES_ESP32

menu "PSRAM clock and cs IO for ESP32-DOWD"
Expand Down
9 changes: 8 additions & 1 deletion soc/espressif/esp32/default.ld
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,14 @@ SECTIONS

. = ALIGN(16);
_ext_ram_noinit_end = ABSOLUTE(.);

#ifdef CONFIG_ESP_SPIRAM_ALLOC_MBED_HEAP
*(.mbedtls_heap)
. = ALIGN(16);
#endif /* CONFIG_ESP_SPIRAM_ALLOC_MBED_HEAP */
#ifdef CONFIG_ESP_SPIRAM_LVGL_FRAMEBUFFER
*(.lvgl_buf)
. = ALIGN(16);
#endif /* CONFIG_ESP_SPIRAM_LVGL_FRAMEBUFFER */
_ext_ram_bss_start = ABSOLUTE(.);

*(.ext_ram.bss*)
Expand Down
9 changes: 8 additions & 1 deletion soc/espressif/esp32s2/default.ld
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,14 @@ SECTIONS

. = ALIGN(16);
_ext_ram_noinit_end = ABSOLUTE(.);

#ifdef CONFIG_ESP_SPIRAM_ALLOC_MBED_HEAP
*(.mbedtls_heap)
. = ALIGN(16);
#endif /* CONFIG_ESP_SPIRAM_ALLOC_MBED_HEAP */
#ifdef CONFIG_ESP_SPIRAM_LVGL_FRAMEBUFFER
*(.lvgl_buf)
. = ALIGN(16);
#endif /* CONFIG_ESP_SPIRAM_LVGL_FRAMEBUFFER */
_ext_ram_bss_start = ABSOLUTE(.);

*(.ext_ram.bss*)
Expand Down
9 changes: 8 additions & 1 deletion soc/espressif/esp32s3/default.ld
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,14 @@ SECTIONS
#endif /* CONFIG_ESP32_WIFI_NET_ALLOC_SPIRAM */
. = ALIGN(16);
_ext_ram_noinit_end = ABSOLUTE(.);

#ifdef CONFIG_ESP_SPIRAM_ALLOC_MBED_HEAP
*(.mbedtls_heap)
. = ALIGN(16);
#endif /* CONFIG_ESP_SPIRAM_ALLOC_MBED_HEAP */
#ifdef CONFIG_ESP_SPIRAM_LVGL_FRAMEBUFFER
*(.lvgl_buf)
. = ALIGN(16);
#endif /* CONFIG_ESP_SPIRAM_LVGL_FRAMEBUFFER */
_ext_ram_bss_start = ABSOLUTE(.);
*(.ext_ram.bss*)
. = ALIGN(16);
Expand Down
Loading