#pragma once

//+++MODIFY HERE FOR PORTING
#define EMULATION_ENABLE TRUE

#define SXXXXXX_I2C_REG                 IIC_REG
#define SXXXXXX_GPIO_REG                GPIO_REG
#define SXXXXXX_SYSCLK_REG              CMU_CLK_REG
#define SXXXXXX_BSP_ARG			        BSP_ARGS
#define PSXXXXXX_I2C_REG                PIIC_REG
#define PSXXXXXX_GPIO_REG               PGPIO_REG
#define PSXXXXXX_SYSCLK_REG             PCMU_CLK_REG
#define PSXXXXXX_BSP_ARG		        volatile BSP_ARGS *

#define SXXXXXX_BASE_REG_PA_I2C0        BASE_REG_PA_I2C0
#define SXXXXXX_BASE_REG_PA_I2C1        BASE_REG_PA_I2C_HDMI_DDC
#define SXXXXXX_BASE_REG_PA_I2C2        BASE_REG_PA_I2C2
#define SXXXXXX_BASE_REG_PA_I2C3        BASE_REG_PA_I2C_HDMI_PHY
#define SXXXXXX_BASE_REG_PA_GPIO        BASE_REG_PA_GPIO
#define SXXXXXX_BASE_REG_PA_SYSCLK      BASE_REG_PA_CMU_CLK
#define SXXXXXX_BASE_REG_PA_BSPARG	    IMAGE_SHARE_ARGS_PA_START

#define SXXXXXX_PCLK                    PCLKPSYS

#define SXXXXXX_IRQ_I2C0                IRQ_I2C
#define SXXXXXX_IRQ_I2C1                IRQ_HDMI_I2C
#define SXXXXXX_IRQ_I2C2                IRQ_I2C_PMIC_LINK
#define SXXXXXX_IRQ_I2C3                IRQ_I2C_HDMI_PHY

#define NOT_MAPPED_PORT                 0          

#define SXXXXXX_I2C0_SCL_GPIO           GPD11_I2C0_SCL    
#define SXXXXXX_I2C0_SDA_GPIO           GPD10_I2C0_SDA    
#define SXXXXXX_I2C1_SCL_GPIO           GPD13_I2C1_SCL    
#define SXXXXXX_I2C1_SDA_GPIO           GPD12_I2C1_SDA    
#define SXXXXXX_I2C2_SCL_GPIO           GPD15_I2C2_SCL    
#define SXXXXXX_I2C2_SDA_GPIO           GPD14_I2C2_SDA    
#define SXXXXXX_I2C3_SCL_GPIO           NOT_MAPPED_PORT    
#define SXXXXXX_I2C3_SDA_GPIO           NOT_MAPPED_PORT
/*
#ifndef ERRMSG
#define ERRMSG(m) RETAILMSG(TRUE, m)
#endif

#ifndef DBGMSG
#define IIC_INFO 0
#define IIC_FUNC 0
#define IIC_USR1 0
#define IIC_USR2 0
#define IIC_USR3 0
#define IIC_PM	 0
#define DBGMSG(c, m) RETAILMSG(c, m)
#endif*/
//---MODIFY HERE FOR PORTING
