Commit Graph

1496 Commits

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