Bernard Xiong
8043186020
[DeviceDrivers] Add audio.h header file.
2016-04-05 11:10:08 +08:00
Bernard Xiong
ada2c7a3f5
[DeviceDrivers] Add audio header file.
2016-04-05 11:02:04 +08:00
Bernard Xiong
3748008651
[DeviceDrivers] Add card remove operations in MMC/SD.
2016-04-05 11:01:49 +08:00
Bernard Xiong
2a9f80d947
Add some leaked dummy header file for armcc.
2016-04-02 14:15:25 +08:00
Bernard Xiong
640e5c9777
[UI Engine] fix the default font initialization issue.
2016-03-23 23:03:45 +08:00
He Chunhui
7290ff5d76
fix typo
2016-03-16 08:03:33 +00:00
He Chunhui
0fc0ed1bb1
fix copy-paste bug
...
This bug causes buffer overrun.
2016-03-16 08:00:33 +00:00
He Chunhui
5439580833
fix incompatible unit in LWIP_NAT_TMR_INTERVAL_SEC
...
LWIP_NAT_TMR_INTERVAL_SEC defined in ipv4_nat.h is in miliseconds,
but ip_nat_check_timeout() thinks it's in seconds.
With this bug, all nat entries will expire immediately when
ip_nat_check_timeout() is called.
Note sys_timeout() is in miliseconds.
2016-03-16 07:43:38 +00:00
aozima
8131ea9c30
fixed Lwip bug: Assert on TCP netconn_write with sndtimeout set
...
ref: http://savannah.nongnu.org/bugs/?38219
2016-03-02 20:41:14 +08:00
Bernard Xiong
24d089d80a
[DeviceDrivers] Remove the tail space
2016-03-01 10:57:25 +08:00
Bernard Xiong
f0fc48922b
[finsh] use the macro definition instead of the const number in the code
2016-03-01 10:56:46 +08:00
Bernard Xiong
eefd87284c
[DeviceDrivers] fix the compiling warning in MMC/SD
2016-03-01 10:55:16 +08:00
Bernard Xiong
b39654d5a1
Merge pull request #610 from FlyLu/master
...
[DFS] Fix the ramfs issue.
2016-02-20 19:41:40 +08:00
FlyLu
0b3dd47347
修正ramfs.h中防止重复包含的宏定义名称
...
修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
2016-02-20 14:53:39 +08:00
Bernard Xiong
ca3c56651d
[GUI Engine] Add GUI Engine README.md
2016-02-08 10:03:07 +08:00
Bernard Xiong
490196b1b9
[GUI Engine] Add RTGUI as a GUI Engine
2016-02-08 09:59:48 +08:00
Bernard Xiong
f677db1ff5
[libc] Add fputc/fgetc implementation for MICROLIB
2016-02-01 12:19:22 +08:00
hezlog
a1745986e9
Update finsh_token.c
...
修正finsh不能正确处理"\""和"\x1A"转义;
2016-01-19 12:16:30 +08:00
Bernard Xiong
455daf8e7a
Add ioctl API and fix the read/write conflict issue with newlib's API.
2015-12-22 10:18:36 +08:00
Bernard Xiong
d2aee25391
Merge pull request #593 from SchumyHao/master
...
finsh: change no echo mode. cpp: remove RT_USE_LIBC depends
2015-12-02 23:28:05 +08:00
Bernard Xiong
2c7c049af0
Update and rename README.TXT to README.md
2015-11-24 16:19:25 +08:00
Bernard Xiong
83404b825b
[libc] Does export time API if RTC component is not used.
2015-11-22 10:58:19 +08:00
SchumyHao
1eea52307b
rm CPP's RT_USE_LIBC depends
...
Signed-off-by: SchumyHao <bob-hjl@126.com>
2015-11-15 16:36:57 +08:00
SchumyHao
f1e92c63f2
finsh: check echo_mode before print '\n' when excute msh command
...
Signed-off-by: SchumyHao <bob-hjl@126.com>
2015-11-13 00:56:50 +08:00
Bernard Xiong
9d46ae69a7
[DeviceDrivers] fix the poll_rx issue in serial when there is no data.
2015-11-10 10:24:35 +08:00
www220@tom.com
86f1d4f19b
msh中增加了dns的配置函数
2015-11-04 09:37:38 +08:00
Bernard Xiong
6809547491
[lwIP] Add ETHIF_LINK_AUTOUP/PHYUP flag to ethernet interface
2015-10-15 23:10:59 +08:00
www220@tom.com
45d46b076f
修正romfs在输入的目录名称比实际的名称短时存在的判断错误
...
比如实际目录为abcde,msh执行 cd abc也能执行成功,判断名称时存在bug
2015-10-14 10:28:25 +08:00
www220@tom.com
c7af45b759
msh中的mkfs命令再携带类型是,解析出错
2015-10-12 15:55:52 +08:00
Bernard Xiong
c2b5cd1e85
[Finsh] fix the '\r' issue in linux telnet.
2015-10-12 10:52:14 +08:00
Bernard Xiong
e5edc5b09a
[DFS] Use the win32 stat structure if using MS VC++ compiler.
2015-10-11 15:39:07 +08:00
Bernard Xiong
d859e3e8b8
[DFS] export more symbols for dfs_lwip.
2015-10-11 15:38:35 +08:00
Bernard Xiong
f4248a95c3
[Finsh] Add script feature for msh.
2015-10-11 15:38:08 +08:00
Bernard Xiong
147901c2cb
[Libc] Export more symbols for libc.
2015-10-11 15:37:34 +08:00
Bernard Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00:00
Arda
53c85fb989
[libc][dlib] Add missing definition of mode_t
...
For using pthread with IAR tool chain
2015-09-26 23:39:04 +08:00
Bernard Xiong
b4e3fb2007
[DFS] add sys/tcp.h and sys/udp.h for compatibility
2015-09-25 07:00:11 +08:00
Bernard Xiong
d1a1cbfdd7
[DFS] add sockaddr_storage structure in sys/socket.h
2015-09-25 06:55:55 +08:00
Bernard Xiong
3dc91bf8ab
[finsh] Code cleanup.
2015-09-24 20:58:40 +08:00
Bernard Xiong
cfbe17681e
[external] fix the VC++ simulation issue for lodepng.
2015-09-24 20:58:30 +08:00
Bernard Xiong
36713043f8
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2015-09-24 20:47:34 +08:00
Bernard Xiong
44ad3d1cb9
[DeviceDrivers] Remove open_flag assertion.
2015-09-24 20:46:59 +08:00
Bernard Xiong
6362a8606e
[DFS] fix the lwIP select issue
2015-09-24 09:59:34 +00:00
Bernard Xiong
353f511cb0
[finsh] fix the '\0' issue when use shell in linux telnet
2015-09-24 03:06:26 +00:00
Bernard Xiong
31824c7e78
[libc] implement an empty __libc_init_array routine in newlib
2015-09-21 10:00:38 +00:00
Bernard Xiong
7dfac0f78e
rename .name section to .rodata.name section
2015-09-15 12:11:07 +00:00
www220@tom.com
3bd1a372a0
修正mkdir lseek中文件句柄不释放的bug
2015-09-11 19:34:37 +08:00
Bernard Xiong
342e8d688d
Merge pull request #546 from heyuanjie87/ForPullRequest
...
[DeviceDrivers] Add hardware timer framework
2015-09-09 22:30:45 +08:00
heyuanjie87
984a7ba051
修改说明文档
2015-09-09 10:26:42 +08:00
weety
f327e7c98f
Delete unused file.
2015-09-07 15:03:44 +08:00
heyuanjie87
efc1b058ac
添加说明文档
2015-09-07 13:27:05 +08:00
heyuanjie87
8f9bda579a
定义Timer设备类
2015-09-06 15:18:15 +08:00
heyuanjie87
d19f424909
简化操作接口
2015-09-06 15:05:47 +08:00
weety
ebea51e8a8
Add more spi mode.
2015-09-04 22:47:48 +08:00
weety
b71cb4c09d
Add dm365 porting.
2015-09-04 12:30:20 +08:00
heyuanjie87
c84887d021
加入定时器设备
2015-09-02 22:00:24 +08:00
Bernard Xiong
cb51bdb245
[finsh] fix compiling warning.
2015-09-02 14:05:38 +08:00
Bernard Xiong
1079727afb
[finsh] Add .name section for exported cmd and variables.
2015-09-02 12:07:58 +08:00
Bernard Xiong
340a013f53
[finsh] export system symbol
2015-09-02 11:24:41 +08:00
Bernard Xiong
6ee8244a19
[lwIP] export more symbols
2015-09-02 11:23:23 +08:00
quintin
23b5fe5239
fix DMA tx mod tx_dma->activated flag init bug.
2015-08-31 14:57:01 +08:00
Bernard Xiong
bcb9ab1317
[finsh] Add mkfs command to msh
2015-08-28 15:13:04 +08:00
Bernard Xiong
0690980fb6
Merge pull request #539 from SchumyHao/master
...
add w25q80 support to spi flash
2015-08-24 10:51:03 +08:00
Bernard Xiong
e029f14b46
[DeviceDrivers] fix sd->drv issue in sdio
2015-08-09 11:23:16 +08:00
Bernard Xiong
3d9ee80f4a
[External] Add the RT_USING_LIBC depend in lodepng.
2015-08-03 16:18:26 +08:00
Bernard Xiong
3e310522e0
[DFS] Fix the compiling issue in NFS.
2015-08-03 16:17:27 +08:00
Bernard Xiong
2ad2acf577
[net] Fix the options setting issue in lwIP 1.4.1.
2015-08-03 16:17:06 +08:00
ardafu
667c03db97
[FINSH] Add macro MSH_CMD_EXPORT_ALIAS
2015-07-31 11:07:54 +08:00
heyuanjie87
703eb440d8
添加编译说明
2015-07-22 21:52:09 +08:00
heyuanjie87
e81663377e
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into ForPullReq
2015-07-22 20:49:30 +08:00
aozima
3ad3066c4b
fixed rt_can_close issues.
2015-07-21 17:04:22 +08:00
heyuanjie87
ec67dc9879
添加paho mqtt协议栈
2015-07-20 22:23:43 +08:00
Bernard Xiong
52e0d3ce0f
[DFS] Add fsync function
2015-07-16 10:35:42 +08:00
aozima
defa6f37ff
[DeviceDriver] update CAN baudrate enum.
2015-07-08 11:26:20 +08:00
Aubr.Cool
7051f01f48
[DeviceDriver]can add bus_hook
2015-07-07 12:06:24 +08:00
Aubr.Cool
5f860e8f94
[DeviceDriver]add missing hdr define
2015-07-07 12:01:56 +08:00
Aubr.Cool
0f20bf12fd
[DeviceDriver]correct can critical problems
2015-07-07 11:50:39 +08:00
BernardXiong
2ca3ceab70
[DeviceDrivers] code cleanup for CAN
2015-07-06 18:24:56 +08:00
BernardXiong
91d866d81a
[DeviceDrivers] Use mutex to lock can_open/close
2015-07-06 18:11:46 +08:00
BernardXiong
1488568801
[DeviceDrivers] code cleanup for CAN driver and fix some critical issue
2015-07-06 10:38:07 +08:00
Bernard Xiong
eb23f0def3
Merge pull request #511 from AubrCool/fix-lpc4088candriver
...
Fix lpc4088candriver
2015-07-06 10:10:07 +08:00
heyuanjie87
fa6d14ebf6
[CMSIS] 完善cmsis os接口
2015-07-04 15:19:30 +08:00
Aubr.Cool
9cbf30a767
correct can hdr defines
2015-07-04 00:25:05 +08:00
aozima
eece1a7ac5
update armlibc/sys/errno.h: define EADDRNOTAVAIL
2015-07-01 16:44:56 +08:00
Aubr.Cool
67b6b30e88
add rtthread.h include for can.h
2015-06-30 14:48:07 +08:00
Aubr.Cool
b3f0737a99
correct can compiler error and warnings
2015-06-30 14:12:30 +08:00
Bernard Xiong
a1e1c84b6a
Merge pull request #505 from weety/sdio
...
Sdio
2015-06-26 10:52:16 +08:00
Bernard Xiong
e03fbd4815
[VBUS] remove the vbus_local_conf.h analysis in the SConscript
2015-06-25 17:17:16 +08:00
Bernard Xiong
d6cb1e3465
[Util] Add logtrace into components auto-initialization
2015-06-25 17:11:40 +08:00
weety
28f2fbd4cc
1.Fixed sdmmc cmd retries issue;
2015-06-22 21:28:42 +08:00
weety
41597e8793
Add mmc and emmc drivers.
2015-06-20 23:23:32 +08:00
Aubr.Cool
c3e4fd079c
correct can hdr read error
2015-06-16 08:49:25 +08:00
Grissiom
e12dd58405
freetype: fix a memory leak
...
Roughly backport of commit 75534a04327b54f upstream.
2015-06-12 10:09:09 +08:00
Grissiom
8031b6248d
freetype: upgrade to 2.5.5
2015-06-12 10:08:40 +08:00
Grissiom
d921353f14
freetype: misc fix in gb2312tounicode
2015-06-12 10:08:29 +08:00
Bernard Xiong
3f6c511a13
[LodePNG] Update lodepng to version 20150418.
2015-06-04 22:24:37 +08:00
Bernard Xiong
c6d4407c57
[DFS] Fix the fd clear issue.
2015-06-04 22:23:53 +08:00
ardafu
084a8dcd0c
[finsh] Clear buffer before switching to new shell device
2015-05-22 16:35:01 +08:00
pangwei
570e9470b1
[uffs] fix the SConscript file of uffs.
...
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
pangwei
b5add19b0e
[components] add definition of mode_t for armlibc.
2015-05-21 09:18:05 +08:00
BernardXiong
7d73fb8bdb
Merge remote-tracking branch 'upstream/master'
2015-05-18 18:16:59 +08:00
Bernard Xiong
8de629c0b0
[shell] Add FINSH_CMD_SIZE option.
2015-05-18 18:12:17 +08:00
Bernard Xiong
450acd3454
Revert "Add FINSH_CMD_SIZE option."
...
This reverts commit 326a7d7496
.
2015-05-18 18:08:49 +08:00
Bernard Xiong
326a7d7496
Add FINSH_CMD_SIZE option.
2015-05-18 18:08:24 +08:00
Bernard Xiong
0d1ee90f28
Merge pull request #479 from AubrCool/fix-can.drv
...
Add Can Drv
2015-05-15 17:47:25 +08:00
Aubr.Cool
9ea3219ab7
Add can driver doc
2015-05-15 11:34:43 +08:00
Aubr.Cool
c7d703158a
Add SConscript for can
2015-05-15 08:00:14 +08:00
Aubr.Cool
8e29e3d98b
add author information
2015-05-15 07:58:21 +08:00
weety
707a657744
[FTP server]
...
1.Fixed PASV mode issue;
2.Implement RNFR and RNTO command;
3.Change some command code according RFC959;
4.Add command for msh shell;
5.Implement "noop" command.
2015-05-14 22:41:31 +08:00
Aubr.Cool
eb56b832ef
Add Can Drv
2015-05-14 16:52:48 +08:00
BernardXiong
2f5c5b676d
[DeviceDrivers] Add GD25Q flash id in w25qxx.c
2015-05-13 21:28:02 +08:00
Bernard Xiong
41ae59d334
Merge pull request #474 from BernardXiong/master
...
Update for dfs_lwip and completion.
2015-05-11 12:35:36 +08:00
Bernard Xiong
77b5098ae2
[DeviceDriver] Add more exported symbols for completion.
2015-05-11 12:33:15 +08:00
Bernard Xiong
7e981e3e26
[DFS] Fix the accept/shutdown issue in dfs_lwip.
2015-05-11 12:32:53 +08:00
Bernard Xiong
9fa2a04a64
Merge pull request #471 from hduffddybz/master
...
The problem of finding ethernet interface
2015-05-09 10:05:35 +08:00
yuanbin
e9c489d02b
modify indentation
2015-05-08 19:02:19 +08:00
yuanbin
877a679b26
netif find error
2015-05-07 18:57:43 +08:00
Bernard Xiong
59da84d85a
[lwIP] Remove some default setting; User can re-define these settings or use the default setting in lwip opts.h file
2015-05-07 01:16:49 +00:00
Bernard Xiong
b7d069c4c8
[DFS] Add file header for select implementation
2015-05-05 13:23:01 +00:00
Bernard Xiong
3aa144d0be
[DFS] add select implementation.
2015-05-05 13:16:26 +00:00
Bernard Xiong
4373ef2e26
[Utilities] Change the log_trace_init to auto init.
2015-05-05 10:43:15 +08:00
Bernard Xiong
452432a15b
[Sensor] Fix the call back issue in sensor.
2015-05-04 20:44:47 +08:00
Bernard Xiong
dcc6e39816
[lwIP] Use lock scheduler instead of disable interrupt for lwIP porting.
2015-05-04 20:37:41 +08:00
Bernard Xiong
1f52f79d0b
[pthreads] The pthread component is depended to libc component.
2015-05-04 20:36:50 +08:00
Bernard Xiong
0af011101d
[libc] Add more system header file for armlibc and dlib.
2015-05-04 20:35:28 +08:00
Bernard Xiong
10d3afde03
[DFS] rename netdb.c to lwip_netdb.c in dfs_lwip.
...
To avoid same file name, therefore change the netdb.c to lwip_netdbc in
dfs_lwip.
2015-05-04 20:34:07 +08:00
Bernard Xiong
854d8866d3
[DFS] fix the compiling issue under Keil MDK.
2015-05-02 22:53:08 +08:00
Bernard Xiong
5ca3da9e1c
Merge remote-tracking branch 'upstream/master'
2015-05-02 01:33:58 +00:00
Bernard Xiong
a7d6e284d0
[DFS] Export dfs_subdir/dfs_normalize_path symbol to module.
2015-05-02 08:55:08 +08:00
Bernard Xiong
8dfc80b4a2
[DFS] Add lwIP file system interface for DFS
2015-05-01 08:19:52 +00:00
Bernard Xiong
6459839f28
Add extern declaration for C++.
2015-04-24 11:48:25 +08:00
Bernard Xiong
37aa44d4f2
Fix compiling warning.
2015-04-24 11:48:25 +08:00
Bernard Xiong
1bf01f0d38
[libc] fix compiling warning for newlib
2015-04-24 11:48:23 +08:00
SchumyHao
88936f0836
format
2015-04-16 21:08:07 +08:00
SchumyHao
7d341d4e6e
add w25q80 support to spi flash
2015-04-16 21:06:54 +08:00
Grissiom
54f8b19e12
SConscript: fix the `--keep` parameter for Keil
...
The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it
right.
2015-04-14 18:22:46 +08:00
Bernard Xiong
f36a1d92a4
[DFS] fix the NFS link issue
2015-04-11 01:04:14 +00:00
Bernard Xiong
78ef35f2cf
Merge remote-tracking branch 'coding/master'
2015-04-06 05:16:53 +00:00
Bernard Xiong
6c3c50bdeb
Merge remote-tracking branch 'upstream/master'
2015-04-06 05:16:16 +00:00
Bernard.Xiong
b68d041275
[DFS] add file header infor
2015-04-06 11:52:29 +08:00
ItsEddy
16bf2e7255
[DeviceDriver] Fix inverted logic on SConscript
...
Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
2015-04-04 02:17:26 +08:00
Bernard Xiong
1377022b18
[DFS] Use SConscript of each file system to build.
2015-04-03 14:26:18 +00:00
Bernard Xiong
6c83ff6eca
Merge remote-tracking branch 'coding/master'
2015-03-31 07:03:22 +00:00
Bernard Xiong
81c4f43109
Merge remote-tracking branch 'upstream/master'
2015-03-31 07:02:05 +00:00
Bernard Xiong
40db28cfec
[DeviceDriver] Remove dataqueue/pipe if not enable RT_USING_HEAP
2015-03-31 06:17:49 +00:00
Bernard.Xiong
0da8d515ac
[Libc] Change libc_system_init as INIT_COMPONENT
2015-03-26 19:58:05 +08:00
Aubr.Cool
5d6ac1ed37
correct rx_fifo init size error
2015-03-26 13:26:13 +08:00
Aubr.Cool
7caabd2b7a
mv device ctl cmd macros from serial.h to rtdef.h
2015-03-26 08:40:36 +08:00
KodakWang
29fd52dfb8
Update completion.c
...
fix: completion wait after, maybe can't clean the flag.
2015-03-24 15:54:08 +08:00
Bernard Xiong
827ff71933
Merge pull request #435 from AubrCool/fix-pinregisternameproblems
...
[BSP] Correct pin register name problems
2015-03-23 20:55:34 +08:00
Aubr.Cool
6dc5851c55
Correct pin register name problems
2015-03-23 09:38:09 +08:00
Bernard.Xiong
e2cfb1f796
Merge branch 'master' of https://coding.net/bernard/rt-thread
2015-03-22 08:57:02 +08:00
Bernard.Xiong
cf37bccae4
Add copyright information
2015-03-22 08:56:37 +08:00
bernard
5b1270455d
Fix the echo issue in the shell.
2015-03-20 12:44:58 +08:00
bernard
924264b277
Remove list_mod_detail command from msh.
2015-03-20 12:44:02 +08:00
Bernard Xiong
ad1f42d31a
Merge remote-tracking branch 'upstream/master'
2015-03-20 02:32:05 +00:00
Bernard Xiong
767c16d596
[USBH] fix the spelling wrong
2015-03-19 08:52:28 +00:00
Bright Pan
a61d228b76
Nanopb is a plain-C implementation of Google's Protocol Buffers data
...
format. It is targeted at 32 bit microcontrollers, but is also fit for
other embedded systems with tight (2-10 kB ROM, <1 kB RAM) memory
constraints.(http://koti.kapsi.fi/jpa/nanopb/ )
How to use the example:
1. move examples/nanopb to bsp/xxxx/
2. enable macro RT_USING_NANOPB in rtconfig.h
3. regenerate the project file (scons --target=xxxx)
4. rebuild the project
2015-03-10 18:24:17 +08:00
Bernard Xiong
e1400d2725
Merge remote-tracking branch 'coding/master'
2015-03-05 06:23:45 +00:00
Bernard Xiong
e984da7f71
Merge remote-tracking branch 'upstream/master'
2015-03-05 06:22:35 +00:00
Bernard Xiong
fbd620a7f4
[Kernel] Move the components initailzation to the kernel
2015-02-25 10:50:21 +08:00
Bernard Xiong
570e2ffbe7
[finsh] Fix the echo mode issue.
2015-02-23 11:36:48 +08:00
armink
278ae90e84
[modbus]removed version number on directory.
2015-02-06 10:19:32 +08:00
armink
b3290f6eed
[modbus]changed tabs to spaces.
2015-02-05 21:22:18 +08:00
armink
dec67c3a29
[modbus]fix port file's head file.
2015-02-05 20:54:32 +08:00
armink
7355879119
[modbus]update SConscript
2015-02-05 19:44:26 +08:00
armink
2a14e4071c
[modbus]port modbus master and slave by rtt device framework.
2015-02-05 19:44:25 +08:00
armink
d8bbb5f126
[modbus]update modbus master and slave source code to lastest.
2015-02-05 19:44:24 +08:00
Bernard Xiong
3462537bdd
[DeviceDrivers] Update SConcript file for sensor code
2015-02-01 08:50:54 +00:00
bernard
94e5d1e5e6
[DeviceDrivers] Add MPU6050 and BMI055 sensor.
2015-02-01 16:17:06 +08:00
bernard
2c88533659
[LIBC] fix compiling issue for dlib (IAR).
2015-01-31 21:59:58 +08:00
bernard
622e6d8238
[lwIP] Add Router and DNS server information in DHCP server.
2015-01-31 20:51:21 +08:00
bernard
3e31d349ea
[lwIP] fix the pbuf q=NULL issue in ip_nat_input.
2015-01-31 20:44:53 +08:00
bernard
72298bac32
Merge remote-tracking branch 'bernard/master'
2015-01-31 14:48:31 +08:00
bernard
1f2a6e3a89
[lwIP] fix compiling warning in NAT.
2015-01-31 14:48:19 +08:00
Bernard Xiong
918b790882
[libc] Add IAR dlib porting
2015-01-31 11:13:50 +08:00
Bernard Xiong
a1252f67f5
[lwIP] Add DHCP server implementation
2015-01-31 10:48:28 +08:00
Bernard Xiong
7e11b8eb62
[lwIP] Add NAT readme
2015-01-29 13:47:57 +00:00
Bernard Xiong
627d025cda
[lwIP] Modify the ip.c to support NAT
2015-01-29 09:48:48 +00:00
Bernard Xiong
7f4e647971
Merge remote-tracking branch 'upstream/master'
2015-01-29 09:14:12 +00:00
Bernard Xiong
068e2f95a1
[lwIP] remove IP_INPUT_HOOK
2015-01-29 15:01:26 +08:00
Bernard Xiong
87171f003c
[LIBC] code cleanup
2015-01-28 14:14:30 +08:00
Bernard Xiong
01c3460cdb
[DevFS] fix the device none-open issue
2015-01-28 14:13:44 +08:00
Aubr.Cool
eb898f69c9
Correct dfs fd_is_open search index error
2015-01-27 11:00:25 +08:00
Bernard Xiong
3da0f4ec09
[lwIP] Add NAT for lwIP
2015-01-26 06:36:00 +00:00
Bernard Xiong
15231efaff
[lwIP] Add IPv4 input hook
2015-01-26 06:35:08 +00:00
Bernard Xiong
19ee2c7e09
Merge pull request #416 from bright-pan/master
...
[Driver/ringbuffer]: Fix put_force bug
2015-01-26 11:14:03 +08:00
Bernard Xiong
8d63cba201
Merge remote-tracking branch 'upstream/master'
2015-01-26 00:45:24 +00:00
Bright Pan
2d67fe6565
[Driver/ringbuffer]: Fix put_force bug
...
OXape reports: http://www.rt-thread.org/phpBB3/topic3939.html
driver/ringbuffer: when data length is bigger than space length
for rb, the read_index in rb is not update.
When length > space, update the read_index, the bug can be fix, and
works fine.
2015-01-23 13:27:52 +08:00
Bernard Xiong
3962937626
Update README.md
2015-01-23 10:39:26 +08:00
Bernard Xiong
cded27b58e
Update crt_init.c
2015-01-23 10:37:07 +08:00
Grissiom
01ab0c1d1e
crt_init: fix hardfault in Keil toolchain when there is no cpp object
...
If there is no SHT$$INIT_ARRAY, calling
$Super$$__cpp_initialize__aeabi_() will fault. At least until Keil5.12
the problem still exists. So we have to initialize the C++ runtime our
own.
2015-01-22 17:27:17 +08:00
Bernard Xiong
73d5acecba
[DeviceDrivers] Add pin.h in the rtdevice.h
2015-01-20 07:24:49 +00:00
Bernard Xiong
1bb425e839
[DeviceDrivers] code cleanup for hardware pin
2015-01-19 08:56:43 +00:00
Bernard Xiong
d01b2ca84b
[DeviceDrivers] Add pin io driver framework
2015-01-19 06:18:16 +00:00
Grissiom
d7fb5d5444
vbus: remove the rt_ prefix in the watermark queue source file
2015-01-09 10:11:32 +08:00
Grissiom
17aa3b1975
vbus: update copy-right information
2015-01-08 17:05:56 +08:00
Grissiom
f7415e595e
VBus: added
...
Currently only lpc43xx is supported.
2015-01-07 17:15:49 +08:00
Bernard Xiong
c3515abf93
Merge pull request #407 from grissiom/misc-fix
...
Misc fix
2015-01-05 17:07:23 +08:00
bernard
f6ed27b863
[DeviceDrivers] Fix sensor_poll issue.
2015-01-04 20:01:52 +08:00
Grissiom
099ada6699
finsh: open the finsh device with RT_DEVICE_FLAG_STREAM
2015-01-04 19:42:58 +08:00
bernard
06454fd484
[DeviceDrivers] change tab to space in sensor.
2015-01-04 13:14:53 +08:00
bernard
a6251a439e
Use open_flag for serial device.
2015-01-04 12:25:20 +08:00
bernard
46bca6f84a
Add C programming language APIs.
2015-01-04 12:24:46 +08:00
bernard
58163f49e0
[DeviceDriver] change the name style of method of C++ code; Add raw mode for sensor.
2014-12-31 22:33:54 +08:00
bernard
b73283135d
Add cplusplus initialization for ARMCC; Fix printf issue in _sys_write.
2014-12-31 11:53:12 +08:00
Grissiom
d0540f0d85
external: update freetype to 2.5.4
2014-12-29 11:30:07 +08:00
Grissiom
d479960aac
ymodem: fix a race-condition in handshaking
...
As we are sending C continuously, there is a chance that the
sender(remote) receive an C after sending the first handshake package.
So the sender will interpret it as NAK and re-send the package. So we
just ignore it and proceed.
2014-12-26 22:20:17 +08:00
Grissiom
9944a1b69c
lodepng: make the crc32 LUT const
...
This saves 1KiB ram usage.
2014-12-24 16:05:50 +08:00
Bernard Xiong
ab05daf4ef
[LIBC] fix compiling warning
2014-12-06 07:26:19 +00:00
Grissiom
cf692a4ab4
msh: use list_memheap when RT_USING_MEMHEAP_AS_HEAP is enabled
...
There is no list_mem and only list_memheap when RT_USING_MEMHEAP_AS_HEAP
is enabled.
2014-12-01 18:54:14 +08:00
bernard
c26b999360
Fix the sensor list issue.
2014-12-01 12:22:17 +08:00
Bright Pan
eeadfe4705
Fix compile warning: variable "c" was declared but never referenced, when RT_USING_CONSOLE is disable.
2014-11-23 00:04:58 +08:00
aozima
92fac29f70
update RW009 driver: add softAP support.
2014-11-15 16:11:24 +08:00
limxuzheng
4fea46c83c
support rx62n
2014-11-12 01:09:43 +08:00
Grissiom
28ff3ed186
romfs: fix a use-before-set bug on checking the dirent
2014-11-03 17:32:50 +08:00
Grissiom
b43573844d
romfs: rewrite mkromfs.py
2014-11-03 12:20:09 +08:00
Grissiom
e882597f9c
romfs: check the dirent before use it
...
System will crash when the romfs is erased. Add checks before using them
to avoid it.
2014-11-03 12:10:25 +08:00
Grissiom
3531fa71aa
romfs: declare the dummy entry as weak
2014-11-01 17:57:43 +08:00
bernard
6281ab2bbe
[DeviceDriver] Remove i2c_core_lock.
2014-11-01 16:38:53 +08:00
Bernard Xiong
0fa10629f7
[Sensor] code cleanup
2014-11-01 15:52:25 +08:00
Bernard Xiong
ef90e4828d
Merge branch 'master' of https://github.com/BernardXiong/rt-thread
2014-11-01 15:36:37 +08:00
Bernard Xiong
1974bec8bf
[C++] fix the ctors initialization issue
2014-11-01 14:12:58 +08:00
Bernard Xiong
b081df6b93
[NFS] fix opendir failed issue.
2014-11-01 10:53:44 +08:00
Bernard Xiong
18cd95688d
[Drivers] Add sensor framework
2014-11-01 09:09:52 +08:00
Bernard Xiong
b84123b0b4
[C++] Add cplusplus component
2014-11-01 09:09:21 +08:00
Bernard Xiong
0797e54f3f
[LIBC] fix the fopen/open issue in armlibc
2014-10-30 03:53:22 +00:00
Bernard Xiong
802c768475
[LIBC] Use RT_USING_LIBC instead of libs option for each compiler
2014-10-28 03:45:43 +00:00
Bernard Xiong
372926477b
[GDB] Fix compiling error when not enable GDB.
2014-10-27 22:27:54 +08:00
Grissiom
3d584266e5
finsh: allow user to disable the FINSH_USING_HISTORY
2014-10-21 16:01:08 +08:00
Grissiom
e030451220
minilibc: only define malloc family when RT_USING_HEAP enabled
2014-10-14 16:14:02 +08:00
Grissiom
9a75583349
dfs: check for null reference
2014-10-14 16:09:10 +08:00
Grissiom
4c39f8765a
msh: free is only available when HEAP is enabled
2014-10-14 16:07:49 +08:00
Grissiom
23cc390474
msh: check path is non-null in msh_auto_complete_path
2014-10-14 16:07:19 +08:00
aozima
3c99a5bf8d
update RW009 wifi driver.
2014-09-24 12:08:01 +08:00
陈豪
dd7fff2b31
[gdb]Change open flag
2014-09-20 20:53:17 +08:00
陈豪
62af08370b
Merge pull request #2 from RT-Thread/master
...
sync
2014-09-20 01:19:42 +08:00
armink
762f18d743
[Ymodem]Change tabs to space.
2014-09-14 14:52:00 +08:00
armink
987532967f
[Ymodem]Change macro definition and code format.
2014-09-14 14:44:48 +08:00
armink
7121697a71
[Ymodem]Add device open flag as input parameter to ymodem function.
2014-09-13 11:22:01 +08:00
armink
ed57c7c32a
[Ymodem]When active end the session, It can config send CAN number.
2014-09-13 11:15:48 +08:00
bernard
3b5c2e2f9f
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-09-11 12:55:18 +08:00
bernard
6045b3a075
[LogTrace] Use OFLAG_RDWR to replace FLAG_RDWR when opening a device.
2014-09-11 12:53:23 +08:00
bernard
a8b0fe3f36
[shell] Fix compiling issue when DFS is not enable
2014-09-11 12:47:25 +08:00
aozima
03496f0700
update RW009 driver.
2014-09-08 16:59:52 +08:00
heyuanjie87
8a44c7dbfb
[Serial] BUG Fix: data be send twice in mode that other than polling
2014-09-01 23:43:50 +08:00
Grissiom
ab729429b3
minilibc: define SIZE_MAX in stdint.h
2014-09-01 10:41:37 +08:00
hduffddybz
5694c77bcf
add judge of RT_USING_LWIP_HEAD
2014-08-30 11:10:50 +08:00
hduffddybz
838cdbe660
change code style
2014-08-30 11:04:13 +08:00
hduffddybz
5a7d40f80e
add conditional compilation of ipv6 source file
2014-08-30 11:02:14 +08:00
hduffddybz
c9aba13f40
update lwip git head
2014-08-30 10:59:33 +08:00
aozima
69d089cac0
Update SConscript: add spi to include path.
2014-08-29 21:53:28 +08:00
hduffddybz
53ff02b563
add ipv6 support
2014-08-26 22:32:40 -08:00
weety
12136cfeb1
[finsh] fixed finsh issue.
2014-08-26 23:36:16 +08:00
Bernard Xiong
d0a7861534
Update string.h
2014-08-22 09:02:35 +08:00
Bernard Xiong
50dbce3c1a
Update string.c
2014-08-22 09:01:33 +08:00
陈豪
697e216606
[GDB stub]first version
2014-08-12 18:18:23 +08:00
Bernard Xiong
0ad17f462d
[DeviceDrivers] Add modification under Linux
2014-08-04 16:40:40 +08:00
bernard
4ee93b7552
[libc] Fix system issue when use msh and make code cleanup.
2014-08-03 14:31:19 +08:00
bernard
fccd0e6b83
[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.
2014-08-03 14:30:31 +08:00
bernard
5397e18c56
[DeviceDrivers] Fix compiling warning.
2014-08-03 14:29:46 +08:00
bernard
582aff86ed
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-08-01 12:03:24 +08:00
bernard
516711dc1d
[DFS] make comments cleanup.
2014-08-01 12:03:11 +08:00
aozima
0fc1ac6189
add more SPI device driver.
2014-07-31 16:58:43 +08:00
Bernard Xiong
07c486413b
[external] PNG_NO_WRITE_SUPPORTED issue
...
Move PNG_NO_WRITE_SUPPORTED outside of RT_USING_NEWLIB. #197
2014-07-31 09:46:01 +08:00
Bernard Xiong
59c128c073
[libc] fix compiling warning
2014-07-31 09:30:18 +08:00
bernard
94883a92fb
[pthreads] Fix pthread_cond_init issue. #261
2014-07-31 08:34:36 +08:00
bernard
02faf9edb8
[Finsh] fix device_open issue when set_device in finsh.
2014-07-20 13:57:49 +08:00
bernard
0eb35940a4
[POSIX] fix mq_open and sem_open argument issue.
2014-07-19 06:52:35 +08:00
bernard
c45f5a2490
[Drivers] re-write serial framework.
2014-07-18 06:45:54 +08:00
Grissiom
2aa51d42f9
ymodem: increase the default RYM_CHD_INTV_TICK
...
Frequent 'C' on the handshake will confuse some sender(lrzsz for
example).
2014-07-15 14:58:05 +08:00
Grissiom
ff1eb2cbc9
ymodem: refactor _rym_read_code
...
Make fast path fast and slow path slow.
2014-07-14 18:45:46 +08:00
shaolin
64a2902fa9
1. Fix some spell error;
...
2. Fix data transfer size calculate error issue;
2014-07-13 17:19:34 +08:00
bernard
005014e7d0
[Drivers] Add workqueue implementation.
2014-07-13 07:27:57 +08:00
Bernard Xiong
29437da109
Merge pull request #297 from hduffddybz/master
...
add some comments of lwip porting
2014-07-11 17:26:44 +08:00
root
0ddc739a18
add some comments of lwip porting
2014-07-10 23:18:03 -08:00
bernard
f44f6caadb
[Finsh] Fix command line size issue in finsh.
2014-07-10 13:35:28 +08:00
bernard
d0debf9892
[Drivers] Make code cleanup in serial framework.
2014-07-10 13:32:16 +08:00
bernard
b0c94dc4d9
[lwIP] Fix the usage issue of NETIF_LINK_CALLBACK.
2014-06-27 14:49:51 +08:00
bernard
7dbb4dc939
[lwIP] Add LWIP_NO_RX_THREAD/LWIP_NO_TX_THREAD options for lwIP.
2014-06-26 15:55:45 +08:00
bernard
a118801bfe
[DFS] Add dfs_filesystem_get_mounted_path() function.
2014-06-26 13:59:26 +08:00
bernard
edfcc6041b
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-06-25 17:26:08 +08:00
bernard
dcd7974794
[Finsh] Enhance mv command.
2014-06-25 17:23:28 +08:00
bernard
a58593f784
[libc] code cleanup.
2014-06-25 17:20:57 +08:00
Bernard Xiong
d10444337b
[lwIP] code cleanup
2014-06-24 15:14:39 +08:00
Bernard Xiong
bf733ae2aa
[LwIP] Fix the MEMP_NUM_TCP_SEG issue.
2014-06-24 14:49:33 +08:00
Grissiom
aca8f8eb2d
shell: print the ref count in `list_device`
2014-06-18 11:18:43 +08:00
aozima
7a0e9c3fc7
format code Astyle.
2014-06-14 21:55:51 +08:00
aozima
9ab59cf1e0
used parameter: size.
2014-06-14 21:54:59 +08:00
aozima
f296c582a5
fixed bug: close socket when ping() exit.
2014-06-14 21:49:46 +08:00
Bernard Xiong
cde9139bc5
[Finsh] Fix '0' token issue.
2014-05-05 13:51:26 +08:00
bernard
c980bdc9e9
[External] Merge LodePNG and TJPGD into RT-Thread GUI group in building script.
2014-04-25 05:52:15 +08:00
bernard
bd2b9c54bd
Add LodePNG library.
2014-04-20 10:09:55 +08:00
Grissiom
5ad58a59a4
minilibc: no double braces in if statement
2014-04-12 16:58:17 +08:00
Grissiom
a95370aa56
msh: remove usless ptr set
...
The ptr is set in the following code. So remove the first one.
2014-04-12 16:57:14 +08:00
Grissiom
ec4b865579
finsh: add check on converting octal numbers
...
The digit in octal numbers should with in 0~7. Check on it in
token_proc_number. This issue is found by Clang.
2014-04-12 16:55:00 +08:00
Grissiom
1422569e7c
pthreads: remove some useless variables
2014-04-12 16:54:20 +08:00
Grissiom
4b7e9c6447
dfs: assert the path is not null in dfs_filesystem_lookup
...
Clang complains about "Null pointer argument in call to string
comparison function". So assert on it.
2014-04-12 16:35:07 +08:00
Grissiom
299cccfb26
logtrace: add log_session_lvl
...
log_session_lvl is suitable for performance critical places where in
most cases, the log is turned off by level. If the session is const and
the level is greater than session->lvl, the whole function will be
optimized out.
2014-04-10 21:22:39 +08:00
Grissiom
12728bcdff
logtrace: add const modifier to the APIs
...
Compiler may do more optimization when the parameter is const.
2014-04-10 21:22:39 +08:00