main.c
39 lines
| 824 B
| text/x-c
|
CLexer
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
|
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; | ||||
} | ||||