##// END OF EJS Templates
Started SSD2119 driver based on ili9328 driver....
Started SSD2119 driver based on ili9328 driver. -IF more or less functionnal /!\ need to check FSMC config -Need to check mid point circle algo -need to generate good fonts! -Should merge ili and ssd driver in one since the interface is the same, we can detect the chip with Device Code. Added Stm32Discovery extension board bsp.

File last commit:

r18:bd9ab647f70a default
r58:dcfec4f56803 dev_alexis
Show More
main.c
39 lines | 824 B | text/x-c | CLexer
#include <bsp.h>
#include <gpio.h>
#include <uart.h>
#include <stm32f4xx_rcc.h>
#include <stm32f4xx_gpio.h>
#include <streamdevices.h>
#include <libucstrings.h>
#include <stdio.h>
#include <sdcard.h>
#include <mbr.h>
#include <uhandle.h>
#include <blkdevice.h>
#include <fat32.h>
#include <string.h>
#include <hexviewer.h>
#include <libucfs.h>
#define delay for(volatile int i=0;i<1024*256;i++)
//streamdevice* stdo;
int main()
{
int seccnt = 1;
char test[512*seccnt];
int i=0;
blkdevice dev;
dikpartition part;
ucdirent dirent;
FAT32fs fs;
// void sdcardmakeblkdev(blkdevice* dev,sdcardDev* sdcard, blkdevselect_t select,blkdevpower_t power,blkdevdetect_t detect,blkdevwriteprotected_t writeprotected)
//sdcardmakeblkdev(&dev);
mbropen(&dev,&part,1);
return 0;
}