> On Thu, Oct 22, 2015 at 10:27 AM, Peter Kietzmann >> There are no drivers for the Spansion flash memory in RIOT. If you plan to >> work on it, you might also be interested in the NVRAM interface and the >> implementation for the mulle board. >> >> https://github.com/RIOT-OS/RIOT/blob/master/drivers/include/nvram-spi.h >> https://github.com/RIOT-OS/RIOT/blob/master/drivers/nvram_spi/nvram-spi.c >> https://github.com/RIOT-OS/RIOT/blob/master/drivers/include/nvram.h >> https://github.com/RIOT-OS/RIOT/blob/master/boards/mulle/include/mulle-nvram.h >> https://github.com/RIOT-OS/RIOT/blob/master/boards/mulle/board.c
Yesterday, I finished interfacing Spansion serial NOR flash memory with STM32F072C8 SOC over SPI bus on a custom board by using libraries provided by ST Microelectornics and without using any Operating system middle layer. I now plan to work on the driver for this same memory for RIOT, However I've few doubts regarding the organization of the code, testing and pull request. Please comment on items below: 1: This particular serial NOR flash memory has it's own particularities/ command sets etc, hence I'm planning to add a new driver file (say, drivers/nvram_spi/s25fl127s.c) 2: Add Spansion flash memory specific macros, data structure, function declaration under drivers/include/s25fl127s.h 3: Use existing SPI specific code for STM32F07x SOC /cpu/stm32f0/periph/spi.c 4: I will do some testing as I have the hardware, however, I'm wondering if someone else can also help me out with the testing, before I send the pull request. 5: Any other comments, suggestions for a newcomer, as this will be my first ever Pull request for any Open source project. -Amit _______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel