First version of my operation system for stm32 board

Dependencies:   RA8875 VS1053 sd-driver-hs

variables.h

Committer:
Hagrid
Date:
2018-03-13
Revision:
4:3cdd044a3df4
Parent:
3:a60dc00bf3a2

File content as of revision 4:3cdd044a3df4:

#define command_count 12

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'},
    {'g', 'p', 'i', 'o', '\0'},
    {'b', 'a', 'c', 'k', 'l', 'i', 'g', 'h', 't', '\0'},
    {'p', 'l', 'a', 'y', '\0'},
    {'c', 'd', '\0'},
    {'h', 'e', 'l', 'p', '\0'},
    {' '}
};//command field

unsigned char array[25*1024];

char adir[50] = "/fs/"; //home fS path
char apath[50] = "/fs/"; //home path