Commit Graph

1467 Commits

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