Commit Graph

1293 Commits

Author SHA1 Message Date
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