Bernard Xiong
d3ddf3b0a7
Merge pull request #1079 from TanekLiang/mmc_sd
...
[DeviceDrivers] Fix missing mailbox send after SDCard hot plug finished
2017-12-07 18:32:34 +08:00
JasonJiaJie
3454484346
[Termios]Fix compile error for gcc and iar.
...
Fix compile error for gcc and iar.Add termios.h to newlib and dlib
2017-12-07 18:32:06 +08:00
JasonJiaJie
de0a201e44
[Termios]1. Add termios test. 2.Add termios.h
...
1. Add termios test. 2.Add termios.h
2017-12-07 18:32:06 +08:00
tangyuxin
5b4215d1d7
[gui]修正不能正确获取图片数据长度的问题
2017-12-07 17:16:01 +08:00
tanek liang
d8bc33d70b
[DeviceDrivers] Fix missing mailbox after SDCard hot plug
2017-12-07 14:44:16 +08:00
uestczyh222
049ed5047f
[Components][USB][DFS][usb minimize stack size dfs fix build error
...
without finsh]
2017-12-07 07:24:37 +08:00
tangyuxin
45a5745acb
[gui]remove gui_demo.h
2017-12-06 21:02:45 +08:00
tangyuxin
056ed06310
[gui]add example
2017-12-06 20:34:52 +08:00
Bernard Xiong
9508b0e650
fix the fs type search issue in mkfs.
2017-12-05 20:16:34 +08:00
uestczyh222
c1f9ebbde3
Merge remote-tracking branch 'upstream/master'
2017-12-04 01:59:18 +08:00
uestczyh222
f3a96e2073
[Components][Deivers][USB][HID]fix bug and add send callback
2017-12-04 01:58:59 +08:00
Bernard Xiong
2ec2203803
Merge pull request #1071 from uestczyh222/master
...
[Components][Drivers][USB Device][WinUSB]update winusb class
2017-12-03 13:23:42 +08:00
MiraculousConch
1462ba178d
[Components][Drivers][USB Device][WinUSB]update winusb class
2017-12-03 01:32:07 +08:00
armink
fde3d6bc10
[Kconfig] Add utilities Kconfig.
2017-12-02 23:16:45 +08:00
bernard
2a83353e5f
[DFS] fix the filesystem_operation_table issue.
2017-11-30 23:55:22 +08:00
bernard
ed033053cf
[libc] Add mmap API
2017-11-30 21:18:55 +08:00
Bernard Xiong
7bc87e4ae8
[Kconfig] Rename all of KConfig files to 'Kconfig'
2017-11-30 20:12:53 +08:00
aozima
affd67a8d5
[LWIP] update LWIP 2.0.2: support IPV6.
2017-11-29 19:27:23 +08:00
MiraculousConch
b5e8fa0872
[Components][Drivers][USB]Add IAD support for MSC class
2017-11-29 18:33:09 +08:00
MiraculousConch
e875128115
[Components][Driver][USB][Class]fix msc class
2017-11-29 14:26:15 +08:00
MiraculousConch
c64fa9f059
[Components][Drivers][USB][Core]fix io request
2017-11-29 14:25:45 +08:00
Bernard Xiong
e34f53c4ca
Merge pull request #1052 from aozima/lwip_dev
...
[LWIP] make sure lwip initialization order.
2017-11-29 08:58:52 +08:00
Bernard Xiong
4d854ba5a9
Merge pull request #1049 from TanekLiang/romfs_open_fixed
...
[DFS] fix ROMFS get root directory bug
2017-11-28 23:20:09 +08:00
Bernard Xiong
505329b32b
Merge pull request #1048 from TanekLiang/dfs_kconfig
...
[dfs] add new option (DFS_FILESYSTEM_TYPES_MAX) for DFS
2017-11-28 23:19:41 +08:00
tanek liang
a14a219d68
[dfs] add new option (DFS_FILESYSTEM_TYPES_MAX) for DFS
2017-11-28 21:43:05 +08:00
tanek liang
c63ce381fe
[dsf] fix romfs build error in IAR (__weak should in start for variable definition)
2017-11-28 21:40:09 +08:00
tanek liang
5ccbaae150
[DFS] fix ROMFS get root directory bug
2017-11-28 21:38:48 +08:00
MiraculousConch
a8fc894c19
[Components][Drivers][USB]fix OS proerty desc bug
2017-11-28 16:13:16 +08:00
aozima
4b4a3ab2b7
[LWIP] make sure lwip initialization order.
2017-11-28 16:00:04 +08:00
Bernard Xiong
128c184554
Merge pull request #1040 from armink/fix_serial_reopen
...
[DeviceDriver][Serial] Fix serial open flag lost when device reopen.
2017-11-28 13:43:57 +08:00
MiraculousConch
d40d5355b8
[Components][Drivers][USB]WinUSB And Core update
...
协议栈增加允许class在windows环境下枚举时向系统注册附加属性。并在winusb class中提供范例(注册GUID信息)
2017-11-28 03:02:48 +08:00
armink
2be6a968d7
[DeviceDriver][Serial] Fix serial open flag lost when device reopen.
2017-11-26 10:19:51 +08:00
uestczyh222
f4fb716167
[Components][USB][Class and
...
Core]修复了协议栈在ep0请求大于端点描述最大包时无法正确读取的bug
增加了rndis class LWIP on USB
2017-11-25 17:31:48 +08:00
uestczyh222
cfc0304be5
[Compinents][USB]增加USB协议栈对微软OS描述符的支持,修复HID class的IAD接口,增加免驱新class WinUSB
2017-11-23 00:38:56 +08:00
uestczyh222
bd566e6a37
[Components][Drivers][USB] Add CDC-ECM class (LWIP on USB)
...
Windows下没驱动 linux和mac下免驱
2017-11-21 22:44:13 +08:00
Bernard Xiong
af2b9b9965
[DeviceDrivers][USB Stack] code cleanup
2017-11-18 17:13:46 +08:00
bernard
327b8015d2
[KConfig] Add RT_USING_WIFI option.
2017-11-18 09:40:14 +08:00
uestczyh222
e365ff5473
[Components][Drivers][USB][HID]Update to common hid
2017-11-16 19:05:17 +08:00
MiraculousConch
a4be1a8176
[Components][Drivers][USB]Add USB HID device config to env
2017-11-15 23:59:31 +08:00
uestczyh222
a3808362ac
[Components][Drivers][USB]fix usb device core
2017-11-15 20:54:54 +08:00
JasonJiaJie
be3953fd36
[DeviceDriver][serial]Fix compile error when RT_USING_POSIX_TERMIOS is not define.
...
Fix compile error when RT_USING_POSIX_TERMIOS is not define.
2017-11-15 17:34:43 +08:00
Bernard Xiong
1a3b746105
Merge pull request #997 from JasonJiaJie/master
...
[DeviceDriver][serial]1.Fix poll rx issue when data is full. 2.Add TCFLSH and FIONREAD support.
2017-11-15 16:10:05 +08:00
JasonJiaJie
b085bba04c
[Posix]termios parameter issue.
2017-11-15 13:17:42 +08:00
bernard
8013d5f768
[lwIP] add lock for init_done callback.
2017-11-15 11:18:56 +08:00
JasonJiaJie
9f745c6aaf
[POSIX]
...
1.Fix parameter error.
2017-11-15 09:41:06 +08:00
JasonJiaJie
b747164942
[DeviceDriver][serial]
...
1.Fix poll rx issue when data is full.
2.Add TCFLSH and FIONREAD support.
2017-11-15 09:40:18 +08:00
Bernard Xiong
543a83eb01
Update sockets.c
2017-11-13 21:12:48 +08:00
Bernard Xiong
dcf175b285
Merge pull request #991 from enkiller/x1000_dev_update
...
[BSP] Update X1000 bsp.
2017-11-13 21:11:44 +08:00
Bernard Xiong
338835f932
Merge pull request #992 from SummerGGift/1013_patch_2
...
[lwIP] add lwip_tryget_socket API in lwIP 1.4.1.
2017-11-13 21:09:19 +08:00
SummerGift
7a19d911e9
add lwip_tryget_socket
2017-11-13 19:06:20 +08:00
tangyuxin
6127313514
[audio]update audio/audio_pipe.h
2017-11-13 17:11:54 +08:00
Bernard Xiong
d3e72e7498
Merge pull request #981 from enkiller/modify_usb_stack_
...
[usb]update usb stack
2017-11-13 14:25:51 +08:00
Bernard Xiong
f0bc0f8fd4
Merge pull request #986 from SummerGGift/1013_patch_2
...
[Libc] add components/libc/compilers/armlibc/time.c
2017-11-13 14:20:11 +08:00
DengQilong
e79f9e6b02
fix bsp for lpc54608
2017-11-13 14:18:05 +08:00
SummerGift
0363220042
add components/libc/compilers/armlibc/time.c
2017-11-13 09:53:08 +08:00
tangyuxin
cc54e0a74e
[usb]update usb stack
2017-11-11 10:53:08 +08:00
tangyuxin
f7a6078c5c
[audio]新版本pipe导致audio编译错误,添加以前的pipe
2017-11-10 19:50:29 +08:00
MurphyZhao
e466357c7f
[Fix] Fix building error when `PKG_USING_CJSON` is not defined
...
[Mod] Modify wifi_usage help message
2017-11-09 17:24:26 +08:00
tanek liang
99e5e90c40
[DeviceDrivers] support using RT_USING_MTD_NOR and RT_USING_MTD_NAND at the same time
2017-11-09 16:50:20 +08:00
JasonJiaJie
ef219c20c2
[Driver][Pipe]Memory leak issue when close a pipe.
...
There is a memory leak issue when close a pipe.
2017-11-09 16:49:46 +08:00
MurphyZhao
024e3ea8f6
[Fix] Fix issue caused by global info and local info in wlan/wlan_cmd.c
...
[Add] Change network_mode value according to the finsh shell command
2017-11-09 13:13:32 +08:00
SummerGift
4dfabdcb0a
add components/libc/compilers/armlibc/dirent.h
2017-11-09 13:07:58 +08:00
armink
ba2f149a4c
[DeviceDriver] Change `pin_irq_enable` to `rt_pin_irq_enable`.
2017-11-08 00:05:46 +08:00
JasonJiaJie
75c6c40a64
[DeviceDriver][serial]Fix data bits error issue when using tcsetattr to set uart parameters.
...
data bits should get from CSIZE.
2017-11-07 15:35:20 +08:00
Bernard Xiong
6ccebe19d5
[DeviceDrivers] Fix compiling issue in MMC/SD.
2017-11-06 20:11:25 +08:00
Bernard Xiong
d6c794ae78
Update KConfig
2017-11-06 20:01:35 +08:00
tangyuxin
68279a2ac2
[gui]移除头文件"image_jpeg.h"
2017-11-06 18:24:42 +08:00
Bernard Xiong
22f9486b44
Merge pull request #960 from enkiller/add_image_h
...
[gui]包含"image.h"文件,解决未定义"struct rtgui_image_engine"问题
2017-11-06 17:38:35 +08:00
tangyuxin
914a43925b
[gui]包含"image.h"文件,解决未定义"struct rtgui_image_engine"问题
2017-11-06 17:29:54 +08:00
Bernard Xiong
364a223f36
Merge pull request #958 from enkiller/modify_gui_libraries_SConscript
...
[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
2017-11-06 17:24:18 +08:00
tangyuxin
cbca37dd1d
[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
2017-11-06 17:14:42 +08:00
tangyuxin
d9032677ac
[gui]更改"JPEG"和"PNG"选项为多选一模式
2017-11-06 16:59:48 +08:00
weety
e4dd86a1b7
[DRIVER][SDIO] Add components initializer.
2017-11-05 21:41:43 +08:00
Bernard Xiong
9bd094197e
[libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options.
2017-11-05 14:36:48 +08:00
Bernard Xiong
6be1bd1c89
Merge pull request #951 from enkiller/gui_modify_Kconfig
...
[gui]Kconfig Add options 'RTGUI_IMAGE_CONTAINER'
2017-11-04 14:49:53 +08:00
Bernard Xiong
babc1a1990
Merge pull request #950 from enkiller/gui_modify_SConscript
...
[gui]修改 SConscript 文件。 RT_USING_RTGUI -> RT_USING_GUIENGINE
2017-11-04 14:49:29 +08:00
tangyuxin
90d0f3592d
[gui]Kconfig Add options 'RTGUI_IMAGE_CONTAINER'
2017-11-04 14:46:50 +08:00
tangyuxin
a8e3f14653
[gui]修改 SConscript 文件。 RT_USING_RTGUI -> RT_USING_GUIENGINE
2017-11-04 14:42:26 +08:00
tangyuxin
1a2bb037c7
[gui]Update freetype library to version 2.6.2
2017-11-04 14:23:09 +08:00
Bernard Xiong
633507228a
Merge pull request #948 from enkiller/gui_img_hdc_c
...
[gui]解决不使用fastlz包时,GUI解码fastlz压缩的hdc格式图片,系统会宕机问题
2017-11-04 14:08:54 +08:00
tangyuxin
9a47193bcd
[gui]解决不使用fastlz包时,GUI解码fastlz压缩的hdc格式图片,系统会宕机问题
2017-11-04 14:06:41 +08:00
tangyuxin
fe6e8c1e71
[GUI]解决找不到image_png.h的问题
2017-11-04 13:29:24 +08:00
bernard
75b46cf22b
[DeviceDrivers] Add RT_USING_POSIX condition for pipe.
2017-11-03 21:09:04 +08:00
bernard
28433d9d54
[lwIP] Fix the compiling warning for lwip-1.4.1
2017-11-03 21:08:31 +08:00
bernard
bbe6425f94
[KConfig] Update Kconfig
...
1. Change the type of RT_DEBUG_THREAD to int;
2. Add Kconfig of VBUS.
2017-11-03 21:08:00 +08:00
Bernard Xiong
bdfb40e761
Merge pull request #945 from enkiller/modify_lwip_rx_is_null
...
[lwip]判定eth_rx是否为空,为空不执行。
2017-11-03 12:22:57 +08:00
tangyuxin
28855d4fb5
[lwip]判定eth_rx是否为空,为空不执行。
2017-11-03 11:49:18 +08:00
bernard
e453f36841
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-11-03 11:45:19 +08:00
bernard
6d9fcd04d2
[Kernel] Change the order of initialization.
...
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item
in the initalization thread.
2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
2017-11-03 11:44:37 +08:00
Bernard Xiong
37e34006e2
Merge pull request #939 from zhaojuntao/murphy
...
[wlan cmd][lwip ip addr] modify
2017-11-02 18:03:32 +08:00
ArdaFu
9ba62ab5e6
[components][net] Fix the bug that missing define RT_LWIP_IPADDR/MASKADDR/GWADDR when disable DHCP.
2017-11-02 15:34:37 +08:00
bernard
b2057f506a
[External] Remove external from RT-Thread
2017-11-02 13:50:42 +08:00
Bernard Xiong
32c926a097
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-11-01 21:13:23 +08:00
MurphyZhao
74759197b0
fix rt_kprintf %s no value problem
2017-11-01 19:47:37 +08:00
tanek liang
be48c3c419
[libc] fix time () not found when no RT_USING_RTC defined
2017-11-01 19:20:01 +08:00
Bernard Xiong
832d8b4e04
Merge pull request #927 from armink/fix_shell
...
[Finsh] Fix an auto complete history bug.
2017-11-01 13:44:56 +08:00
Bernard Xiong
8b2919aff1
[DeviceDrivers] change the type of cmd to 'int'
2017-11-01 13:39:36 +08:00
Bernard Xiong
85b17e9158
[logtrace] change the type of cmd to 'int'
2017-11-01 13:38:10 +08:00
Bernard Xiong
6cdaa43747
[lwIP] use timeval in libc when minilibc is used
2017-11-01 13:37:40 +08:00
armink
82b7ecda06
[Finsh] Fix an auto complete history bug when current line is contained in last cmd.
2017-11-01 10:25:17 +08:00
Bernard Xiong
42e374e4f4
[lwIP] use libc struct timeval when enable minilibc
2017-11-01 09:14:49 +08:00
bernard
b3d872740b
[libc] Fix the typedef in minilibc.
2017-10-31 10:24:11 +08:00
bernard
756bfcc5e2
Update Kconfig.
...
1. Add IPADDR/GWADDR etc;
2. Add Kconfig for libcpu.
2017-10-31 09:54:23 +08:00
bernard
bc2abf69e2
[DFS] Fix the ramfs issue.
2017-10-31 09:53:22 +08:00
bernard
7d673f921c
[libc] Adjust libc.
...
1. Move struct stat to libc_stat.h;
2. Defined a new FD_SET macros in libc_fdset.h.
2017-10-31 09:52:49 +08:00
aozima
f75c8f6e81
update SConscript: support scons 3.
2017-10-29 14:32:53 +08:00
ArdaFu
384b6c738a
[net][lwip] Add missing reference file for LWIP 1.4.1
2017-10-27 09:44:38 +08:00
bernard
1d8636b7f4
[DFS] Code cleanup.
2017-10-25 18:42:06 +08:00
bernard
cc9667b7a9
[DFS] Fix the RAMFS compiling issue.
2017-10-25 18:41:53 +08:00
bernard
1f76e1b8ec
[lwIP] Use RT_LWIP_IPADDR/GWADDR/MSKADDR
...
Use RT_LWIP_IPADDR/GWADDR/MSKADDR to replace old options:
RT_LWIP_GWADDR0/1/2/3 etc.
2017-10-25 17:37:59 +08:00
bernard
67fff44fdd
[DFS] Fix the UFFS compiling issue.
2017-10-25 16:23:02 +08:00
bernard
5bc690336b
[DFS] Fix the romfs compiling issue.
2017-10-25 14:21:49 +08:00
bernard
4b2a3d02f3
[DeviceDrivers] Add wifi device/cmd.
2017-10-25 07:37:26 +08:00
bernard
d9592457fb
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-10-25 07:25:39 +08:00
bernard
0d45288f06
[libc] Add mode_t in rtlibc.h for Keil MDK/IAR.
2017-10-25 07:25:24 +08:00
SummerGift
2e124994c6
update lwipdhcpd scons groupname
2017-10-24 11:58:55 +08:00
armink
b4168cc60d
[DFS] Fix `fd_new` failed return value.
2017-10-22 22:14:55 +08:00
Bernard Xiong
b4831fbde4
[libc] disable minilibc under simulator
2017-10-22 17:07:38 +08:00
MiraculousConch
8c334d9ab8
[DeviceDrivers]添加pin开漏和下拉输入宏
...
[DeviceDrivers]添加pin开漏和下拉输入宏
2017-10-20 14:36:01 +08:00
MiraculousConch
bdc01934d2
Merge remote-tracking branch 'upstream/master'
2017-10-20 14:24:32 +08:00
MiraculousConch
c564605c98
[DeviceDrivers]添加pin开漏和下拉输入宏
...
[DeviceDrivers]添加pin开漏和下拉输入宏
2017-10-20 14:22:10 +08:00
MiraculousConch
000a0388d5
Revert "STM32F10x HAL库的bsp分支"
...
This reverts commit cfa87cf938
.
2017-10-20 14:17:47 +08:00
Bernard Xiong
fbe3a4d1db
Merge pull request #886 from weety/rtt3_0_dm365
...
[BSP] use main() in dm365 bsp.
2017-10-20 12:42:58 +08:00
weety
5150e19d4b
[bsp][dm365] Support rt_hw_console_output function; Adjust the initialization sequence; Cleanup code.
...
[drv][mmcsd] Undo Changes.
2017-10-20 11:19:03 +08:00
MiraculousConch
cfa87cf938
STM32F10x HAL库的bsp分支
...
增加了pin设备的模式开漏和下拉
添加的HAL库的bsp分支
2017-10-20 03:28:13 +08:00
weety
dd5ac17fc8
[bsp][dm365] Using component initial;
...
[drv][mmcsd] Add component initial.
2017-10-19 19:14:06 +08:00
Bernard Xiong
e448ecc6ad
Merge pull request #882 from armink/fix_rtservice
...
[rtservice] Add `rt_list_len` and `rt_slist_len` to rtservice.h .
2017-10-19 16:33:07 +08:00
armink
d3ac388846
[rtservice] Add `rt_list_len` and `rt_slist_len` to rtservice.h .
2017-10-19 09:28:17 +08:00
armink
137a65a6ce
[libc] Remove `RT_USING_POSIX_STDIN` in libc.
2017-10-18 20:20:41 +08:00
bernard
a8a7d60877
[DeviceDrivers] Remove compiling warning in workqueue.
2017-10-18 09:29:30 +08:00
bernard
b3fff25b05
[NET] Disable DHCPD in default.
2017-10-17 22:45:12 +08:00
bernard
d118852314
[finsh] code cleanup and use RT_USING_POSIX to replace RT_USING_POSIX_STDIN.
2017-10-17 22:28:05 +08:00
bernard
9b87270682
[libc] Add intptr_t/uintptr_t in minilibc.
2017-10-17 22:27:26 +08:00
bernard
8a38307e2c
[libc] Add RT_USING_POSIX macro.
...
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
bernard
a437ffbf3e
[libc] code cleanup for termios.
2017-10-17 22:24:23 +08:00
bernard
41f3d1f9de
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-10-17 17:53:07 +08:00
bernard
19aa36e830
[DeviceDrivers] Add sync mode in work queue.
2017-10-17 17:53:01 +08:00
ArdaFu
b72bdefa46
[DFS][NFS] Fix compile error. Move nfs_file/nfs_dir data ptr into struct nfs_filesystem.
2017-10-17 13:53:39 +08:00
bernard
53227b6a74
[lib] Fix the compiling warning in libc.
2017-10-17 09:48:35 +08:00
bernard
5d9217ebe1
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-10-17 09:45:25 +08:00
bernard
3c0fbf0c7e
[finsh] Fix the C99 issue.
2017-10-17 09:45:17 +08:00
Bernard Xiong
591339e7a8
[BSP] fix compiling issue
2017-10-16 19:16:10 +08:00
ArdaFu
fc7abc6580
[components][drivers] Check macro "RT_USING_DFS" when using DFS relative method/functions.
2017-10-16 15:12:35 +08:00
ArdaFu
8394554fca
[components][net] In SConscript file, replace RT_USING_LWIP140 with RT_USING_LWIP141
2017-10-16 15:01:44 +08:00
bernard
5e3b3b19a6
[BSP] change the type of cmd.
...
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
bernard
68d01f8261
[VBUS] change cmd type to 'int'
2017-10-15 23:01:03 +08:00
bernard
bff7afca12
[cplusplus] Add newline in the end of file.
2017-10-15 23:00:47 +08:00
bernard
a8e0711a6b
[lwIP] Remove RT_LWIP_USING_RT_MEM
...
1. Remove RT_LWIP_USING_RT_MEM option;
2. Add waitqueue patch for lwIP 2.0.2;
2017-10-15 23:00:21 +08:00
bernard
d7087fdd3b
[DeviceDrivers] change cmd type.
...
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
2017-10-15 22:56:46 +08:00
bernard
0f5a68a55e
[dfs] add poll/select
...
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
bernard
5c7b16d00b
[libc] Update libc.
...
1. Add POSIX termios implementation;
2. Add POSIX signals implementation;
3. Add stdio for each libc.
2017-10-15 22:41:59 +08:00
bernard
8bdf993bfc
[libc] Build correct SConscript file.
2017-10-13 12:44:54 +08:00
bernard
444915d1ea
[finsh] Add RT_USING_POSIX_STDIN options.
2017-10-13 11:50:18 +08:00
armink
c123451585
[Finsh] Stop push new history when current cmd is same as last cmd.
2017-10-13 10:21:40 +08:00
bernard
db88c0b6a2
[libc] Change libc stubs to compiler folder.
2017-10-10 17:12:03 +08:00
bernard
e7f888e24b
[lwIP] remove lwip-2.0.0
2017-10-10 16:50:40 +08:00
bernard
95ab8c02aa
[finsh] Use standard uint type for data type.
...
Use uint8_t/uint32_t etc to replace u_char/u_long etc;
Use getchar for shell input.
2017-10-10 14:27:34 +08:00
bernard
3a21108ff1
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-10-10 00:20:52 +08:00
bernard
01108b5252
[GUI] Update GUI engine code and add Kconfig file.
2017-10-10 00:17:58 +08:00
armink
00c154ccdb
[lwIP] Fix the lwIP 2.0.2 IAR compile error when the `RT_LWIP_USING_RT_MEM` macro is not defined.
2017-10-09 22:10:51 +08:00
bernard
9122edd57c
[Kconfig] Add more descrip for Kconfig
2017-10-09 15:12:42 +08:00
SummerGift
f065e8cbd8
[添加]:配置宏RT_DFS_ELM_WORD_ACCESS。
2017-10-09 14:22:09 +08:00
SummerGift
17d64d0bff
[修改]:修改rtt中的kconfig。
2017-10-09 14:22:08 +08:00
SummerGift
757613866e
[修改]:漏掉了endif导致endmenu失效。
2017-10-09 14:22:07 +08:00
Bernard Xiong
49aa0c468a
Update KConfig
2017-10-06 11:01:04 +08:00
Bernard Xiong
8d169a8b19
Merge pull request #862 from armink/fix_kconfig
...
Fix kconfig
2017-10-06 10:59:53 +08:00
yygg_you
d428166f08
修复 mkfs失败的错误
2017-10-06 09:01:56 +08:00
armink
9d54556619
[KConfig] Change the RT_DFS_ELM_USE_LFN cfg to choice.
2017-10-05 16:20:21 +08:00
armink
fdd0ffb182
[KConfig] Add RT_USING_NETUTILS configuration for network.
2017-10-05 15:24:45 +08:00
armink
053d18e704
[KConfig] Add RT_LWIP_RAW and RT_LWIP_USING_RT_MEM configuration for LWIP.
2017-10-05 15:07:17 +08:00
armink
9ff340f416
[KConfig] Add long file name configuration for FATFS.
2017-10-05 14:52:16 +08:00
armink
25c859912a
[DeviceDriver] Update SFUD to latest version.
2017-09-29 17:00:19 +08:00
armink
f7a85a9f99
[KConfig] Add SFUD KConfig.
2017-09-29 16:57:17 +08:00
xieyangrun
6b06cb83e3
rename WEAK to RT_WEAK
2017-09-18 11:32:13 +08:00
tanek liang
97c8b00206
[LWIP] enable auto init in lwip-2.0.2
2017-09-06 10:06:15 +08:00
Bernard Xiong
d32e78a4cd
Merge pull request #836 from armink/update_sfud
...
[DeviceDriver] Update SFUD to latest version V1.0.1.
2017-08-30 21:35:06 +08:00
armink
93db99678b
[DeviceDriver] Update SFUD to latest version.
2017-08-30 21:28:59 +08:00
armink
c36a628ff4
[Finsh] Fix finsh password auth not valid when RT_DEBUG is not definition.
2017-08-30 20:42:36 +08:00
Aubr.Cool
44bac92a93
[Components]drivers can change txcompletion to sem
2017-08-30 08:00:36 +08:00
Bernard Xiong
1f45d8c723
Merge pull request #822 from parai/upstream
...
x86: bring up share object module on i386 machine
2017-08-21 09:30:17 +08:00
parai
2957cf6f52
x86: bring up share object module on i386 machine
...
1. upddate kernel module to support i386
2. update libdl to support open *.so by absolute path
3. new test case bsp/x86/src/hello.c to test i386 module feature
Signed-off-by: parai <parai@foxmail.com>
2017-08-20 20:24:07 +08:00
Bernard Xiong
76a79f20d9
Merge pull request #817 from armink/fix_lwip_tftp
...
[lwIP] Fix LwIP 2.0.2 tftp
2017-08-20 11:32:13 +08:00
Bernard Xiong
c0338d566c
Merge pull request #816 from SummerGGift/master
...
[Device Drivers] delete an useless %s.
2017-08-20 11:31:40 +08:00
armink
e515408d00
[Libc] Add some errno to `armlibc/sys/errno.h`.
2017-08-20 10:47:53 +08:00
armink
548f0e9e8f
[LWIP] Remove `src/netif/slipif.c` on `lwip-2.0.2/SConscript`.
2017-08-20 10:08:26 +08:00
armink
db1eb96a49
[Libc] Change tabs to 4 spaces on `armlibc/sys/errno.h'.
2017-08-20 09:52:57 +08:00
armink
22c7660dfb
[LWIP] Remove `RT_USING_NETUTILS` in LwIP 2.0.2 SConscript.
2017-08-19 22:46:19 +08:00
armink
83616c9f2b
[LWIP] Add tftp max file name len config to LwIP 2.0.2 `lwipopts.h` .
2017-08-19 20:22:08 +08:00
armink
38ca426626
[LWIP] Fix lwip 2.0.2 TFTP server file name trans error.
2017-08-19 20:20:05 +08:00
SummerGift
cfc3b76438
delete a useless %s.
2017-08-19 10:04:04 +08:00
armink
a97d70066b
[LWIP] Add LwIP apps SConscript.
2017-08-18 12:10:28 +08:00
armink
871297747a
[LWIP] Move net apps to `LwIP/src/apps`.
2017-08-18 11:53:11 +08:00
armink
5910ae4170
[NET] Add telnet app to netutils.
2017-08-18 11:32:25 +08:00
Bernard Xiong
9388f7882f
Merge pull request #808 from armink/fix_lwipopts
...
[LWIP] Update LwIP 2.0.2 opts header file for rtt.
2017-08-18 07:56:02 +08:00
armink
e6f6d9ea81
[LWIP] Update LwIP 2.0.2 opts header file for rtt.
2017-08-18 07:51:22 +08:00
armink
501f9814f1
[LWIP] Add lwip 2.0.2 TFTP server to SConscript.
2017-08-17 15:59:58 +08:00
armink
b1362405e2
[LWIP] Add TFTP server to LWIP 2.0.2 .
2017-08-17 15:56:33 +08:00
armink
c01352da91
[LWIP] Fix lwip 2.0.2 TFTP server file name trans error.
2017-08-17 13:31:10 +08:00
yygg_you
94746d8e5f
audio驱动使用系统内的dataqueue,修复一些缩进,乱码
2017-08-16 01:17:06 +08:00
armink
640fd7d872
[Net] Add `RT_USING_NETUTILS` to LwIP 2.0.2 SConscript.
2017-08-10 16:54:42 +08:00
armink
ca6b74200c
[Net] Add telnet test app to LwIP 2.0.2 .
2017-08-10 16:54:00 +08:00
armink
1d4db58916
[Net] Add ping test app to LwIP 2.0.2.
2017-08-10 16:41:20 +08:00
armink
0727ea25ae
[libc] Change tabs to 4 spaces on dlib 'errno.h'.
2017-08-07 13:25:50 +08:00
armink
5b35327966
[Libc] Add some errno to dlib.
2017-08-07 13:15:46 +08:00
Bernard Xiong
5ea03f5e12
Merge pull request #787 from emlslxl/master
...
[log trace] add log_file flush function
2017-08-06 12:04:05 +08:00
emlslxl
3007b34ad3
add log_file flush function
2017-08-04 12:46:23 +08:00
armink
0742338fa7
[LWIP] Fix lwip 2.0.2 link status problem when the eth isn't linkup at the first time.
2017-08-01 11:35:42 +08:00
armink
09f9fcaaa6
[DeviceDriver] Fix rw009 WiFi module auto reconnect feature.
2017-07-28 08:20:31 +08:00
Bernard Xiong
5148b9ff27
Merge pull request #766 from AubrCool/fix-stm32f10x.wdt
...
[BSP] stm32f10x add watchdog driver
2017-07-20 18:01:46 +08:00
Aubr.Cool
2c1ee84347
BSP stm32f10x add watchdog driver
2017-07-20 11:56:21 +08:00
Aubr.Cool
8f4e80669b
[Components] driver i2c add fm24clxx drv
2017-07-20 11:55:27 +08:00
Aubr.Cool
e4fea38726
[Components] correct msh argc too many error
2017-07-19 15:34:15 +08:00
ruiqian
465fdfc2ff
Update sdio.c
2017-07-04 00:50:48 +08:00
ruiqian
0a798b33a5
Update mmcsd_core.c
2017-07-04 00:50:25 +08:00
ruiqian
bf48d2b745
Update sdio.h
2017-07-04 00:49:50 +08:00
ruiqian
1590e38f46
Update mmcsd_host.h
2017-07-04 00:49:23 +08:00
ruiqian
ae8ca61051
Update mmcsd_card.h
2017-07-04 00:48:53 +08:00
FlyLu
fe457da958
[DeviceDrivers]Fix continuous write page bug for spi_flash_at45dbxx driver
2017-06-15 16:05:34 +08:00
bernard
b47994cb42
Add more checking for SConscript files of libc.
2017-06-15 14:38:39 +08:00
bernard
6515dc238c
[finsh] Add checking the result of chdir.
2017-06-15 14:37:56 +08:00
bernard
bc0fbbfe82
[DFS] change the cmd to long data type.
2017-06-15 14:37:18 +08:00
bernard
b7cf723162
[DFS] code cleanup
2017-06-15 14:36:59 +08:00
bernard
6e63cbb9be
[DFS] "console" device check.
...
[DFS] To make sure the "console" device exist or not when initialize
console device.
2017-06-15 14:36:40 +08:00
pinhaozhang
1330a70207
modified: components/libc/newlib/libc.c
2017-06-09 12:18:40 +08:00
bernard
ef88241d8e
Fix compiling warning for Win32.
2017-06-06 23:34:33 +08:00
bernard
0acf441836
Fix compiling warning for Win32.
2017-06-06 23:34:01 +08:00
bernard
380754f4fd
[GUI Engine] Add SConscript for libraries.
2017-06-06 18:24:38 +08:00
bernard
128b265848
[DeviceDrivers] codec cleanup.
2017-06-06 18:20:41 +08:00
bernard
3101ba8ac8
[DFS] Add fd checking in dfs_file_close API.
2017-06-06 18:19:32 +08:00
bernard
8ee0bf8908
Add KConfig for C++ feature.
2017-06-06 18:19:06 +08:00
bernard
ae6ca7bb02
KConfig cleanup.
2017-06-06 18:18:44 +08:00
bernard
c1926d3af7
[DeviceDrivers] Improve compatibility for SDIO CCCR v3.00.
2017-06-06 18:18:03 +08:00
Bernard Xiong
02607c85ac
[GUI Engine] change directory for image and font.
2017-06-05 17:36:45 +08:00
Urey
2426efe6b7
delete volatile
2017-05-26 21:05:10 +08:00
Urey
0e82a5b821
fix f_mount when mount more fats
2017-05-26 21:02:59 +08:00
armink
99911a4c6f
[DeviceDriver] Make uart rx DMA FIFO to use the FIFO full flag.
2017-05-24 08:59:33 +08:00
armink
14728ff4ae
[DeviceDriver] Add full flag to rt_serial_rx_fifo.
2017-05-24 08:51:00 +08:00
weety
a818ba0e2d
update cplusplus support code.
2017-05-19 21:41:43 +08:00
Bernard Xiong
e760d655b1
Merge pull request #735 from JianRuiqian/master
...
[lwIP] Update ethernetif.c
2017-05-15 23:24:45 +08:00
ruiqian
da9688df86
Update dhcp_server.c
2017-05-15 22:27:51 +08:00
ruiqian
8c52d5fdf2
Update ethernetif.c
2017-05-15 13:18:41 +08:00
Bernard Xiong
cf6dfec55b
Update SConscript
2017-05-12 15:46:25 +08:00
Bernard Xiong
3aa9796496
Merge pull request #732 from yygg/master
...
[DeviceDrivers] Add audio driver.
2017-05-07 08:17:32 +08:00
ArdaFu
707540a8d3
[libc] Add dummy _gettimeofday function when hardware do not have the RTC.
2017-05-05 17:52:39 +08:00
xools
8be3552036
refine BYTE_ORDER macro
2017-04-22 22:42:36 -07:00
xools
3cad43fc05
add lwip-2.0.2 compile compatibility
2017-04-22 22:39:09 -07:00
ruiqian
f136f8895a
Update sdio.c
2017-04-19 20:03:11 +08:00
ruiqian
24185f4721
Update sdio.c
...
Fix a bug in function sdio_unregister_driver
2017-04-19 19:43:40 +08:00
xools
5b50c7e41b
fix fattime different from elmfat definition
2017-04-16 16:13:15 -07:00
Bernard Xiong
56fbe947be
Merge pull request #717 from armink/modbus_update
...
[net] Modbus update KConfig.
2017-04-14 13:48:54 +08:00
armink
c8ae11c428
[Modbus] Add KConfig for Modbus.
2017-04-14 13:39:28 +08:00
armink
be18a1d0e7
[Modbus] Update the code to the latest version.
2017-04-12 19:27:42 +08:00
lizhen9880
d883f7e23b
fix the f_bsize and f_blocks issue in function dfs_uffs_statfs
2017-04-12 14:32:12 +08:00
lizhen9880
3e6f64fe7a
the file description is modified to local variable in function
...
static void copydir(const char * src, const char * dst)
2017-04-12 10:53:53 +08:00
Bernard Xiong
5502558df9
[DFS] fix the st_blksize issue in elm fatfs.
2017-04-11 09:33:25 +08:00
Bernard Xiong
0a0f04069a
Merge pull request #707 from qiaoqidui/master
...
[SQLite] fix fdatasync bug
2017-03-29 16:59:40 +08:00
HuangXiHans
9487f68f2b
Add lwip-2.0.2 TCP/IP Stack
2017-03-27 11:00:48 +08:00
qiaoqidui
fe56fad9e5
fix fdatasync bug
2017-03-25 14:32:37 +08:00
Bernard Xiong
5e98c690a1
Merge pull request #700 from hichard/hichard
...
[DFS] update elm fatfs to 0.12b version.
2017-03-20 19:19:44 +08:00
Bernard Xiong
54c5b83c14
Merge pull request #704 from AubrCool/fix-pin.driv.add.irq.apis
...
[DeviceDrivers] pin: add irq APIs.
2017-03-18 11:46:27 +08:00
armink
afe3b16106
[DeviceDrivers] Enhanced serial DMA rx driver reliability.
2017-03-17 13:25:19 +08:00
yygg
c046b78f07
添加 audio设备驱动
2017-03-14 11:07:20 +08:00
Aubr.Cool
aa8e5cc412
[components] drivers pin irq change apis
2017-03-14 10:28:29 +08:00
Aubr.Cool
320b116b5f
[Components] Drivers: pin add irq apis
2017-03-10 15:07:28 +08:00
Bernard Xiong
c442db81fc
[DeviceDrivers] Fix the re-work issue in workqueue.
2017-02-27 00:58:11 +08:00
Bluebear233
1e6137268d
Update i2c_core.c
...
修复I2C读写函数,I2C传输失败时返回成功的问题
2017-02-20 11:32:13 +08:00
unknown
6ee81de429
hichard
2017-02-13 22:33:15 +08:00
urey@ez-iot.com
564e7aefce
添加 w25 mtd设备驱动
2017-02-13 19:37:53 +08:00
bernard
eb2c098197
[C++] Add C++ interface for RT-Thread kernel.
2017-01-31 13:19:18 +08:00
bernard
355b926e89
[lwIP] fix lwip 2.0.0 compiling issue.
2017-01-31 13:18:03 +08:00
bernard
c53389e46f
[finsh] Add lwip 2.0.0 support.
2017-01-31 13:17:34 +08:00
bernard
b4757b950f
[DeviceDrivers] Add critical_work for wqueue.
2017-01-31 13:17:04 +08:00
bernard
385792bb68
[DeviceDrivers] Add SDIO_CCCR_REV_3_00 definition.
2017-01-31 13:16:34 +08:00
bernard
876a9148e7
[C++] Add WEAK for cplusplus_system_init routine.
2017-01-31 13:16:01 +08:00
bernard
924fc4fa88
[net] Add KConfig for net.
2017-01-31 11:55:49 +08:00
bernard
d692001fd5
[tools] Add KConfig files.
2017-01-31 11:54:12 +08:00
bernard
cb61d1ffbc
[lwIP] update net/SConscript for lwip 2.0.0
2017-01-31 11:22:52 +08:00
bernard
685c189d0b
[lwIP] remove lwip-head and add lwip-2.0.0
2017-01-31 11:08:58 +08:00
Aubr.Cool
6fa8bfd92a
prevent change serial rx bufsz when serial is opened
2017-01-19 14:27:05 +08:00
armink
72e4efb46e
[finsh]Improve the set password.
2016-11-26 16:45:54 +08:00
armink
8ff7529039
[finsh] Add password authentication. Increased input security.
2016-11-26 15:23:12 +08:00
armink
e379b4d2a4
[pthreads]Add component init for pthread_system_init.
2016-11-12 21:46:17 +08:00
Bernard Xiong
e1ae4706cd
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2016-11-08 09:21:55 +08:00
Bernard Xiong
2d7486fcc0
[pthreads] Fix the sem_trywait issue.
2016-11-08 09:21:32 +08:00
Bernard Xiong
90f1939ead
Merge pull request #676 from armink/bug_fix
...
[DeviceDriver] fix the dataqueue issues.
2016-11-03 21:33:30 +08:00
Bernard Xiong
712c0673fb
[pthreads] Fix the phread_mutex_trylock issue for not recursive mutex.
2016-11-03 15:38:51 +08:00
armink
aa662dccef
[DeviceDrivers]Remove dataqueue waiting_lwm flag
2016-11-02 08:40:30 +08:00
armink
c414bdaac8
[DeviceDrivers]Modify the dataqueue comments.
2016-11-02 08:17:24 +08:00
armink
6fe47a9537
[DeviceDrivers]Improve dataqueue resume suspended thread code. Thanks for @grissiom suggestion.
2016-10-31 15:08:55 +08:00
armink
0970cf03a4
[DeviceDrivers]Reset dataqueue waiting_lwm flag when suspended_push_list is empty
2016-10-31 14:47:48 +08:00
armink
bda6543305
[DeviceDrivers]Fix dataqueue irq not resume bug.
2016-10-29 14:35:07 +08:00
armink
7860ea4f83
[DeviceDrivers]Fix dataqueue calculate put and get buffer index bug.
2016-10-19 10:54:22 +08:00
armink
f2c31eebb5
[DeviceDrivers]Fix dataqueue's bug when push data is timeout the lwm flag isn't reset.
2016-10-19 10:49:42 +08:00
armink
270285217d
[DeviceDrivers]Make sure rt_sfud_flash_probe device must be SPI device.
2016-10-14 22:51:18 +08:00
armink
a4bc38ad6b
[DeviceDrivers]Update SFUD library to lastest version.
2016-10-14 22:48:36 +08:00
armink
b2e14f7641
[DeviceDrivers]Modify SFUD's config for suitable more compilers.
2016-10-10 20:26:21 +08:00
armink
32bf9e29b7
[DeviceDrivers]Change SFUD 'sf' command tips.
2016-10-10 20:10:41 +08:00
armink
1d71f58350
[DeviceDrivers]Add SPI flash probe and delete function to SFUD driver.
2016-10-10 10:24:30 +08:00
armink
16dad06fc7
[DeviceDrivers]Add SFUD(Serial Flash Universal Driver) SPI Flash driver for using RTT device. It makes RT-Thread support more type SPI Flash.
2016-10-09 09:06:01 +08:00
Bernard Xiong
6d1787e5dc
Merge pull request #668 from yygg/master
...
Update ethernetif.c
2016-09-23 18:05:42 +08:00
Urey
8979d70a69
Update ethernetif.c
...
if device->eth_rx is NULL ,rx thread will hard fault...
2016-09-23 17:00:31 +08:00
gbcwbz
5941d73604
Convert tab into spaces
2016-09-07 23:45:39 +08:00
gbcwbz
517e909c3d
[finsh]Align title and content in list_* cmd
2016-09-07 23:24:12 +08:00
zhangjun
c9591f825c
增加rt_strnlen,lua采用单独的线程
2016-08-12 22:19:52 +08:00
zhangjun
65ac4a0810
增加rt_strnlen,lua采用单独的线程
2016-08-12 22:14:07 +08:00
zhangjun
891050cb3d
在msh和fnish中均可调用lua,可将lua脚本作为参数传入
2016-08-11 18:53:30 +08:00
Roamboy
29411bca71
IAR编译器dlib __close,__lseek hanle传入正确值
2016-08-05 21:10:29 +08:00
Urey
6d14e1390c
Update SConscript
2016-07-13 10:49:21 +08:00
Bernard Xiong
108ba3b371
[finsh] change display format for list_thread.
2016-07-13 09:37:51 +08:00
Bernard Xiong
60e36defc4
[libc] Add CodeSourcery G++ lite check.
2016-07-13 09:37:51 +08:00
Bernard Xiong
47f0798079
[C++] Add _init/_fini routines for GCC
2016-06-28 08:24:26 +00:00
Bernard Xiong
99481cd0ac
[DeviceDrivers] uart configure issue.
...
uart configure shall not been performed if uart is not open.
2016-06-13 13:31:13 +08:00
Bernard Xiong
45c7f03035
[finsh] Fix object name issue in list_* cmd.
2016-06-13 13:29:18 +08:00
Bernard Xiong
4d93c31cce
Revert "[finsh] Beautify all list object information command."
...
This reverts commit cd3b0cfff5
.
2016-06-13 11:08:23 +08:00
armink
cd3b0cfff5
[finsh] Beautify all list object information command.
2016-06-04 11:03:30 +08:00
armink
cbbe5a6edd
[finsh] Beautify the list_thread command.
2016-06-02 17:06:41 +08:00
armink
1bd8d0f75e
[finsh] Beautify the list_thread command.
2016-06-02 14:29:44 +08:00
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
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
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
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
bernard
a58593f784
[libc] code cleanup.
2014-06-25 17:20:57 +08:00
Bernard Xiong
d10444337b
[lwIP] code cleanup
2014-06-24 15:14:39 +08:00
Bernard Xiong
bf733ae2aa
[LwIP] Fix the MEMP_NUM_TCP_SEG issue.
2014-06-24 14:49:33 +08:00
Grissiom
aca8f8eb2d
shell: print the ref count in `list_device`
2014-06-18 11:18:43 +08:00
aozima
7a0e9c3fc7
format code Astyle.
2014-06-14 21:55:51 +08:00
aozima
9ab59cf1e0
used parameter: size.
2014-06-14 21:54:59 +08:00
aozima
f296c582a5
fixed bug: close socket when ping() exit.
2014-06-14 21:49:46 +08:00
Bernard Xiong
cde9139bc5
[Finsh] Fix '0' token issue.
2014-05-05 13:51:26 +08:00
bernard
c980bdc9e9
[External] Merge LodePNG and TJPGD into RT-Thread GUI group in building script.
2014-04-25 05:52:15 +08:00
bernard
bd2b9c54bd
Add LodePNG library.
2014-04-20 10:09:55 +08:00
Grissiom
5ad58a59a4
minilibc: no double braces in if statement
2014-04-12 16:58:17 +08:00
Grissiom
a95370aa56
msh: remove usless ptr set
...
The ptr is set in the following code. So remove the first one.
2014-04-12 16:57:14 +08:00
Grissiom
ec4b865579
finsh: add check on converting octal numbers
...
The digit in octal numbers should with in 0~7. Check on it in
token_proc_number. This issue is found by Clang.
2014-04-12 16:55:00 +08:00
Grissiom
1422569e7c
pthreads: remove some useless variables
2014-04-12 16:54:20 +08:00
Grissiom
4b7e9c6447
dfs: assert the path is not null in dfs_filesystem_lookup
...
Clang complains about "Null pointer argument in call to string
comparison function". So assert on it.
2014-04-12 16:35:07 +08:00
Grissiom
299cccfb26
logtrace: add log_session_lvl
...
log_session_lvl is suitable for performance critical places where in
most cases, the log is turned off by level. If the session is const and
the level is greater than session->lvl, the whole function will be
optimized out.
2014-04-10 21:22:39 +08:00
Grissiom
12728bcdff
logtrace: add const modifier to the APIs
...
Compiler may do more optimization when the parameter is const.
2014-04-10 21:22:39 +08:00
Bernard Xiong
abcef00c8e
Merge pull request #254 from weety/Branch_usb
...
[USB]fix rt_usbd_set_config() BUG which set the USB device to configurat...
2014-04-10 16:34:32 +08:00
aozima
f61773305a
MSH: add cmd netstat.
2014-04-09 13:17:21 +08:00
aozima
4fada1a13a
MSH: perfect cmd ifconfig.
2014-04-09 13:16:55 +08:00
Grissiom
841898abe2
[shell] define FINSH_PROMPT as finsh_get_prompt when FINSH_USING_MSH enabled
...
When MSH enabled, the prompt will change at the two shells. So we should
use dynamic prompt when FINSH_USING_MSH defined.
2014-04-08 15:12:44 +08:00
weety
d5b0c94552
[USB]fix rt_usbd_set_config() BUG which set the USB device to configuration state before enumerating the device.
2014-04-06 21:02:23 +08:00
Grissiom
28f11fdd7b
[vmm] add realview-pb-a8 VMM support
2014-04-03 17:59:14 +08:00
bernard
8bd3e6f6dc
[Kernel] Change command line to const parameter and add system() function.
2014-04-02 14:05:15 +08:00
bernard
6469a5a3d1
[DFS] fix compiling warning.
2014-04-02 14:02:36 +08:00
Bernard Xiong
a82ad3e380
Merge pull request #250 from grissiom/msh-next
...
[msh] don't complain on empty command
2014-03-29 14:50:04 +08:00
Grissiom
0979328fb1
[msh] don't complain on empty command
...
Just branch out and no complain on command length == 0;
2014-03-29 11:33:20 +08:00
bernard
7d2b7199d8
Add PNG_ABORT for libpng; Add format field in tjpgd;
2014-03-29 08:45:26 +08:00
Grissiom
c44f32e513
[msh] cd to path when possible
...
When DFS_USING_WORKDIR is enabled, msh will try to chdir if the command
is not found. For example, if there is folder named "SD", and there is
no `SD` command and `SD.mo` module, typing "SD" in msh will cd to the
folder.
In more detail, the execution order right now is:
1. built-in command
2. module
3. cd to path
If you have a folder named "ps", you have to run `cd ps` to change the
working dir.
2014-03-27 16:41:26 +08:00
Grissiom
f9659283c0
[msh] try to complete module path
...
Msh can execute module directly. So try to auto-complete the path when
user press TAB. There is a chance that the path is a module.
2014-03-27 15:09:53 +08:00
bernard
04b5a46179
[Finsh] fix the shell prompt issue.
2014-03-12 16:25:59 +08:00
bernard
444b928d22
Add more command to msh for module.
2014-03-12 08:47:10 +08:00
bernard
09bb7393b2
[Pthreads] fix compiling warning
2014-03-11 16:05:14 +08:00
bernard
33a5abbbf8
[Finsh] Use msh as prompt when current mode is msh mode.
2014-03-11 15:54:21 +08:00
bernard
6cab3b7dfa
[DFS] fix compiling warning in NFS
2014-03-10 11:48:47 +08:00
Bernard Xiong
d0d239cd4c
[DFS] fix compiling warning for NFS file system
2014-03-10 11:21:50 +08:00
bernard
306e1ac43f
[DeviceDrivers] Add watchdog driver frame work
2014-03-04 14:32:56 +08:00
shaolin
020e95d91b
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-03-04 09:14:48 +08:00
shaolin
0fb9c54efd
1.replace API prefix usb* with usbh* in USB host stack to distinct with USB device stack;
...
2.adjust some viable and micro name
3.some other small fix
2014-03-04 08:59:53 +08:00
Grissiom
f615c1e92d
Revert "Merge pull request #241 from bright-pan/master"
...
This reverts commit 5aeedc4f3a
, reversing
changes made to 3d80e414ff
.
This merge breaks every uart driver in all BSPs. @bright-pan , is there
any way to get this done without breaking existing code?
2014-03-03 12:07:13 +08:00
Bright Pan
9ab853aca3
Fix rt_serial_control() bug for customized command and indent the code
2014-02-28 18:22:50 +08:00
Bright Pan
10c4b6263f
Use DeviceDriver ringbuffer.
...
Add hardware flow support.
Use new struct serial_ringbuffer.
2014-02-26 11:06:14 +08:00
Bernard Xiong
3d80e414ff
[JS] fix the include path issue
2014-02-25 13:43:59 +08:00
Bernard Xiong
213f47e380
Update SConscript
2014-02-25 09:29:09 +08:00
geniusgogo
121bb5fcdf
add JavaScript Interpreter
2014-02-25 01:47:49 +08:00
bernard
7255137b0a
[DFS] Add ramfs initialization in components initialization procedure
2014-02-23 00:10:09 +08:00
Bernard Xiong
0468f0c87e
Add INIT_FS_EXPORT for RAM file system
2014-02-20 22:06:59 +08:00
shaolin
8fd0a7f9c6
Update USB Device Stack to support more device controllers;
...
Pass USB CV test verification;
Code cleanup;
2014-02-16 17:42:35 +08:00
bernard
32a6f5b730
[Finsh] remove the .mo display when command is not found.
2014-02-15 10:28:38 +08:00
prife
f015f36d05
dfs: support copy directory
2014-02-09 15:27:52 +08:00
Bernard Xiong
be2ff57198
Add directory and SConscript for Espruino.
2014-02-06 15:50:33 +08:00
bernard
8778e39c9f
[Finsh] Add ifconfig command implementation.
2014-02-01 21:35:46 +08:00
bernard
201d11bb2f
[DFS] Fix file size issue
...
This issue causes fstat & lseek not correct.
2014-02-01 21:35:23 +08:00
bernard
5a6ec7dcae
[DFS] fix the wrong field comparison in FAT mount.
2014-01-26 22:43:12 +08:00
Bernard Xiong
ba444f29f6
Merge pull request #235 from aozima/pulls
...
update CMSIS version to 3.20
2014-01-26 05:52:21 -08:00
bernard
e601c2a6ed
Add sector size check when mounting a FAT file system.
2014-01-26 20:30:37 +08:00
aozima
9367bba6d1
update CMSIS version to 3.20
2014-01-22 17:26:52 +08:00
bernard
ae891e2011
[Finsh] fix strncmp issue in command search
2014-01-16 22:22:23 +08:00
roamboy
1c8693c87e
Update msh.c
2014-01-13 15:57:13 +08:00
roamboy
1df4c1b962
Update msh.c
2014-01-13 15:56:20 +08:00
roamboy
849130da2c
Update msh.c
...
fix msh_exec(char* cmd, rt_size_t length) bug
2014-01-13 15:52:23 +08:00
bernard
2188d06003
[DFS] remove a compiling warning
2014-01-11 16:34:15 +08:00
bernard
31446eab4c
[Kernel] application module can support arguments
2014-01-11 16:33:31 +08:00
prife
c07a78ae00
nfs: fix bug
...
I have to mention that this bug is introduced by myself, in the last
commit <fd07f30f511335f506ae6557e300093d4dde421e> to dfs_nfs.c
2014-01-11 14:57:02 +08:00
Bernard Xiong
abdcd80dcd
[Finsh] Add more command in msh
2014-01-05 14:57:58 +08:00
bernard
3142811644
[lwIP] Add more RT-Thread options into lwIP
2014-01-04 07:55:25 +08:00
bernard
7fd45f3d44
[DFS] remove the unnecessary code
2014-01-04 06:05:03 +08:00
bernard
6a624356e4
[Finsh] code cleanup
2014-01-04 06:02:33 +08:00
bernard
1f8a0668d2
[Finsh] Add features to execute module.
2014-01-03 08:01:24 +08:00
bernard
8a56e181bd
[Finsh] cleanup the code style
2014-01-03 07:15:25 +08:00
bernard
b924104129
Add FINSH_USING_MSH_ONLY option
2014-01-01 23:14:45 +08:00
bernard
9993c9e60c
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-01-01 21:46:14 +08:00
bernard
a5ba2a24f7
add file and path name auto completion for module shell
2014-01-01 21:45:09 +08:00
Bernard Xiong
ec7fada97e
[Drivers] Fix the block start issue in MTD Nand operators
2013-12-30 18:14:09 +08:00
bernard
a93251ae2b
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-12-29 22:31:05 +08:00
bernard
42ae1c634d
[Drivers] Add more debug utilities in MTD nand
2013-12-29 22:27:33 +08:00
Bernard Xiong
041a7e887b
Update posix_types.h
2013-12-23 13:23:49 +08:00
geniusgogo
4c463f27cb
Merge branch 'master' into SQLite_on_ARMCC
2013-12-22 21:31:12 +08:00
geniusgogo
8b1b64567a
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-12-22 21:28:30 +08:00
geniusgogo
7442414a74
ARMCC complier is usable.
2013-12-22 21:26:21 +08:00
geniusgogo
26e0137f15
Moved the configuration options to the SRC directory
2013-12-22 21:22:47 +08:00
geniusgogo
30d6196c22
Moved the configuration options to the SRC directory
2013-12-22 21:11:58 +08:00
prife
95006bb503
Merge pull request #215 from prife/master
...
fix dfs_unmount bug
2013-12-21 04:06:25 -08:00
Grissiom
1289dff203
DFS: let mount fail on device open error
2013-12-21 12:15:31 +08:00
prife
26a31d662d
dfs: make elmfatfs check secter size everytime
...
more infomation:
http://www.rt-thread.org/phpBB3/topic2965.html
2013-12-21 12:04:19 +08:00
prife
4f9dc273ec
dfs: fix dfs_unmount bug
...
fix #211
2013-12-21 11:35:09 +08:00
prife
27112267e9
dfs: rename varialbe name in dfs_filesystem_lookup
...
empty is confused in dfs_filesystem_lookup.
2013-12-21 10:58:52 +08:00
prife
f4e8820bca
dfs: refine more code
...
clean code with pointer rather than index
2013-12-19 13:58:30 +08:00
prife
7fd6d17d5b
dfs: refine code
...
decrease indentation to make cleaner code
fix mkfs bug when there is no mkfs implementation
2013-12-19 00:31:39 +08:00
geniusgogo
9326719a12
move SQLiteLib/SConscript file to SQLite-3.8.1/SConscript
2013-11-30 15:00:24 +08:00
geniusgogo
06d3cf710e
rename sqlite directory to SQLite-3.8.1/SQLiteLib
2013-11-30 15:00:23 +08:00
geniusgogo
b3e70cbf40
modify the RTT is abbreviated error, change to be rtthread.
2013-11-30 15:00:21 +08:00
geniusgogo
6433eeae66
build env component removal
2013-11-30 15:00:20 +08:00
geniusgogo
dd2a4cd49c
port rtt config orig env
2013-11-30 15:00:19 +08:00
geniusgogo
ab1429b044
orig config result tool
2013-11-30 15:00:18 +08:00
geniusgogo
2948bf55f7
fix the SQLite mutex free-fun cause a memory leak
2013-11-30 15:00:17 +08:00
geniusgogo
d246db603c
fix sqlite mutex/vfs/
2013-11-30 15:00:16 +08:00
geniusgogo
10aad53661
fix declarative referential integrity
2013-11-30 15:00:07 +08:00
geniusgogo
7e7f0fb5f5
add test/test10.c
2013-11-30 15:00:06 +08:00
geniusgogo
7d88b753d6
complete SQLite-3.8.1 porting, and auto generate porting code
2013-11-30 14:59:57 +08:00
geniusgogo
2315160531
add vfs/fs porting
2013-11-30 14:59:56 +08:00
geniusgogo
d47febdc65
port complete SQLite-3.8.1 to RT-Thread
2013-11-30 14:59:55 +08:00
geniusgogo
993374d860
add rtt memory management support
2013-11-30 14:59:54 +08:00
geniusgogo
bb71850863
add rtt mutex support
2013-11-30 14:59:53 +08:00
geniusgogo
e0a3ced7ea
add rtt complie macro SQLITE_OS_RTT
2013-11-30 14:59:52 +08:00
geniusgogo
a186d329a4
add SQLite-3.8.1 authority original source tree
2013-11-30 14:59:51 +08:00
geniusgogo
0347f8ab9c
add SQLite 3.8.1 amalgamation source code
2013-11-30 14:59:48 +08:00
aozima
e037d2e5f6
fixed _sys_read()/_sys_write() issues.
2013-11-24 23:11:17 +08:00
prife
b79b9be19f
finsh: fix finsh device setting
...
1. rt_console_get_device should be call to set shell device only when it is null, or it will make finsh_set_device useless.
2. RT_USING_CONSOLE can be disabled in bsp/rtconfig.h
2013-11-18 21:17:49 +08:00
Grissiom
61ffa2c438
freemodbus: fix eol
...
On Windows platform, please set `autocrlf = true` and on Linux, please
set `autocrlf = input`.
2013-11-06 21:47:49 +08:00
armink
615579ccf1
add SConscript for freemodbus
...
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 14:16:24 +08:00
armink
b280a940c4
add modbus master to freemodbus
...
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 09:34:24 +08:00
Grissiom
6bb2c0f2ea
Revert "serial: set the errno if and only if in thread context"
...
This reverts commit 07bd09fc0f
.
The validation of the context is done with in `rt_set_errno`. So it's
safe to call it here.
2013-10-25 21:23:15 +08:00
Grissiom
07bd09fc0f
serial: set the errno if and only if in thread context
...
The errno is associated with threads. It will crash the thread if we set
it in interrupt context.
2013-10-25 20:31:02 +08:00
Grissiom
21fb9a0bac
serial: do onthing if the size of read/write is zero
...
Return early if the size is 0 as there is nothing to do.
2013-10-25 20:15:08 +08:00
Grissiom
0feefc03b6
device/pipe: add a control cmd to get the space left in pipe
2013-10-23 01:43:18 +08:00
Bernard Xiong
a0ffbc1fb8
Merge pull request #179 from grissiom/finsh-ex
...
Finsh ex
2013-10-18 17:06:36 -07:00
Grissiom
1e01252824
finsh: refactor the control key handling
...
We split the history handling form the key handling. So we could handle
the direction key even if the history is disabled. As a "side effect", I
also remove the unnecessary "use_history" bit.
2013-10-18 22:36:51 +08:00
Bernard Xiong
8d5dfec3b7
Merge pull request #162 from joyhope/master
...
UART DMA tx_complete() with buffer information
2013-10-17 15:40:50 -07:00
prife
3a33906ab1
simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
...
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +08:00
Bernard Xiong
4eaadb7a98
Merge pull request #168 from grissiom/dfs-fix
...
DFS: add dfs_file_flush prototype in dfs_file.h
2013-10-11 07:40:50 -07:00
Grissiom
d0251a523a
log_trace: fix the memmove use
...
The first parameter of memmove is the dst, not src. Besides, fix the
wrong move size.
2013-10-11 17:23:30 +08:00
Grissiom
5fdca8371b
DFS: add dfs_file_flush prototype in dfs_file.h
2013-10-11 14:55:23 +08:00
Bernard Xiong
69bbd35f38
Merge pull request #167 from grissiom/ymodem
...
components/utilities: add ymodem
2013-10-09 08:33:02 -07:00
Grissiom
5674198759
components/utilities: add ymodem
...
Real-YModem implemented a flexible YModem support. It use callback-based
structure to let the user application to deal with the data. It contains
3 examples:
1. echo.c: write the data recieved on YModem to an other device
2. null.c: discard the YModem data
3. tofile.c: write the data to the file system
Currently, it does not support batch file transmission.
2013-10-09 23:26:42 +08:00
bernard
1ffb99e6f5
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-10-10 00:22:59 +09:00
bernard
6c5e34fa70
fix the line too long issue
2013-10-09 18:06:40 +09:00
prife
f71f0595d6
DFS/jffs2: fix bug when umount jffs2
...
found by haitao5198
clear mount parition device talbe when jffs2 mount falied
2013-09-28 14:57:05 +08:00
prife
12a6366217
DFS/jffs2: fix file mode init bug in jffs2_open/opendir
...
found by haitao52198
URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153
2013-09-28 14:43:00 +08:00
Grissiom
df4e8ff060
msh: only export cd/pwd when DFS_USING_WORKDIR is set
2013-09-26 11:50:28 +08:00
Grissiom
05651e7c66
logtrace: only export cmd when finsh is enabled
2013-09-26 11:49:33 +08:00
joyhope
281e55e973
notification function: rt_err_t (*tx_complete)(rt_device_t dev, void
...
*buffer) with buffer pointer
2013-09-24 20:57:00 +08:00
Grissiom
2a20337707
logtrace: adjust the log values
...
logtrace only use odd number of log levels. So the use could set some
custom level amount them.
2013-09-23 15:13:45 +08:00
Grissiom
519982fa74
logtrace: add LOG_TRACE_VERBOSE log level
2013-09-23 15:10:02 +08:00
Grissiom
783a6a6717
logtrace: cleanup code and fix compiling warnings
2013-09-23 13:13:03 +08:00
Grissiom
6d2df9bf94
finsh: unregister rx_indicate when closing the device
...
Because the device could still remain opened when closed by finsh, the
old rx_indicate is useless for finsh. Some buggy driver will still
generate rx_indicate even after the device has been closed. So FinSh
should unregister the rx_indicate when releasing the old device.
2013-09-22 22:12:04 +08:00
bernard
0bf7ed76cf
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-09-17 11:07:36 +08:00
bernard
77096894f9
change the compiling macro before DFS option
2013-09-17 11:07:24 +08:00
Bernard Xiong
2bcb9edd91
Add gettimeofday declaration in sys/time.h
2013-09-08 15:01:29 +08:00
Grissiom
ea66b820e1
log_trace: cleanup
2013-09-03 16:09:16 +08:00
Grissiom
c05b205390
finsh: use alias in the variable definition
...
With this patch, one could define two alias for the same function like:
FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reboot the cpu);
FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, __cmd_reboot, reboot the cpu);
Suitable for being used in MSH/Finsh.
2013-08-31 17:58:34 +08:00
Grissiom
246bdde8de
dev/portal: fix bug in portal callback forwarding
...
When forwarding rx/tx callback from the underlaying device(pipe), the
"dev" argument should be the portal. So the portal callback could think
itself as called.
2013-08-22 16:43:06 +08:00
Grissiom
824261d3bc
dev/portal: add checks on oflag
...
It does not make sense to open portal without a flag. One should open a
portal with RT_DEVICE_OFLAG_RDWR in most cases.
2013-08-22 15:12:00 +08:00
Grissiom
b4ab82284f
finsh/cmd: add description for new pipe and portal device
2013-08-20 14:27:28 +08:00
Grissiom
6e676e7754
dev/portal: implement portal device
...
Portal is a device that connect devices. Currently, you can only connect
pipes in portal. Pipes are unidirectional. But with portal, you can
construct a bidirectional device with two pipes.
2013-08-20 12:54:43 +08:00
Grissiom
7e68096a88
dev/pipe: make pipe a type of device
...
Pipe have many differences with char device. The main difference is
altough pipe have both read and write, it is unidirectional in nature.
2013-08-20 10:16:55 +08:00
Grissiom
0340300f89
dev/pipe: cleanup
2013-08-19 16:25:17 +08:00
Grissiom
e8cca2315a
dev/pipe: call rx_indicate the time we resume reader
...
Some reader(FinSh again) would like to block on a semaphore which is
released in rx_indicate. So we should invoke rx_indicate in
_rt_pipe_resume_reader.
2013-08-19 15:57:59 +08:00
Grissiom
d683d32bd5
device/pipe: add nonblocking read/write and force write mode
...
The previous implementation will always blocks the reader/writer.
However, at least FinSh would expect the device to be nonblocking ---
read should return 0 when there is no data in it.
2013-08-19 15:35:56 +08:00
Grissiom
4919d29d69
ringbuffer: add put_force and putchar_force API
...
Add the APIs that will discard the old data when rb is full.
2013-08-19 15:32:42 +08:00
Grissiom
981d929b56
ringbuffer: fix the ambiguous name
...
RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size
of the empty space" or "the size of the data". Moreover, it's never a
micro anymore. Change it to rt_ringbuffer_data_len before it's too late.
Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
2013-08-19 14:12:35 +08:00
bernard
6f75988cee
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-08-19 13:00:48 +08:00
bernard
d8695085dc
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-08-19 12:47:40 +08:00
bernard
fa934fa7bd
add shell device automatically setting for rx_ind
2013-08-19 12:46:04 +08:00
Grissiom
38ce3879d8
device/pipe: add rt_pipe_{init,detach}
...
This provide the possibility that allocate the buffer of the ringbuffer
on a specific region, instead of always mallocing it. It also bring us
the benefit of using pipe device on the systems without heap.
2013-08-19 12:28:59 +08:00
Bernard Xiong
0826efaab3
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-08-12 07:22:04 -07:00
Bernard Xiong
05b9eb0b82
remove compiling warning
2013-08-12 07:21:29 -07:00
bernard
ac10730492
fix O_APPEND write issue in RAMFS
2013-07-29 14:50:12 +08:00
bernard
ac850ef3f0
add device_open/close in mkfs
2013-07-29 14:43:52 +08:00
bernard
914244f368
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-07-29 13:53:38 +08:00
bernard
d74dee0dd6
Add ramfs into building script
2013-07-29 13:52:59 +08:00
Bernard Xiong
a431a25699
Merge pull request #135 from reynoldxu/K60Fxxxx
...
K60 fxxxx
2013-07-25 03:55:52 -07:00
reynoldxu
10c75c3dc6
remove a var for INT_TX.
2013-07-25 10:18:33 +08:00
reynoldxu
8f0fffc132
fix a bug in rt_hw_uart_init() where u CAN NOT init some feature.
2013-07-24 18:34:07 +08:00
bernard
a124e7bd22
add initialization debug code
2013-07-24 07:33:48 +08:00
bernard
b96b35613f
add mount table
2013-07-22 07:46:10 +08:00
Bernard Xiong
f0f0e3dd9e
move commands out of DFS
2013-07-14 14:36:48 +08:00
Bernard Xiong
493930ea07
Merge pull request #118 from BernardXiong/master
...
Remove initialization feature for MS VC++ compiler.
2013-07-09 13:56:51 -07:00
Bernard Xiong
4f0cb88739
Merge pull request #120 from prife/dfs-fix
...
dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org
2013-07-06 06:06:57 -07:00
prife
15b08b483a
dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org
2013-07-06 16:41:10 +08:00
Bernard Xiong
ca56dce2a3
remove initialization feature for MS VC++ compiler
2013-07-05 19:32:16 -04:00