#ifndef _ENVIRONMENT_H_INCLUDED_
#define _ENVIRONMENT_H_INCLUDED_

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

//crystal frequency
#define CLKIN							25				//[MHz]

//flash configuration
#define FLASH_INTEL_STRATA								// intel strata compatible flash
#define FLASH_START_ADDRESS				0x20000000
#define FLASH_NUM_SECTORS				256
#define FLASH_SECTOR_SIZE				0x8000
#define FLASH_NOF_BANKS					4
#define FLASH_BANK_SIZE					0x200000		//1Mb
#define FLASH_BANK_SELECT0				_PF4
#define FLASH_BANK_SELECT1				_PF5
#define FLASH_BANK_SELECT2				0
#define FLASH_BANK_SELECT3				0
#define FLASH_BANK_SELECT4				0
#define FLASH_BANK_SELECT5				0


#endif

