Bug 1996 - Contribution for West Bridge Astoria Symbian Storage Driver
this storage driver is for the West Bridge Astoria chipset. This device
has a USB, SD and processor port for communication with a baseband processor.
In our port, we connected this device DVK to the Beagleboard through the SPI
interface of the OMAP3. After driver installation, the Symbian OS can see an
external device or D: drive represented by the SD card. In this driver, the USB
interface is not used directly, though this may be the subject of future
contributions. The appropriate way to test the driver is to access the external
volume and do file read and write to it, pretty much the same way you would
test a thumb drive on your PC
// ===========================
//
// Copyright Cypress Semiconductor Corporation, 2006-2009,
// All Rights Reserved
// UNPUBLISHED, LICENSED SOFTWARE.
//
// CONFIDENTIAL AND PROPRIETARY INFORMATION
// WHICH IS THE PROPERTY OF CYPRESS.
//
// ===========================
#include "beagle/variant.mmh"
#include "kernel/kern_ext.mmh"
#include "drivers/elocd.mmh"
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
USERINCLUDE ../../../../../os/kernelhwsrv/kernel/eka/include/drivers
target VariantTarget(medwb,pdd)
targettype pdd
//Define this macro to create an MBR when formatting low-capacity MMC cards :
//macro SYMBIAN_CREATE_MBR_ON_LOW_CAPACITY_MMC
source medwb.cpp
library elocd.lib
//library VariantTarget(wb,lib)
library wb.lib
linkas medwb.pdd
start wins
win32_headers
end
epocallowdlldata
UID 0x100039d0 0x100000d9
VENDORID 0x70000001
capability all
SMPSAFE