Docker-Build mit gcc-arm-none-eabi 4.9-2014q4 (statt Homebrew-Cask) verwendet, Dockerfile/tools/docker.sh dafür aus Task 13 vorgezogen. cmake/sdk.cmake schont gcc 4.9 (kennt -fcommon/-Wno-error=... nicht). Zwei zusätzliche SDK-Stubs (EarlyInit, pre_gpio_config) in src/sys/sdk_stubs.c ergänzt, siehe sdk/PATCHES.md.
80 lines
1.4 KiB
C
80 lines
1.4 KiB
C
/**
|
|
* @file wm_at_ri_init.h
|
|
*
|
|
* @brief AT_RI task and interface resource initial Module
|
|
*
|
|
* @author winnermicro
|
|
*
|
|
* Copyright (c) 2015 Winner Microelectronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef WM_AT_RI_H
|
|
#define WM_AT_RI_H
|
|
|
|
/**
|
|
* @defgroup APP_APIs APP APIs
|
|
* @brief APP APIs
|
|
*/
|
|
|
|
/**
|
|
* @addtogroup APP_APIs
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @defgroup AT_RI_APIs AT_RI APIs
|
|
* @brief AT_RI command APIs
|
|
*/
|
|
|
|
/**
|
|
* @addtogroup AT_RI_APIs
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @brief This function is used to initialize hostif task
|
|
used by AT&RI Command
|
|
*
|
|
* @param None
|
|
*
|
|
* @retval 0 success
|
|
* @retval other failed
|
|
*
|
|
* @note Usually the system will call this api at power on.
|
|
*/
|
|
int tls_hostif_init(void);
|
|
|
|
/**
|
|
* @brief This function is used to initialize high speed SPI
|
|
*
|
|
* @param None
|
|
*
|
|
* @retval 0 success
|
|
* @retval other failed
|
|
*
|
|
* @note Users can decide to call this api or not according to his application.
|
|
*/
|
|
int tls_hspi_init(void);
|
|
|
|
/**
|
|
* @brief This function is used to initialize UART
|
|
*
|
|
* @param None
|
|
*
|
|
* @return None
|
|
*
|
|
* @note Usually the system will call this api at power on.
|
|
*/
|
|
void tls_uart_init(void);
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
#endif /* WM_AT_RI_H */
|
|
|