You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "kasjer (via GitHub)" <gi...@apache.org> on 2026/10/14 11:34:18 UTC
[PR] mcu/stm32h7: Disable caches not enabled by configuration [mynewt-core]
kasjer opened a new pull request, #3780:
URL: https://github.com/apache/mynewt-core/pull/3780
hal_system_init() only enabled instruction and data cache when STM32_ENABLE_ICACHE or STM32_ENABLE_DCACHE was set. Boot loader built with caches enabled leaves them on when it starts application, so application configured with caches disabled still ran with them enabled. This breaks code that relies on caches being off, e.g. stm32_eth driver that does no cache maintenance for DMA descriptors and buffers placed in cacheable RAM.
Disable cache that is not requested by configuration if it is enabled at this point.
Assisted-by: Claude:claude-opus-5-5
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] mcu/stm32h7: Disable caches not enabled by configuration [mynewt-core]
Posted by "kasjer (via GitHub)" <gi...@apache.org>.
kasjer merged PR #3780:
URL: https://github.com/apache/mynewt-core/pull/3780
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org