X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fek-lm3s1968%2Ftemplates%2Fempty%2Fmain.c;h=b6df37c952141834db6aa524e93acf24548b8688;hb=83ea7ed8da72ed69c0ef12589a921694987504fa;hp=659b51b5524aeee572c5f573888ab7331340e9ed;hpb=57bc2725ffb9ebe4c40ad1942090d462e1208a5d;p=bertos.git diff --git a/boards/ek-lm3s1968/templates/empty/main.c b/boards/ek-lm3s1968/templates/empty/main.c index 659b51b5..b6df37c9 100644 --- a/boards/ek-lm3s1968/templates/empty/main.c +++ b/boards/ek-lm3s1968/templates/empty/main.c @@ -43,15 +43,17 @@ #include #include #include -#include #include #include +#include /* Bitmap to display on the OLED display */ static Bitmap lcd_bitmap; /* Raster associated to the Bitmap image */ static uint8_t raster[RAST_SIZE(LCD_WIDTH, LCD_HEIGHT)]; - +/* Internal flash memory descriptor */ +static Flash flash; +/* UART port descriptor */ static Serial out; static void init(void) @@ -77,12 +79,8 @@ static void init(void) rit128x96_blitBitmap(&lcd_bitmap); /* Initialize the keypad driver */ kbd_init(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); + /* Initialize the internal flash memory */ + flash_init(&flash); } int main(void)