From 4384599e5b2973e8fab7f2a26a00a5484bb52202 Mon Sep 17 00:00:00 2001 From: tyx <462747508@qq.com> Date: Wed, 24 Oct 2018 17:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DIAR=20IDE=20=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E4=B8=8D=E8=BF=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rtthread_patch/realtek/8711b/include/platform_autoconf.h | 2 +- .../component/soc/realtek/8711b/app/monitor/ram/rtl_consol.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rtthread_patch/realtek/8711b/include/platform_autoconf.h b/rtthread_patch/realtek/8711b/include/platform_autoconf.h index 3f95890..7d9cd4b 100644 --- a/rtthread_patch/realtek/8711b/include/platform_autoconf.h +++ b/rtthread_patch/realtek/8711b/include/platform_autoconf.h @@ -53,7 +53,7 @@ /* * < CONFIG OS */ -#define CONFIG_KERNEL 1 +// #define CONFIG_KERNEL 0 #define PLATFORM_FREERTOS 1 #undef PLATFORM_UCOSII #undef PLATFORM_ECOS diff --git a/sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0/component/soc/realtek/8711b/app/monitor/ram/rtl_consol.c b/sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0/component/soc/realtek/8711b/app/monitor/ram/rtl_consol.c index edbdebf..38dc0d6 100644 --- a/sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0/component/soc/realtek/8711b/app/monitor/ram/rtl_consol.c +++ b/sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0/component/soc/realtek/8711b/app/monitor/ram/rtl_consol.c @@ -297,6 +297,7 @@ UartLogCmdExecuteRam( return FALSE; } +#ifdef CONFIG_KERNEL VOID RtlConsolTaskRam( @@ -361,6 +362,7 @@ RtlConsolTaskRam( } }while(1); } +#endif /** * @brief Set UartLog Baud Rate use baudrate val.