Commit Graph

1170 Commits

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