git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4730 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
4becbef6de
commit
60cd6f958b
|
@ -168,6 +168,12 @@ void spc560p_clock_init(void) {
|
||||||
if (halSPC560PSetRunMode(SPC5_RUNMODE_DRUN) == CH_FAILED)
|
if (halSPC560PSetRunMode(SPC5_RUNMODE_DRUN) == CH_FAILED)
|
||||||
chSysHalt();
|
chSysHalt();
|
||||||
|
|
||||||
|
/* CFLASH settings calculated for a maximum clock of 64MHz.*/
|
||||||
|
CFLASH.PFCR0.B.BK0_APC = 2;
|
||||||
|
CFLASH.PFCR0.B.BK0_RWSC = 2;
|
||||||
|
CFLASH.PFCR1.B.BK1_APC = 2;
|
||||||
|
CFLASH.PFCR1.B.BK1_RWSC = 2;
|
||||||
|
|
||||||
#endif /* !SPC5_NO_INIT */
|
#endif /* !SPC5_NO_INIT */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue