diff options
| author | Bernard Xiong <[email protected]> | 2018-12-19 14:31:01 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-19 14:31:01 +0800 |
| commit | da612ebaf6cf48556e9cd653b0b02822c517dd1a (patch) | |
| tree | 0e82129d5412fb1246335622709e20b92c550659 /bsp | |
| parent | bf62a7ffb7c90bbfd358b8b42c698b77d27e6bb0 (diff) | |
| parent | 0be710e842a418b8876c6471d1e798f3892ad803 (diff) | |
Merge pull request #2090 from RT-Thread/bsp_k210
[BSP][k210] Fix the build issue in k210.
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/k210/.config | 10 | ||||
| -rw-r--r-- | bsp/k210/rtconfig.h | 6 | ||||
| -rw-r--r-- | 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 @@ -327,20 +327,12 @@ CONFIG_PKG_KENDRYTE_SDK_VER="v0.5.2" # CONFIG_PKG_USING_TINYFRAME is not set # -# sample package -# - -# # samples: kernel and components samples # # CONFIG_PKG_USING_KERNEL_SAMPLES is not set # 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') |
