sections.h

来自「ST5100 driver files for ST chipset」· C头文件 代码 · 共 45 行

H
45
字号
/* ----------------------------------------------------------------------------

  File Name: sections.h
Description: setup partition sections.

Copyright (C) 2004 STMicroelectronics

---------------------------------------------------------------------------- */

#ifndef __SECTIONS_H
 #define __SECTIONS_H


/* Includes ---------------------------------------------------------------- */

#include "stddefs.h"    /* STAPI includes */


/* Exported variables ------------------------------------------------------ */

extern ST_Partition_t *NcachePartition; /* non-cached partition */
extern ST_Partition_t *SystemPartition; /* general partition    */
extern ST_Partition_t *DataPartition; /* data partition    */
#if defined(CREATE_NCACHE_2)
extern ST_Partition_t          *NcachePartition2;
#endif


/* Function prototypes ----------------------------------------------------- */
#ifdef STTBX_PRINT
	/* Define Internal Print to be "like" STTBX_REPORT but before the toolbox init*/
	#define LOCAL_FILENAME_LENGTH 11
	#define LOCAL_LINE_NUMBER_LENGTH 4
	#define LOCAL_PRINT(x) {printf("%*.*s, %0*lu     Info> ", LOCAL_FILENAME_LENGTH, LOCAL_FILENAME_LENGTH, __FILE__, LOCAL_LINE_NUMBER_LENGTH, (long int)__LINE__); printf x;}
#else
	#define LOCAL_PRINT(x)
#endif

ST_ErrorCode_t SECTIONS_Setup(void);


#endif /* __SECTIONS_H */

/* EOF --------------------------------------------------------------------- */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?