Patched missing PIO_WPMR.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11616 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
46258f1272
commit
e840c781aa
|
@ -186,6 +186,8 @@ void boardInit(void) {
|
||||||
|
|
||||||
/* Enabling write protection. */
|
/* Enabling write protection. */
|
||||||
pmcEnableWP();
|
pmcEnableWP();
|
||||||
|
|
||||||
|
_PIOA->PIO_WPMR = 0x50494F00;
|
||||||
#endif /* SAMA_HAL_IS_SECURE */
|
#endif /* SAMA_HAL_IS_SECURE */
|
||||||
|
|
||||||
/* Configuring all PIO A pads with default configuration. */
|
/* Configuring all PIO A pads with default configuration. */
|
||||||
|
@ -253,4 +255,7 @@ void boardInit(void) {
|
||||||
#endif /* SAMA_HAL_IS_SECURE */
|
#endif /* SAMA_HAL_IS_SECURE */
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
#if SAMA_HAL_IS_SECURE
|
||||||
|
_PIOA->PIO_WPMR = 0x50494F01;
|
||||||
|
#endif /* SAMA_HAL_IS_SECURE */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue