From 0f5fb37f9ad4b1ddb18d15a22035d915a98b8c3d Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Tue, 19 Oct 2010 08:27:41 +0000 Subject: [PATCH] remove the complicated definition on FTK component. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1018 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/mini2440/rtconfig.h | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/bsp/mini2440/rtconfig.h b/bsp/mini2440/rtconfig.h index 614262eed..b590a5ee5 100644 --- a/bsp/mini2440/rtconfig.h +++ b/bsp/mini2440/rtconfig.h @@ -217,23 +217,15 @@ /* using FTK support */ /* #define RT_USING_FTK */ -#ifdef RT_USING_FTK - -#ifdef RT_USING_RTGUI -#error "can't using RTGUI and FTK in the same time" -#endif - -#ifndef RT_USING_NEWLIB -#define RT_USING_NEWLIB -#endif - -#ifndef DFS_USING_WORKDIR -#define DFS_USING_WORKDIR -#endif - -#undef RT_DFS_ELM_MAX_LFN -#define RT_DFS_ELM_MAX_LFN 64 - -#endif +/* + * Note on FTK: + * + * FTK depends : + * #define RT_USING_NEWLIB + * #define DFS_USING_WORKDIR + * + * And the maximal length must great than 64 + * #define RT_DFS_ELM_MAX_LFN 128 + */ #endif -- GitLab