Commit Graph

1379 Commits

Author SHA1 Message Date
weety 0af00b9ce5 fixed time unit error in clock_gettime. 2016-06-01 14:07:47 +08:00
weety 11413896d3 Fixed time unit error. 2016-06-01 13:52:05 +08:00
weety 62e770f9de Fixed 64KB stack size limit. 2016-05-31 20:39:33 +08:00
Bernard Xiong c5bf3fa2d1 [lwIP] remove compiling warning. 2016-05-29 11:36:20 +08:00
Bernard Xiong 07c0e13060 Merge pull request #632 from armink/master
Improve serial DMA rx mode. #628
2016-05-20 14:26:23 +08:00
Bernard Xiong 9f08d09ae1 [lwIP] merge TCP_OVERSIZE code. 2016-05-20 14:19:50 +08:00
Bernard Xiong c5949c2736 [DeviceDrivers] Update SPI flash drivers. 2016-05-20 14:07:32 +08:00
Bernard Xiong 050da8a60d [lwIP] Chang the default options in lwIP.
committed by FH.
2016-05-20 12:27:29 +08:00
Bernard Xiong 36edc2c441 [lwIP] Add EAPOL type packet. 2016-05-20 12:23:19 +08:00
Bernard Xiong ac3af54a7e [DeviceDrivers] Use PBUF_POOL in enc28j60 drivers.
patched by FH.
2016-05-20 12:22:55 +08:00
Bernard Xiong f005d963e2 [DeviceDrivers] Add more baud rate in serial. 2016-05-20 12:22:16 +08:00
Bernard Xiong 02a5cebc6d [DeviceDrivers] Add MMC/SD change support.
Add MMC/SD change support, which patched by FH.
2016-05-20 12:20:35 +08:00
armink c3da9dda7b [DeviceDrivers] Add fifo mode to serial DMA rx when serial->config.bufsz != 0. 2016-05-14 11:43:06 +08:00
armink 4c9b77ded6 [DeviceDrivers]Fix dma_transmit callback parameter type error. #628 2016-05-11 13:34:18 +08:00
Bernard Xiong 53c18358b4 [lwIP] remove lwip-1.4.0 2016-05-10 09:48:05 +08:00
Bernard Xiong b46ebbf56d [build] remove hard coded path issue in SConscript 2016-05-10 09:34:05 +08:00
Bernard Xiong 7c38c59f62 [DFS] fix the name mistake in socket function. 2016-05-10 09:32:50 +08:00
Bernard Xiong 64feef0dde [LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net 2016-05-10 09:22:01 +08:00
Bernard Xiong 3d07de2b71 [Pthreads] Add more API declaration. 2016-05-01 16:05:03 +08:00
Bernard Xiong 06d3599d86 [libc] Add abort routine to replace old API.
abort routine will cause sig_xxx() reference.
2016-05-01 16:04:26 +08:00
Bernard Xiong fd7a65b4be [LIBC] remove minilibc when compiling simulator under Linux 2016-04-24 19:59:48 +08:00
Bernard Xiong a3daa62151 [DeviceDrivers] Add RT_MTD_EECC_CORRECT code in MTD nand. 2016-04-18 13:56:38 +08:00
Bernard Xiong 33cda0866f [libc] Fix the rtconfig issue in armlibc/unistd.h file. 2016-04-18 13:54:07 +08:00
Bernard Xiong 838141e89f [finsh] Add echo command for msh. 2016-04-18 13:53:32 +08:00
gbcwbz 0d63eb5f6d fix hardfault when RT_CAN_USING_BUS_HOOK is enabled in bsp/stm32f10x
function `rt_pin_write` is invoked by  function `can_bus_hook`, and it should to be initialized by gpio.c.
but gpio.c was not added in SConscript
2016-04-14 23:47:32 +08:00
Bernard Xiong 9c293336cb [DFS] Add fcntl.h for armlibc. 2016-04-09 23:11:17 +08:00
Bluebear233 2b1983992f Update serial.c
fix reset serial receive interrupt flag when close serial
2016-04-09 20:58:10 +08:00
Bernard Xiong e68a3a977a [DFS] Remove stat/fstat function under WIN32 simulation. 2016-04-06 01:16:09 +08:00
Bernard Xiong 048ffb481a [DeviceDrivers] Add umount operations in SDCard block device. 2016-04-05 11:11:10 +08:00
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