Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
7164257e
R
rt-thread
项目概览
BaiXuePrincess
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
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,发现更多精彩内容 >>
提交
7164257e
编写于
8月 28, 2015
作者:
B
Bernard Xiong
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #540 from pangweishen/master
[BSP]fixed some bugs for compile.
上级
bcb9ab13
4d01aaf9
变更
26
展开全部
隐藏空白更改
内联
并排
Showing
26 changed file
with
423 addition
and
1080 deletion
+423
-1080
bsp/mini2440/SConscript
bsp/mini2440/SConscript
+10
-33
bsp/mini2440/applications/SConscript
bsp/mini2440/applications/SConscript
+11
-0
bsp/mini2440/applications/application.c
bsp/mini2440/applications/application.c
+0
-0
bsp/mini2440/applications/startup.c
bsp/mini2440/applications/startup.c
+0
-0
bsp/mini2440/drivers/SConscript
bsp/mini2440/drivers/SConscript
+44
-0
bsp/mini2440/drivers/board.c
bsp/mini2440/drivers/board.c
+0
-0
bsp/mini2440/drivers/board.h
bsp/mini2440/drivers/board.h
+0
-0
bsp/mini2440/drivers/console.c
bsp/mini2440/drivers/console.c
+0
-0
bsp/mini2440/drivers/dm9000.c
bsp/mini2440/drivers/dm9000.c
+0
-0
bsp/mini2440/drivers/dm9000.h
bsp/mini2440/drivers/dm9000.h
+0
-0
bsp/mini2440/drivers/key.c
bsp/mini2440/drivers/key.c
+1
-1
bsp/mini2440/drivers/lcd.h
bsp/mini2440/drivers/lcd.h
+0
-0
bsp/mini2440/drivers/lcd_a70.c
bsp/mini2440/drivers/lcd_a70.c
+0
-0
bsp/mini2440/drivers/lcd_n35.c
bsp/mini2440/drivers/lcd_n35.c
+0
-0
bsp/mini2440/drivers/lcd_t35.c
bsp/mini2440/drivers/lcd_t35.c
+0
-0
bsp/mini2440/drivers/lcd_x35.c
bsp/mini2440/drivers/lcd_x35.c
+0
-0
bsp/mini2440/drivers/led.c
bsp/mini2440/drivers/led.c
+0
-0
bsp/mini2440/drivers/led.h
bsp/mini2440/drivers/led.h
+0
-0
bsp/mini2440/drivers/sdcard.c
bsp/mini2440/drivers/sdcard.c
+0
-0
bsp/mini2440/drivers/sdcard.h
bsp/mini2440/drivers/sdcard.h
+0
-0
bsp/mini2440/drivers/touch.c
bsp/mini2440/drivers/touch.c
+1
-1
bsp/mini2440/drivers/touch.h
bsp/mini2440/drivers/touch.h
+0
-0
bsp/mini2440/project.Uv2
bsp/mini2440/project.Uv2
+266
-326
bsp/mini2440/project.uvproj
bsp/mini2440/project.uvproj
+88
-717
bsp/mini2440/rtconfig.h
bsp/mini2440/rtconfig.h
+1
-1
bsp/mini2440/rtconfig.py
bsp/mini2440/rtconfig.py
+1
-1
未找到文件。
bsp/mini2440/SConscript
浏览文件 @
7164257e
import
rtconfig
# for module compiling
import
os
Import
(
'RTT_ROOT'
)
from
building
import
*
src_bsp
=
[
'application.c'
,
'startup.c'
,
'board.c'
]
src_drv
=
[
'console.c'
,
'led.c'
]
cwd
=
str
(
Dir
(
'#'
))
objs
=
[]
list
=
os
.
listdir
(
cwd
)
if
GetDepend
(
'RT_USING_DFS'
):
src_drv
+=
[
'sdcard.c'
]
for
d
in
list
:
path
=
os
.
path
.
join
(
cwd
,
d
)
if
os
.
path
.
isfile
(
os
.
path
.
join
(
path
,
'SConscript'
)):
objs
=
objs
+
SConscript
(
os
.
path
.
join
(
d
,
'SConscript'
))
if
GetDepend
(
'RT_USING_LWIP'
):
src_drv
+=
[
'dm9000.c'
]
if
GetDepend
(
'RT_USING_RTGUI'
):
src_drv
+=
[
'touch.c'
,
'key.c'
,
'calibration.c'
]
if
GetDepend
(
'RT_USING_FTK'
):
src_drv
+=
[
'touch.c'
,
'key.c'
]
if
GetDepend
(
'RT_USING_RTI'
):
src_drv
+=
[
'rti_stub.c'
]
if
GetDepend
(
'RT_USING_RTGUI'
)
or
GetDepend
(
'RT_USING_FTK'
):
if
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_A70'
:
src_drv
+=
[
'lcd_a70.c'
]
elif
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_N35'
:
src_drv
+=
[
'lcd_n35.c'
]
elif
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_T35'
:
src_drv
+=
[
'lcd_t35.c'
]
elif
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_X35'
:
src_drv
+=
[
'lcd_x35.c'
]
src
=
File
(
src_bsp
+
src_drv
)
CPPPATH
=
[
GetCurrentDir
()]
group
=
DefineGroup
(
'Startup'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
Return
(
'objs'
)
bsp/mini2440/applications/SConscript
0 → 100644
浏览文件 @
7164257e
Import
(
'RTT_ROOT'
)
Import
(
'rtconfig'
)
from
building
import
*
cwd
=
os
.
path
.
join
(
str
(
Dir
(
'#'
)),
'applications'
)
src
=
Glob
(
'*.c'
)
CPPPATH
=
[
cwd
,
str
(
Dir
(
'#'
))]
group
=
DefineGroup
(
'Applications'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
bsp/mini2440/application.c
→
bsp/mini2440/application
s/application
.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/startup.c
→
bsp/mini2440/
applications/
startup.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/drivers/SConscript
0 → 100644
浏览文件 @
7164257e
Import
(
'RTT_ROOT'
)
Import
(
'rtconfig'
)
from
building
import
*
cwd
=
os
.
path
.
join
(
str
(
Dir
(
'#'
)),
'drivers'
)
# add the general drivers.
src
=
Split
(
"""
board.c
led.c
console.c
"""
)
if
GetDepend
(
'RT_USING_DFS'
):
src
+=
[
'sdcard.c'
]
if
GetDepend
(
'RT_USING_LWIP'
):
src
+=
[
'dm9000.c'
]
if
GetDepend
(
'RT_USING_RTGUI'
):
src
+=
[
'touch.c'
,
'key.c'
,
'calibration.c'
]
if
GetDepend
(
'RT_USING_FTK'
):
src
+=
[
'touch.c'
,
'key.c'
]
if
GetDepend
(
'RT_USING_RTI'
):
src
+=
[
'rti_stub.c'
]
if
GetDepend
(
'RT_USING_RTGUI'
)
or
GetDepend
(
'RT_USING_FTK'
):
if
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_A70'
:
src
+=
[
'lcd_a70.c'
]
elif
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_N35'
:
src
+=
[
'lcd_n35.c'
]
elif
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_T35'
:
src
+=
[
'lcd_t35.c'
]
elif
rtconfig
.
RT_USING_LCD_TYPE
==
'PNL_X35'
:
src
+=
[
'lcd_x35.c'
]
CPPPATH
=
[
cwd
]
group
=
DefineGroup
(
'Drivers'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
bsp/mini2440/board.c
→
bsp/mini2440/
drivers/
board.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/board.h
→
bsp/mini2440/
drivers/
board.h
浏览文件 @
7164257e
文件已移动
bsp/mini2440/console.c
→
bsp/mini2440/
drivers/
console.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/dm9000.c
→
bsp/mini2440/d
rivers/d
m9000.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/dm9000.h
→
bsp/mini2440/d
rivers/d
m9000.h
浏览文件 @
7164257e
文件已移动
bsp/mini2440/key.c
→
bsp/mini2440/
drivers/
key.c
浏览文件 @
7164257e
...
...
@@ -129,7 +129,7 @@ static void key_init(void)
/* install key isr */
INTSUBMSK
&=
~
(
BIT_SUB_RXD1
);
rt_hw_interrupt_install
(
INTUART1
,
rt_key_handler
,
RT_NULL
);
rt_hw_interrupt_install
(
INTUART1
,
rt_key_handler
,
RT_NULL
,
"INTUART1"
);
rt_hw_interrupt_umask
(
INTUART1
);
}
...
...
bsp/mini2440/lcd.h
→
bsp/mini2440/
drivers/
lcd.h
浏览文件 @
7164257e
文件已移动
bsp/mini2440/lcd_a70.c
→
bsp/mini2440/
drivers/
lcd_a70.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/lcd_n35.c
→
bsp/mini2440/
drivers/
lcd_n35.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/lcd_t35.c
→
bsp/mini2440/
drivers/
lcd_t35.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/lcd_x35.c
→
bsp/mini2440/
drivers/
lcd_x35.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/led.c
→
bsp/mini2440/
drivers/
led.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/led.h
→
bsp/mini2440/
drivers/
led.h
浏览文件 @
7164257e
文件已移动
bsp/mini2440/sdcard.c
→
bsp/mini2440/
drivers/
sdcard.c
浏览文件 @
7164257e
文件已移动
bsp/mini2440/sdcard.h
→
bsp/mini2440/
drivers/
sdcard.h
浏览文件 @
7164257e
文件已移动
bsp/mini2440/touch.c
→
bsp/mini2440/
drivers/
touch.c
浏览文件 @
7164257e
...
...
@@ -384,7 +384,7 @@ static rt_err_t rtgui_touch_init(rt_device_t dev)
ADCTSC
=
WAIT4INT
(
0
);
rt_hw_interrupt_install
(
INTADC
,
rt_touch_handler
,
RT_NULL
);
rt_hw_interrupt_install
(
INTADC
,
rt_touch_handler
,
RT_NULL
,
"INTADC"
);
rt_hw_interrupt_umask
(
INTADC
);
/* clear interrupt */
...
...
bsp/mini2440/touch.h
→
bsp/mini2440/
drivers/
touch.h
浏览文件 @
7164257e
文件已移动
bsp/mini2440/project.Uv2
浏览文件 @
7164257e
此差异已折叠。
点击以展开。
bsp/mini2440/project.uvproj
浏览文件 @
7164257e
此差异已折叠。
点击以展开。
bsp/mini2440/rtconfig.h
浏览文件 @
7164257e
...
...
@@ -212,7 +212,7 @@
// <bool name="RTGUI_IMAGE_JPEG" description="Using jpeg image in RTGUI" default="true" />
#define RTGUI_IMAGE_JPEG
// <bool name="RTGUI_IMAGE_PNG" description="Using png image in RTGUI" default="true" />
#define RTGUI_IMAGE_PNG
//
#define RTGUI_IMAGE_PNG
// <bool name="RTGUI_IMAGE_BMP" description="Using bmp image in RTGUI" default="true" />
#define RTGUI_IMAGE_BMP
// </section>
...
...
bsp/mini2440/rtconfig.py
浏览文件 @
7164257e
...
...
@@ -9,7 +9,7 @@ ARCH = 'arm'
CPU
=
's3c24x0'
TextBase
=
'0x30000000'
CROSS_TOOL
=
'
gcc
'
CROSS_TOOL
=
'
keil
'
if
os
.
getenv
(
'RTT_CC'
):
CROSS_TOOL
=
os
.
getenv
(
'RTT_CC'
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录