First version of my operation system for stm32 board

Dependencies:   RA8875 VS1053 sd-driver-hs

variables.h

Committer:
Hagrid
Date:
2018-03-01
Revision:
0:86f82f777a7a
Child:
3:a60dc00bf3a2

File content as of revision 0:86f82f777a7a:

#define command_count 11

char input[500];
int position;

char* tmpE[20];//split field
int tmpD=0;

uint8_t cpu_usage = 0;

char commands[command_count+1][20] =
{
    {'m', 'k', 'd', 'i', 'r', '\0'},
    {'r', 'm', '\0'},
    {'l', 's', '\0'},
    {'c', 'l', 's', '\0'},
    {'i', 'n', 'f', 'o', '\0'},
    {'e', 'd', 'i', 't', '\0'},
    {'s', 'l', 'e', 'e', 'p', '\0'},
    {'o', 'u', 't', '\0'},
    {'b', 'a', 'c', 'k', 'l', 'i', 'g', 'h', 't', '\0'},
    {'p', 'l', 'a', 'y', '\0'},
    {'c', 'd', '\0'},
    {' '}
};//command field

unsigned char array[25*1024];

char home[10]="/fs/";
char c_dir[10];