Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
在你之后
rt-thread
提交
16ceacda
R
rt-thread
项目概览
在你之后
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
16ceacda
编写于
8月 03, 2022
作者:
mysterywolf
提交者:
mysterywolf
8月 03, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[k210] 调整Kconfig结构
上级
067315ff
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
24 addition
and
19 deletion
+24
-19
bsp/k210/.config
bsp/k210/.config
+4
-2
bsp/k210/Kconfig
bsp/k210/Kconfig
+1
-11
bsp/k210/drivers/Kconfig
bsp/k210/drivers/Kconfig
+17
-5
bsp/k210/drivers/SConscript
bsp/k210/drivers/SConscript
+0
-0
bsp/k210/drivers/board.c
bsp/k210/drivers/board.c
+0
-0
bsp/k210/drivers/board.h
bsp/k210/drivers/board.h
+0
-0
bsp/k210/drivers/camera/SConscript
bsp/k210/drivers/camera/SConscript
+0
-0
bsp/k210/drivers/camera/drv_ov5640.c
bsp/k210/drivers/camera/drv_ov5640.c
+0
-0
bsp/k210/drivers/camera/drv_ov5640.h
bsp/k210/drivers/camera/drv_ov5640.h
+0
-0
bsp/k210/drivers/camera/ov5640af.h
bsp/k210/drivers/camera/ov5640af.h
+0
-0
bsp/k210/drivers/camera/ov5640cfg.h
bsp/k210/drivers/camera/ov5640cfg.h
+0
-0
bsp/k210/drivers/dmalock.c
bsp/k210/drivers/dmalock.c
+0
-0
bsp/k210/drivers/dmalock.h
bsp/k210/drivers/dmalock.h
+0
-0
bsp/k210/drivers/drv_gpio.c
bsp/k210/drivers/drv_gpio.c
+0
-0
bsp/k210/drivers/drv_gpio.h
bsp/k210/drivers/drv_gpio.h
+0
-0
bsp/k210/drivers/drv_interrupt.c
bsp/k210/drivers/drv_interrupt.c
+0
-0
bsp/k210/drivers/drv_io_config.c
bsp/k210/drivers/drv_io_config.c
+0
-0
bsp/k210/drivers/drv_io_config.h
bsp/k210/drivers/drv_io_config.h
+0
-0
bsp/k210/drivers/drv_lcd.c
bsp/k210/drivers/drv_lcd.c
+0
-0
bsp/k210/drivers/drv_lcd.h
bsp/k210/drivers/drv_lcd.h
+0
-0
bsp/k210/drivers/drv_mpylcd.c
bsp/k210/drivers/drv_mpylcd.c
+0
-0
bsp/k210/drivers/drv_spi.c
bsp/k210/drivers/drv_spi.c
+0
-0
bsp/k210/drivers/drv_spi.h
bsp/k210/drivers/drv_spi.h
+0
-0
bsp/k210/drivers/drv_uart.c
bsp/k210/drivers/drv_uart.c
+0
-0
bsp/k210/drivers/drv_uart.h
bsp/k210/drivers/drv_uart.h
+0
-0
bsp/k210/drivers/heap.c
bsp/k210/drivers/heap.c
+0
-0
bsp/k210/rtconfig.h
bsp/k210/rtconfig.h
+2
-1
未找到文件。
bsp/k210/.config
浏览文件 @
16ceacda
...
...
@@ -578,7 +578,7 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y
# CONFIG_PKG_USING_ADT74XX is not set
# CONFIG_PKG_USING_AS7341 is not set
# CONFIG_PKG_USING_STM32_SDIO is not set
# CONFIG_PKG_USING_
RTT_
ESP_IDF is not set
# CONFIG_PKG_USING_ESP_IDF is not set
# CONFIG_PKG_USING_ICM20608 is not set
# CONFIG_PKG_USING_BUTTON is not set
# CONFIG_PKG_USING_PCF8574 is not set
...
...
@@ -592,7 +592,7 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y
# CONFIG_PKG_USING_WM_LIBRARIES is not set
#
#
kendryte-sdk:
Kendryte SDK
# Kendryte SDK
#
CONFIG_PKG_USING_K210_SDK
=
y
CONFIG_PKG_K210_SDK_PATH
=
"/packages/peripherals/kendryte-sdk/K210-SDK"
...
...
@@ -660,6 +660,7 @@ CONFIG_PKG_K210_SDK_VER="latest"
# CONFIG_PKG_USING_CW2015 is not set
# CONFIG_PKG_USING_RFM300 is not set
# CONFIG_PKG_USING_IO_INPUT_FILTER is not set
# CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set
#
# AI packages
...
...
@@ -735,6 +736,7 @@ CONFIG_PKG_K210_SDK_VER="latest"
# CONFIG_PKG_USING_MFBD is not set
# CONFIG_PKG_USING_SLCAN2RTT is not set
# CONFIG_PKG_USING_SOEM is not set
CONFIG_SOC_K210
=
y
CONFIG_BOARD_K210_EVB
=
y
#
...
...
bsp/k210/Kconfig
浏览文件 @
16ceacda
...
...
@@ -17,17 +17,7 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config BOARD_K210_EVB
bool
select ARCH_RISCV64
select ARCH_RISCV_FPU_S
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select PKG_USING_K210_SDK
default y
source "driver/Kconfig"
source "drivers/Kconfig"
config __STACKSIZE__
int "stack size for interrupt"
...
...
bsp/k210/driver/Kconfig
→
bsp/k210/driver
s
/Kconfig
浏览文件 @
16ceacda
config SOC_K210
bool
select ARCH_RISCV64
select ARCH_RISCV_FPU_S
select PKG_USING_K210_SDK
config BOARD_K210_EVB
bool
select SOC_K210
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Hardware Drivers Config"
config BSP_USING_UART_HS
...
...
@@ -58,17 +71,17 @@ if BSP_USING_SPI1
default n
config BSP_SPI1_CLK_PIN
int "spi1 clk pin number"
default
29
default
29
config BSP_SPI1_D0_PIN
int "spi1 d0 pin number"
default
30
default
30
config BSP_SPI1_D1_PIN
int "spi1 d1 pin number"
default
31
default
31
if BSP_USING_SPI1_AS_QSPI
config BSP_SPI1_D2_PIN
int "spi1 d2 pin number"
default
32
default
32
config BSP_SPI1_D3_PIN
int "spi1 d3 pin number"
default 33
...
...
@@ -199,4 +212,3 @@ if BSP_USING_CAMERA
endif
endmenu
bsp/k210/driver/SConscript
→
bsp/k210/driver
s
/SConscript
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/board.c
→
bsp/k210/driver
s
/board.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/board.h
→
bsp/k210/driver
s
/board.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/camera/SConscript
→
bsp/k210/driver
s
/camera/SConscript
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/camera/drv_ov5640.c
→
bsp/k210/driver
s
/camera/drv_ov5640.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/camera/drv_ov5640.h
→
bsp/k210/driver
s
/camera/drv_ov5640.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/camera/ov5640af.h
→
bsp/k210/driver
s
/camera/ov5640af.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/camera/ov5640cfg.h
→
bsp/k210/driver
s
/camera/ov5640cfg.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/dmalock.c
→
bsp/k210/driver
s
/dmalock.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/dmalock.h
→
bsp/k210/driver
s
/dmalock.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_gpio.c
→
bsp/k210/driver
s
/drv_gpio.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_gpio.h
→
bsp/k210/driver
s
/drv_gpio.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_interrupt.c
→
bsp/k210/driver
s
/drv_interrupt.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_io_config.c
→
bsp/k210/driver
s
/drv_io_config.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_io_config.h
→
bsp/k210/driver
s
/drv_io_config.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_lcd.c
→
bsp/k210/driver
s
/drv_lcd.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_lcd.h
→
bsp/k210/driver
s
/drv_lcd.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_mpylcd.c
→
bsp/k210/driver
s
/drv_mpylcd.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_spi.c
→
bsp/k210/driver
s
/drv_spi.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_spi.h
→
bsp/k210/driver
s
/drv_spi.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_uart.c
→
bsp/k210/driver
s
/drv_uart.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/drv_uart.h
→
bsp/k210/driver
s
/drv_uart.h
浏览文件 @
16ceacda
文件已移动
bsp/k210/driver/heap.c
→
bsp/k210/driver
s
/heap.c
浏览文件 @
16ceacda
文件已移动
bsp/k210/rtconfig.h
浏览文件 @
16ceacda
...
...
@@ -216,7 +216,7 @@
/* peripheral libraries and drivers */
/*
kendryte-sdk:
Kendryte SDK */
/* Kendryte SDK */
#define PKG_USING_K210_SDK
#define PKG_USING_K210_SDK_LATEST_VERSION
...
...
@@ -233,6 +233,7 @@
/* entertainment: terminal games and other interesting software packages */
#define SOC_K210
#define BOARD_K210_EVB
/* Hardware Drivers Config */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录