From 0be710e842a418b8876c6471d1e798f3892ad803 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 19 Dec 2018 12:01:29 +0800 Subject: [PATCH] [BSP][k210] Fix the build issue in k210. --- bsp/k210/.config | 10 +--------- bsp/k210/rtconfig.h | 6 ------ bsp/k210/rtconfig.py | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/bsp/k210/.config b/bsp/k210/.config index d1279d3b74..c696886459 100644 --- a/bsp/k210/.config +++ b/bsp/k210/.config @@ -128,7 +128,7 @@ CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set # CONFIG_RT_USING_I2C is not set -CONFIG_RT_USING_PIN=y +# CONFIG_RT_USING_PIN is not set # CONFIG_RT_USING_ADC is not set # CONFIG_RT_USING_PWM is not set # CONFIG_RT_USING_MTD_NOR is not set @@ -326,10 +326,6 @@ CONFIG_PKG_KENDRYTE_SDK_VER="v0.5.2" # CONFIG_PKG_USING_DSTR is not set # CONFIG_PKG_USING_TINYFRAME is not set -# -# sample package -# - # # samples: kernel and components samples # @@ -337,10 +333,6 @@ CONFIG_PKG_KENDRYTE_SDK_VER="v0.5.2" # CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set # CONFIG_PKG_USING_NETWORK_SAMPLES is not set # CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set - -# -# example package: hello -# # CONFIG_PKG_USING_HELLO is not set # diff --git a/bsp/k210/rtconfig.h b/bsp/k210/rtconfig.h index 629a34f31c..bb101c8c8d 100644 --- a/bsp/k210/rtconfig.h +++ b/bsp/k210/rtconfig.h @@ -86,7 +86,6 @@ #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL #define RT_SERIAL_USING_DMA -#define RT_USING_PIN /* Using WiFi */ @@ -158,14 +157,9 @@ /* miscellaneous packages */ -/* sample package */ - /* samples: kernel and components samples */ -/* example package: hello */ - - /* Privated Packages of RealThread */ diff --git a/bsp/k210/rtconfig.py b/bsp/k210/rtconfig.py index c2df896f4c..b159d6fb9e 100644 --- a/bsp/k210/rtconfig.py +++ b/bsp/k210/rtconfig.py @@ -8,7 +8,7 @@ CROSS_TOOL ='gcc' if os.getenv('RTT_ROOT'): RTT_ROOT = os.getenv('RTT_ROOT') else: - RTT_ROOT = r'rt-thread' + RTT_ROOT = r'../..' if os.getenv('RTT_CC'): CROSS_TOOL = os.getenv('RTT_CC') -- GitLab