mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #3283 from gebart/pr/kinetis-errata-e4218
k60: Add workaround for errata e4218
This commit is contained in:
commit
76bddaf213
@ -36,10 +36,16 @@
|
||||
*/
|
||||
extern uint32_t _estack;
|
||||
|
||||
void pre_startup (void)
|
||||
void pre_startup(void)
|
||||
{
|
||||
/* disable the WDOG */
|
||||
wdog_disable();
|
||||
|
||||
/*
|
||||
* Workaround for hardware errata e4218: "SIM/FLEXBUS: SIM_SCGC7[FLEXBUS]
|
||||
* bit should be cleared when the FlexBus is not being used."
|
||||
*/
|
||||
BITBAND_REG32(SIM->SCGC7, SIM_SCGC7_FLEXBUS_SHIFT) = 0;
|
||||
}
|
||||
|
||||
void dummy_handler(void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user