David Lin
f273e52614
Update audio_speaker.c
2020-11-21 15:30:12 +08:00
David Lin
b73775da85
Update audio_mic.c
2020-11-21 15:29:45 +08:00
David Lin
626e8537f0
[components / drivers]update audio_mic.c
...
1. delete '#include <rtservice.h>', because rtthread.h had include rtservice.h;
2. delete '#include <rtthread.h>', because rtdevice.h had include rtthread.h.
2020-11-21 15:25:27 +08:00
David Lin
88858f216c
Update ethernetif.c
2020-11-21 12:44:14 +08:00
David Lin
4f99d988d9
Update ethernetif.c
2020-11-21 12:35:19 +08:00
yangjie11
91261e25b9
[SConscript]rename group name
2020-11-20 13:38:11 +08:00
张世争
e8eb74da58
[rtc.alarm][fix]fix alarm when update datetime
2020-11-20 09:02:20 +08:00
guozhanxin
3952fd780f
[fix] When enable audio and usb at the same time. The warning <"MIN" redefined> is shown.
2020-11-18 11:13:28 +08:00
Bernard Xiong
3700283812
Merge pull request #3924 from qiyongzhong0/fix_bug_of_dataqueue
...
Fix bug of dataqueue
2020-11-18 08:09:34 +08:00
Bernard Xiong
37ecf07992
Merge pull request #4028 from zhangsz0516/zhangsz_1117
...
[componets/drivers/touch]完善Touch设备命令
2020-11-18 08:07:54 +08:00
张世争
10862586bf
[componets/drivers/touch]完善Touch设备命令
2020-11-17 08:34:30 +08:00
Bernard Xiong
065488e746
Merge pull request #3956 from xfwangqiang/gcc-fix
...
[Components]&&[BSP][imxrt]add ethernet configuration for imxrt1064-nxp-evk
2020-11-13 07:10:16 +08:00
Bernard Xiong
5623579f3a
Merge pull request #4016 from mysterywolf/armcreadme
...
[libc] add readmes
2020-11-10 16:35:25 +08:00
mysterywolf
d5f8830177
add newlib/dlib readme
2020-11-10 13:06:16 +08:00
mysterywolf
794f969d36
[libc][armlibc] add readme
2020-11-10 12:55:21 +08:00
Bernard Xiong
4b2b9a87c6
Merge pull request #3871 from OpenNuvoton/rtt_usbhost_issue
...
Fix USB host core bugs.
2020-11-07 14:42:37 +08:00
Bernard Xiong
ac6da8d4cf
Merge pull request #4006 from qiyongzhong0/fix_at_client
...
fix at_client, avoid creating the same client repeatedly and prevent …
2020-11-03 10:47:13 +08:00
Bernard Xiong
932e14acb4
Merge pull request #3964 from zhangsz0516/zhangsz_1015
...
add alarm flags, alarm can repeated by hour minute and second
2020-11-03 07:55:41 +08:00
qiyongzhong0
db0880bd26
fix at_client, avoid creating the same client repeatedly and prevent working exceptions and memory leaks.
2020-11-02 17:43:23 +08:00
mysterywolf
22f8b142b6
[revert] [lwip] IAR环境 结构体恢复到之前状态
2020-10-24 18:39:31 +08:00
SimpleInit
c495d5a247
1.Add sensor vendor MAXIM.
...
2.Fix: When printing sub-zero temperature, "-" is displayed after ".".
Signed-off-by: SimpleInit <63694297@qq.com>
2020-10-20 20:55:34 +08:00
张世争
8d3f687abb
add alarm flags, alarm can repeated by hour minute and second
2020-10-15 14:37:00 +08:00
WangQiang
10fb49318c
修改了一些文件头的copyright信息和Change Log
2020-10-14 10:27:17 +08:00
z14git
adceb3e2a4
确保char line[]最后一位为'\0'
2020-10-14 09:27:40 +08:00
WangQiang
502378cf93
1. 抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本
...
2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。
3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建
4. 修改了KEIL环境的SCT文件,用于实现以太网功能
2020-10-12 19:17:00 +08:00
Bernard Xiong
11ac3ac364
Merge pull request #3949 from enkiller/1009
...
[msh] rm command supports recursive deletion of folders
2020-10-11 11:01:02 +08:00
Bernard Xiong
4515c21d29
Merge pull request #3942 from mysterywolf/unsitd
...
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了…
2020-10-11 09:39:13 +08:00
Bernard Xiong
a5cd7e7abd
Merge pull request #3944 from mysterywolf/libc
...
[fix bug] #3902
2020-10-11 09:37:38 +08:00
tangyuxin
21a4542d7b
[msh] rm command supports recursive deletion of folders
2020-10-09 11:54:42 +08:00
mysterywolf
96acad78ba
将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧
2020-10-03 00:31:49 +08:00
mysterywolf
c7aa6f0619
[fix bug] #3902
2020-10-02 12:00:52 +08:00
Meco Man
60b1b87903
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了重复定义的冲突
2020-10-02 11:22:17 +08:00
qiyongzhong0
77f0814992
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into fix_bug_of_dataqueue
2020-09-29 12:35:13 +08:00
Bernard Xiong
aa05fc1469
Merge pull request #3675 from DavidLin1577/patch-10
...
[drivers/usb]Fixed a bug may cause stackover flow
2020-09-27 08:23:55 +08:00
Bernard Xiong
08688f7095
Merge pull request #3712 from egbert-h/master
...
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-09-27 08:23:14 +08:00
tangyuxin
8861202c3b
[dfs] fix the DEVICE could not get or set flags
2020-09-26 12:30:39 +08:00
tangyuxin
50dc41468e
[add] DFS file system supports device types
2020-09-26 09:55:58 +08:00
xieyangrun
54c6e7d145
[dirver/i2c] i2c driver support bus lock, STOP control
2020-09-23 17:17:20 +08:00
qiyongzhong0
967cc968e8
fix difference of style
2020-09-18 09:45:47 +08:00
qiyongzhong0
44baf269f7
fix bug of dataqueue
2020-09-18 09:33:34 +08:00
Bernard Xiong
8afb8b1e29
Merge pull request #3918 from SimpleInit/master
...
删除非对齐地址访问语句和__CORTEX_M宏定义判断
2020-09-17 14:18:46 +08:00
Bernard Xiong
13c27246c8
Merge pull request #3916 from willianchanlovegithub/Willianchan
...
[drivers/serial]add a line feed to the carriage return character when…
2020-09-17 07:54:45 +08:00
SimpleInit
a70808ce9e
删除非对齐地址访问语句和__CORTEX_M宏定义判断
...
Signed-off-by: SimpleInit <63694297@qq.com>
2020-09-14 23:57:14 +08:00
WillianChan
ee3d05f583
[drivers/serial]resolve compile error
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 18:17:00 +08:00
WillianChan
c6b4c2ea2b
[drivers/serial]modify annotation
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 17:21:38 +08:00
WillianChan
183f8b9402
[drivers/serial]add a line feed to the carriage return character when using interrupt tx
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 15:27:06 +08:00
luhuadong
6c25b839ee
[sensor] support GPS/GNSS sensor class
2020-09-11 18:04:28 +08:00
Bernard Xiong
de0bb6f96c
Merge pull request #3883 from bigmagic123/ls2k_add_gmac
...
Ls2k add gmac
2020-09-11 13:33:16 +08:00
Bernard Xiong
ac751db670
Merge pull request #3888 from mysterywolf/master
...
[add] [libc] libc新增getline/getdelim函数(posix.1-2008)
2020-09-11 13:20:50 +08:00
Bernard Xiong
36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
...
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
yangjie
9d0b860e54
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 11:14:53 +08:00
Bernard Xiong
8ea34bf936
Merge pull request #3850 from SimpleInit/master
...
修复"response+1"导致STM32 HAL库SPI内存非对齐访问的hard fault
2020-09-11 09:15:32 +08:00
mysterywolf
b3ab8a99e1
Signed-off-by: mysterywolf
2020-09-09 08:59:39 +08:00
mysterywolf
28e0c99d00
Signed-off-by: mysterywolf
2020-09-09 00:53:53 +08:00
Bernard Xiong
bb49360a78
Merge pull request #3885 from Michael0066/master
...
ulog:fixed compile err
2020-09-08 18:54:52 +08:00
mysterywolf
4305a678a3
修改common文件夹的sconscript 并 取消并恢复上一个commit的提交内容
2020-09-08 16:29:47 +08:00
mysterywolf
a890c67fb4
增加lwip/cc.h LWIP_TIMEVAL_PRIVATE是能与否的平台判断条件
2020-09-08 13:39:40 +08:00
mysterywolf
ff097f0467
增加 __GNUC__宏定义 和sconscript的平台识别以避免重复定义
2020-09-08 13:16:49 +08:00
mysterywolf
0607ff84ab
解决minilibc time.c和newlibc仅定义RT_LIBC_USING_TIME时冲突的问题
2020-09-08 11:12:56 +08:00
mysterywolf
f021cb982a
修改common下的sconscript脚本文件,增加unistd.c排除条件
2020-09-08 10:52:02 +08:00
mysterywolf
5eccf51b61
Signed-off-by: mysterywolf
2020-09-08 10:29:17 +08:00
mysterywolf
237a71de27
修复common文件夹,该文件夹为armlibc/newlib/dlib的共同文件的文件夹
2020-09-08 10:26:03 +08:00
mysterywolf
05190990b4
增加posix_getline.c/.h版权信息
2020-09-05 22:09:22 +08:00
mysterywolf
443978eb78
增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项
2020-09-05 19:47:34 +08:00
mysterywolf
f13014526c
[bug fix]对各个libc库的termios.h增加宏定义,以防止在termios函数没有定义时,将posix_termios.h头文件引入导致报错
2020-09-05 17:52:32 +08:00
mysterywolf
6eb62a3f9d
将unistd.c不再放在common中,分散到各个库中
2020-09-05 17:50:54 +08:00
mysterywolf
8a08be6b9e
[fix bugs]修改armlibc/sys/types.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
2020-09-05 17:41:54 +08:00
mysterywolf
d5d8b345f4
修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
2020-09-05 16:59:53 +08:00
mysterywolf
74ab1551fd
add posix 2008 limit.h
2020-09-05 16:14:21 +08:00
mysterywolf
a41ebbb697
add posix functions getline/getdelim
2020-09-05 15:42:03 +08:00
michael
3f3ff458ed
ulog:fixed compile err
...
syslog.c:154:34: error: unknown type name 'uint8_t'
2020-09-04 11:15:02 +08:00
bigmagic
e0aa079e52
LwIP on 64 bit processor
2020-09-04 10:23:31 +08:00
Wayne Lin
f4d86cec7f
Fix USB host core issues.
...
1. Limit >4 USB ports hubs.
2. Double free intf.
3. dname buffer size is too small.
4. Reset child pointer after detaching instance.
2020-09-02 17:49:17 +08:00
mysterywolf
5721fa8990
Signed-off-by: mysterywolf
2020-09-02 10:33:37 +08:00
mysterywolf
a162640f89
Signed-off-by: mysterywolf
2020-09-02 10:25:52 +08:00
mysterywolf
837604553b
增加unistd.c文件
2020-09-02 10:22:47 +08:00
mysterywolf
9b470d448d
取消isatty函数在本文件中的实现,转移到其他文件中
2020-09-02 10:18:52 +08:00
Bernard Xiong
3626325277
Merge pull request #3862 from qiyongzhong0/fix_dataqueue
...
fix dataqueue, limit queue size to usable values (2,4,8,16...) to avo…
2020-08-31 08:53:28 +08:00
qiyongzhong0
c16c5b968f
fix dataqueue, limit queue size to usable values (2,4,8,16...) to avoid errors when put_index exceed 0xffff.
2020-08-30 14:35:09 +08:00
michael
4bf1535c42
utest:fixed compile err
2020-08-29 22:45:22 +08:00
SimpleInit
4a654414e3
修复"response+1"导致STM32 HAL库SPI内存非对齐访问的hard fault
2020-08-26 21:03:15 +08:00
thread-liu
fcd844f982
update error SFUD support manufacturer (Micronix -> Macronix) and add MX25L51245G sfud flash info.
2020-08-15 14:34:19 +08:00
Bernard Xiong
d463a5a0ba
Merge pull request #3802 from liuduanfei/master
...
Change I2C configuration hierarchy
2020-08-13 18:18:10 +08:00
Bernard Xiong
ad3e6d8898
[DFS] clean the unnecessary checking
2020-08-07 08:51:22 +08:00
liuduanfei
27a6ebf4b1
Update Kconfig
2020-08-05 10:06:20 +08:00
Meco
576475f14f
change format
2020-08-05 09:28:10 +08:00
Meco
f7ba4a6341
增加条件编译,防止RT_USING_DFS没有定义时 _sys_flen()出现编译警告:stat变量定义但没有被调用 的问题
2020-08-05 02:47:27 +08:00
liuduanfei
719b71a015
Update Kconfig
2020-08-04 15:11:48 +08:00
liuduanfei
ba5f2a5bb6
Update Kconfig
...
Change I2C configuration hierarchy
2020-08-04 15:10:43 +08:00
tangweikang
b2a9b8308e
[components][usb] word error : PROERTY -> PROPERTY
2020-08-04 11:01:22 +08:00
zhiweih
814b646d17
Specify date string length in FINSH date command.
...
libc ctime returns a fixed 25 character string without a NULL terminator. Print it without specifying length in FINSH date command prints extra contents and could potentially be dangerous.
2020-07-27 23:09:26 +08:00
Bernard Xiong
fa599be08c
Merge pull request #3767 from ErnestChen1/function_parameter
...
[update] function must have parameter
2020-07-27 17:57:28 +08:00
chenchaoqun
a1ac12c1f1
[update] function must have parameter
2020-07-24 15:20:12 +08:00
luhuadong
f56af401cc
[at_socket] update AT_SW_VERSION and adjust at_socket_ops
2020-07-23 01:13:48 +08:00
luhuadong
067106f164
[at_socket] support alloc socket dynamically with at device
2020-07-21 00:29:12 +08:00
tangweikang
43c0118e8f
[components][wlan] Fix for rt_wlan_event_dispatch() not passing user_buff. | 修复 rt_wlan_event_dispatch() 未传递 user_buff 的问题。
2020-07-17 15:29:22 +08:00
luhuadong
cc15a1b59c
[sensor] fixed sensor cmd delay time
2020-07-08 22:53:02 +08:00
Bernard Xiong
87999c405f
Merge pull request #3740 from armink/fix_spi
...
[DeviceDriver][SFUD] Update the 'sf bench' command.
2020-07-06 22:14:11 +08:00
Bernard Xiong
fe0e6a2d86
Merge pull request #3736 from SantaPasserby/fix_sysylog_formater
...
syslog_formater调用rt_snprintf多了个参数。
2020-07-06 21:34:48 +08:00
armink
5f756ca50e
[DeviceDriver][SFUD] Update the 'sf bench' command.
2020-07-06 20:25:18 +08:00
luhuadong
f2070beb54
[Sensor] Add two concentration unit ppm & ppb
2020-07-04 17:14:31 +08:00
luhuadong
1fde73a93c
[Sensor] Add AMS sensor vendor info
2020-07-04 16:48:05 +08:00
teh-c
d5e03ad5d1
rt_snprintf多了个参数。
2020-07-03 17:10:43 +08:00
hphuang
0bfb881168
merge latest usb class with workaround
2020-07-03 11:13:24 +08:00
liuduanfei
13e768203d
delete duplicate header files
2020-06-28 23:20:31 +08:00
朱天龙 (Armink)
b31822420b
Merge pull request #3715 from thread-liu/add_stm32mp1_driver
...
[update] add drivers for stm32mp1.
2020-06-24 13:48:48 +08:00
thread-liu
a84d575314
[update] format code
2020-06-24 12:53:24 +08:00
thread-liu
2fcd940b57
[update] add drivers for stm32mp1.
2020-06-23 11:26:11 +08:00
liuxianliang
0d8f90788f
[remove] the doc folder of lwIP 2.1.2
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:58 +08:00
liuxianliang
be64fcba86
[update] remove lwIP 2.1.0.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:11 +08:00
hphuang
6cafbf07ce
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-06-22 15:25:29 +08:00
liuxianliang
5af6aa47c1
[update] remove doc doxygen files and add doxygen zip file.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-22 09:28:48 +08:00
liuxianliang
38db074fca
[update] Added custom functions for RT-Thread.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:09:33 +08:00
liuxianliang
de1fd2bfc4
[add] lwIP 2.1.2 transplantation on RT-Thread.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:01:09 +08:00
liuxianliang
a9796b90ad
[add] the code of original lwIP 2.1.2.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 13:44:12 +08:00
liuxianliang
f715f29588
[fix] lwip clock confict with minilib clock
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-18 16:42:02 +08:00
xieyangrun
1418cb1875
[net/lwip]: enable LWIP_SO_LINGER option feature of LWIP.
2020-06-18 11:06:06 +08:00
Bernard Xiong
7b31868464
Merge pull request #3686 from armink/fix_spi
...
[SFUD] Update the flash chip information table.
2020-06-13 19:12:21 +08:00
Bernard Xiong
b04fdd89ed
Merge pull request #3679 from DavidLin1577/patch-11
...
[finsh]Fixed a bug may cause stackover flow
2020-06-13 16:23:40 +08:00
armink
02c8084138
[SFUD] Update the flash chip information table.
2020-06-13 16:03:46 +08:00
armink
b7a9312be6
[SFUD] Update rt_sfud_flash_probe_ex API
2020-06-13 12:07:20 +08:00
armink
6a9e081ec5
[SFUD] Add new probe API (rt_sfud_flash_probe_ext) for using user SPI configuration.
2020-06-13 11:50:30 +08:00
armink
930de79000
[SFUD] Update the log format to rtdbg.
2020-06-13 11:36:12 +08:00
armink
179d0ee439
[SFUD] Update the W25Q64DW JEDEC ID
2020-06-13 11:28:24 +08:00
armink
202bde05ec
[DeviceDriver][SPI] Fix 3 wires SPI issue.
2020-06-13 11:24:26 +08:00
David Lin
5bb38bb4e8
Update msh_file.c
2020-06-13 10:13:51 +08:00
Cliff Chen
1a9ecf27f3
[components] dfs: update elmfat to R0.14 patch 1
...
merge from https://github.com/abbrev/fatfs.git
(cf1fa008119c8ae2d05311ba3d97da0c4dca33b6)
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
Change-Id: I321ba7933e1a4d6c07b3fbaa2a134eb54bb43b32
2020-06-12 16:31:43 +08:00
David Lin
7129694f38
[finsh]Fixed a bug may cause stackover flow
...
add code:
if (line_buf == RT_NULL) return -RT_ENOMEM;
2020-06-12 08:49:46 +08:00
luhuadong
9e7fdad8fb
[Sensor] Add Plantower sensor info
2020-06-11 21:26:31 +08:00
David Lin
822df76f8e
Update ethernetif.c
2020-06-10 23:32:06 +08:00
David Lin
aa0b68a575
Update ethernetif.c
2020-06-10 23:30:44 +08:00
David Lin
8beb439926
Update ethernetif.c
2020-06-10 23:27:25 +08:00
David Lin
1703c70fd5
[ drivers/usb]Fixed a bug may cause stackover flow
2020-06-10 12:53:51 +08:00
David Lin
4f53c68b3b
Update ethernetif.c
2020-06-10 11:09:11 +08:00
David Lin
a5fddaecc3
Update ethernetif.c
2020-06-10 11:08:01 +08:00
David Lin
5f6c3d7345
Update ethernetif.c
...
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN',
not only equal to 'sizeof(struct netif)'.
2020-06-10 10:59:50 +08:00
Bernard Xiong
be43008c56
[libc] remove pthread.h in newlib/syscalls.c
2020-06-06 13:23:56 +08:00
Bernard Xiong
fe2e9e924e
[libc] fix 64bit issue for pthreads
2020-06-06 13:21:32 +08:00
Bernard Xiong
a4f1905b6d
[libc] Fix pthreads compiling issue with new newlib version
2020-06-06 13:20:58 +08:00
Wayne Lin
c72ee2d63c
[W25Q32BV]Support fast read QUAD_OUTPUT and QUAL_IO.
2020-06-02 14:46:52 +08:00
Bernard Xiong
a6a8b90935
Merge pull request #3618 from longtengmcu/master
...
fix three bugs about ethernet
2020-06-01 15:32:53 +08:00
Bernard Xiong
1ef77bd969
Merge pull request #3601 from OpenNuvoton/rtt_issues
...
Fix issues
2020-05-30 09:43:54 +08:00
Bernard Xiong
81610509d1
Merge pull request #3603 from cliff-cmc/master
...
[dlmodule] Fix crash when dlmodule exit
2020-05-29 08:53:55 +08:00
Bernard Xiong
32714439f0
Merge pull request #3634 from jch12138/master
...
添加static前缀,防止与用户自定函数冲突
2020-05-29 06:47:54 +08:00
jch12138
c0a4da7c5b
添加static前缀,防止与用户自定函数冲突
2020-05-28 20:57:43 +08:00
longtengmcu
d75f03e4b0
1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1 …
...
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
4、修改注释信息
2020-05-21 22:05:38 +08:00
Wayne Lin
f0e4009c30
Fix rt_hw_inputcapture_isr public function name in header file.
...
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
2020-05-20 16:04:31 +08:00
Bernard Xiong
19c01e9d5e
Merge pull request #3611 from 2000000/watchdog_fix
...
[drivers][watchdog] 修复watchdog.c 注释的一处笔误
2020-05-20 15:10:19 +08:00
luhuadong
ce35dfbc40
[AT] Adjust where the AT socket callback function
2020-05-20 01:11:46 +08:00
GaoJie
8aaa89a6f1
[drivers][watchdog] 修复watchdog.c 注释的一处笔误
2020-05-19 17:30:19 +08:00