Commit Graph

1656 Commits

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