#ifndef W3_PLATFORM_COMMON_H_ #define W3_PLATFORM_COMMON_H_ #include "xparameters.h" #define PLATFORM_ID_W3 0x00000001 #define PLATFORM_CONFIG 0x00000000 /********************************************************************* * Mapping macros from xparameters.h * * The BSP generates xparameters.h to define macros for hardware-specific * parameters, including peripheral memory addresses, peripheral IDs, * interrupt IDs, etc. * * The macros below map the BSP-generated macros ("XPAR_...") to the * hardware-agnostic names used by the 802.11 Ref Design C code. Each * platform must implement this mapping in wlan_platform_common.h. * **********************************************************************/ // -------------------------------------------------------------------- // Peripherals accessible by both CPUs // IIC EEPROMs - WARP v3 on-board and FMC-RF-2X245 EEPROMs #define EEPROM_BASEADDR XPAR_W3_IIC_EEPROM_ONBOARD_BASEADDR #define FMC_EEPROM_BASEADDR XPAR_W3_IIC_EEPROM_FMC_BASEADDR // IPC mailbox #define PLATFORM_DEV_ID_MAILBOX XPAR_MBOX_0_DEVICE_ID // System monitor #define PLATFORM_BASEADDR_SYSMON XPAR_SYSMON_0_BASEADDR // Mutex for Tx/Rx packet buffers #define PLATFORM_DEV_ID_PKT_BUF_MUTEX XPAR_MUTEX_0_DEVICE_ID // Tx Power range #define TX_POWER_MAX_DBM (21) #define TX_POWER_MIN_DBM (-9) #endif /* W3_PLATFORM_COMMON_H_ */