git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4872 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
d65e5e6b0d
commit
ec62c6c401
|
@ -55,6 +55,14 @@
|
|||
|
||||
void sam4l_clock_init(void) {
|
||||
|
||||
#if SAM_USE_PICOCACHE
|
||||
/* Enable the PicoCache.*/
|
||||
sysclk_enable_peripheral_clock(HCACHE);
|
||||
HCACHE->HCACHE_CTRL = HCACHE_CTRL_CEN_YES;
|
||||
while ((HCACHE->HCACHE_SR & HCACHE_SR_CSTS_EN) == 0)
|
||||
;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue