-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Added Manually configuration
- Loading branch information
Showing
3 changed files
with
137 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/** | ||
****************************************************************************** | ||
* File Name : NimaLTD.I-CUBE-EE_conf.h | ||
* Description : This file provides code for the configuration | ||
* of the NimaLTD.I-CUBE-EE_conf.h instances. | ||
****************************************************************************** | ||
* @attention | ||
* | ||
* Copyright (c) 2024 STMicroelectronics. | ||
* All rights reserved. | ||
* | ||
* This software is licensed under terms that can be found in the LICENSE file | ||
* in the root directory of this software component. | ||
* If no LICENSE file comes with this software, it is provided AS-IS. | ||
* | ||
****************************************************************************** | ||
*/ | ||
/* Define to prevent recursive inclusion -------------------------------------*/ | ||
#ifndef _NIMALTD_I_CUBE_EE_CONF_H_ | ||
#define _NIMALTD_I_CUBE_EE_CONF_H_ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#define EE_PAGE_SECTOR_SIZE_1K (1024 * 1) | ||
#define EE_PAGE_SECTOR_SIZE_2K (1024 * 2) | ||
#define EE_PAGE_SECTOR_SIZE_4K (1024 * 4) | ||
#define EE_PAGE_SECTOR_SIZE_8K (1024 * 8) | ||
#define EE_PAGE_SECTOR_SIZE_16K (1024 * 16) | ||
#define EE_PAGE_SECTOR_SIZE_32K (1024 * 32) | ||
#define EE_PAGE_SECTOR_SIZE_64K (1024 * 64) | ||
#define EE_PAGE_SECTOR_SIZE_128K (1024 * 128) | ||
#define EE_PAGE_SECTOR_SIZE_256K (1024 * 256) | ||
|
||
/** | ||
MiddleWare name : NimaLTD.I-CUBE-EE.3.2.0 | ||
MiddleWare fileName : NimaLTD.I-CUBE-EE_conf.h | ||
*/ | ||
/*---------- EE_MANUAL_CONFIG -----------*/ | ||
#define EE_MANUAL_CONFIG false | ||
|
||
/*---------- EE_SELECTED_PAGE_SECTOR_NUMBER -----------*/ | ||
#define EE_SELECTED_PAGE_SECTOR_NUMBER 16 | ||
|
||
/*---------- EE_SELECTED_PAGE_SECTOR_SIZE -----------*/ | ||
#define EE_SELECTED_PAGE_SECTOR_SIZE EE_PAGE_SECTOR_SIZE_1K | ||
|
||
/*---------- EE_SELECTED_BANK -----------*/ | ||
#define EE_SELECTED_BANK FLASH_BANK_1 | ||
|
||
/*---------- EE_SELECTED_ADDRESS -----------*/ | ||
#define EE_SELECTED_ADDRESS 0x08000000 | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#endif /* _NIMALTD_I_CUBE_EE_CONF_H_ */ | ||
|
||
/** | ||
* @} | ||
*/ | ||
|
||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters