📄 sections.h
字号:
/* ----------------------------------------------------------------------------
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -