gnuk/boards/STM32_PRIMER2/board.c
2012-05-25 15:36:09 +09:00

24 lines
299 B
C

#include "config.h"
#include "ch.h"
#include "hal.h"
#include "../common/hwinit.c"
void
hwinit0(void)
{
hwinit0_common ();
}
void
hwinit1(void)
{
hwinit1_common ();
/*
* Clear LED and SHUTDOWN output.
*/
palClearPad (IOPORT5, GPIOE_LED);
palClearPad (IOPORT3, GPIOC_SHUTDOWN);
}