增加所有文件
This commit is contained in:
39
boards/e3_176_ref/board.h
Normal file
39
boards/e3_176_ref/board.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @file board.h
|
||||
* @brief board config header.
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Semidrive Semiconductor.
|
||||
* All rights reserved.
|
||||
*/
|
||||
#include <sdrv_uart.h>
|
||||
|
||||
#define DEVICE_BASE(dev) _DEVICE_BASE(dev)
|
||||
#define _DEVICE_BASE(dev) APB_##dev##_BASE
|
||||
|
||||
#define DEVICE_INTR(dev) _DEVICE_INTR(dev)
|
||||
#define _DEVICE_INTR(dev) dev##_INTR_NUM
|
||||
|
||||
extern sdrv_uart_t g_console_uart;
|
||||
|
||||
/**
|
||||
* @brief board reset init
|
||||
*/
|
||||
void board_reset_init(void);
|
||||
|
||||
/**
|
||||
* @brief board debug console uart init
|
||||
*/
|
||||
void board_debug_console_init(void);
|
||||
|
||||
#if CONFIG_ARCH_WITH_MPU
|
||||
/**
|
||||
* @brief board memory protect unit (mpu) init
|
||||
*/
|
||||
void board_mpu_init(void);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Call constructor functions.
|
||||
* This is required when the project has C++ modules.
|
||||
*/
|
||||
void call_constructors(void);
|
||||
Reference in New Issue
Block a user