Commit Graph

1579 Commits

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