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.