Commit Graph

1117 Commits

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