#ifndef _BOARD_H_
#define _BOARD_H_


#define BSP_USING_I2C0_SLAVE

#define I2C0_SLAVE_MSG_LEN 10
#define I2C0_SLAVE_ADDRESS 0x5A
#define HAL_I2C0_SLAVE_SCL_PIN    GPIO14
#define HAL_I2C0_SLAVE_SDA_PIN    GPIO15

#define BSP_USING_UART
#define HAL_UART0_BAUDRATE  115200
#define HAL_UART0_TX_PIN    GPIO14
#define HAL_UART0_RX_PIN    GPIO15


#define HAL_SPI0_CSS_PIN 	GPIO33
#define HAL_SPI0_CLK_PIN 	GPIO32
#define HAL_SPI0_DAT0_PIN 	GPIO34
#define HAL_SPI0_DAT1_PIN 	GPIO35

#define HAL_SPI1_CSS_PIN 	GPIO0
#define HAL_SPI1_CLK_PIN 	GPIO0
#define HAL_SPI1_DAT0_PIN 	GPIO0
#define HAL_SPI1_DAT1_PIN 	GPIO0
//PSRAM
#define BSP_USING_PSRAM
#define MAX_RAM_BYTESIZE	        4*1024*1024
#define	MEM_PSRAM_L1_CACHED_BASE	0x4e000000
#define	MEM_PSRAM_UNCACHED_BASE		0x6e000000
#endif
