Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
天中雨水
rt-thread
提交
e1f59e2d
R
rt-thread
项目概览
天中雨水
/
rt-thread
该项目与 Fork 源项目分叉
Fork自
RT-Thread / rt-thread
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e1f59e2d
编写于
5月 12, 2018
作者:
B
balanceTWK
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][stm32f429apollo] 移除CONSOLE_DEVICE宏定义以及相关的
上级
dbf360e7
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
11 addition
and
21 deletion
+11
-21
bsp/stm32f429-apollo/.config
bsp/stm32f429-apollo/.config
+9
-3
bsp/stm32f429-apollo/drivers/board.c
bsp/stm32f429-apollo/drivers/board.c
+1
-1
bsp/stm32f429-apollo/drivers/board.h
bsp/stm32f429-apollo/drivers/board.h
+0
-16
bsp/stm32f429-apollo/rtconfig.h
bsp/stm32f429-apollo/rtconfig.h
+1
-1
未找到文件。
bsp/stm32f429-apollo/.config
浏览文件 @
e1f59e2d
...
...
@@ -51,7 +51,7 @@ CONFIG_RT_USING_DEVICE=y
# CONFIG_RT_USING_INTERRUPT_INFO is not set
CONFIG_RT_USING_CONSOLE
=
y
CONFIG_RT_CONSOLEBUF_SIZE
=
128
CONFIG_RT_CONSOLE_DEVICE_NAME
=
"uart"
CONFIG_RT_CONSOLE_DEVICE_NAME
=
"uart
1
"
# CONFIG_RT_USING_MODULE is not set
CONFIG_ARCH_ARM
=
y
CONFIG_ARCH_ARM_CORTEX_M
=
y
...
...
@@ -77,6 +77,7 @@ CONFIG_FINSH_USING_HISTORY=y
CONFIG_FINSH_HISTORY_LINES
=
5
CONFIG_FINSH_USING_SYMTAB
=
y
CONFIG_FINSH_USING_DESCRIPTION
=
y
# CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set
CONFIG_FINSH_THREAD_PRIORITY
=
20
CONFIG_FINSH_THREAD_STACK_SIZE
=
2048
CONFIG_FINSH_CMD_SIZE
=
80
...
...
@@ -141,7 +142,7 @@ CONFIG_RT_USING_SPI=y
CONFIG_RT_USING_SFUD
=
y
CONFIG_RT_SFUD_USING_SFDP
=
y
# CONFIG_RT_SFUD_USING_FLASH_INFO_TABLE is not set
# CONFIG_RT_
SFUD_DEBUG
is not set
# CONFIG_RT_
DEBUG_SFUD
is not set
# CONFIG_RT_USING_W25QXX is not set
# CONFIG_RT_USING_GD is not set
# CONFIG_RT_USING_ENC28J60 is not set
...
...
@@ -288,6 +289,7 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
# CONFIG_PKG_USING_COAP is not set
# CONFIG_PKG_USING_NOPOLL is not set
# CONFIG_PKG_USING_NETUTILS is not set
# CONFIG_PKG_USING_ONENET is not set
#
# security packages
...
...
@@ -301,6 +303,7 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
#
# CONFIG_PKG_USING_JERRYSCRIPT is not set
# CONFIG_PKG_USING_MICROPYTHON is not set
# CONFIG_PKG_USING_LUA2RTT is not set
#
# multimedia packages
...
...
@@ -311,6 +314,7 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
# tools packages
#
# CONFIG_PKG_USING_CMBACKTRACE is not set
# CONFIG_PKG_USING_EASYFLASH is not set
# CONFIG_PKG_USING_EASYLOGGER is not set
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_IPERF is not set
...
...
@@ -321,12 +325,14 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
# CONFIG_PKG_USING_FASTLZ is not set
# CONFIG_PKG_USING_MINILZO is not set
# CONFIG_PKG_USING_QUICKLZ is not set
# CONFIG_PKG_USING_MULTIBUTTON is not set
# CONFIG_PKG_USING_SAMPLES is not set
# CONFIG_PKG_USING_CANFESTIVAL is not set
#
# example package: hello
#
# CONFIG_PKG_USING_HELLO is not set
# CONFIG_PKG_USING_MULTIBUTTON is not set
CONFIG_RT_USING_EXT_SDRAM
=
y
CONFIG_RT_USING_UART1
=
y
CONFIG_RT_USING_UART2
=
y
...
...
bsp/stm32f429-apollo/drivers/board.c
浏览文件 @
e1f59e2d
...
...
@@ -155,7 +155,7 @@ void rt_hw_board_init()
SystemClock_Config
();
stm32_hw_usart_init
();
#ifdef RT_USING_CONSOLE
rt_console_set_device
(
CONSOLE_DEVIC
E
);
rt_console_set_device
(
RT_CONSOLE_DEVICE_NAM
E
);
#endif
#ifdef RT_USING_COMPONENTS_INIT
...
...
bsp/stm32f429-apollo/drivers/board.h
浏览文件 @
e1f59e2d
...
...
@@ -59,24 +59,8 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
// <o> Console on USART: <0=> no console <1=>USART 1 <2=>USART 2 <3=> USART 3
// <i>Default: 1
#define STM32_CONSOLE_USART 1
void
rt_hw_board_init
(
void
);
#if STM32_CONSOLE_USART == 0
#define CONSOLE_DEVICE "no"
#elif STM32_CONSOLE_USART == 1
#define CONSOLE_DEVICE "uart1"
#elif STM32_CONSOLE_USART == 2
#define CONSOLE_DEVICE "uart2"
#elif STM32_CONSOLE_USART == 3
#define CONSOLE_DEVICE "uart3"
#endif
#define FINSH_DEVICE_NAME CONSOLE_DEVICE
#define STM32F4xx_PIN_NUMBERS 176
void
Error_Handler
(
void
);
...
...
bsp/stm32f429-apollo/rtconfig.h
浏览文件 @
e1f59e2d
...
...
@@ -40,7 +40,7 @@
#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart"
#define RT_CONSOLE_DEVICE_NAME "uart
1
"
#define ARCH_ARM
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_M4
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录