#ifndef _ENVIRONMENT_H_INCLUDED_
#define _ENVIRONMENT_H_INCLUDED_

#include "../../../flash-driver-src/driver/src/bf537/gpio_global.h"

//flash configuration
//V3.5.x, 4MB
#define FLASH_MULTIPLE_FLASH_TYPE_SUPPORT
#define FLASH_ISSI
#define FLASH_CYPRESS	        					
#define FLASH_INTEL_STRATA
#define FLASH_ISSI_DO_CHIP_ERASE_WITH_SECTOR_ERASE
#define FLASH_START_ADDRESS				0x20000000
#define FLASH_NUM_SECTORS				32
#define FLASH_SECTOR_SIZE				0x20000         // 32 x 0x20000 = 4MB
#define FLASH_NOF_BANKS					2
#define FLASH_BANK_SIZE					0x200000		// 2Mb
#define FLASH_BANK_SELECT0				_PF4
#define FLASH_BANK_SELECT1				0
#define FLASH_BANK_SELECT2				0
#define FLASH_BANK_SELECT3				0
#define FLASH_BANK_SELECT4				0
#define FLASH_BANK_SELECT5				0

#endif