Really quick question
I was looking through ChibiOs code trying to learn and understand it more, and as i understood from forum posts both Instruction cache and data cache should be enabled by default, however i couldn't find where they are getting enabled in the code. SCB_EnableDCache and SCB_EnableDICache are declared in core_cm7.h but never being called anywhere
Any hints?
STM32F7 Caches
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: STM32F7 Caches
Hi,
GCC startup files do that internally, other compilers either do that in their runtime libraries or it is up to the application to enable it.
Giovanni
GCC startup files do that internally, other compilers either do that in their runtime libraries or it is up to the application to enable it.
Giovanni