##// END OF EJS Templates
Removed error on fat32 library, seems now to be able navigate among sectors in...
Removed error on fat32 library, seems now to be able navigate among sectors in both directions. Improved SDLCD drawing performances by almost 1000x.

File last commit:

r18:bd9ab647f70a default
r68:104125d87b89 dev_alexis
Show More
main.c
39 lines | 824 B | text/x-c | CLexer
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 #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;
}