Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
码肥人壮
rt-thread
提交
e9c78be9
R
rt-thread
项目概览
码肥人壮
/
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,发现更多精彩内容 >>
提交
e9c78be9
编写于
6月 14, 2018
作者:
Z
zhuangwei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp/ls1cdev]添加softfp支持,默认配置使用softfp编译
上级
e7f78855
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
31 addition
and
44 deletion
+31
-44
bsp/ls1cdev/.config
bsp/ls1cdev/.config
+19
-31
bsp/ls1cdev/SConstruct
bsp/ls1cdev/SConstruct
+5
-0
bsp/ls1cdev/rtconfig.h
bsp/ls1cdev/rtconfig.h
+6
-12
bsp/ls1cdev/rtconfig.py
bsp/ls1cdev/rtconfig.py
+1
-1
未找到文件。
bsp/ls1cdev/.config
浏览文件 @
e9c78be9
...
@@ -82,6 +82,7 @@ CONFIG_FINSH_CMD_SIZE=80
...
@@ -82,6 +82,7 @@ CONFIG_FINSH_CMD_SIZE=80
CONFIG_FINSH_USING_MSH
=
y
CONFIG_FINSH_USING_MSH
=
y
CONFIG_FINSH_USING_MSH_DEFAULT
=
y
CONFIG_FINSH_USING_MSH_DEFAULT
=
y
# CONFIG_FINSH_USING_MSH_ONLY is not set
# CONFIG_FINSH_USING_MSH_ONLY is not set
CONFIG_FINSH_ARG_MAX
=
10
#
#
# Device virtual file system
# Device virtual file system
...
@@ -128,6 +129,7 @@ CONFIG_RT_CAN_USING_HDR=y
...
@@ -128,6 +129,7 @@ CONFIG_RT_CAN_USING_HDR=y
CONFIG_RT_USING_I2C
=
y
CONFIG_RT_USING_I2C
=
y
CONFIG_RT_USING_I2C_BITOPS
=
y
CONFIG_RT_USING_I2C_BITOPS
=
y
CONFIG_RT_USING_PIN
=
y
CONFIG_RT_USING_PIN
=
y
# CONFIG_RT_USING_PWM is not set
# CONFIG_RT_USING_MTD_NOR is not set
# CONFIG_RT_USING_MTD_NOR is not set
# CONFIG_RT_USING_MTD_NAND is not set
# CONFIG_RT_USING_MTD_NAND is not set
# CONFIG_RT_USING_RTC is not set
# CONFIG_RT_USING_RTC is not set
...
@@ -141,6 +143,7 @@ CONFIG_RT_USING_SPI_MSD=y
...
@@ -141,6 +143,7 @@ CONFIG_RT_USING_SPI_MSD=y
# CONFIG_RT_USING_SPI_WIFI is not set
# CONFIG_RT_USING_SPI_WIFI is not set
# CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_WIFI is not set
# CONFIG_RT_USING_WIFI is not set
# CONFIG_RT_USING_AUDIO is not set
#
#
# Using USB
# Using USB
...
@@ -154,7 +157,6 @@ CONFIG_RT_USING_SPI_MSD=y
...
@@ -154,7 +157,6 @@ CONFIG_RT_USING_SPI_MSD=y
CONFIG_RT_USING_LIBC
=
y
CONFIG_RT_USING_LIBC
=
y
CONFIG_RT_USING_PTHREADS
=
y
CONFIG_RT_USING_PTHREADS
=
y
# CONFIG_RT_USING_POSIX is not set
# CONFIG_RT_USING_POSIX is not set
# CONFIG_HAVE_SYS_SIGNALS is not set
#
#
# Network stack
# Network stack
...
@@ -195,6 +197,8 @@ CONFIG_RT_LWIP_TCP_WND=2048
...
@@ -195,6 +197,8 @@ CONFIG_RT_LWIP_TCP_WND=2048
CONFIG_RT_LWIP_TCPTHREAD_PRIORITY
=
12
CONFIG_RT_LWIP_TCPTHREAD_PRIORITY
=
12
CONFIG_RT_LWIP_TCPTHREAD_MBOX_SIZE
=
8
CONFIG_RT_LWIP_TCPTHREAD_MBOX_SIZE
=
8
CONFIG_RT_LWIP_TCPTHREAD_STACKSIZE
=
4096
CONFIG_RT_LWIP_TCPTHREAD_STACKSIZE
=
4096
# CONFIG_LWIP_NO_RX_THREAD is not set
# CONFIG_LWIP_NO_TX_THREAD is not set
CONFIG_RT_LWIP_ETHTHREAD_PRIORITY
=
14
CONFIG_RT_LWIP_ETHTHREAD_PRIORITY
=
14
CONFIG_RT_LWIP_ETHTHREAD_STACKSIZE
=
512
CONFIG_RT_LWIP_ETHTHREAD_STACKSIZE
=
512
CONFIG_RT_LWIP_ETHTHREAD_MBOX_SIZE
=
8
CONFIG_RT_LWIP_ETHTHREAD_MBOX_SIZE
=
8
...
@@ -228,6 +232,19 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
...
@@ -228,6 +232,19 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
# RT-Thread online packages
# RT-Thread online packages
#
#
#
# system packages
#
#
# RT-Thread GUI Engine
#
# CONFIG_PKG_USING_GUIENGINE is not set
# CONFIG_PKG_USING_LWEXT4 is not set
# CONFIG_PKG_USING_PARTITION is not set
# CONFIG_PKG_USING_SQLITE is not set
# CONFIG_PKG_USING_RTI is not set
#
#
# IoT - internet of things
# IoT - internet of things
#
#
...
@@ -257,7 +274,6 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
...
@@ -257,7 +274,6 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
# CONFIG_PKG_USING_COAP is not set
# CONFIG_PKG_USING_COAP is not set
# CONFIG_PKG_USING_NOPOLL is not set
# CONFIG_PKG_USING_NOPOLL is not set
# CONFIG_PKG_USING_NETUTILS is not set
# CONFIG_PKG_USING_NETUTILS is not set
# CONFIG_PKG_USING_ONENET is not set
#
#
# security packages
# security packages
...
@@ -276,37 +292,15 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
...
@@ -276,37 +292,15 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
# multimedia packages
# multimedia packages
#
#
# CONFIG_PKG_USING_OPENMV is not set
# CONFIG_PKG_USING_OPENMV is not set
# CONFIG_PKG_USING_MUPDF is not set
#
#
# tools packages
# tools packages
#
#
# CONFIG_PKG_USING_CMBACKTRACE is not set
# CONFIG_PKG_USING_CMBACKTRACE is not set
# CONFIG_PKG_USING_EASYFLASH is not set
# CONFIG_PKG_USING_EASYLOGGER is not set
# CONFIG_PKG_USING_EASYLOGGER is not set
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_IPERF is not set
# CONFIG_PKG_USING_IPERF is not set
#
# system packages
#
#
# RT-Thread GUI Engine
#
# CONFIG_PKG_USING_GUIENGINE is not set
# CONFIG_PKG_USING_LWEXT4 is not set
# CONFIG_PKG_USING_PARTITION is not set
# CONFIG_PKG_USING_SQLITE is not set
# CONFIG_PKG_USING_RTI is not set
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
#
# peripheral libraries and drivers
#
# CONFIG_PKG_USING_STM32F4_HAL is not set
# CONFIG_PKG_USING_STM32F4_DRIVERS is not set
#
#
# miscellaneous packages
# miscellaneous packages
#
#
...
@@ -314,12 +308,6 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
...
@@ -314,12 +308,6 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
# CONFIG_PKG_USING_MINILZO is not set
# CONFIG_PKG_USING_MINILZO is not set
# CONFIG_PKG_USING_QUICKLZ is not set
# CONFIG_PKG_USING_QUICKLZ is not set
# CONFIG_PKG_USING_MULTIBUTTON is not set
# CONFIG_PKG_USING_MULTIBUTTON is not set
# CONFIG_PKG_USING_CANFESTIVAL is not set
#
# sample package
#
# CONFIG_PKG_USING_SAMPLES is not set
#
#
# example package: hello
# example package: hello
...
@@ -329,7 +317,7 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
...
@@ -329,7 +317,7 @@ CONFIG_LWIP_NETIF_LOOPBACK=0
CONFIG_RT_USING_UART2
=
y
CONFIG_RT_USING_UART2
=
y
CONFIG_RT_UART_RX_BUFFER_SIZE
=
64
CONFIG_RT_UART_RX_BUFFER_SIZE
=
64
CONFIG_RT_USING_GMAC_INT_MODE
=
y
CONFIG_RT_USING_GMAC_INT_MODE
=
y
CONFIG_RT_USING_FPU
=
y
# CONFIG_RT_USING_FPU is not set
CONFIG_RT_USING_SPI0
=
y
CONFIG_RT_USING_SPI0
=
y
CONFIG_RT_USING_SPI1
=
y
CONFIG_RT_USING_SPI1
=
y
CONFIG_RT_USING_I2C1
=
y
CONFIG_RT_USING_I2C1
=
y
...
...
bsp/ls1cdev/SConstruct
浏览文件 @
e9c78be9
...
@@ -33,6 +33,11 @@ else:
...
@@ -33,6 +33,11 @@ else:
rtconfig
.
LFLAGS
+=
" -Ttext 0x80200000"
rtconfig
.
LFLAGS
+=
" -Ttext 0x80200000"
env
.
Replace
(
LINKFLAGS
=
rtconfig
.
LFLAGS
)
env
.
Replace
(
LINKFLAGS
=
rtconfig
.
LFLAGS
)
if
GetDepend
(
'RT_USING_FPU'
):
env
[
'CCFLAGS'
]
=
env
[
'CCFLAGS'
].
replace
(
'-msoft-float'
,
'-mhard-float'
)
env
[
'ASFLAGS'
]
=
env
[
'ASFLAGS'
].
replace
(
'-msoft-float'
,
'-mhard-float'
)
env
[
'CXXFLAGS'
]
=
env
[
'CXXFLAGS'
].
replace
(
'-msoft-float'
,
'-mhard-float'
)
env
[
'LINKFLAGS'
]
=
env
[
'LINKFLAGS'
].
replace
(
'-msoft-float'
,
'-mhard-float'
)
if
GetDepend
(
'RT_USING_RTGUI'
):
if
GetDepend
(
'RT_USING_RTGUI'
):
objs
=
objs
+
SConscript
(
RTT_ROOT
+
'/examples/gui/SConscript'
,
variant_dir
=
'build/examples/gui'
,
duplicate
=
0
)
objs
=
objs
+
SConscript
(
RTT_ROOT
+
'/examples/gui/SConscript'
,
variant_dir
=
'build/examples/gui'
,
duplicate
=
0
)
...
...
bsp/ls1cdev/rtconfig.h
浏览文件 @
e9c78be9
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
#define FINSH_CMD_SIZE 80
#define FINSH_CMD_SIZE 80
#define FINSH_USING_MSH
#define FINSH_USING_MSH
#define FINSH_USING_MSH_DEFAULT
#define FINSH_USING_MSH_DEFAULT
#define FINSH_ARG_MAX 10
/* Device virtual file system */
/* Device virtual file system */
...
@@ -156,6 +157,11 @@
...
@@ -156,6 +157,11 @@
/* RT-Thread online packages */
/* RT-Thread online packages */
/* system packages */
/* RT-Thread GUI Engine */
/* IoT - internet of things */
/* IoT - internet of things */
...
@@ -179,26 +185,14 @@
...
@@ -179,26 +185,14 @@
/* tools packages */
/* tools packages */
/* system packages */
/* RT-Thread GUI Engine */
/* peripheral libraries and drivers */
/* miscellaneous packages */
/* miscellaneous packages */
/* sample package */
/* example package: hello */
/* example package: hello */
#define RT_USING_UART2
#define RT_USING_UART2
#define RT_UART_RX_BUFFER_SIZE 64
#define RT_UART_RX_BUFFER_SIZE 64
#define RT_USING_GMAC_INT_MODE
#define RT_USING_GMAC_INT_MODE
#define RT_USING_FPU
#define RT_USING_SPI0
#define RT_USING_SPI0
#define RT_USING_SPI1
#define RT_USING_SPI1
#define RT_USING_I2C1
#define RT_USING_I2C1
...
...
bsp/ls1cdev/rtconfig.py
浏览文件 @
e9c78be9
...
@@ -39,7 +39,7 @@ OBJDUMP = PREFIX + 'objdump'
...
@@ -39,7 +39,7 @@ OBJDUMP = PREFIX + 'objdump'
OBJCPY
=
PREFIX
+
'objcopy'
OBJCPY
=
PREFIX
+
'objcopy'
READELF
=
PREFIX
+
'readelf'
READELF
=
PREFIX
+
'readelf'
DEVICE
=
' -mips32'
DEVICE
=
' -mips32
-msoft-float -mfp32
'
CFLAGS
=
DEVICE
+
' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
CFLAGS
=
DEVICE
+
' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
AFLAGS
=
' -c'
+
DEVICE
+
' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp -DSYSTEM_STACK=0x80003fe8'
AFLAGS
=
' -c'
+
DEVICE
+
' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp -DSYSTEM_STACK=0x80003fe8'
LFLAGS
=
DEVICE
+
' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1c_ram.lds'
LFLAGS
=
DEVICE
+
' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1c_ram.lds'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录