#include <drv/ser.h>
#include <drv/lcd_rit128x96.h>
#include <drv/kbd.h>
+#include <drv/flash.h>
/* 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)
rit128x96_blitBitmap(&lcd_bitmap);
/* Initialize the keypad driver */
kbd_init();
+ /* Initialize the internal flash memory */
+ flash_init(&flash);
}
int main(void)
p26
aS'formatwr'
p27
-aS'kfile'
+aS'flash'
p28
-aS'lcd_rit128x96'
+aS'kfile'
p29
-aS'heap'
+aS'lcd_rit128x96'
p30
-aS'timer'
+aS'heap'
p31
-aS'debug'
+aS'timer'
p32
-aS'lm3s_ssi'
+aS'debug'
p33
-asS'CPU_NAME'
+aS'lm3s_ssi'
p34
-VLM3S1968
+asS'CPU_NAME'
p35
-sS'PROJECT_HW_PATH'
+VLM3S1968
p36
-S'../..'
+sS'PROJECT_HW_PATH'
p37
-sS'PROJECT_SRC_PATH'
+S'../..'
p38
-S'.'
+sS'PROJECT_SRC_PATH'
p39
-sS'PRESET'
+S'.'
p40
+sS'PRESET'
+p41
I01
sS'OUTPUT'
-p41
-(lp42
+p42
+(lp43
s.
\ No newline at end of file
#include <drv/ser.h>
#include <drv/lcd_rit128x96.h>
#include <drv/kbd.h>
+#include <drv/flash.h>
#include <kern/proc.h>
#include <kern/monitor.h>
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)
rit128x96_blitBitmap(&lcd_bitmap);
/* Initialize the keypad driver */
kbd_init();
+ /* Initialize the internal flash memory */
+ flash_init(&flash);
/*
* Kernel initialization: processes (allow to create and dispatch
p26
aS'kbd'
p27
-aS'semaphores'
-p28
aS'monitor'
-p29
+p28
aS'formatwr'
+p29
+aS'flash'
p30
-aS'debug'
+aS'semaphores'
p31
aS'kfile'
p32
p35
aS'timer'
p36
-aS'lm3s_ssi'
+aS'debug'
p37
-asS'CPU_NAME'
+aS'lm3s_ssi'
p38
-VLM3S1968
+asS'CPU_NAME'
p39
-sS'PROJECT_HW_PATH'
+VLM3S1968
p40
-S'../..'
+sS'PROJECT_HW_PATH'
p41
-sS'PROJECT_SRC_PATH'
+S'../..'
p42
-S'.'
+sS'PROJECT_SRC_PATH'
p43
-sS'PRESET'
+S'.'
p44
+sS'PRESET'
+p45
I01
sS'OUTPUT'
-p45
-(lp46
+p46
+(lp47
s.
\ No newline at end of file