Actually we don't support your flash memory, but I see the code is quietly simple to add it to the driver. If you would like to add this memory, you should modify this file "bertos/drv/flash25.h", adding the definition for you memory, and test it.
Generally most bertos driver had the kfile interface that simplify their use. To use it you should init the spi module, and then init the flash25 driver with it, in code come:
static Sertia spi_fd;
static Flash25 flash;
/* all init needed */
/* Init and open the spi channel 0 */
/* set spi baudrate */
LOG_INFO("SPI0 set baudrate..ok\n");
/* Init the flash driver over the spi channel */
/* Now we can access to memory using kfile interface */
kfile_write(&flash.fd, "Test", sizeof("Test")); // We write "Test" sting in memory starting from 0 address
kfile_seek(&flash.fd, 1000, KSM_SEEK_SET); // move pointer to address 1000 of memory, now we can read or write from this address
kfile_read(&flash.fd, buf, 10); // read 10 byte from current flash address, and put it into buf.
For more info you can consult the bertos sites:http://www.bertos.org/use/tutorial-fron ... -interface