diff --git a/bsp/k210/.config b/bsp/k210/.config index d1279d3b74e0db6de207947d7ede9bd3a0122926..c69688645917bd88fd06eda4ec4eb22b583fced2 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 629a34f31c0227a17c7a5d267dc8ca17262e1cf0..bb101c8c8dae1cdbad7e9c327dc281e86cd25077 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 c2df896f4c636e3c3277261bb6b8a2c9cb4a302d..b159d6fb9ef39921eb79ecfe590e6a1d414a90c9 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')