Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dgr6878
rt-thread
提交
912d9cda
R
rt-thread
项目概览
dgr6878
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
912d9cda
编写于
9月 12, 2020
作者:
Thomas_Fly
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp/nrf5x] fix the kconfig
上级
e7351c6f
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
23 addition
and
4 deletion
+23
-4
bsp/nrf5x/nrf52840/board/Kconfig
bsp/nrf5x/nrf52840/board/Kconfig
+19
-0
bsp/nrf5x/nrf52840/board/sdk_config.h
bsp/nrf5x/nrf52840/board/sdk_config.h
+4
-4
未找到文件。
bsp/nrf5x/nrf52840/board/Kconfig
浏览文件 @
912d9cda
...
@@ -12,6 +12,10 @@ config SOC_NRF52840
...
@@ -12,6 +12,10 @@ config SOC_NRF52840
config NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
config NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
int
int
default 7
default 7
config NRFX_CLOCK_CONFIG_LF_SRC
int
default 1
config SOC_NORDIC
config SOC_NORDIC
bool
bool
...
@@ -69,6 +73,11 @@ menu "On-chip Peripheral Drivers"
...
@@ -69,6 +73,11 @@ menu "On-chip Peripheral Drivers"
bool "Enable GPIO"
bool "Enable GPIO"
select RT_USING_PIN
select RT_USING_PIN
default y
default y
if BSP_USING_GPIO
config NRFX_GPIOTE_ENABLED
int
default 1
endif
config BSP_USING_SAADC
config BSP_USING_SAADC
bool "Enable SAADC"
bool "Enable SAADC"
select RT_USING_ADC
select RT_USING_ADC
...
@@ -191,10 +200,17 @@ menu "On-chip Peripheral Drivers"
...
@@ -191,10 +200,17 @@ menu "On-chip Peripheral Drivers"
select RT_USING_SERIAL
select RT_USING_SERIAL
if BSP_USING_UART
if BSP_USING_UART
config NRFX_UART_ENABLED
int
default 1
config BSP_USING_UART0
config BSP_USING_UART0
bool "Enable UART0"
bool "Enable UART0"
default y
default y
if BSP_USING_UART0
if BSP_USING_UART0
config NRFX_UART0_ENABLED
int
default 1
config BSP_UART0_RX_PIN
config BSP_UART0_RX_PIN
int "uart0 rx pin number"
int "uart0 rx pin number"
range 0 31
range 0 31
...
@@ -215,6 +231,9 @@ menu "On-chip Peripheral Drivers"
...
@@ -215,6 +231,9 @@ menu "On-chip Peripheral Drivers"
default y
default y
if BSP_USING_SPI
if BSP_USING_SPI
config NRFX_SPI_ENABLED
int
default 1
config BSP_USING_SPI0
config BSP_USING_SPI0
bool "Enable SPI0 bus"
bool "Enable SPI0 bus"
default y
default y
...
...
bsp/nrf5x/nrf52840/board/sdk_config.h
浏览文件 @
912d9cda
...
@@ -1899,7 +1899,7 @@
...
@@ -1899,7 +1899,7 @@
// <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
// <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
//==========================================================
//==========================================================
#ifndef NRFX_GPIOTE_ENABLED
#ifndef NRFX_GPIOTE_ENABLED
#define NRFX_GPIOTE_ENABLED
1
#define NRFX_GPIOTE_ENABLED
0
#endif
#endif
// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
#ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
#ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
...
@@ -2903,7 +2903,7 @@
...
@@ -2903,7 +2903,7 @@
// <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver
// <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver
//==========================================================
//==========================================================
#ifndef NRFX_QSPI_ENABLED
#ifndef NRFX_QSPI_ENABLED
#define NRFX_QSPI_ENABLED
1
#define NRFX_QSPI_ENABLED
0
#endif
#endif
// <o> NRFX_QSPI_CONFIG_SCK_DELAY - tSHSL, tWHSL and tSHWL in number of 16 MHz periods (62.5 ns). <0-255>
// <o> NRFX_QSPI_CONFIG_SCK_DELAY - tSHSL, tWHSL and tSHWL in number of 16 MHz periods (62.5 ns). <0-255>
...
@@ -4382,11 +4382,11 @@
...
@@ -4382,11 +4382,11 @@
// <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
// <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
//==========================================================
//==========================================================
#ifndef NRFX_UART_ENABLED
#ifndef NRFX_UART_ENABLED
#define NRFX_UART_ENABLED
1
#define NRFX_UART_ENABLED
0
#endif
#endif
// <o> NRFX_UART0_ENABLED - Enable UART0 instance
// <o> NRFX_UART0_ENABLED - Enable UART0 instance
#ifndef NRFX_UART0_ENABLED
#ifndef NRFX_UART0_ENABLED
#define NRFX_UART0_ENABLED
1
#define NRFX_UART0_ENABLED
0
#endif
#endif
// <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
// <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录