##// END OF EJS Templates
Added Oplayer BSP, Fixed bug on GPIO library(gpiosetval change all the port...
Added Oplayer BSP, Fixed bug on GPIO library(gpiosetval change all the port instead of the desired bit).

File last commit:

r55:c31e6b955f5b dev_alexis
r60:17402611bd25 dev_alexis
Show More
fs.c
25 lines | 487 B | text/x-c | CLexer
#include <stdint.h>
#include <streamdevices.h>
#include <stdio.h>
#include <bsp.h>
const int32_t __max_opened_files__ = __MAX_OPENED_FILES__;
__IO streamdevice* __opnfiles__[__MAX_OPENED_FILES__];
const int32_t __fs_root_size__ = __FS_ROOT_SIZE__;
int32_t __fs_root__[__FS_ROOT_SIZE__];
/*
void __init_fs()
{
int i=0;
for(i=0;i<__fs_root_size__;i++)
{
__fs_root__[i]=(int32_t)NULL;
}
for(i=0;i<__max_opened_files__ ;i++)
{
__opnfiles__[i]._stream=NULL;
}
}
*/