33 lines
650 B
C
33 lines
650 B
C
#include "board.h"
|
|
#include "pin_mux.h"
|
|
#include "fsl_clock_manager.h"
|
|
#include "fsl_debug_console.h"
|
|
|
|
void hardware_init(void)
|
|
{
|
|
|
|
uint8_t i;
|
|
|
|
/* enable clock for PORTs */
|
|
for (i = 0; i < PORT_INSTANCE_COUNT; i++)
|
|
{
|
|
CLOCK_SYS_EnablePortClock(i);
|
|
}
|
|
|
|
/* Init board clock */
|
|
BOARD_ClockInit();
|
|
dbg_uart_init();
|
|
}
|
|
|
|
/*!
|
|
** @}
|
|
*/
|
|
/*
|
|
** ###################################################################
|
|
**
|
|
** This file was created by Processor Expert 10.4 [05.10]
|
|
** for the Freescale Kinetis series of microcontrollers.
|
|
**
|
|
** ###################################################################
|
|
*/
|