zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.96k stars 6.68k forks source link

Add support for Core R5 Caches #79990

Open marcobarlo opened 1 month ago

marcobarlo commented 1 month ago

Is your enhancement proposal related to a problem? Please describe.

The core r5 (kv260_r5 and related) have the ICACHE and DCACHES, as for TRM. However, zephyr selects CONFIG_DCACHE to N and does not allow to use them. I tried adding select CPU_HAS_DCACHE in the Kconfig file, but it does not work.

Describe the solution you'd like

I would like to choose wether to use or not the caches on boards with R5 processor.

Describe alternatives you've considered

Additional context

github-actions[bot] commented 1 month ago

Hi @marcobarlo! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙