mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-18 10:08:53 +00:00
29 lines
602 B
C
29 lines
602 B
C
/**
|
|
****************************************************************************************
|
|
*
|
|
* @file soc_init.h
|
|
*
|
|
* @brief soc init
|
|
*
|
|
* Copyright (C) ASR
|
|
*
|
|
****************************************************************************************
|
|
*/
|
|
|
|
#ifndef __SOC_INIT__
|
|
#define __SOC_INIT__
|
|
|
|
/** @brief soc basic init, call at the beginning of main function
|
|
*/
|
|
int soc_pre_init(void);
|
|
|
|
/** @brief soc and rtos basic init, call after soc_pre_init()
|
|
*/
|
|
int soc_init(void);
|
|
|
|
/** @brief register uart for printf log.
|
|
*/
|
|
void printf_uart_register(uint8_t uart_idx);
|
|
|
|
#endif //__SOC_INIT__
|