From 49064f41a2c731cbdfaf6605f32c9cfb7cc0dfd4 Mon Sep 17 00:00:00 2001 From: bhgv Date: Tue, 12 May 2020 13:38:53 +0300 Subject: support of FreeRTOS riscV-64 (k210 cpu). 2nd step --- emu/FreeRTOS/devfs-posix.c | 3 ++- emu/FreeRTOS/mkfile | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'emu') diff --git a/emu/FreeRTOS/devfs-posix.c b/emu/FreeRTOS/devfs-posix.c index 1f53ac8..958e941 100644 --- a/emu/FreeRTOS/devfs-posix.c +++ b/emu/FreeRTOS/devfs-posix.c @@ -15,7 +15,8 @@ #include #endif //{} #include -#include +#include "../../libiot/vfs/include/sys/dirent.h" +#include "../../libiot/vfs/vfs.h" #include #define __EXTENSIONS__ #undef getwd diff --git a/emu/FreeRTOS/mkfile b/emu/FreeRTOS/mkfile index 88a2620..27237d5 100644 --- a/emu/FreeRTOS/mkfile +++ b/emu/FreeRTOS/mkfile @@ -44,6 +44,8 @@ CFLAGS='-DROOT="'$ROOT'"' -DEMU \ -I$ROOT/$SYSTARG/$OBJTYPE/include \ -I$ROOT/include \ -I$ROOT/libinterp \ + -I$ROOT/libiot/vfs/include \ + -I$ROOT/libiot/include \ $CTHREADFLAGS $CFLAGS $EMUOPTIONS #SYSLIBS= $X11LIBS -lm -lpthread SYSLIBS= -lm -lpthread -- cgit v1.2.3