Commit Graph

1184 Commits

Author SHA1 Message Date
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
Bernard Xiong 452432a15b [Sensor] Fix the call back issue in sensor. 2015-05-04 20:44:47 +08:00
Bernard Xiong dcc6e39816 [lwIP] Use lock scheduler instead of disable interrupt for lwIP porting. 2015-05-04 20:37:41 +08:00
Bernard Xiong 1f52f79d0b [pthreads] The pthread component is depended to libc component. 2015-05-04 20:36:50 +08:00
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
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