Commit Graph

1226 Commits

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