增加所有文件

This commit is contained in:
2025-11-07 09:57:14 +08:00
parent b598c1d479
commit 97bc808489
9392 changed files with 3483224 additions and 21 deletions

39
boards/e3_176_ref/board.h Normal file
View 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);