Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2301_76519099
rt-thread
提交
249c3d47
R
rt-thread
项目概览
2301_76519099
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
3
Star
1
Fork
1
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
249c3d47
编写于
11月 15, 2017
作者:
T
tanek liang
提交者:
Bernard Xiong
11月 16, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp] enable RT_USING_MODULE
上级
71818e8d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
29 addition
and
36 deletion
+29
-36
bsp/lpc54608-LPCXpresso/.config
bsp/lpc54608-LPCXpresso/.config
+13
-17
bsp/lpc54608-LPCXpresso/applications/application.c
bsp/lpc54608-LPCXpresso/applications/application.c
+2
-0
bsp/lpc54608-LPCXpresso/rtconfig.h
bsp/lpc54608-LPCXpresso/rtconfig.h
+13
-18
bsp/lpc54608-LPCXpresso/rtconfig.py
bsp/lpc54608-LPCXpresso/rtconfig.py
+1
-1
未找到文件。
bsp/lpc54608-LPCXpresso/.config
浏览文件 @
249c3d47
...
...
@@ -8,6 +8,9 @@
#
CONFIG_RT_NAME_MAX
=
8
CONFIG_RT_ALIGN_SIZE
=
4
# CONFIG_RT_THREAD_PRIORITY_8 is not set
CONFIG_RT_THREAD_PRIORITY_32
=
y
# CONFIG_RT_THREAD_PRIORITY_256 is not set
CONFIG_RT_THREAD_PRIORITY_MAX
=
32
CONFIG_RT_TICK_PER_SECOND
=
1000
CONFIG_RT_DEBUG
=
y
...
...
@@ -35,9 +38,11 @@ CONFIG_RT_USING_MESSAGEQUEUE=y
#
CONFIG_RT_USING_MEMPOOL
=
y
CONFIG_RT_USING_MEMHEAP
=
y
CONFIG_RT_USING_HEAP
=
y
# CONFIG_RT_USING_NOHEAP is not set
CONFIG_RT_USING_SMALL_MEM
=
y
# CONFIG_RT_USING_SLAB is not set
# CONFIG_RT_USING_MEMHEAP_AS_HEAP is not set
CONFIG_RT_USING_HEAP
=
y
#
# Kernel Device Object
...
...
@@ -47,7 +52,7 @@ CONFIG_RT_USING_DEVICE=y
CONFIG_RT_USING_CONSOLE
=
y
CONFIG_RT_CONSOLEBUF_SIZE
=
128
CONFIG_RT_CONSOLE_DEVICE_NAME
=
"uart0"
# CONFIG_RT_USING_MODULE is not set
CONFIG_RT_USING_MODULE
=
y
#
# RT-Thread Components
...
...
@@ -58,7 +63,7 @@ CONFIG_RT_USING_COMPONENTS_INIT=y
#
# C++ features
#
# CONFIG_RT_USING_CPLUSPLUS is not set
CONFIG_RT_USING_CPLUSPLUS
=
y
#
# Command shell
...
...
@@ -146,8 +151,8 @@ CONFIG_RT_USING_PTHREADS=y
# light weight TCP/IP stack
#
CONFIG_RT_USING_LWIP
=
y
CONFIG_RT_USING_LWIP141
=
y
# CONFIG_RT_USING_LWIP202 is not set
# CONFIG_RT_USING_LWIP141 is not set
CONFIG_RT_USING_LWIP202
=
y
# CONFIG_RT_LWIP_IGMP is not set
CONFIG_RT_LWIP_ICMP
=
y
# CONFIG_RT_LWIP_SNMP is not set
...
...
@@ -218,22 +223,15 @@ CONFIG_LWIP_SO_RCVBUF=1
#
# IoT - internet of things
#
# CONFIG_PKG_USING_CJSON is not set
# CONFIG_PKG_USING_PAHOMQTT is not set
# CONFIG_PKG_USING_WEBCLIENT is not set
# CONFIG_PKG_USING_MONGOOSE is not set
# CONFIG_PKG_USING_WEBTERMINAL is not set
# CONFIG_PKG_USING_CJSON is not set
# CONFIG_PKG_USING_EZXML is not set
#
# Marvell WiFi
#
# CONFIG_PKG_USING_MARVELLWIFI is not set
# CONFIG_PKG_USING_WEB_TERMINAL is not set
#
# security packages
#
# CONFIG_PKG_USING_MBEDTLS is not set
#
# language packages
...
...
@@ -243,14 +241,12 @@ CONFIG_LWIP_SO_RCVBUF=1
#
# multimedia packages
#
# CONFIG_PKG_USING_FASTLZ is not set
#
# tools packages
#
# CONFIG_PKG_USING_CMBACKTRACE is not set
# CONFIG_PKG_USING_EASYLOGGER is not set
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_ELOG is not set
#
# miscellaneous packages
...
...
bsp/lpc54608-LPCXpresso/applications/application.c
浏览文件 @
249c3d47
...
...
@@ -53,6 +53,7 @@ void build_dump(void)
void
link_dump
(
void
)
{
#ifdef __GNUC__
extern
unsigned
int
_sdata
;
extern
unsigned
int
_edata
;
extern
unsigned
int
_sidata
;
...
...
@@ -68,6 +69,7 @@ void link_dump(void)
DUMP_VAR
(
_sidata
);
DUMP_VAR
(
_sbss
);
DUMP_VAR
(
_ebss
);
#endif
}
int
rt_application_init
(
void
)
...
...
bsp/lpc54608-LPCXpresso/rtconfig.h
浏览文件 @
249c3d47
...
...
@@ -8,6 +8,9 @@
#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
/* RT_THREAD_PRIORITY_8 is not set */
#define RT_THREAD_PRIORITY_32
/* RT_THREAD_PRIORITY_256 is not set */
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 1000
#define RT_DEBUG
...
...
@@ -33,9 +36,11 @@
#define RT_USING_MEMPOOL
#define RT_USING_MEMHEAP
#define RT_USING_HEAP
/* RT_USING_NOHEAP is not set */
#define RT_USING_SMALL_MEM
/* RT_USING_SLAB is not set */
/* RT_USING_MEMHEAP_AS_HEAP is not set */
#define RT_USING_HEAP
/* Kernel Device Object */
...
...
@@ -44,7 +49,7 @@
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart0"
/* RT_USING_MODULE is not set */
#define RT_USING_MODULE
/* RT-Thread Components */
...
...
@@ -53,7 +58,7 @@
/* C++ features */
/* RT_USING_CPLUSPLUS is not set */
#define RT_USING_CPLUSPLUS
/* Command shell */
...
...
@@ -133,8 +138,8 @@
/* light weight TCP/IP stack */
#define RT_USING_LWIP
#define RT_USING_LWIP141
/* RT_USING_LWIP202 is not set */
/* RT_USING_LWIP141 is not set */
#define RT_USING_LWIP202
/* RT_LWIP_IGMP is not set */
#define RT_LWIP_ICMP
/* RT_LWIP_SNMP is not set */
...
...
@@ -197,34 +202,24 @@
/* IoT - internet of things */
/* PKG_USING_CJSON is not set */
/* PKG_USING_PAHOMQTT is not set */
/* PKG_USING_WEBCLIENT is not set */
/* PKG_USING_MONGOOSE is not set */
/* PKG_USING_WEBTERMINAL is not set */
/* PKG_USING_CJSON is not set */
/* PKG_USING_EZXML is not set */
/* Marvell WiFi */
/* PKG_USING_MARVELLWIFI is not set */
/* PKG_USING_WEB_TERMINAL is not set */
/* security packages */
/* PKG_USING_MBEDTLS is not set */
/* language packages */
/* PKG_USING_JERRYSCRIPT is not set */
/* multimedia packages */
/* PKG_USING_FASTLZ is not set */
/* tools packages */
/* PKG_USING_CMBACKTRACE is not set */
/* PKG_USING_EASYLOGGER is not set */
/* PKG_USING_SYSTEMVIEW is not set */
/* PKG_USING_ELOG is not set */
/* miscellaneous packages */
...
...
bsp/lpc54608-LPCXpresso/rtconfig.py
浏览文件 @
249c3d47
...
...
@@ -40,7 +40,7 @@ if PLATFORM == 'gcc':
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -ffunction-sections -fdata-sections -mfpu=fpv4-sp-d16 -mfloat-abi=hard'
CFLAGS
=
DEVICE
+
' -g -Wall
-std=c99
'
CFLAGS
=
DEVICE
+
' -g -Wall'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,ResetISR -T link.lds'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录